Good to hear from happy users :)

I thought you wanted to have two forms that were submitted by one
click. So my answer was not really to-the-point. Glad the other
answers work for you.

Eelco


On 12/11/05, Ali Zaid <[EMAIL PROTECTED]> wrote:
> Andrew!
>
>  Man, Thanks, this works perfectly for me, I did think of this solution, but
> I didn't have the well to try it till you suggested it :)
>
>  Johan, Man I can't wait for 1.2, from what I read it has allot of what I
> need :)
>
>  Thanks guys, if you are interested, I'm writting now 2 application using
> wicket (that with a simple tracking system 4 months ago), and wicket is
> really helping me deliver fast, it just make me code the way I like :)
>
>  ThAnKs WiCkEt TeAm!!!
>
>
> On 12/11/05, Johan Compagner <[EMAIL PROTECTED]> wrote:
> > If you use 1.2: See SubmitLink
> >
> >
> >
> >
> > On 12/11/05, Andrew Berman < [EMAIL PROTECTED]> wrote:
> > > Don't use a submit button.  Do this instead....
> > >
> > > 1.  Give each form an id using the HTML id attribute
> > > 2.  Add the buttons like below....
> > >
> > > <input type="button" value="Action 1" onclick="
> document.getElementById("form1Id").submit();"/>
> > > <input type="button" value="Action 2"
> onclick="document.getElementById("form2Id").submit();"/>
> > >
> > > --Andrew
> > >
> > >
> > >
> > > On 12/10/05, Eelco Hillenius < [EMAIL PROTECTED]> wrote:
> > > > I think the problem is not so much Wicket here, but the fact that you
> > > > want to break out of the HTML boundaries. One strategy you can utilize
> > > > is to use JavaScript to collect your form values and submit them as if
> > > > they were part of one form. If you need such functionality often, you
> > > > might even try to generalize this into a custom Wicket component.
> > > >
> > > > Eelco
> > > >
> > > >
> > > > On 12/10/05, Ali Zaid < [EMAIL PROTECTED]> wrote:
> > > > > Hi;
> > > > >
> > > > > I want to to submit a Form by a link or a button that don't belong
> to that
> > > > > Form, the idea is that I have 2 Forms in a page, one is a client
> details
> > > > > Form and the other is a ListView with a Form to add Contact Info to
> that
> > > > > client. I want to add a button (link) in the bottom of the page that
> say
> > > > > save that will save the whole client object and redirect to another
> page,
> > > > > what I want to do is to submit that form when this link is clicked.
> > > > >
> > > > > <form wicket:id="clientDetails">
> > > > > .
> > > > > .
> > > > > .
> > > > > </form>
> > > > >
> > > > > <form wicket:id="contacts">
> > > > >  .
> > > > >  .
> > > > >  .
> > > > >  </form>
> > > > >
> > > > > <input type="submit" class="formButton" value="   Save   "
> > > > > wicket:id="lnk_save"/>
> > > > >
> > > > > So the idea is to submit the form clientDetails with the  button
> lnk_save.
> > > > > hope it's doable ;)
> > > > >
> > > > > --
> > > > > Regards, Ali
> > > >
> > > >
> > > >
> -------------------------------------------------------
> > > > This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> files
> > > > for problems?  Stop!  Download the new AJAX search engine that makes
> > > > searching your log files as easy as surfing the  web.  DOWNLOAD
> SPLUNK!
> > > > http://ads.osdn.com/?ad_idv37&alloc_id865&opclick
> > > > _______________________________________________
> > > > Wicket-user mailing list
> > > > Wicket-user@lists.sourceforge.net
> > > >
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> > > >
> > >
> > >
> >
> >
>
>
>
> --
> Regards, Ali


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to