You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Leon Derks <le...@cumquat.nl> on 2008/05/21 13:43:47 UTC
T5: get name of Start page
Hello
Is it possible to get the name of the (default) start page?
Leon
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: T5: get name of Start page
Posted by "Filip S. Adamsen" <fs...@fsadev.com>.
Yes, it is.
In a page:
@Inject
@Symbol("tapestry.start-page-name")
private String startPageName;
In a service:
Constructor(@Inject @Symbol("tapestry.start-page-name") String
startPageName) {
...
}
http://tapestry.formos.com/nightly/tapestry5/tapestry-core/guide/conf.html
http://tapestry.formos.com/nightly/tapestry5/tapestry-ioc/symbols.html
-Filip
Leon Derks skrev:
> Hello
>
> Is it possible to get the name of the (default) start page?
>
> Leon
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org