Announcement Announcement Module
Collapse
No announcement yet.
how can i get my attribute from the Flow scope in my jsp?? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • how can i get my attribute from the Flow scope in my jsp??

    how can i get my attribute from the Flow scope in my jsp??
    i have this code in my FormAction:
    Code:
    public Event searchAccounts(RequestContext context) throws Exception {
    		Account account = (Account) context.getRequestScope().get(
    				this.getFormObjectName());
    		List accounts = accountService.findAccountListByModel(account);
    		
    		context.getFlowScope().setAttribute("accounts",accounts);
    ...
    }
    and i try to get my attribute in my jsp :
    Code:
    ...
    <c&#58;forEach items="$&#123;accounts&#125;" var="account">
    ...
    with no results :cry:
    who can help me please?

  • #2
    That should work. What environment are you runnig webflow in? Spring MVC?

    Comment


    • #3
      i use:
      j2sdk1.4.2_05
      Spring 1.1.5.

      so i don't know the version of my WebFlow. because i download it from the repository and i compile it on Mars 2005.

      Comment


      • #4
        Well i'd recommend using the pr3 release

        Comment


        • #5
          thnx.

          Comment

          Working...
          X