Sorry, I don't have code like this handy, but the steps would be:
- your submit button or form listener sets a flag/data on the Home page
- the home page renders the response to the submit
- the home page checks the flag and conditionally includes javascript
to open the Popup page from onLoad
lem of saving user's entries in parent.html for
>> popup.java to use? Is there any other way to do this besides saving it in
>> user's session? Thanks.
>
> -
http://wiki.apache.org/tapestry/PopupLinkSubmit
-Ursprüngliche Nachricht-
Von: teacup [mailto:[EMAIL PROTECTED]
Gesendet: Sonntag, 22. Juli 2007 14:22
An: users@tapestry.apache.org
Betreff: Popup New Window With A Button in Tapestry
Hello, members:
Mostly we use a Javascript to pop
this should be no problem for any html page tapestry or not,
first make you form work without popup, just redirect.
then add this to your form:
or
this will cause the form to submit data into a popup window just
like it was normal redirect inside original window.
for binding data it's no di
Handle the submit and conditionally include popup javascript in the response.
Cheers,
Nick.
teacup wrote:
Hello, members:
Mostly we use a Javascript to pop up a new window. I am writing a Tapestry
application, where I want to pop up a new Window (say popup.html). The
popup.html page will have
s), right? I want to use a button, not a
hyperlink, on parent.html page.
So how do I solve my problem of saving user's entries in parent.html for
popup.java to use? Is there any other way to do this besides saving it in
user's session? Thanks.
--
View this message in context:
http://www.nab