Auto-Conversion of Strings to MethodExpressions (JSFT Factory):
https://jsftemplating.dev.java.net/issues/show_bug.cgi?id=40
Issue #|40
Summary|Auto-Conversion of Strings to MethodExpressions (JSFT
|Factory)
Component|jsftemplating
Version|1.2beta
Platform|All
OS/Version|All
URL|
Status|NEW
Status whiteboard|
Keywords|
Resolution|
Issue type|ENHANCEMENT
Priority|P3
Subcomponent|Component Factories
Assigned to|kenpaulsen
Reported by|tjdecke
------- Additional comments from tjdecke_at_dev.java.net Wed Mar 26 12:11:08 +0000 2008 -------
The JSFT factory doesn't convert Strings to Methodexpressions automatically.
Example:
Using strings as action parameters like:
<h:commandButton id="Test" value="Test" action="dosomethingstatic" />
or:
<h:commandButton id="Test" value="Test" action="#{myBean.dosomethingdynamic}" />
doesn't work currently.
Instead (when not using handlers) the following is required:
<h:commandButton id="Test" value="Test" actionExpression="$methodExpression{#{myBean.dosomethingdynamic},false}" />