[ 
http://issues.apache.org/jira/browse/TOMAHAWK-826?page=comments#action_12460300 
] 
            
Jeff Bischoff commented on TOMAHAWK-826:
----------------------------------------

Yes it would require an extra outputLabel for each one, which is why I do think 
that your suggestion would be a more elegant solution for this use-case.

As for it being up to me, I'm just a fellow user trying to be helpful and 
participate in the discussion with you. :)

The best I can do is vote for the issue, and give you some tips on getting your 
idea accepted. One thing you will want to look at are the guidelines [3] for 
contributing patches. The more of the work we  users do ourselves, the greater 
the chances of the component being given a shot. Plus, the devs are usually 
much more willing to apply patches when they are in the proper format (i.e. 
include a diff).

As for sandbox components, basically they remain in the sandbox for testing and 
further development until they are stable enough and accepted to be promoted 
into Tomahawk. You can see the guidelines for these promotions here [4].

[3] http://wiki.apache.org/myfaces/Contributing_Patches
[4] http://wiki.apache.org/myfaces/promotion


> Improve outputLabel component to have a different CSS class in case of an 
> error
> -------------------------------------------------------------------------------
>
>                 Key: TOMAHAWK-826
>                 URL: http://issues.apache.org/jira/browse/TOMAHAWK-826
>             Project: MyFaces Tomahawk
>          Issue Type: Improvement
>            Reporter: Alex Savitsky
>            Priority: Minor
>         Attachments: HtmlFlaggableLabelRenderer.java
>
>
> Currently, the only visual cue for validation errors is to display validation 
> messages using <t:messages />. However, quite often there's a different 
> requirement for error flagging, namely to identify the field labels (e.g., 
> make them red) if the field has an error. This behavior cannot be achieved 
> using available controls, and therefore I propose to enhance an existing 
> Label control with this functionality. All it would have to do is to set a 
> specified CSS class (and/or CSS style) on a label component, if the field 
> referenced with the "for" attribute has an error.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to