Hi,
how do I access the value of a check box contained inside a jsf view from a
SFSB without creating explicitetly a Java Bean for the boolean value?
This does not seem to work
|
| ---- simple page --------
|
| <f:view>
| <h:form>
|
| <h:outputText value="List All"/>
| <h:selectBooleanCheckbox value="#{showallentries}"/>
|
| <h:commandButton type="submit" value="Save"
action="#{StatefullTestBean.save}"/>
|
| </h:form>
| </f:view>
|
| ----- simple sfsb ---------
|
|
| Name("linkSectionAction")
| @Stateful
|
| public class StatefullTestBean implements StatefullTtestBeanInterface
| {
|
| @In(create=true)
| @Out
| boolean showallentries;
|
| public String save()
| {
| // IWould like to access the boolean value, but I can't inject/outject it.
| }
| }
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4118521#4118521
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4118521
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user