I'm not completely sure what you mean but two things come to mind:
- the s:action tag is useful for pages that need to be assembled using
the results from multiple actions. If each each outputs a component of
the view, you can uses Tiles or Sitemesh to assemble a page on the
server-side that invokes numerous actions. You can then reuse the
components and design actions around each data model instead of each page.
- as you're using ExtJS, you can use the same pattern as described
above, but invoke each action XHR. The page can be assembled via ExtJS
on the client-side with your actions returning data or html fragments as
appropriate.
Frans Thamura wrote:
hi all,
I am try to develop a web apps using Struts2, and the presentation we use
ExtJS.
in ExtJS, we have a form that represent 1 table, and several grid, around
2-3 table grids.
so, in my mind the grid = one result...
after trying several model, i see that every form or table grid need 1
result
in my case above, we need 3-4 result
for me, creating 4 results for 1 page is an annoying job and make my
struts.xml become blowup and dirty.
any idea guys?
F
------------------------------------------------------------------------
No virus found in this incoming message.
Checked by AVG.
Version: 7.5.519 / Virus Database: 269.22.7/1361 - Release Date: 5/04/2008 7:53 AM
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]