Announcement Announcement Module
Collapse
No announcement yet.
Moving requestParameters into my helper class Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Moving requestParameters into my helper class

    Hi,

    I have a problem with moving "requestParameters" into my helper class, using this piece of code within my webflow.xml:

    Code:
    <view-state id="acquirePersonalData">
      <on-render>
        <evaluate expression="orderProcessHelper.mapParams(requestParameters)" />
      </on-render>
      <transition on="submit" to="summary" />
    </view-state>
    For some strange reason "requestParameters" seems to be converted into a string that looks like:
    Code:
    map['key' -> 'value', 'keyArr[someKey]' -> 'value', ...]
    which looks pretty unfamiliar to me.

    Methods with another signature (input parameter) like the following are ignored
    Code:
    public void mapParams(String value);
    Is there another way of moving the request parameters in, except for wrapping a HttpServletResponse around the helper class?

    Regs,
    Rob
Working...
X