Re: add context to redirected page

2010-07-21 Thread Luu Tuan Cuong
Hi, You can use the service: PageRenderLinkSource. @Inject PageRenderLinkSource _linkSource; private Link getPageLink(Class? pageClass, Object... context) { return _linkSource.createPageRenderWithContext(pageClass, context); } public Object setupRender(){ node =

test

2010-06-26 Thread Luu Tuan Cuong
test - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Re: [T5] Asset Url is changed via domain. Meet Problems when use Alias or AliasOverrides

2009-03-27 Thread Tuan
Thanks Fernando Padilla, I created AssetSourceDecorator as you said. The result is + For all assets are accessed by @includestylesheet, @include, It is ok. + For all assets are accessed in template ${asset:tapestry_banner.gif}, it is ok when end-user go to the page in first

[T5] what solution for dynamic component

2008-11-20 Thread Tuan
solution or idea for the problem? Please share with me. Thanks. Tuan Cuong. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

T5: Zone + getClientId

2008-11-18 Thread Tuan
Hi all, I have some problems when dealing with the Zone component. - We don't use prop binding in t:id parameter. However I see that t:id parameter of the component is defined in source code like as other parameters. so how to code to get t:id (or any parameter field) is not used with

[t5][Zone Component] id getElementID

2008-11-17 Thread Tuan
Hi all, I have some problems when dealing with the Zone component. - We don't use prop binding in t:id parameter. However I see that t:id parameter of the component is defined in source code like as other parameters. so how to code to get t:id (or any parameter field) is not used with

Re: [t5][Zone Component] id getElementID

2008-11-17 Thread Tuan
Sorry about typing error. so don't worry about page class name. Thanks Tuan wrote: Hi all, I have some problems when dealing with the Zone component. - We don't use prop binding in t:id parameter. However I see that t:id parameter of the component is defined in source code like

Re: Link to non tapestry page from actionlink

2008-11-13 Thread Tuan
Just a question to Thiago H. de Paula Figueiredo: How, Where do you know that? Thiago H. de Paula Figueiredo wrote: Em Thu, 13 Nov 2008 16:54:28 -0300, jthompson209 [EMAIL PROTECTED] escreveu: what is the best way to link to a non tapestry page, from an actionlink for example. i am trying

Tapestry 5 and ServletContext

2008-11-05 Thread Tuan
Hi all, I am new comer to tapestry. I am joining a project require using servlet context. I read emails from tapestry-user mail archive. Some info I get is that T5 dev planned to support it. So I want to know that T5 whether support servlet context in ApplicationState (beside the session in

Re: pass list of string/object between Tapestry pages

2008-09-30 Thread Tuan
Hi wesley, Beside activate passivate way, you can pass parameters (objects or string) between pages by using Persit data with Flash option. Ex: @persist (value=flash) User user; Reference link: http://tapestry.apache.org/tapestry5/tapestry-core/guide/persist.html Regards Tuan wesley