turbine-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jürgen Hoffmann ...@byteaction.de>
Subject AW: AW: link generation problem
Date Thu, 23 Nov 2006 23:07:37 GMT
Hi Mark,

no, you should always use $link.setPage(...). The PageLoader then tries to
find a cooresponding Screen with the same name as the template. If it cannot
find it, he then searches fopr the Default Screen within the package. If it
cannot find any, then looks inside the super packages.

Kind regards

Juergen

-----Ursprüngliche Nachricht-----
Von: Mark Wassermann [mailto:mwassermann@mw-net.com] 
Gesendet: Donnerstag, 23. November 2006 14:40
An: Turbine Users List
Betreff: Re: AW: link generation problem

Hi Jürgen

Thank you
It seams to work this way, but I do not fully understand it. Is this
because I use a substructure or do I have to use the setPage in general
if i use a setAction?
In some tutorials it is described in the way i did it.

thx
Mark

Jürgen Hoffmann schrieb:
> Hi Mark,
>
> you do not want to set the screen, you want to set the page ;)
>
> $link.setAction("LoginUser").setPage("system,Index.vm")
>
> Kind regards
>
> Juergen
>   
-- 
 Mark Wassermann            @: mwassermann@mw-net.com



---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org





---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org


Mime
View raw message