Hi there,
After saving a persistent resource I'd like to redirect after the post
to a view page that views the resource. I'm trying to do something
along the lines of:
@Action(value="save",
results={
@Result(name="success", type="redirect", location="view",
params={"resourceId", ??? }),
@Result(name="input", location="edit.ftl")
})
public String execute() {...}
I'm not quite sure what to put in ??? - in my old struts.xml I would
just use an OGNL expression to set up a view?resourceId=${resource.id}
but it doesn't seem I can just slap "${resource.id}" like I used to be
able to. Is there a different way to accomplish this or do I need a
different ognl syntax?
Thanks in advance!
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]