Hi,

I want to use Magnolia/Struts just the other way round (Not use the
repository in Struts). The goal is to have best of both worlds, using
both in the Magnolia template. In my imagination Magnolia is handling
the static content and Struts handling the interactive part.

To make it more clear: On our public website, which is managed by
Magnolia, the user can click around in different products. At one point
he can register for the product he is just looking at, this is the point
where Struts comes in with a web application where the user can register
himself with his name, address, credit card and so on. I know this could
be solved with a link from Magnolia to the Struts webapp, but it is
required that the user stays inside the Magnolia generated surrounding
content, so he can change his mind at every point and return to the
other products shown in Magnolia. To achieve this, the Struts
application could be displayed as an IFrame inside the Magnolia
generated content, but this should only be the last option.
As far as I have seen, Magnolia primarily uses ServletFilters, which
themselves use Servlets internally. Perhaps it is possible to insert the
Struts ActionServlet here in some way, like let Magnolia do its
processing and then use the Struts Servlet. The result of both is then
shown in the JSP. Questions are: How is the ActionMapping used and who
forwards to the JSP/Template - Magnolia or Struts?

Hope this clarifies my intentions a bit.

Thanks very much!

Chris


> Hi,
> 
> I was trying to use Magnolia-authored content in a Struts 
> app, but wasn't lucky to get access to the repository since 
> it was giving a lock, and i don't know how to setup a Model2 
> deployment. 
> 
> Can you please explain what you are trying to achieve? . Is 
> it like creating an app having Magnolia-generated HTML pages 
> + other dynamic JSPs using Struts?
> 
> Magnolia - User mailing list wrote:
> > 
> > Hi there!
> > 
> > The integration of Struts and Tiles into Magnolia has been recently
> > discussed, but only the use of Tiles and the Tiles Controller. Is it
> > possible to integrate the whole Struts mechanism into 
> Magnolia in order
> > to use Struts Actions and Forms and implement an 
> interactive application
> > in Magnolia with navigation and so on? At the moment this 
> causes me a
> > bit of a headache, because there is no easy way to 
> implement a kind of
> > "conversation" over several pages between Magnolia and the browser.
> > 
> > Kind regards,
> > 
> > Chris



----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------

Reply via email to