I don't use a jquery plugin, I simply have a SiteMesh decorator 
that includes the jquery js references on a page.  I use an
element's onclick attributes to attach the appropriate jquery
functionality when called for.  I don't think a plugin is 
required, but then again I'm a control freak.  :) 

Apparently I'm in the minority:
http://www.google.com/search?q=jquery+plugin+struts2

HTH!
-dave
 

> -----Original Message-----
> From: Martin Gainty [mailto:mgai...@hotmail.com] 
> Sent: Wednesday, June 03, 2009 5:45 PM
> To: Struts Users Mailing List
> Subject: RE: [S2] why is javascript executed before DOM is updated
> 
> 
> dave-
> 
> i've had my head buried in dojo for last 2 years and did'nt 
> see the jquery solution
> I'm thinking struts will need a jquery-plugin to get this operational
> open to any/all suggestions and or advice?
> 
> Thanks for the links and explanation..this is very helpful 
> and informative!
> Martin Gainty 
> ______________________________________________ 
> Verzicht und Vertraulichkeitanmerkung/Note de déni et de 
> confidentialité
>  
> 
> 
> > Subject: RE: [S2] why is javascript executed before DOM is updated
> > Date: Wed, 3 Jun 2009 16:35:04 -0400
> > From: david_kawczyn...@merck.com
> > To: user@struts.apache.org
> > 
> > Assuming you are requesting information associated with the
> > Modal div implementation:
> > 
> > Technologies to use:
> > I wouldn't recommend one over another because it's javascript. 
> > It depends on what the coder is familiar with. I for one prefer 
> > jquery, and not as an integrated struts component -- I find that 
> > too limiting. 
> > 
> > Insofar as coding/configuration/working examples: 
> > http://jqueryui.com/demos/dialog/ 
> > NOTE: specify the modal option 
> > NOTE: bind inline code to the beforeclose event to populate the 
> >       target div with something obtained in the modal div.
> > 
> > HTH,
> > -dave
> > 
> > 
> > 
> > > From: Martin Gainty [mailto:mgai...@hotmail.com] 
> > > Sent: Wednesday, June 03, 2009 3:51 PM
> > > To: Kawczynski, David
> > > Subject: RE: [S2] why is javascript executed before DOM is 
> > > updated
> > > 
> > > could you provide which technologies would be used ..i assume 
> > > dojo?, links for coding, configuration as well as deploying 
> > > working examples would be helpful
> > > 
> > > Thanks!
> > > Martin Gainty 
> > > ______________________________________________ 
> > > 
> > > 
> > > 
> > > > Subject: RE: [S2] why is javascript executed before DOM is 
> > > > updated
> > > > Date: Wed, 3 Jun 2009 13:12:18 -0400
> > > > From: david_kawczyn...@merck.com
> > > > To: user@struts.apache.org
> > > > 
> > > > >> How can I use the popup window to call a div of the parent 
> > > > >> form
> > > > The window.open function returns a reference to the opened 
> > > > window.  You can change your 
> > > > window.open (url... )
> > > > To read 
> > > > var newWin = window.open(url... )
> > > > newWin.opener = window;
> > > > Then you'd have an "opener" attribute in your opened window 
> > > > that points to the original window; this can be used to get the 
> > > > div:
> > > > window.opener.document.getElementById("somediv")
> > > > 
> > > > 
> > > > Personally, I would drop the use of the window and implement a 
> > > > CSS-styled modal div of some sort. 
> > > > 
> > > > 
> > > > 
> > > > -----Original Message-----
> > > > From: tutul [mailto:shubhrakarma...@hotmail.com] 
> > > > Sent: Wednesday, June 03, 2009 12:34 PM
> > > > To: user@struts.apache.org
> > > > Subject: Re: [S2] why is javascript executed before DOM is 
> > > > updated
> > > > 
> > > > 
> > > > Hi,
> > > > 
> > > > I am sorry to hijack this thread but I have a similar 
> question. I
> > have a
> > > > parent form and upon clicking a link, it opens up a 
> popup window to
> > > > add
> > > > some form fields. When the user saves this form in the 
> popup, a part
> > of
> > > > parent window should get updated. How can I use the 
> popup window to
> > > > call a
> > > > div of the parent form. Below I am giving a snippet of 
> my jsp. the
> > > > javascript addEditAudit method will open up a jsp and upon
> > submitting
> > > > the
> > > > form in the popup, the popup should update the <div
> > id="details"></div>
> > > > part.
> > > > 
> > > > Any help in this matter would be greatly appreciated
> > Notice:  This e-mail message, together with any 
> attachments, contains
> > information of Merck & Co., Inc. (One Merck Drive, 
> Whitehouse Station,
> > New Jersey, USA 08889), and/or its affiliates (which may be known
> > outside the United States as Merck Frosst, Merck Sharp & Dohme or
> > MSD and in Japan, as Banyu - direct contact information for 
> affiliates is
> > available at http://www.merck.com/contact/contacts.html) that may be
> > confidential, proprietary copyrighted and/or legally 
> privileged. It is
> > intended solely for the use of the individual or entity 
> named on this
> > message. If you are not the intended recipient, and have 
> received this
> > message in error, please notify us immediately by reply e-mail and
> > then delete it from your system.
> > 
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> > For additional commands, e-mail: user-h...@struts.apache.org
> > 
> 
> _________________________________________________________________
> Hotmail® has ever-growing storage! Don't worry about storage limits. 
> http://windowslive.com/Tutorial/Hotmail/Storage?ocid=TXT_TAGLM
_WL_HM_Tutorial_Storage_062009
> 
Notice:  This e-mail message, together with any attachments, contains
information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station,
New Jersey, USA 08889), and/or its affiliates (which may be known
outside the United States as Merck Frosst, Merck Sharp & Dohme or
MSD and in Japan, as Banyu - direct contact information for affiliates is
available at http://www.merck.com/contact/contacts.html) that may be
confidential, proprietary copyrighted and/or legally privileged. It is
intended solely for the use of the individual or entity named on this
message. If you are not the intended recipient, and have received this
message in error, please notify us immediately by reply e-mail and
then delete it from your system.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to