You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Andreas Andreou <an...@gmail.com> on 2008/01/31 06:26:22 UTC
Re: submit inside dipslay:none
See http://tapestry.apache.org/tapestry4.1/components/dojo/dialog.html
there's a "dont' wrap portions of a form" section!
On Jan 31, 2008 4:44 AM, learner <se...@yahoo.com> wrote:
> i'm using dojo. when my below dialog pop up, i cannot do submit. the below tag
> is inside "<form jwcid.. >" tag. any idea where i did wrong?
>
>
>
> <input type="button" class="formbutton"
> onclick="dojo.widget.byId('addGroupDialog').show()" jwcid="addGroup@Button"
> label="addSomething button"/>
>
>
>
> <div jwcid="addGroupDialog@dojo:Widget" dojoType="Dialog" bgColor="#ccccf"
> closeOnBackgroundClickAsBoolean="true"
> style="display:none;" toggle="wipe">
> <p class="options">
>
> <label key="new group"/><br/>
> <label key="name"/>: <input type="text" jwcid="@TextField" value="ognl:name"/>
> <br/>
> <label key="description"/>: <input type="text" jwcid="@TextArea"
> value="ognl:description"/> <br/>
> <input type="Submit" class="formbutton" jwcid="popupButtonAction@Submit"
> value="message:add" selected="ognl:buttonClicked"
> tag="literal:PopupActionAddButton"/>
>
> </p>
> </div>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
--
Andreas Andreou - andyhot@apache.org - http://blog.andyhot.gr
Tapestry / Tacos developer
Open Source / JEE Consulting
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: submit inside dipslay:none
Posted by Andreas Andreou <an...@gmail.com>.
Not sure... perhaps you need some css rules that set margin, padding
to zero for forms?
On Jan 31, 2008 9:33 AM, learner <se...@yahoo.com> wrote:
> when i added the form like below, the submit button work ! but... how come the
> dialog is shift to the right? if i take out the <form...> .. it will display
> properly at the middle
>
>
> <div jwcid="addGroupDialog@dojo:Widget" dojoType="Dialog" bgColor="#ccccf"
> closeOnBackgroundClickAsBoolean="true"
> style="display:none;" toggle="wipe">
>
> <form jwcid="apple@Form" listener="listener:actionPerformed">
> <p class="options">
>
> <label key="new group/><br/>
> <label key="name"/>: <input type="text"
> jwcid="@TextField" value="ognl:name"/> <br/>
> <label key="description"/>: <input type="text"
> jwcid="@TextArea" value="ognl:description"/> <br/>
> <input type="Submit" class="formbutton"
> jwcid="popupButtonAction@Submit" value="add" selected="ognl:buttonClicked"
> tag="literal:PopupActionAddButton"/>
>
> </p>
> </form>
>
>
> </div>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
--
Andreas Andreou - andyhot@apache.org - http://blog.andyhot.gr
Tapestry / Tacos developer
Open Source / JEE Consulting
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: submit inside dipslay:none
Posted by learner <se...@yahoo.com>.
when i added the form like below, the submit button work ! but... how come the
dialog is shift to the right? if i take out the <form...> .. it will display
properly at the middle
<div jwcid="addGroupDialog@dojo:Widget" dojoType="Dialog" bgColor="#ccccf"
closeOnBackgroundClickAsBoolean="true"
style="display:none;" toggle="wipe">
<form jwcid="apple@Form" listener="listener:actionPerformed">
<p class="options">
<label key="new group/><br/>
<label key="name"/>: <input type="text"
jwcid="@TextField" value="ognl:name"/> <br/>
<label key="description"/>: <input type="text"
jwcid="@TextArea" value="ognl:description"/> <br/>
<input type="Submit" class="formbutton"
jwcid="popupButtonAction@Submit" value="add" selected="ognl:buttonClicked"
tag="literal:PopupActionAddButton"/>
</p>
</form>
</div>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org