Hi: 

I write a Vlogin  action which do handle the login process for my system. 


I have this code:(copy from LoginUser.java)


        catch ( TurbineSecurityException e )
        {
            data.setMessage(TurbineResources.getString("login.error"));
            // Retrieve an anonymous user.
            data.setUser (TurbineSecurity.getAnonymousUser());
            data.setScreen(TurbineResources.getString("screen.login"));
        }


I set   screen.login   to Default

I have a  Default.java   as this

         public class Default extends Screen 
         { 
             public ConcreteElement doBuild( RunData data ) throws Exception 
             { 
                 // set the title of the page 
                 data.setTitle ("Hello World"); 
         
                 return new StringElement ( "Hello World"); 
             } 
         }


After I fail to login in the system, 

I got this error message:

Error=An error occurred while rendering template layoutsnull;
null



How can I fix this problem?




Regards&Thanks



fanyun


���r��z۫n)ޢyb��(�H��� ��&N�����r��z۫n)ޡ���p��"�h��(�'���a���
0���j�!����o�����4�+-Š�x��oϮ��zk#�|(�H��� ��&

Reply via email to