myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jakob Korherr <jakob.korh...@gmail.com>
Subject Re: Problem with ViewParameter using Ajax calls
Date Tue, 06 Apr 2010 13:40:13 GMT
Hi Marcus,

I already found out why this is not working. Take a look at the jira issue
MYFACES-2645 for more details.

Regards,
Jakob

2010/4/6 Jakob Korherr <jakob.korherr@gmail.com>

> Hi Marcus,
>
> I'll take a look at it asap!
>
> Regards,
> Jakob
>
> 2010/4/6 Marcus B├╝ttner <mb@buett.at>
>
> Hi,
>>
>> if I use an Ajax Event in my case a primefaces ComanndButton then
>> ViewParameter are decoded, validated but not encoded.
>> That's a problem when requried is set to true in ViewParameter because
>> validation set submitted value to null and encodeAll should set submitted
>> value to current value. But encodeAll is never called during an Ajax request
>> and so the next state saving writes submitted value with null.
>>
>> Now submitted value is also restored with null value an required
>> validation fails.
>>
>> Is there a way to encode ViewParameter in an Ajax Request?
>>
>> Thx, regards
>> Marcus
>>
>>
>>
>>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message