You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by "F.R. Da Costa Gomez" <dc...@fixed.com> on 2003/03/15 17:55:22 UTC

xyz@tapestryComponent

Hi all,

 Following two examples which are pretty clear in what they try to 
accomplish but the things I am wondering about are the next & prev in 
front of @DirectLink.
Q: where do they come from (docced?) & are there other things like them 
in this or other components?

<a jwcid="next@DirectLink" listener="ognl:listeners.jump" 
parameters="ognl:@@min(currentPage + 1, pageCount)">next</a>
<a jwcid="prev@DirectLink" listener="ognl:listeners.jump" 
parameters="ognl:@@max(currentPage - 1, pageCount)">previous</a>

Thx in advavnce 4 the help,

Fermin DCG


RE: xyz@tapestryComponent

Posted by "Howard M. Lewis Ship" <hl...@attbi.com>.
Implicit components can still be given ids.  Those are component ids, "next"
and "prev".  Since the component id is incorporated into the URL, it's often
a good idea to give them ids:  more semantic meaning, and shorts URLs.

--
Howard M. Lewis Ship
Creator, Tapestry: Java Web Components
http://jakarta.apache.org/proposals/tapestry



> -----Original Message-----
> From: F.R. Da Costa Gomez [mailto:dcg@fixed.com] 
> Sent: Saturday, March 15, 2003 11:55 AM
> To: Tapestry users
> Subject: xyz@tapestryComponent
> 
> 
> Hi all,
> 
>  Following two examples which are pretty clear in what they try to 
> accomplish but the things I am wondering about are the next & prev in 
> front of @DirectLink.
> Q: where do they come from (docced?) & are there other things 
> like them 
> in this or other components?
> 
> <a jwcid="next@DirectLink" listener="ognl:listeners.jump" 
> parameters="ognl:@@min(currentPage + 1, pageCount)">next</a>
> <a jwcid="prev@DirectLink" listener="ognl:listeners.jump" 
> parameters="ognl:@@max(currentPage - 1, pageCount)">previous</a>
> 
> Thx in advavnce 4 the help,
> 
> Fermin DCG
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>