I'm trying to understand why the following doesn't work:
I have a SFSB:
@Stateful
@Name("mySFSB")
@Scope(ScopeType.SESSION)
@Interceptors(SeamInterceptor.class)
public static class MySFSBAction implements MySFSB {
@In(create=true, required=false) String myString;
public String action() {
...
}
}
<h:inputText value="#{myString}"/>
<h:commandButton type="submit" action="#{mySFSB.action}"/>
I have never seen a valuebinding like #{myString} before. I don't think it is legal. You must bind to a component attribute.