I have something similar to what Jason suggested with Sitemesh working in a
few apps. There's a search box in a sitemesh decorator on the left side of
the screen, with its own little form calling an action. The action forwards
to a result page, that is still decorated by the same sitemesh decorator, so
it looks like the search from the left of the screen just filled the right
of the screen with the results.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jason
Carreira
Sent: Friday, February 06, 2004 7:08 AM
To: [EMAIL PROTECTED]
Subject: RE: [OS-webwork] data from different actions

Well, one way to do this is to have your page itself just show the form
backed by an Action and use SiteMesh to decorate the page with the newsgroup
list on the right.

Another way is to have the same form w/ Action but in the JSP page, make a
call to <ww:action> to execute the user group Action and display the list of
user groups.

I think from what I understood this should work for what you're doing...

> -----Original Message-----
> From: Florian Weber [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 06, 2004 2:42 AM
> To: [EMAIL PROTECTED]
> Subject: [OS-webwork] data from different actions
> 
> 
> 
> hi!
> 
> if i have a webpage where on on the left side i display a list of 
> usergroups and on the right side i have a little form where i can add 
> a group, how would i implement that as far as actions go? (basically 
> you can just look at the confluence group management
> screen)
> 
> if i have i submited the form to the creategroup action, but it fails 
> because the user for example didnt enter any username and get to the 
> view of browsegroups, i would still have to display the groups on the 
> right side, while showing the validation error from creategroup on the 
> right side.
> 
> basically i wonder if there the browsegroup action would just be 
> called from within the creategroup action, to populate something like 
> a global dataspace with the grouplist and the display the view.. or 
> howelse could i have the data from one action on the left side and the 
> validation error from the other action on the right side?
> 
> can anybody give me a little insight on how this normaly is solved 
> with webwork?
> 
> thanks a lot!
> 
> ciao!
> florian
> 
> 
> 
> -------------------------------------------------------
> The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference 
> on Open Tools Development and Integration See the breadth of Eclipse 
> activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn 
> _______________________________________________
> Opensymphony-webwork mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> 




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to