[
https://issues.apache.org/jira/browse/MYFACES-2251?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Leonardo Uribe resolved MYFACES-2251.
-------------------------------------
Resolution: Invalid
Assignee: Leonardo Uribe
I did some small test of it and it works fine. The code in javax.faces.component._ComponentAttributesMap.get() is fine, and org.apache.myfaces.taglib.core.AttributeTag do what is expected, if it is literal use put otherwise use setValueExpression.
> EL Expression in f:attribute does not work with h:inputText
> -----------------------------------------------------------
>
> Key: MYFACES-2251
> URL:
https://issues.apache.org/jira/browse/MYFACES-2251> Project: MyFaces Core
> Issue Type: Bug
> Affects Versions: 1.2.6
> Reporter: Moshe Elisha
> Assignee: Leonardo Uribe
> Priority: Minor
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> When I am using an EL expression value in "f:attribute" under "h:inputText" I can't get the value of the attribute using:
> uiComponent.getAttributes().get(...)
> According to the docs of f:attribute:
> "When the value is an EL expression, this tag has the same effect as calling component.setValueBinding. A call to method component.getAttributes().get(name) will then cause that expression to be evaluated and the result of the expression is returned, not the original EL expression string."
> When I change the "h:inputText" to "t:inputText" (xmlns:t="
http://myfaces.apache.org/tomahawk") it works just fine.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.