Skip to content

Auto-Conversion of Strings to MethodExpressions (JSFT Factory) #40

@glassfishrobot

Description

@glassfishrobot

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}" />

Environment

Operating System: All
Platform: All

Affected Versions

[1.2]

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions