maybe heading off topic - forgive me - but I want struts systems to be well
designed!

The web is so darn slow - for repetitive use system confirmation/dialogs are a
real pain. I'm not a designer but I feel it's best to take the user to a useful
page & put your message at the top of it.
eg. in Action after the update
request.removeAttribute("userMessage"); // make sure only 1 message
request.addAttribute("userMessage", "well done - we have saved your details");

then at top of jsp's.
<logic:present name="userMessage" scope="request">
        <bean:write name="userMessage" scope="request" />
</logic:present>

or better still use the new Messages tag.
Keith.

--- Andreas Mack <[EMAIL PROTECTED]> wrote:
> On Fri, 2002-02-15 at 02:19, Ted Husted wrote:
> 
> I have a question along these lines:
> Quite often I have thing like an acknowledge page, very much
> like an Ok Dialog: "The password has been changed successfully.
> <html:submit>OK</html:submit>". I'm toying with the idea of generalize
> this by having an "OKAction" and an okdialog.jsp where I parametrize
> or attributize the message and the forward (yes, this is bad, routing
> outside of struts-config.xml). 
> 
> It works, but only sub-optimal, because to return to a specific page
> "/userdetail.do" requires the uid field. Somehow this should be within
> the generic okdialog.jsp. I'd like to have a collection of parameters
> set which are dynamically added to the okdialog.jsp in hidden fields,
> but hidden::name/property seems to be "static". Any hints here ? Am I
> down a wrong road ? How do others do these quite generic dialogs ?
> 
> Thanks!
> 
> -- 
> Andreas Mack <[EMAIL PROTECTED]>
> mediales. GmbH http://www.mediales.de
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 


__________________________________________________
Do You Yahoo!?
Got something to say? Say it better with Yahoo! Video Mail 
http://mail.yahoo.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to