myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Vieujot <svieu...@apache.org>
Subject Vote for new displayValueOnly attribute
Date Tue, 10 May 2005 11:55:09 GMT
I don't want to over user the voting process, but I feel this issue
should be sorted.
I apologize for the ones that would be bothered by this, and here is the
new feature I propose to vote on :

- Add an interface similar to UserRoleAware, that some x: components
would implement.

- Add the matching attribute (no name decided yet, but let's use
displayValueOnly).
By default, displayValueOnly is false, and the components behaves as
they do today.
When displayValueOnly is true, no input widget is rendered. Only the
text corresponding to the component's value is displayed.

Examples :
For inputText, inputTextarea, inputHtml, the text is displayed as if it
where rendered by an outputText (with proper escape).
For radio buttons, check boxes, combo boxes & list boxes, only the
selected values are displayed.
For inputDate, the date is rendered

As suggested by Manfred, please remember that a negative binding vote on
a *feature addition* proposal means: showstopper, that prevents the
whole community from getting a (perhaps) valuable contribution. A -1
voter should at least present an alternative solution and should be
willing to implement it himself

Here is my +1 for this.

Thanks,

Sylvain.

Mime
View raw message