Results 1 to 2 of 2

Thread: Access request attributes from within the flow xml file

  1. #1

    Default Access request attributes from within the flow xml file

    Hi all,

    I'm a newbie of SWF.
    I'd like to access the HTTP request attributes from within the flow definition XML file.

    I store an attribute in an interceptor and I'l like to use it inside a
    <view-state> tag.

    Can you give me a suggestion?

    Thank you all,

    Andrea

  2. #2
    Join Date
    May 2008
    Posts
    53

    Default

    I think that you can use requestParameters for this purpose

    See section 3.5 of the reference docs

    http://static.springsource.org/sprin...l#el-variables

    ---

    Use requestParameters to access a client request parameter:
    Code:
    <set name="requestScope.hotelId" value="requestParameters.id" type="long" />

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •