Hmm yeah ... it´s doing something like this but I found no other way to make
the data persistent. My preparePage() looks like this...
public void prepareForRender(IRequestCycle request)
{       
                super.prepareForRender(request);
                getPersistItem().reInit(this.getItem());                        
}
where PersistItem is the bean and Item the Object, holding the initial data.
Is there another way... I tried many ways but is the onliest one working.
Have someone a better way.... More infos what happening (which function
were) on validating could help.
P.S.  THX for help.


Sam Gendler-2 wrote:
> 
> I've never had this problem.  When a form fails validation in my apps,
> I always see the content that was posted displayed back in the fields.
>  Is it possible that the class which backs your page is initializing
> the bean back to default values after the rewind cycle completes with
> an error?
> 
> --sam
> 
> 
> On 12/3/06, Skorpien126 <[EMAIL PROTECTED]> wrote:
>>
>> Ok... maybe I start nerving but I can´t belive that´s it not possible.
>>
>> The Situation: I have maybe 20 Textareas in a form... each one using the
>> "required" validator. The textareas are BOUND to a bean which has
>> lifecycle=Page. Reading and writing still works... but when I fill data
>> in
>> first 19 Textareas und I submit I get an ValidationError because the last
>> textarea has no text... so far so good, Validation is working.. but why
>> the
>> Hell it´s not possible to update the values. I can´t expire that my users
>> Refill all the textareas... Is there a workaround or so??? I read some
>> posts
>> refering this topic... but no REAL solution. Please help...
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Why-propertys-were-not-updated%2C-when-Form-%22hasErrors%22---tf2747592.html#a7665535
>> Sent from the Tapestry - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Why-propertys-were-not-updated%2C-when-Form-%22hasErrors%22---tf2747592.html#a7686425
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to