You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by sri dhar <sr...@rediffmail.com> on 2004/10/04 10:42:27 UTC

Hi Guys -Need Clarification -Urgent

Need Clarification
1)  Problem 1
See this code, i have integrated html with velocity.
$page.setTitle("Pragati")
<html>
<META HTTP-EQUIV="EXPIRES" 
CONTENT="0">

<frameset rows="60,*" frameborder="YES" border="0" framespacing="0"  >
  <frame name="MyFrameOne" src="$link.setPage("MenuBar.vm")" 
scrolling="auto" noresize frameborder='0' framespacing='0'>  -Frame1
  <frame name="content" src="$link.setPage("Intro.vm")" scrolling="auto" frameborder="0"> -Frame2
</frameset>
</html>
 I have splitted the screen into two.
But when i refresh the frame menubar.vm disappears,(when i right click and do refresh in the top frame1),but when u generally refresh in second frame2 or F5 it doesnot give the problem.
  So give a solution for this refresh problem.

2)Problem 2
I'm having a window and i want to save the window when i click that button (Save).
The Window may contains image , text value,checkbox state like that,but for my code the image and Form elements get save but not the content of the textbox .So how to do it?

the coding follows
<form> 
<input type="text" value="sridhar">
<input type="button" onClick="document.execCommand('SaveAs')" value="save" /> 
</form> 

Regards
Sridhar




Re: Hi Guys -Need Clarification -Urgent

Posted by Shinobu Kawai <sh...@gmail.com>.
Hi Sridhar,

Post this to the user list and we'll try to figure things out.  Okay?
    http://jakarta.apache.org/site/mail2.html#Velocity
    http://www.mail-archive.com/velocity-user@jakarta.apache.org/

BTW, problem 2 has nothing to do with Velocity, so it might have better
chances being answered at another list.  ;)

Best regards,
-- Shinobu Kawai

On 4 Oct 2004 08:42:27 -0000
"sri dhar" <sr...@rediffmail.com> wrote:

> Need Clarification
> 1) Problem 1
> See this code, i have integrated html with velocity.
> $page.setTitle("Pragati")
> <html>
> <META HTTP-EQUIV="EXPIRES" 
> CONTENT="0">
> 
> <frameset rows="60,*" frameborder="YES" border="0" framespacing="0"  >
>   <frame name="MyFrameOne" src="$link.setPage("MenuBar.vm")" 
> scrolling="auto" noresize frameborder='0' framespacing='0'>  -Frame1
>   <frame name="content" src="$link.setPage("Intro.vm")" scrolling="auto" frameborder="0"> -Frame2
> </frameset>
> </html>
>  I have splitted the screen into two.
> But when i refresh the frame menubar.vm disappears,(when i right click and do refresh in the top frame1),but when u generally refresh in second frame2 or F5 it doesnot give the problem.
>   So give a solution for this refresh problem.
> 
> 2)Problem 2
> I'm having a window and i want to save the window when i click that button (Save).
> The Window may contains image , text value,checkbox state like that,but for my code the image and Form elements get save but not the content of the textbox .So how to do it?
> 
> the coding follows
> <form> 
> <input type="text" value="sridhar">
> <input type="button" onClick="document.execCommand('SaveAs')" value="save" /> 
> </form> 
> 
> Regards
> Sridhar
> 
> 
> 

--
Shinobu Kawai <sh...@gmail.com>


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