[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tapestry-user
Subject:    Re: form submit
From:       Shing Hing Man <matmsh () yahoo ! com>
Date:       2005-04-30 15:37:28
Message-ID: 20050430153728.40890.qmail () web52403 ! mail ! yahoo ! com
[Download RAW message or body]

You might just need a button like this :

<input type="submit" value="Send to non-tapestry
target"
onclick="this.form.action='http://www.whereever.com'"/>

Shing

--- "t.n.a." <tna@sharanet.org> wrote:
> Hi everyone,
> 
> the problem is as follows...
> At the moment, I have a form component and a
> listener to go with it and 
> everything's fine so far: the listener does what
> it's supposed to do and 
> opens a page with the result.
> The problem is that I have to submit (via "post")
> the same form to a non 
> tapestry application, as well and I've no idea how
> to do that. If the 
> other application accepted "get" as the form submit
> method, it'd be 
> easy, but as it is, I don't know where to start.
> I guess what I'm looking for is a couple of lines of
> java code that 
> generate a submit-by-post request.
> 
> TIA,
> Tomislav
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> tapestry-user-help@jakarta.apache.org
> 
> 

Home page :
  http://uk.geocities.com/matmsh/index.html

Send instant messages to your online friends http://uk.messenger.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic