[
https://jira.jboss.org/browse/RF-8907?page=com.atlassian.jira.plugin.syst...
]
Alexander Smirnov commented on RF-8907:
---------------------------------------
Provided path is not correct ( the signature property is never empty , so checking for its
existense does not make sense ). The proper place is Model Validator that performs all
checks on model regardless of configuration source.
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
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