Re: T5: PageLink keeping activantion context when t:context is not set.
What is it that you want explained? The framework generates links consistently by always calling onPassivate (if present) to generate context for the page link unless you provide a context. You've found a way to override that ... what else is there to explain? If you want a slightly shorter syntax, t:context="''"" should work. Cheers, Nick. Thiago H de Paula Figueiredo-3 wrote: > > Hi! > > I don't understand the rationale behind this. If I'm at a page that has an > activation context and want to link to the same page, without the context, > I need to write t:context="literal:". Could somebody explain this to me? > > -- > Thiago H. de Paula Figueiredo > Desenvolvedor, Instrutor e Consultor de Tecnologia > Eteg Tecnologia da Informação Ltda. > http://www.eteg.com.br > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/T5%3A-PageLink-keeping-activantion-context-when-t%3Acontext-is-not-set.-tf4362221.html#a12445795 Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: T5: PageLink keeping activantion context when t:context is not set.
Have you thought about using a null context? /Serge Thiago H de Paula Figueiredo-2 wrote: > > Em Fri, 31 Aug 2007 21:20:00 -0300, Fidel Chavarria > <[EMAIL PROTECTED]> escreveu: > >> If you need a link that points to the same page, create a Pagelink >> pointing the same page. > > I need a link to the same page, but without the activation context. I'm > using an object edit page to both new objects and edition of existing > ones. Without an activation context, my page knows the user wants to > create an object. With an activation context, my pages pulls the object > from the database so the user can edit it. The problem is that I want to > have a "Click here to create a new object" link in my page when it is > showing some object (page rendered with activation context). > > Thiago > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/T5%3A-PageLink-keeping-activantion-context-when-t%3Acontext-is-not-set.-tf4362221.html#a12444914 Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: T5: PageLink keeping activantion context when t:context is not set.
Em Fri, 31 Aug 2007 21:20:00 -0300, Fidel Chavarria <[EMAIL PROTECTED]> escreveu: If you need a link that points to the same page, create a Pagelink pointing the same page. I need a link to the same page, but without the activation context. I'm using an object edit page to both new objects and edition of existing ones. Without an activation context, my page knows the user wants to create an object. With an activation context, my pages pulls the object from the database so the user can edit it. The problem is that I want to have a "Click here to create a new object" link in my page when it is showing some object (page rendered with activation context). Thiago - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: T5: PageLink keeping activantion context when t:context is not set.
If you need a link that points to the same page, create a Pagelink pointing the same page. Thiago H de Paula Figueiredo-3 wrote: > > Hi! > > I don't understand the rationale behind this. If I'm at a page that has an > activation context and want to link to the same page, without the context, > I need to write t:context="literal:". Could somebody explain this to me? > > -- > Thiago H. de Paula Figueiredo > Desenvolvedor, Instrutor e Consultor de Tecnologia > Eteg Tecnologia da Informação Ltda. > http://www.eteg.com.br > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/T5%3A-PageLink-keeping-activantion-context-when-t%3Acontext-is-not-set.-tf4362221.html#a12436002 Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]