myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gert Vanthienen (JIRA)" <>
Subject [jira] Commented: (MYFACES-1284) Generating component source code
Date Fri, 14 Apr 2006 09:52:00 GMT
    [ ] 

Gert Vanthienen commented on MYFACES-1284:

Currently, in order to make a Tomahawk component DisplayValueOnlyCapable, you have to make
these changes to a component's XML file:
- specify  generateDisplayValueOnlyMethods="true" in order to get the isSetDisplayValueOnly()-method
- specify a boolean field named displayValueOnly
- specify a String field named displayValueOnlyStyle
- specify a String field named displayValueOnlyStyleClass

Wouldn't it make sense to specify all this in a single attribute (e.g. isDisplayValueOnlyCapable="true")
instead of repeating the same definitions over and over again?  Not only would this simplify
the XML file, it would also make future changes to the DisplayValueOnlyCapable interface easier
to implement.

In my opinion, the same goes for a set of other Tomahawk interfaces (e.g. UserRoleAware, EscapeCapable).

> Generating component source code
> --------------------------------
>          Key: MYFACES-1284
>          URL:
>      Project: MyFaces Core
>         Type: Improvement

>   Components: build process
>     Reporter: Gert Vanthienen
>     Priority: Minor
>  Attachments: build-tools-generator.patch, tomahawk-generator.patch
> The component code generator has been re-added to the Myfaces build process by Manfred
Geiler, but there is still some work to be done.  For a description, see also

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message