On Fri, Feb 18, 2011 at 3:40 AM, Johannes Geppert <jo...@web.de> wrote:
>
> what exactly is the problem?
>
> i never have a problem with forms inside of the dialog.
>
The example you posted doesn't work for me.. I'm looking through the
wiki and not finding anything similar

When I try what you suggested the form appears on the page and not in
the dialog.

> http://code.google.com/p/struts2-jquery/wiki/DialogTag
>
> <%@ taglib prefix="s" uri="/struts-tags"%>
> <%@ taglib prefix="sj" uri="/struts-jquery-tags"%>
> <html>
>  <head>
>    <sj:head />
>  </head>
>  <body>
>    <sj:dialog id="modalDialog" title="Modal Dialog"  modal="true">
>     <s:form>
>       <s:textarea .... />
>       <s:submit />
>     </s:form>
>   </sj:dialog>
>  </body>
> </html>
>
> Johannes
>
>
> akinsgre wrote:
>>
>> I'm trying to implement a modal dialog in a Struts2 application.
>>
>> I found the struts2-jquery-plugin.
>>
>> What I'm not sure about is how to implement a dialog that contains a
>> form.  I'm trying to implement a feature to edit the value in a page
>> by displaying the dialog with a <s:form/> and submitting that form to
>> an action as the dialog is closed.
>>
>> The examples in the struts-jquery-plugin wiki don't seem to cover this
>> case; though I've been fighting this (along with some other attempts
>> using SimpleModal) for a day now and am hoping someone can point me in
>> the right direction.
>>
>> Thanks.
>>
>>
>>
>> --
>> Greg Akins
>> http://twitter.com/akinsgre
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>> For additional commands, e-mail: user-h...@struts.apache.org
>>
>>
>>
>
>
> -----
> ---
> web: http://www.jgeppert.com
> twitter: http://twitter.com/jogep
>
> --
> View this message in context: 
> http://old.nabble.com/Help-with-JQuery-plugin-tp30954067p30956812.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>



-- 
Greg Akins
http://twitter.com/akinsgre

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

Reply via email to