RE: FormFragment checkbox not working

2013-05-21 Thread Nomen Nomanum
OK, remove completely annotation @Persist, since you don't need it, if you want that behavior.

RE: FormFragment checkbox not working

2013-05-21 Thread Nomen Nomanum
Here is the code to see how this could be achieve t:actionlink t:id=first h2dgdgdgdg/h2 /t:actionlink t:actionlink t:id=second !--or in your case put here checker trigger-- h2fsfsf/h2 /t:actionlink t:zone t:id=zone t:delegate to=choosenOne/ t:block id=firstdgdgde/t:block

Re: FormFragment checkbox not working

2013-05-21 Thread Thiago H de Paula Figueiredo
On Tue, 21 May 2013 12:02:01 -0300, Nomen Nomanum getibi...@outlook.com wrote: Here is the code to see how this could be achieve public Object getChoosenOne() { if(first==true){ zona.getBody(); return firstBlock; } else if(second== true)

RE: FormFragment checkbox not working

2013-05-21 Thread Lance Java
You have many @Persist annotations which I think are unnecessary. As a rule, if it's in the database, you don't need to store it in the session. Instead, pass an id (or ids) in the URL via the page activation context and look up the entities each time. There's a caveat to this rule that you often

Re: FormFragment checkbox not working

2013-05-20 Thread Nikola Vulovic
behaviour is completely the same with and with out (PersistenceConstant.FLASH) On Sun, May 19, 2013 at 11:10 PM, Nikola Vulovic nivuk...@gmail.com wrote: formfragment is shown when checkox renew is not checked On Sun, May 19, 2013 at 5:28 PM, Nikola Vulovic nivuk...@gmail.comwrote: tml

Re: FormFragment checkbox not working

2013-05-20 Thread Nikola Vulovic
component does not work because of table tag works without it. On Mon, May 20, 2013 at 9:45 AM, Nikola Vulovic nivuk...@gmail.com wrote: behaviour is completely the same with and with out (PersistenceConstant.FLASH) On Sun, May 19, 2013 at 11:10 PM, Nikola Vulovic nivuk...@gmail.comwrote:

Re: FormFragment checkbox not working

2013-05-19 Thread Nikola Vulovic
tml file html t:type=layout title=${message:title} xmlns:t=http://tapestry.apache.org/schema/tapestry_5_3.xsd; xmlns:p=tapestry:parameter !-- Most of the page content, including head, body, etc. tags, comes from Layout.tml -- !-- A Zone is a component that can be updated in

RE: FormFragment checkbox not working

2013-05-19 Thread Nomen Nomanum
Pozdrav Nikola! Could you be more specific about what troubles you? From the code, it looks more-less just fine. What is it supposed to do? Date: Sun, 19 May 2013 17:28:02 +0200 Subject: Re: FormFragment checkbox not working From: nivuk...@gmail.com To: users@tapestry.apache.org tml file

Re: FormFragment checkbox not working

2013-05-19 Thread Nikola Vulovic
formfragment is shown when checkox renew is not checked On Sun, May 19, 2013 at 5:28 PM, Nikola Vulovic nivuk...@gmail.com wrote: tml file html t:type=layout title=${message:title} xmlns:t=http://tapestry.apache.org/schema/tapestry_5_3.xsd; xmlns:p=tapestry:parameter !--

RE: FormFragment checkbox not working

2013-05-19 Thread Nomen Nomanum
Try adding @Persist(PersistenceConstant.FLASH) to your renew and see how would it behave. From: getibi...@outlook.com To: users@tapestry.apache.org Subject: RE: FormFragment checkbox not working Date: Sun, 19 May 2013 20:53:42 +0100 Pozdrav Nikola! Could you be more specific about what