Hi all.

As I know from My experiments, ${ ... } converts each object to string,
in contrast to "prop:...", which returns object "as is". In page link,
this difference should not take an effect. But in parameters this is
significant ...


Kai Weber napsal(a):
> Hi,
>
> I am a Tapestry beginner. I am far from knowing all the internals. I
> use the PageLink component in one of my as follows:
>
> @Component(id="backLink",
> parameters={
>   "page=${backLink}",
>   "context=backLinkContext",
>   "anchor=${prev.getUniqueIdentifier()}"})
> private PageLink backLink;
>
> My question is now
>
> What does the ${...} do?
>
> I fail to see what this means: If I replace
> "context=prop:backLinkContext" with "context=${backLinkContext}" I get
> a different link than expected. If I replace "page=prop:backLink" with
> "page=${backLink}" I get no different link. Why?
>
> Kai
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to