Great,

Before I found out about iframe I created hidden frame to do the work.

danny

-----Original Message-----
From: Andrew Hill [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, August 28, 2002 7:51 PM
To: Struts Users Mailing List
Subject: RE: Confirmation prior to post


I saw an article about doing this at the apple developer website:
http://developer.apple.com/internet/javascript/iframe.html
Havent had time to play with the technique much myself yet, but seems to be
quite a neat trick.

-----Original Message-----
From: Jacob Hookom [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 28, 2002 22:11
To: 'Struts Users Mailing List'; 'Struts Users Mailing List'
Subject: RE: Confirmation prior to post


One common thing designers are doing is taking advantage of iframes as a
page controller.  You place a 0px by 0px iframe on the page by which you can
submit content via javascript (POST) and then have that page modify page
data dynamically on return, but to the user, they are looking at the same
page they always have been.

-Jacob

| -----Original Message-----
| From: Jon.Ridgway [mailto:[EMAIL PROTECTED]]
| Sent: Wednesday, August 28, 2002 8:46 AM
| To: 'Struts Users Mailing List '
| Subject: Confirmation prior to post
|
| Hi All,
|
| I was wondering if anyone has done the following and could give
advice. A
| form has a text box into which the user enters an ID. This invokes
some
| JavaScript, which needs to invoke a tag lib that checks if the ID
exists;
| if
| it doesn't a JavaScript confirm dialgoue asks the user if they wish to
add
| the ID.
|
| The problem is how do I pass the ID, which at this stage (prior to
post)
| is
| a JavaScript varible into my tag lib?
|
| Is there a better/tried and tested approach to this; I'm guessing that
its
| a
| pretty common problem...
|
| Jon.
|
| The contents of this email are intended only for the named addressees
and
| may contain confidential and/or privileged material. If received in
error
| please contact UPCO on +44 (0) 113 201 0600 and then delete the entire 
| e-mail from your system. Unauthorised review, distribution, disclosure
or
| other use of this information could constitute a breach of confidence. 
| Your co-operation in this matter is greatly appreciated.
|
| --
| To unsubscribe, e-mail:   <mailto:struts-user-
| [EMAIL PROTECTED]>
| For additional commands, e-mail: <mailto:struts-user- 
| [EMAIL PROTECTED]>
|
| ---
| Incoming mail is certified Virus Free.
| Checked by AVG anti-virus system (http://www.grisoft.com).
| Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002
|

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002



--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to