Re: Confusion over persistent page properties and editing

2006-10-15 Thread Jabbar
I never thought of that ... On 15/10/06, Karthik N <[EMAIL PROTECTED]> wrote: it's more of an HTML thing than Tapestry - if a field is marked disabled - then it doesn't figure in the HTTP request that the Browser sends to the server. and hence tapestry in turn will not assign these values, as

Re: Confusion over persistent page properties and editing

2006-10-15 Thread Karthik N
it's more of an HTML thing than Tapestry - if a field is marked disabled - then it doesn't figure in the HTTP request that the Browser sends to the server. and hence tapestry in turn will not assign these values, as they're not part of the HTTPRequest at all. On 10/15/06, Jabbar <[EMAIL PROTECT

Re: Confusion over persistent page properties and editing

2006-10-15 Thread Jabbar
Hello, Thank you all for your help : I have sorted the problem after a very long time... I have a page which shows all the properties of List. On the page I have a disable button which disables the textfield for two of the properties. After rewind I couldn't understand why tapestry wasn't as

Re: Confusion over persistent page properties and editing

2006-10-15 Thread Dobrin Ivanov
you should call again setChannelSetup(..) after changing the list, the other way is to fire some event, but I do not remember - this is described @ http://tapestry.apache.org/ --- Jabbar <[EMAIL PROTECTED]> wrote: > Hello, > > I've been struggling all day editing persistent page > properties and

Re: Confusion over persistent page properties and editing

2006-10-14 Thread Karthik N
First things first: have a lot of System.out.printlns or log statements to see what's going on. Anyway, I observe that you have a dependency on this code to return a List succsessfully setChannelSetup(getCello6DAO().getChannelSetup(getCelloSerialNumber())); Have you verified that the DAO indee

Re: Confusion over persistent page properties and editing

2006-10-14 Thread Jabbar
Ryan, Here is some more of my code public void pageBeginRender(PageEvent pageEvent){ if (!pageEvent.getRequestCycle().isRewinding()){ // if doing a render and the channel list is empty then obtain a new channel list and persist.

Re: Confusion over persistent page properties and editing

2006-10-14 Thread Ryan Holmes
Without seeing more of your code, my guess it that you are unconditionally calling setChannelSetup() in your pageBeginRender method. Something like this: public void pageBeginRender(PageEvent event) { setChannelSetup(new ArrayList()); } Remember that pageBeginRender is called *every