Results 1 to 2 of 2

Thread: AbstractWizardController must invoke another controller.

  1. #1
    Join Date
    Apr 2005
    Posts
    2

    Default AbstractWizardController must invoke another controller.

    I think it's a simple question, but not for me :?

    I have a Wizard Controller, and in one page I must iterate over a list and build a HTML table.

    Some part of my jsp code:

    <table>
    <c:forEach var="item" items="${command.items}" varStatus = "loopStatus">
    <tr>
    <td style="width: 106px;">
    <spring:bind path="command.items[${loopStatus.index}].aProperty">
    <input type="text" name="<%= status.getExpression() %>" value="<%= status.getDisplayValue() %>">
    </spring:bind>
    </td>
    .... more TRs ......

    </c:forEach>
    </table>

    I have to add dynamically rows (one row per "item" object) to this table, so I was thinking to add a link to another controller where I fill a new "item" object with some values.

    But I don't know how to invoke (forward to) another controller, and then return to the wizard...It's mean, I must redirect to another form managed by another controller, and then return to the wizard, where the new item must be showed like another row.

    Sorry, but I don't speak very well in english

    Thanks in advance

  2. #2
    Join Date
    Feb 2005
    Posts
    25

    Default

    Hi,

    You can invoke another controller as usual using the url-mapping in your ****-servlet.xml file.

    I think you can do your task within the controller itself.

    Regards,
    Kamal

Similar Threads

  1. Replies: 7
    Last Post: Jul 20th, 2009, 06:04 AM
  2. Order of Bean definitions matters?
    By cfuser in forum Container
    Replies: 2
    Last Post: Oct 21st, 2005, 10:29 AM
  3. Spring container fails with no exception
    By naor in forum Container
    Replies: 9
    Last Post: Oct 1st, 2005, 03:39 PM
  4. EHCaching Hibernate
    By dencamel in forum Data
    Replies: 3
    Last Post: Sep 6th, 2005, 09:03 PM
  5. Replies: 0
    Last Post: Jul 18th, 2005, 05:09 AM

Posting Permissions

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