I have covered this many times.  Please see the archives.

fanyun wrote:
> 
> 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
> 
> N<.n�+?�����?�'-+-�S�Sx��d�{.n�+?�����?�~X��
> +?)�v^,r??y��?m����    sSV�r�y�&�۫n)��Ib��(�H�?� ��&���nW��:'�S�Sx�om==


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to