Re: Preview of an Image and text

2004-12-19 Thread Frank W. Zammetti
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(

Re: Preview of an Image and text

2004-12-19 Thread amin
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

Re: Preview of an Image and text

2004-12-18 Thread Frank W. Zammetti
--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

Re: Preview of an Image and text

2004-12-18 Thread bryan
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

Re: Preview of an Image and text

2004-12-18 Thread Jay Chandran
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

RE: Preview of an Image and text

2004-12-17 Thread uma.k
, 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

RE: Preview of an Image and text

2004-12-17 Thread uma.k
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

Re: Preview of an Image and text

2004-12-17 Thread Wendy Smoak
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

Re: Preview of an Image and text

2004-12-17 Thread bryan
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

Re: Preview of an Image and text

2004-12-17 Thread Frank W. Zammetti
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

Re: Preview of an Image and text

2004-12-17 Thread fzlists
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:

RE: Preview of an Image and text

2004-12-17 Thread Jim Barrows
> -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)