o I
carry the values/images?
Uma
-Original Message-
From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
Sent: Friday, December 17, 2004 10:44 PM
To: Struts Users Mailing List
Subject: Re: Preview of an Image and text
You might consider doing it all on the client...
test
function preview(
ut I what if I need to show preview in the next JSP? How
>> do I
>> carry the values/images?
>>
>> Uma
>>
>> -Original Message-
>> From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
>> Sent: Friday, December 17, 2004 10:44 PM
>> To: Struts Users Ma
--Original Message-
From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
Sent: Friday, December 17, 2004 10:44 PM
To: Struts Users Mailing List
Subject: Re: Preview of an Image and text
You might consider doing it all on the client...
test
function preview() {
lyrPreview.innerHTML = "";
l
Works good with firefox as well , seems like a damned good simple
solution to me.
Hey did you see Brady Hegberg's post for dynamic dropdown list's, I
reckon you'll like it as well,
also cross platform.
If you wanted to be a bit more ambitious you could also try implimenting
this:
http://develope
and as shown below.
There should be a hidden variable of T1 whose value is the path of the image
(eg c:\\image.jpg) in ur jsp page as shown below.
Last ur jsp file should contain a image tag for display of image.
The value of the hidden name (imagePath) should be passed from the java
action f
, 2004 10:44 PM
To: Struts Users Mailing List
Subject: Re: Preview of an Image and text
You might consider doing it all on the client...
test
function preview() {
lyrPreview.innerHTML = "";
lyrPreview.innerHTML += "Some message text...<br>";
lyrPreview.inn
ECTED]
Sent: Friday, December 17, 2004 10:54 PM
To: Struts Users Mailing List
Subject: Re: Preview of an Image and text
From: "uma.k" <[EMAIL PROTECTED]>
> I have a form where the user is given the option to select a file to
> upload(normally gif or jpg) before the user sub
From: "uma.k" <[EMAIL PROTECTED]>
> I have a form where the user is given the option to select a file to
> upload(normally gif or jpg) before the user submits the file to the
server,
> I wanted to show him a preview of his message and image.
> How do I do that? Where do I store the image temporarly
hey ! cool solution !! Works on Firefox as well !
--b
On Fri, 17 Dec 2004 12:14:06 -0500, Frank W. Zammetti
<[EMAIL PROTECTED]> wrote:
> You might consider doing it all on the client...
>
>
>
> test
>
> function preview() {
> lyrPreview.innerHTML = "";
> lyrPreview.innerHTML += "Some message
You might consider doing it all on the client...
test
function preview() {
lyrPreview.innerHTML = "";
lyrPreview.innerHTML += "Some message text...
";
lyrPreview.innerHTML += "";
}
Select file, then click button to
You might consider doing it all on the client...
test
function preview() {
lyrPreview.innerHTML = "";
lyrPreview.innerHTML += "Some message text...
";
lyrPreview.innerHTML += "";
}
Select file, then click button to preview:
Preview:
> -Original Message-
> From: uma.k [mailto:[EMAIL PROTECTED]
> Sent: Friday, December 17, 2004 8:47 AM
> To: 'Struts Users Mailing List'
> Subject: Preview of an Image and text
>
>
> Hi,
> I have a form where the user is given the option to select a file to
> upload(normally gif or jpg)
12 matches
Mail list logo