Thanks, will give that a shot.

Got another question.  What if page A and page B both have the link to

<a href="?event=action.dostuff&employeeID=54&sortby=date">Do stuff</a>

What`s best practice to send them back to the same page.

1)
- have 1 event handler for action.dostuff
- have a result for each?
   <result name="successA" do="page.A" append="employeeID,sortby" />
   <result name="successB" do="page.B" append="employeeID,sortby" />

2)
or have separate event handlers?

On Oct 25, 2:56 pm, Matt Quackenbush <[email protected]> wrote:
> Use the 'append' attribute on the <result />.
>
> -- page A --
> <a href="?event=action.dostuff&employeeID=54&sortby=date">Do stuff</a>
>
> -- MG.xml --
> <result name="success" do="page.A" append="employeeID,sortby" />

-- 
Model-Glue Sites:
Home Page: http://www.model-glue.com
Documentation: http://docs.model-glue.com
Bug Tracker: http://bugs.model-glue.com
Blog: http://www.model-glue.com/blog

You received this message because you are subscribed to the Google
Groups "model-glue" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/model-glue?hl=en

Reply via email to