0

How do I get or pass in the flow xml the value from a selectoneMenu field in an XHTML page.

1
  • change the title of the question so that it reflects the real question. Commented Dec 4, 2009 at 8:51

2 Answers 2

0

I'm not sure if I understood what you've said, but you can do this at your xhmtl:

<selectOneMenu value="#{flowScope.value}">
...
</selectOneMenu>

This will store the value of your selectOneMenu into your flowScope. You can also try other scopes, according to what you want (viewScope, flashScope, etc ... - take a look at SWF documentation).

Sign up to request clarification or add additional context in comments.

Comments

0

How do I get or pass in the flow xml the value from a selectoneMenu field in an XHTML page.

<table>
<tr>
 <td>
   <h:outputLabel
  id="memberListLabel" value="MemberList}"
  for="memberList" styleClass="outputLabel" />
</td>
<td>
  <p:selectOneMenu id="memberList"
  value="#{memberForm.member}"
  tabindex="1"
  style="font-size:11px;float:left;width:159px;" >
<f:selectItem itemValue="" itemLabel="---Select---" />
<f:selectItems value="#{memberList}" itemLabel="--Select--" />
</p:selectOneMenu>
</td>
</tr>
</table>

your action will take care,save the data in flowScope not in xhtml page 

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.