Re: Evaluating query param in POST

Splash Forums PrettyFaces Users Evaluating query param in POST Re: Evaluating query param in POST

#21336

moshikang
Participant

As Yann is a coworker of mine, my first problem is solved :)

Another question on the same subject :

a default html form translate checkbox value by posting [checkboxId]=on.

It seems pretty-faces does not handle it by itself, so my boolean bean parameter is set to false even when it was checked in the calling form.

For the moment, I added a converter setter in my bean, but I’m pretty sure (;-)) it’s not the cleanest way to do it. Is there a conversion already existing on this point ? Must I create a JSF Converter from String to Boolean handling “on” value ?

Thxs,

Moshi