Announcement Announcement Module
No announcement yet.
Spring Webflow Frustrations Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring Webflow Frustrations

    Hi There,
    I have a flow defined as pasted below
    <evaluate expression="registerActions.initializeForm(type)" result="flowScope.registration" />

    <view-state id="enterPersonalDetails" view="registration/registrationForm" model="flowScope.registration">
    <transition on="submit" to="registrationComplete" bind="true">
    <evaluate expression=" ation)"/>

    when the enterPersonalDetails view state evaluates the expression,by calling my method, the registration bean does not have anything in it, looks like the form fields are not being bound to the bean.

    a snippet from my jsp is pasted below:
    <form:form name="registerForm" modelAttribute="registration" method="post">
    <form:input path="username" cssClass="text" tabindex="1"/>

    the save method from the actions class is pasted below: the username debug returns null even though i'm entering a value from the ui, what gives?

    i'm using spring mvc 3.0.5 and spring webflow 2.3.0
    public void save(RegistrationForm form){
    log.debug("save registration invoked with "+form.getUsername());