This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Spring webflow 2.3 with richfaces  RSS feed

Leo hmt
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,
I got a problem for accessing values from my xhtml page from webflow. Let's say i got profile bean which bind to that page. And i got one more input box not relating to that profile bean. I want to retrieve value from that dob input box from my flow. I just want to retrieve that input box value and display in another page. How should i do that? Please help me. I appreciate your help. Thanks. The following are my sample.
<hutputText value="ID: " />
<h:inputText label = "ID" id = "id" value="#{}" required="true" >
<rich:beanValidator />
<rich:message for="id"/>
<br />
<hutputText value="Your Name: " />
<h:inputText label = "Name" id = "name" value="#{}" required="true" >
<rich:beanValidator />
<rich:message for="name"/>
<br />
<hutputText value="Your NRIC: " />
<h:inputText label = "NRIC" id = "nric" value="#{flowScope.profile.nric}" required="true" >
<rich:beanValidator />
<rich:message for="nric"/>
<br />
<hutputText value="Your DOB: " />
<h:inputText label = "DOB" id = "dob" value="#{dob}" required="true" >
<rich:beanValidator />
<rich:message for="dob"/>
<br />

<view-state id="addProfile" model = "profile">
<binding property = "id"/>
<binding property = "name"/>
<binding property = "nric"/>
<transition on = "save" to = "viewProfile">
<evaluate expression = "profileAction.saveProfile(profile)" result = ""/>
<transition on = "cancel" to = "end" history = "discard" bind="false"></transition>

<view-state id = "viewProfile" >
<evaluate expression="profileAction.getProfile("
result="" />

<transition on="close" to="end" />
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!