[ 
https://issues.apache.org/jira/browse/MYFACES-2158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12680745#action_12680745
 ] 

Leonardo Uribe commented on MYFACES-2158:
-----------------------------------------

For do this correctly we have several problems:

1. Generation of tag classes in jsf 1.1 is different from jsf 1.2. The policy 
is keep this mode for jsf 1.2, so properties in most cases will be tied to 
ValueExpressions (in other words, the attribute class name will be 
ValueExpression)

2. We need two new properties on @JSFJspAttribute

    /**
     * Indicate the type that values should be
     * cast on tld. It is supposed that the className is
     * javax.el.ValueExpression to apply it. 
     *
     * @since 1.0.3
     */
    String defferedValueType() default "";

    /**
     * Indicate the method signature that values should be
     * cast on tld. It is supposed that the className is
     * javax.el.MethodExpression to apply it. 
     *
     * @since 1.0.3
     */
    String defferedMethodSignature() default "";

    This properties are necessary to keep all information in place and generate 
the .tld correctly.



> Tag inherited from tag class in component hierarchy does not inherit 
> properties [myfaces builder plugin]
> --------------------------------------------------------------------------------------------------------
>
>                 Key: MYFACES-2158
>                 URL: https://issues.apache.org/jira/browse/MYFACES-2158
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: build process
>            Reporter: Leonardo Uribe
>            Assignee: Leonardo Uribe
>
> Trinidad has a tag called tr:componentRef.  
> Its implementation:
> org.apache.myfaces.trinidadinternal.taglib.ComponentRefTag
> inherits from:
> org.apache.myfaces.trinidadinternal.taglib.UIXComponentRefTag
> which it is tied to UIXComponentRef
> In tomahawk, the strategy is create an abstract tag class that can be include 
> before the generated tag class. But this case could be also valid. The 
> solution is when the tree is flattened, inspect tags and if some tag inherit 
> from a component tag class, convert component properties to attributes and 
> inject on tag meta.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to