Hi,

I have a t:inputText in a form which uses displayValueOnly="true" so that
non privelaged users cannot edit it but can see it. If I use
<val:commonsValidator type="required" server="true" client="false"/> the
form works well. When I change to client="true" it will not find the value
for the inputText and block the request with an alert() telling me I need to
supply a value for my field.

I believe this should be bypassed in these circumstances with either a
hidden input or by ignoring the validator, like MyFaces does I believe.

I can obviously solve this with adding both a <h:outputText> and a
<h:inputText> and use rendered to toggle between the two, but I like the
elegance of displayValueOnly.

Any comments?

Cheers,
Joost

Reply via email to