File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes Spring webflow 2.3 with richfaces Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Spring webflow 2.3 with richfaces" Watch "Spring webflow 2.3 with richfaces" New topic

Spring webflow 2.3 with richfaces

Leo hmt

Joined: Oct 11, 2011
Posts: 1
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" />
I agree. Here's the link:
subject: Spring webflow 2.3 with richfaces
It's not a secret anymore!