Loading ...
Sorry, an error occurred while loading the content.

Re: YUI Connection Manager and Struts2

Expand Messages
  • cjavajim
    ... I don t know the answer to your question but perhaps you can learn something useful from the first example here:
    Message 1 of 2 , Aug 1, 2009
    • 0 Attachment
      --- In ydn-javascript@yahoogroups.com, "Matt Hosking" <m_nhk@...> wrote:
      >
      > Hi,
      >
      > I need help with a web application I'm working on where I'm replacing its html frames with div layers and utilizing the YUI connection manager to update the appropriate div layers.
      >
      > The application framework is struts2 which needs to remain, as all of the application relies on the struts tags.
      >
      > The problem I'm having is when submitting a form in the application whereby it calls Javascript which calls the yui connection manager and gets back the correct response, however after the javascript executes, the struts framework kicks in and submits the form thus updating the whole page with the response rather than just a particular div layer.
      >
      > So apart from removing the struts tags in the jsp's, which isn't really an option as this would require the whole front end to be re-written, does anyone know how I can stop struts submitting the form or intercept it to use the YUI Connection Manager?
      >
      > Thanks
      >
      > M
      >

      I don't know the answer to your question but perhaps you can learn something useful from the first example here:

      http://www.struts2.org/category/yui-integration/
    Your message has been successfully submitted and would be delivered to recipients shortly.