[richfaces-issues] [JBoss JIRA] Updated: (RF-8907) Tag handler generation fails if @Attribute has signature property set

Alexander Smirnov (JIRA) jira-events at lists.jboss.org
Mon Jul 12 17:30:46 EDT 2010


     [ https://jira.jboss.org/browse/RF-8907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexander Smirnov updated RF-8907:
----------------------------------

    Fix Version/s: 4.0.0.Milestone2


Additional tasks to handle MethodExpression-type attributes:
1) convert parameter list to Signature bean with return type.
2) repalce 2 boolean attributes methodBinding/binding to one with Enum type.
3) Check attribute type in validator.
4) improve TagHandler template - eliminate dependency form utils class and generate proper code directly.

> Tag handler generation fails if @Attribute has signature property set
> ---------------------------------------------------------------------
>
>                 Key: RF-8907
>                 URL: https://jira.jboss.org/browse/RF-8907
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: CDK
>    Affects Versions: 4.0.0.Alpha2
>            Reporter: Bernard Labno
>            Assignee: Alexander Smirnov
>             Fix For: 4.0.0.Milestone2
>
>         Attachments: taghandler.ftl.patch
>
>
> Following does not fail if signature property is omitted, but it is unacceptable.
> @JsfComponent(tag = @Tag(name = "schedule",
> handler = "org.richfaces.view.facelets.html.ScheduleHandler",
> generate = true,
> type = TagType.Facelets))
> public abstract class AbstractSchedule extends UIComponentBase
>         implements ScheduleCommonViewAttributes, ScheduleListenerEventsProducer, AjaxComponent {
>  @Attribute(signature = @Signature(parameters = ScheduleItemMoveEvent.class, returnType = Boolean.class))
>     public abstract MethodExpression getItemMoveListener();
> }

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

        


More information about the richfaces-issues mailing list