Re: Frames ..

2005-03-31 Thread Simon Christian
Hi Tanveer,
This is strictly a Turbine and/or HTML question, however the problem 
seems a fairly fundamental one: your frameset is not being recognized 
because the tags appears within the body section of the page. The 
final source for your page should instead look something like this:-

html
head
title/title
/head
frameset rows=20%,*
frame src=http://www.google.com; /
frame src=http://www.yahoo.com; /
/frameset
noframes
pFrames required/p
/noframes
/html
Note that the frameset starts immediately after the closing tag of the 
head section. The reason your page is rending like that is because your 
layout template 'VelocityOnlyLayout' is expecting to put the page 
content within the body tag. What you need to do is create a new layout 
template specifically for framesets, and instruct Turbine/Velocity to 
use that layout for your frameset template(s).

Going out on a bit of a limb (and this may be wholly incorrect), I'll 
assume that Turbine uses the VelocityLayoutServlet, in which case your 
new layout template should look like this:

html
head
title/title
/head
$screen_content
noframes
pFrames required, even though this is 2005/p
/noframes
/html
And at the top of your 'try.vm' template add the following line:
 #set( $layout = VelocityFramesetLayout )
- simon

Tanveer Dhillon wrote:
HI
i have been able to use frames in velocity bt when i use them with turbine
the same page stops working.
I have a try.vm page havin the follwoeing code
frameset rows=20%,*
  frame src=http://www.yahoo.com/; /
  frame src=http://www.google.com/; /
/frameset
when i place it in my project directory helloworld it works if accessed from
the browser as
http://localhost:8080/helloworld/try.vm
but if i place it in the templates/screens directory and in the turbine
resource properties file i add the following statement
layout.default=VelocityOnlyLayout
and change home page as template.homepage=Try.vm
the frames dont appear in the browser
If i view source fron the browser i get the following code
html
head
  title/title
/head
body  
frameset rows=20%,*
frame src=http://www.google.com; /
frame src=http://www.yahoo.com; /
/frameset
/body
/html
can someone help?
thanks
Tanveer

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


RE: Frames ..

2005-03-31 Thread Tanveer Dhillon
Thanks
It works after changing the layout.
It was the problem of the body tag only.
Thanks again!!!

Tanveer

-Original Message-
From: Simon Christian [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 31, 2005 2:47 PM
To: Velocity Users List
Subject: Re: Frames ..


Hi Tanveer,

This is strictly a Turbine and/or HTML question, however the problem
seems a fairly fundamental one: your frameset is not being recognized
because the tags appears within the body section of the page. The
final source for your page should instead look something like this:-

html
head
title/title
/head
frameset rows=20%,*
 frame src=http://www.google.com; /
 frame src=http://www.yahoo.com; /
/frameset

noframes
pFrames required/p
/noframes
/html

Note that the frameset starts immediately after the closing tag of the
head section. The reason your page is rending like that is because your
layout template 'VelocityOnlyLayout' is expecting to put the page
content within the body tag. What you need to do is create a new layout
template specifically for framesets, and instruct Turbine/Velocity to
use that layout for your frameset template(s).

Going out on a bit of a limb (and this may be wholly incorrect), I'll
assume that Turbine uses the VelocityLayoutServlet, in which case your
new layout template should look like this:

html
head
title/title
/head

$screen_content

noframes
pFrames required, even though this is 2005/p
/noframes
/html

And at the top of your 'try.vm' template add the following line:

  #set( $layout = VelocityFramesetLayout )

- simon



Tanveer Dhillon wrote:
 HI
 i have been able to use frames in velocity bt when i use them with turbine
 the same page stops working.
 I have a try.vm page havin the follwoeing code

 frameset rows=20%,*
   frame src=http://www.yahoo.com/; /
   frame src=http://www.google.com/; /
 /frameset

 when i place it in my project directory helloworld it works if accessed
from
 the browser as
 http://localhost:8080/helloworld/try.vm

 but if i place it in the templates/screens directory and in the turbine
 resource properties file i add the following statement
 layout.default=VelocityOnlyLayout
 and change home page as template.homepage=Try.vm
 the frames dont appear in the browser
 If i view source fron the browser i get the following code
 html
 head
   title/title
 /head
 body  


 frameset rows=20%,*
 frame src=http://www.google.com; /
 frame src=http://www.yahoo.com; /
 /frameset


 /body
 /html
 can someone help?

 thanks
 Tanveer



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






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



RE: frames

2005-03-22 Thread Tanveer Dhillon
hi well i tried running frames in my page using the same procedure but they
dont seem to work.
When i view source from the browser i can see the frameset tag as

frameset rows=20%,*
frame src=/compensation/workstream/template/screens%2CHome.vm /
frame src=http://www.yahoo.com; /
/frameset

in my vm file i have written the following lines
frameset rows=20%,*
frame src=$link.setPage('screens,Home.vm') /
frame src=http://www.yahoo.com; /
/frameset

can u suggest something i might be missing on.
thanks
tanveer

-Original Message-
From: Foth, Oliver [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 22, 2005 1:05 PM
To: 'Velocity Users List'
Subject: AW: frames


Hi,

I've just tested Velocity/Turbine/Frames. Seems to work fine. I've set the
following (ignore me if my answer misses the topic):

- TurbineResources.properties:

template.homepage=/Frame.vm
template.login=/Frame.vm
services.VelocityService.default.layout = VelocityECSLayout


- Frame.vm

FRAMESET rows=25%, 65% ,10%
FRAME src=$link.setPage('Kopf.vm') name=navigation noresize
scrolling=no frameborder=no/
FRAME src=$link.setPage('KoerperTest.vm') name=masken noresize
frameborder=no/
FRAME src=$link.setPage('Rumpf.vm') name=messages noresize
scrolling=no frameborder=no/
NOFRAMES
Jetzt haben wir ein Problem - Dein Browser mag keine Frames!
/NOFRAMES
/FRAMESET


- Default.vm

$screen_placeholder



Regards,

Olli

-Ursprüngliche Nachricht-
Von: Tanveer Dhillon [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 22. März 2005 08:20
An: Velocity Users List
Betreff: RE: frames

I have attached a file of the error i get when i  type the URL directly into
the browser.



-Original Message-
From: Will Glass-Husain [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 22, 2005 12:27 PM
To: Velocity Users List
Subject: Re: frames


 Also, what happens if you type that URL directly into the browser?

WILL

- Original Message -
From: Tanveer Dhillon [EMAIL PROTECTED]
To: Velocity Users List velocity-user@jakarta.apache.org
Sent: Monday, March 21, 2005 10:43 PM
Subject: Re: frames


 the frame set close tag is there but soory there was aproblem in
 copying it.
 I tried using frames in a simple velocity page but they aren't working
 too.
 though when i view source from the browser its perfectly fine.
 What could be the problem ?
 thanks again
 tanveer

 -Original Message-
 From: Will Glass-Husain [EMAIL PROTECTED]
 To: Velocity Users List velocity-user@jakarta.apache.org
 Date: Mon, 21 Mar 2005 13:24:37 -0800
 Subject: Re: frames

 where's the close of the frameset?

 Also, what happens if you type that URL directly into the browser?

 root of the original
 webpage/compensation/workstream/template/screens%2Fsample.html;jsess
 webpageio
 nid=DBA5C695A26902DF3ED7087D6466E853

 WILL

 - Original Message -
 From: Tanveer Dhillon [EMAIL PROTECTED]
 To: Velocity Users List velocity-user@jakarta.apache.org
 Sent: Monday, March 21, 2005 5:27 AM
 Subject: RE: frames


  hi thankyou for the help.
  I have joined the turbine list.
  when i click on the view source  in the browser i see the
  frameset rows=70,* frame
 
 src=/compensation/workstream/template/screens%2Fsample.html;jsession
 id
 =DBA5
  C695A26902DF3ED7087D6466E853 
  frame
 
 src=/compensation/workstream/template/screens%2Ftry.txt;jsessionid=D
 BA
 5C695
  A26902DF3ED7087D6466E853 
 
  but the frames dont appear.
  thanks again
  tanveer
 
  -Original Message-
  From: Will Glass-Husain [mailto:[EMAIL PROTECTED]
  Sent: Monday, March 21, 2005 12:43 PM
  To: Velocity Users List
  Subject: Re: frames
 
 
 
 
  (1) If the frames don't appear in the browser, what do you see when
 you
  click View Source?
 
  (2) If you make a simple page with the word test in it, does that
 appear
  in the browser?
 
  Sounds like it's not a frame issue, but a problem getting the pages
 to
  display.
 
  Come to think of it, you may want to take this to the Turbine list
 for
  more
  help - they'll be
  able to assist in getting this set up.
 
  WILL
 
  - Original Message -
  From: Tanveer Dhillon [EMAIL PROTECTED]
  To: Velocity Users List velocity-user@jakarta.apache.org
  Sent: Sunday, March 20, 2005 10:55 PM
  Subject: frames
 
 
  yeah actually io used the frameset tag in the vm page and also set
  layout.default in tubineresource.properties as
  layout.default=VelocityOnlyLayout, but the frames dont appear in
  the browser. Also i tried using #parse(header.vm) in the vm page
  but
 it
  displays the error.vm page. I cant seem to understand the reasons.
  I shall be really thankful for the help tanveer
 
  -Original Message-
  From: Will Glass-Husain [mailto:[EMAIL PROTECTED]
  Sent: Monday, March 21, 2005 12:20 PM
  To: Velocity Users List; Shinobu Kawai
  Subject: Re: Resource Not Found Exception
 
 
  I've built web apps with frames using Velocity (without Turbine,
 though
  I've
  built non-frame

RE: frames

2005-03-22 Thread Tanveer Dhillon
well i did try using it that way but i read in the tubine list archives the
u may use it with a comma so i tried it but it also didnt work

-Original Message-
From: Foth, Oliver [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 22, 2005 7:13 PM
To: 'Velocity Users List'
Subject: AW: frames


Just guessing: Why do you use the ,?
frame src=$link.setPage('screens,Home.vm') /

try this:
frame src=$link.setPage('screens/Home.vm') /

-Ursprüngliche Nachricht-
Von: Tanveer Dhillon [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 22. März 2005 14:34
An: Velocity Users List
Betreff: RE: frames

hi well i tried running frames in my page using the same procedure but they
dont seem to work.
When i view source from the browser i can see the frameset tag as

frameset rows=20%,*
frame src=/compensation/workstream/template/screens%2CHome.vm /
frame src=http://www.yahoo.com; / /frameset

in my vm file i have written the following lines frameset rows=20%,*
frame src=$link.setPage('screens,Home.vm') /
frame src=http://www.yahoo.com; / /frameset

can u suggest something i might be missing on.
thanks
tanveer

-Original Message-
From: Foth, Oliver [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 22, 2005 1:05 PM
To: 'Velocity Users List'
Subject: AW: frames


Hi,

I've just tested Velocity/Turbine/Frames. Seems to work fine. I've set the
following (ignore me if my answer misses the topic):

- TurbineResources.properties:

template.homepage=/Frame.vm
template.login=/Frame.vm
services.VelocityService.default.layout = VelocityECSLayout


- Frame.vm

FRAMESET rows=25%, 65% ,10%
FRAME src=$link.setPage('Kopf.vm') name=navigation noresize
scrolling=no frameborder=no/
FRAME src=$link.setPage('KoerperTest.vm') name=masken noresize
frameborder=no/
FRAME src=$link.setPage('Rumpf.vm') name=messages noresize
scrolling=no frameborder=no/
NOFRAMES
Jetzt haben wir ein Problem - Dein Browser mag keine Frames!
/NOFRAMES
/FRAMESET


- Default.vm

$screen_placeholder



Regards,

Olli

-Ursprüngliche Nachricht-
Von: Tanveer Dhillon [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 22. März 2005 08:20
An: Velocity Users List
Betreff: RE: frames

I have attached a file of the error i get when i  type the URL directly into
the browser.



-Original Message-
From: Will Glass-Husain [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 22, 2005 12:27 PM
To: Velocity Users List
Subject: Re: frames


 Also, what happens if you type that URL directly into the browser?

WILL

- Original Message -
From: Tanveer Dhillon [EMAIL PROTECTED]
To: Velocity Users List velocity-user@jakarta.apache.org
Sent: Monday, March 21, 2005 10:43 PM
Subject: Re: frames


 the frame set close tag is there but soory there was aproblem in
 copying it.
 I tried using frames in a simple velocity page but they aren't working
 too.
 though when i view source from the browser its perfectly fine.
 What could be the problem ?
 thanks again
 tanveer

 -Original Message-
 From: Will Glass-Husain [EMAIL PROTECTED]
 To: Velocity Users List velocity-user@jakarta.apache.org
 Date: Mon, 21 Mar 2005 13:24:37 -0800
 Subject: Re: frames

 where's the close of the frameset?

 Also, what happens if you type that URL directly into the browser?

 root of the original
 webpage/compensation/workstream/template/screens%2Fsample.html;jsess
 webpageio
 nid=DBA5C695A26902DF3ED7087D6466E853

 WILL

 - Original Message -
 From: Tanveer Dhillon [EMAIL PROTECTED]
 To: Velocity Users List velocity-user@jakarta.apache.org
 Sent: Monday, March 21, 2005 5:27 AM
 Subject: RE: frames


  hi thankyou for the help.
  I have joined the turbine list.
  when i click on the view source  in the browser i see the
  frameset rows=70,* frame
 
 src=/compensation/workstream/template/screens%2Fsample.html;jsession
 id
 =DBA5
  C695A26902DF3ED7087D6466E853 
  frame
 
 src=/compensation/workstream/template/screens%2Ftry.txt;jsessionid=D
 BA
 5C695
  A26902DF3ED7087D6466E853 
 
  but the frames dont appear.
  thanks again
  tanveer
 
  -Original Message-
  From: Will Glass-Husain [mailto:[EMAIL PROTECTED]
  Sent: Monday, March 21, 2005 12:43 PM
  To: Velocity Users List
  Subject: Re: frames
 
 
 
 
  (1) If the frames don't appear in the browser, what do you see when
 you
  click View Source?
 
  (2) If you make a simple page with the word test in it, does that
 appear
  in the browser?
 
  Sounds like it's not a frame issue, but a problem getting the pages
 to
  display.
 
  Come to think of it, you may want to take this to the Turbine list
 for
  more
  help - they'll be
  able to assist in getting this set up.
 
  WILL
 
  - Original Message -
  From: Tanveer Dhillon [EMAIL PROTECTED]
  To: Velocity Users List velocity-user@jakarta.apache.org
  Sent: Sunday, March 20, 2005 10:55 PM
  Subject: frames
 
 
  yeah actually io used the frameset tag in the vm page and also set
  layout.default

Re: frames

2005-03-22 Thread Will Glass-Husain
Hi,
There's two possibilities.
The first is that screens, may not be required at all.  Do you have other 
subdirectories?  Try it $link.setPage(Home.vm')

If screens is a subdirectory, you want to make sure you have a Default class 
within the module.screens package.  Specifically, you need to have a class

xxx.xxx.xx.modules.screens.Default
that will populate the context for all pages within the screen directory. 
And you need to configure TurbineResources.properties

module.packages=xxx.xxx.xxx.modules,org.apache.turbine.modules
Best,
WILL
- Original Message - 
From: Tanveer Dhillon [EMAIL PROTECTED]
To: Velocity Users List velocity-user@jakarta.apache.org
Sent: Tuesday, March 22, 2005 5:33 AM
Subject: RE: frames


hi well i tried running frames in my page using the same procedure but 
they
dont seem to work.
When i view source from the browser i can see the frameset tag as

frameset rows=20%,*
   frame src=/compensation/workstream/template/screens%2CHome.vm /
   frame src=http://www.yahoo.com; /
/frameset
in my vm file i have written the following lines
frameset rows=20%,*
   frame src=$link.setPage('screens,Home.vm') /
   frame src=http://www.yahoo.com; /
/frameset
can u suggest something i might be missing on.
thanks
tanveer
-Original Message-
From: Foth, Oliver [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 22, 2005 1:05 PM
To: 'Velocity Users List'
Subject: AW: frames
Hi,
I've just tested Velocity/Turbine/Frames. Seems to work fine. I've set the
following (ignore me if my answer misses the topic):
- TurbineResources.properties:
template.homepage=/Frame.vm
template.login=/Frame.vm
services.VelocityService.default.layout = VelocityECSLayout
- Frame.vm
FRAMESET rows=25%, 65% ,10%
FRAME src=$link.setPage('Kopf.vm') name=navigation noresize
scrolling=no frameborder=no/
FRAME src=$link.setPage('KoerperTest.vm') name=masken noresize
frameborder=no/
FRAME src=$link.setPage('Rumpf.vm') name=messages noresize
scrolling=no frameborder=no/
NOFRAMES
   Jetzt haben wir ein Problem - Dein Browser mag keine Frames!
/NOFRAMES
/FRAMESET
- Default.vm
$screen_placeholder

Regards,
Olli
-Ursprüngliche Nachricht-
Von: Tanveer Dhillon [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 22. März 2005 08:20
An: Velocity Users List
Betreff: RE: frames
I have attached a file of the error i get when i  type the URL directly 
into
the browser.


-Original Message-
From: Will Glass-Husain [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 22, 2005 12:27 PM
To: Velocity Users List
Subject: Re: frames

Also, what happens if you type that URL directly into the browser?
WILL
- Original Message -
From: Tanveer Dhillon [EMAIL PROTECTED]
To: Velocity Users List velocity-user@jakarta.apache.org
Sent: Monday, March 21, 2005 10:43 PM
Subject: Re: frames

the frame set close tag is there but soory there was aproblem in
copying it.
I tried using frames in a simple velocity page but they aren't working
too.
though when i view source from the browser its perfectly fine.
What could be the problem ?
thanks again
tanveer
-Original Message-
From: Will Glass-Husain [EMAIL PROTECTED]
To: Velocity Users List velocity-user@jakarta.apache.org
Date: Mon, 21 Mar 2005 13:24:37 -0800
Subject: Re: frames
where's the close of the frameset?
Also, what happens if you type that URL directly into the browser?
root of the original
webpage/compensation/workstream/template/screens%2Fsample.html;jsess
webpageio
nid=DBA5C695A26902DF3ED7087D6466E853
WILL
- Original Message -
From: Tanveer Dhillon [EMAIL PROTECTED]
To: Velocity Users List velocity-user@jakarta.apache.org
Sent: Monday, March 21, 2005 5:27 AM
Subject: RE: frames
 hi thankyou for the help.
 I have joined the turbine list.
 when i click on the view source  in the browser i see the
 frameset rows=70,* frame

src=/compensation/workstream/template/screens%2Fsample.html;jsession
id
=DBA5
 C695A26902DF3ED7087D6466E853 
 frame

src=/compensation/workstream/template/screens%2Ftry.txt;jsessionid=D
BA
5C695
 A26902DF3ED7087D6466E853 

 but the frames dont appear.
 thanks again
 tanveer

 -Original Message-
 From: Will Glass-Husain [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 21, 2005 12:43 PM
 To: Velocity Users List
 Subject: Re: frames




 (1) If the frames don't appear in the browser, what do you see when
you
 click View Source?

 (2) If you make a simple page with the word test in it, does that
appear
 in the browser?

 Sounds like it's not a frame issue, but a problem getting the pages
to
 display.

 Come to think of it, you may want to take this to the Turbine list
for
 more
 help - they'll be
 able to assist in getting this set up.

 WILL

 - Original Message -
 From: Tanveer Dhillon [EMAIL PROTECTED]
 To: Velocity Users List velocity-user@jakarta.apache.org
 Sent: Sunday, March 20, 2005 10:55 PM
 Subject: frames


 yeah actually io used the frameset tag in the vm page and also set
 layout.default in tubineresource.properties

RE: frames

2005-03-21 Thread Tanveer Dhillon
hi thankyou for the help.
I have joined the turbine list.
when i click on the view source  in the browser i see the
frameset rows=70,*
 frame
src=/compensation/workstream/template/screens%2Fsample.html;jsessionid=DBA5
C695A26902DF3ED7087D6466E853 
 frame
src=/compensation/workstream/template/screens%2Ftry.txt;jsessionid=DBA5C695
A26902DF3ED7087D6466E853 

but the frames dont appear.
thanks again
tanveer

-Original Message-
From: Will Glass-Husain [mailto:[EMAIL PROTECTED]
Sent: Monday, March 21, 2005 12:43 PM
To: Velocity Users List
Subject: Re: frames




(1) If the frames don't appear in the browser, what do you see when you
click View Source?

(2) If you make a simple page with the word test in it, does that appear
in the browser?

Sounds like it's not a frame issue, but a problem getting the pages to
display.

Come to think of it, you may want to take this to the Turbine list for more
help - they'll be
able to assist in getting this set up.

WILL

- Original Message -
From: Tanveer Dhillon [EMAIL PROTECTED]
To: Velocity Users List velocity-user@jakarta.apache.org
Sent: Sunday, March 20, 2005 10:55 PM
Subject: frames


 yeah actually io used the frameset tag in the vm page and also set
 layout.default in tubineresource.properties as
 layout.default=VelocityOnlyLayout, but the frames dont appear in the
 browser. Also i tried using #parse(header.vm) in the vm page but it
 displays the error.vm page. I cant seem to understand the reasons.
 I shall be really thankful for the help
 tanveer

 -Original Message-
 From: Will Glass-Husain [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 21, 2005 12:20 PM
 To: Velocity Users List; Shinobu Kawai
 Subject: Re: Resource Not Found Exception


 I've built web apps with frames using Velocity (without Turbine, though
 I've
 built non-frame apps with Turbine).

 There's really nothing special about Velocity or Turbine with reference to
 frames.Standard HTML and JavaScript techniques apply.  Is there
 something in particular you're having trouble with?

 WILL


 - Original Message -
 From: Tanveer Dhillon [EMAIL PROTECTED]
 To: Velocity Users List velocity-user@jakarta.apache.org; Shinobu
 Kawai [EMAIL PROTECTED]
 Sent: Sunday, March 20, 2005 10:43 PM
 Subject: RE: Resource Not Found Exception


 hi...
 please guide me on using frames in velocity.
 I m a very new user to velocity and would like to create beautiful pages
 using velocity. I m using turbine with velocity.
 kindly suggest
 tanveer


 -Original Message-
 From: Shinobu Kawai [mailto:[EMAIL PROTECTED]
 Sent: Friday, March 18, 2005 11:29 PM
 To: Velocity Users List
 Subject: Re: Resource Not Found Exception


 Hi Elton,

 First, I am very new to Velocity. I have installed it and I ran 'ant
 test' and it came back successful.

 Welcome to Velocity-World and congratulations on a working copy of
 Velocity!
 :)

 I am learning Velocity by reading
 'Pro Jakarta Velocity' by Rob Harrop. In the first example program, I
 entered:

 ## snip

// initialize Velocity
Velocity.init();

// get the template
Template template =
 Velocity.getTemplate(classes/templates/ch02/HelloWorld.vm);

 ## snip

 It compiles, but when I run the program I get:

 --
 - java org.novaworks.ch02.HelloWorld
 Exception in thread main
 org.apache.velocity.exception.ResourceNotFoundException: Unable to find
 resource 'classes/templates/ch02/HelloWorld.vm'

 ## snip

 I know Velocity works because I am able to run the first example
 program that came with the distribution. Any thoughts on what is not
 happening?

 1. Where are you running HelloWorld?
 2. What are your resource loader settings in the velocity.properties?
 3. Where is the HelloWorld.vm?

 Some more to help:



http://jakarta.apache.org/velocity/developer-guide.html#Configuring%20Resour
 ce%20Loaders

 Best regards,
 -- Shinobu

 --
 Shinobu Kawai [EMAIL PROTECTED]

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






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



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






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



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






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



Re: frames

2005-03-21 Thread Will Glass-Husain
where's the close of the frameset?
Also, what happens if you type that URL directly into the browser?
root of the original 
webpage/compensation/workstream/template/screens%2Fsample.html;jsessionid=DBA5C695A26902DF3ED7087D6466E853

WILL
- Original Message - 
From: Tanveer Dhillon [EMAIL PROTECTED]
To: Velocity Users List velocity-user@jakarta.apache.org
Sent: Monday, March 21, 2005 5:27 AM
Subject: RE: frames


hi thankyou for the help.
I have joined the turbine list.
when i click on the view source  in the browser i see the
frameset rows=70,*
frame
src=/compensation/workstream/template/screens%2Fsample.html;jsessionid=DBA5
C695A26902DF3ED7087D6466E853 
frame
src=/compensation/workstream/template/screens%2Ftry.txt;jsessionid=DBA5C695
A26902DF3ED7087D6466E853 
but the frames dont appear.
thanks again
tanveer
-Original Message-
From: Will Glass-Husain [mailto:[EMAIL PROTECTED]
Sent: Monday, March 21, 2005 12:43 PM
To: Velocity Users List
Subject: Re: frames

(1) If the frames don't appear in the browser, what do you see when you
click View Source?
(2) If you make a simple page with the word test in it, does that appear
in the browser?
Sounds like it's not a frame issue, but a problem getting the pages to
display.
Come to think of it, you may want to take this to the Turbine list for 
more
help - they'll be
able to assist in getting this set up.

WILL
- Original Message -
From: Tanveer Dhillon [EMAIL PROTECTED]
To: Velocity Users List velocity-user@jakarta.apache.org
Sent: Sunday, March 20, 2005 10:55 PM
Subject: frames

yeah actually io used the frameset tag in the vm page and also set
layout.default in tubineresource.properties as
layout.default=VelocityOnlyLayout, but the frames dont appear in the
browser. Also i tried using #parse(header.vm) in the vm page but it
displays the error.vm page. I cant seem to understand the reasons.
I shall be really thankful for the help
tanveer
-Original Message-
From: Will Glass-Husain [mailto:[EMAIL PROTECTED]
Sent: Monday, March 21, 2005 12:20 PM
To: Velocity Users List; Shinobu Kawai
Subject: Re: Resource Not Found Exception
I've built web apps with frames using Velocity (without Turbine, though
I've
built non-frame apps with Turbine).
There's really nothing special about Velocity or Turbine with reference 
to
frames.Standard HTML and JavaScript techniques apply.  Is there
something in particular you're having trouble with?

WILL
- Original Message -
From: Tanveer Dhillon [EMAIL PROTECTED]
To: Velocity Users List velocity-user@jakarta.apache.org; Shinobu
Kawai [EMAIL PROTECTED]
Sent: Sunday, March 20, 2005 10:43 PM
Subject: RE: Resource Not Found Exception

hi...
please guide me on using frames in velocity.
I m a very new user to velocity and would like to create beautiful pages
using velocity. I m using turbine with velocity.
kindly suggest
tanveer
-Original Message-
From: Shinobu Kawai [mailto:[EMAIL PROTECTED]
Sent: Friday, March 18, 2005 11:29 PM
To: Velocity Users List
Subject: Re: Resource Not Found Exception
Hi Elton,
First, I am very new to Velocity. I have installed it and I ran 'ant
test' and it came back successful.
Welcome to Velocity-World and congratulations on a working copy of
Velocity!
:)
I am learning Velocity by reading
'Pro Jakarta Velocity' by Rob Harrop. In the first example program, I
entered:
## snip
   // initialize Velocity
   Velocity.init();
   // get the template
   Template template =
Velocity.getTemplate(classes/templates/ch02/HelloWorld.vm);
## snip
It compiles, but when I run the program I get:
--
- java org.novaworks.ch02.HelloWorld
Exception in thread main
org.apache.velocity.exception.ResourceNotFoundException: Unable to find
resource 'classes/templates/ch02/HelloWorld.vm'
## snip
I know Velocity works because I am able to run the first example
program that came with the distribution. Any thoughts on what is not
happening?
1. Where are you running HelloWorld?
2. What are your resource loader settings in the velocity.properties?
3. Where is the HelloWorld.vm?
Some more to help:


http://jakarta.apache.org/velocity/developer-guide.html#Configuring%20Resour
ce%20Loaders
Best regards,
-- Shinobu
--
Shinobu Kawai [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


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

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


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

Re: frames

2005-03-21 Thread Tanveer Dhillon
the frame set close tag is there but soory there was aproblem in copying 
it.
I tried using frames in a simple velocity page but they aren't working 
too.
though when i view source from the browser its perfectly fine.
What could be the problem ?
thanks again
tanveer

-Original Message-
From: Will Glass-Husain [EMAIL PROTECTED]
To: Velocity Users List velocity-user@jakarta.apache.org
Date: Mon, 21 Mar 2005 13:24:37 -0800
Subject: Re: frames

 where's the close of the frameset?
 
 Also, what happens if you type that URL directly into the browser?
 
 root of the original 
 webpage/compensation/workstream/template/screens%2Fsample.html;jsessio
 nid=DBA5C695A26902DF3ED7087D6466E853
 
 WILL
 
 - Original Message - 
 From: Tanveer Dhillon [EMAIL PROTECTED]
 To: Velocity Users List velocity-user@jakarta.apache.org
 Sent: Monday, March 21, 2005 5:27 AM
 Subject: RE: frames
 
 
  hi thankyou for the help.
  I have joined the turbine list.
  when i click on the view source  in the browser i see the
  frameset rows=70,*
  frame
 
 src=/compensation/workstream/template/screens%2Fsample.html;jsessionid
 =DBA5
  C695A26902DF3ED7087D6466E853 
  frame
 
 src=/compensation/workstream/template/screens%2Ftry.txt;jsessionid=DBA
 5C695
  A26902DF3ED7087D6466E853 
 
  but the frames dont appear.
  thanks again
  tanveer
 
  -Original Message-
  From: Will Glass-Husain [mailto:[EMAIL PROTECTED]
  Sent: Monday, March 21, 2005 12:43 PM
  To: Velocity Users List
  Subject: Re: frames
 
 
 
 
  (1) If the frames don't appear in the browser, what do you see when
 you
  click View Source?
 
  (2) If you make a simple page with the word test in it, does that
 appear
  in the browser?
 
  Sounds like it's not a frame issue, but a problem getting the pages
 to
  display.
 
  Come to think of it, you may want to take this to the Turbine list
 for 
  more
  help - they'll be
  able to assist in getting this set up.
 
  WILL
 
  - Original Message -
  From: Tanveer Dhillon [EMAIL PROTECTED]
  To: Velocity Users List velocity-user@jakarta.apache.org
  Sent: Sunday, March 20, 2005 10:55 PM
  Subject: frames
 
 
  yeah actually io used the frameset tag in the vm page and also set
  layout.default in tubineresource.properties as
  layout.default=VelocityOnlyLayout, but the frames dont appear in the
  browser. Also i tried using #parse(header.vm) in the vm page but
 it
  displays the error.vm page. I cant seem to understand the reasons.
  I shall be really thankful for the help
  tanveer
 
  -Original Message-
  From: Will Glass-Husain [mailto:[EMAIL PROTECTED]
  Sent: Monday, March 21, 2005 12:20 PM
  To: Velocity Users List; Shinobu Kawai
  Subject: Re: Resource Not Found Exception
 
 
  I've built web apps with frames using Velocity (without Turbine,
 though
  I've
  built non-frame apps with Turbine).
 
  There's really nothing special about Velocity or Turbine with
 reference 
  to
  frames.Standard HTML and JavaScript techniques apply.  Is there
  something in particular you're having trouble with?
 
  WILL
 
 
  - Original Message -
  From: Tanveer Dhillon [EMAIL PROTECTED]
  To: Velocity Users List velocity-user@jakarta.apache.org;
 Shinobu
  Kawai [EMAIL PROTECTED]
  Sent: Sunday, March 20, 2005 10:43 PM
  Subject: RE: Resource Not Found Exception
 
 
  hi...
  please guide me on using frames in velocity.
  I m a very new user to velocity and would like to create beautiful
 pages
  using velocity. I m using turbine with velocity.
  kindly suggest
  tanveer
 
 
  -Original Message-
  From: Shinobu Kawai [mailto:[EMAIL PROTECTED]
  Sent: Friday, March 18, 2005 11:29 PM
  To: Velocity Users List
  Subject: Re: Resource Not Found Exception
 
 
  Hi Elton,
 
  First, I am very new to Velocity. I have installed it and I ran
 'ant
  test' and it came back successful.
 
  Welcome to Velocity-World and congratulations on a working copy of
  Velocity!
  :)
 
  I am learning Velocity by reading
  'Pro Jakarta Velocity' by Rob Harrop. In the first example
 program, I
  entered:
 
  ## snip
 
 // initialize Velocity
 Velocity.init();
 
 // get the template
 Template template =
  Velocity.getTemplate(classes/templates/ch02/HelloWorld.vm);
 
  ## snip
 
  It compiles, but when I run the program I get:
 
  --
  - java org.novaworks.ch02.HelloWorld
  Exception in thread main
  org.apache.velocity.exception.ResourceNotFoundException: Unable to
 find
  resource 'classes/templates/ch02/HelloWorld.vm'
 
  ## snip
 
  I know Velocity works because I am able to run the first example
  program that came with the distribution. Any thoughts on what is
 not
  happening?
 
  1. Where are you running HelloWorld?
  2. What are your resource loader settings in the
 velocity.properties?
  3. Where is the HelloWorld.vm?
 
  Some more to help:
 
 
 
 
 http://jakarta.apache.org/velocity/developer-guide.html#Configuring%20R
 esour
  ce

Re: frames

2005-03-21 Thread Will Glass-Husain
Also, what happens if you type that URL directly into the browser?
WILL
- Original Message - 
From: Tanveer Dhillon [EMAIL PROTECTED]
To: Velocity Users List velocity-user@jakarta.apache.org
Sent: Monday, March 21, 2005 10:43 PM
Subject: Re: frames


the frame set close tag is there but soory there was aproblem in copying 
it.
I tried using frames in a simple velocity page but they aren't working 
too.
though when i view source from the browser its perfectly fine.
What could be the problem ?
thanks again
tanveer

-Original Message-
From: Will Glass-Husain [EMAIL PROTECTED]
To: Velocity Users List velocity-user@jakarta.apache.org
Date: Mon, 21 Mar 2005 13:24:37 -0800
Subject: Re: frames
where's the close of the frameset?
Also, what happens if you type that URL directly into the browser?
root of the original 
webpage/compensation/workstream/template/screens%2Fsample.html;jsessio
nid=DBA5C695A26902DF3ED7087D6466E853

WILL
- Original Message - 
From: Tanveer Dhillon [EMAIL PROTECTED]
To: Velocity Users List velocity-user@jakarta.apache.org
Sent: Monday, March 21, 2005 5:27 AM
Subject: RE: frames

 hi thankyou for the help.
 I have joined the turbine list.
 when i click on the view source  in the browser i see the
 frameset rows=70,*
 frame

src=/compensation/workstream/template/screens%2Fsample.html;jsessionid
=DBA5
 C695A26902DF3ED7087D6466E853 
 frame

src=/compensation/workstream/template/screens%2Ftry.txt;jsessionid=DBA
5C695
 A26902DF3ED7087D6466E853 

 but the frames dont appear.
 thanks again
 tanveer

 -Original Message-
 From: Will Glass-Husain [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 21, 2005 12:43 PM
 To: Velocity Users List
 Subject: Re: frames




 (1) If the frames don't appear in the browser, what do you see when
you
 click View Source?

 (2) If you make a simple page with the word test in it, does that
appear
 in the browser?

 Sounds like it's not a frame issue, but a problem getting the pages
to
 display.

 Come to think of it, you may want to take this to the Turbine list
for 
 more
 help - they'll be
 able to assist in getting this set up.

 WILL

 - Original Message -
 From: Tanveer Dhillon [EMAIL PROTECTED]
 To: Velocity Users List velocity-user@jakarta.apache.org
 Sent: Sunday, March 20, 2005 10:55 PM
 Subject: frames


 yeah actually io used the frameset tag in the vm page and also set
 layout.default in tubineresource.properties as
 layout.default=VelocityOnlyLayout, but the frames dont appear in the
 browser. Also i tried using #parse(header.vm) in the vm page but
it
 displays the error.vm page. I cant seem to understand the reasons.
 I shall be really thankful for the help
 tanveer

 -Original Message-
 From: Will Glass-Husain [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 21, 2005 12:20 PM
 To: Velocity Users List; Shinobu Kawai
 Subject: Re: Resource Not Found Exception


 I've built web apps with frames using Velocity (without Turbine,
though
 I've
 built non-frame apps with Turbine).

 There's really nothing special about Velocity or Turbine with
reference 
 to
 frames.Standard HTML and JavaScript techniques apply.  Is there
 something in particular you're having trouble with?

 WILL


 - Original Message -
 From: Tanveer Dhillon [EMAIL PROTECTED]
 To: Velocity Users List velocity-user@jakarta.apache.org;
Shinobu
 Kawai [EMAIL PROTECTED]
 Sent: Sunday, March 20, 2005 10:43 PM
 Subject: RE: Resource Not Found Exception


 hi...
 please guide me on using frames in velocity.
 I m a very new user to velocity and would like to create beautiful
pages
 using velocity. I m using turbine with velocity.
 kindly suggest
 tanveer


 -Original Message-
 From: Shinobu Kawai [mailto:[EMAIL PROTECTED]
 Sent: Friday, March 18, 2005 11:29 PM
 To: Velocity Users List
 Subject: Re: Resource Not Found Exception


 Hi Elton,

 First, I am very new to Velocity. I have installed it and I ran
'ant
 test' and it came back successful.

 Welcome to Velocity-World and congratulations on a working copy of
 Velocity!
 :)

 I am learning Velocity by reading
 'Pro Jakarta Velocity' by Rob Harrop. In the first example
program, I
 entered:

 ## snip

// initialize Velocity
Velocity.init();

// get the template
Template template =
 Velocity.getTemplate(classes/templates/ch02/HelloWorld.vm);

 ## snip

 It compiles, but when I run the program I get:

 --
 - java org.novaworks.ch02.HelloWorld
 Exception in thread main
 org.apache.velocity.exception.ResourceNotFoundException: Unable to
find
 resource 'classes/templates/ch02/HelloWorld.vm'

 ## snip

 I know Velocity works because I am able to run the first example
 program that came with the distribution. Any thoughts on what is
not
 happening?

 1. Where are you running HelloWorld?
 2. What are your resource loader settings in the
velocity.properties?
 3. Where is the HelloWorld.vm?

 Some more to help:




http

RE: frames

2005-03-21 Thread Tanveer Dhillon
I have attached a file of the error i get when i  type the URL directly into
the browser.



-Original Message-
From: Will Glass-Husain [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 22, 2005 12:27 PM
To: Velocity Users List
Subject: Re: frames


 Also, what happens if you type that URL directly into the browser?

WILL

- Original Message -
From: Tanveer Dhillon [EMAIL PROTECTED]
To: Velocity Users List velocity-user@jakarta.apache.org
Sent: Monday, March 21, 2005 10:43 PM
Subject: Re: frames


 the frame set close tag is there but soory there was aproblem in copying
 it.
 I tried using frames in a simple velocity page but they aren't working
 too.
 though when i view source from the browser its perfectly fine.
 What could be the problem ?
 thanks again
 tanveer

 -Original Message-
 From: Will Glass-Husain [EMAIL PROTECTED]
 To: Velocity Users List velocity-user@jakarta.apache.org
 Date: Mon, 21 Mar 2005 13:24:37 -0800
 Subject: Re: frames

 where's the close of the frameset?

 Also, what happens if you type that URL directly into the browser?

 root of the original
 webpage/compensation/workstream/template/screens%2Fsample.html;jsessio
 nid=DBA5C695A26902DF3ED7087D6466E853

 WILL

 - Original Message -
 From: Tanveer Dhillon [EMAIL PROTECTED]
 To: Velocity Users List velocity-user@jakarta.apache.org
 Sent: Monday, March 21, 2005 5:27 AM
 Subject: RE: frames


  hi thankyou for the help.
  I have joined the turbine list.
  when i click on the view source  in the browser i see the
  frameset rows=70,*
  frame
 
 src=/compensation/workstream/template/screens%2Fsample.html;jsessionid
 =DBA5
  C695A26902DF3ED7087D6466E853 
  frame
 
 src=/compensation/workstream/template/screens%2Ftry.txt;jsessionid=DBA
 5C695
  A26902DF3ED7087D6466E853 
 
  but the frames dont appear.
  thanks again
  tanveer
 
  -Original Message-
  From: Will Glass-Husain [mailto:[EMAIL PROTECTED]
  Sent: Monday, March 21, 2005 12:43 PM
  To: Velocity Users List
  Subject: Re: frames
 
 
 
 
  (1) If the frames don't appear in the browser, what do you see when
 you
  click View Source?
 
  (2) If you make a simple page with the word test in it, does that
 appear
  in the browser?
 
  Sounds like it's not a frame issue, but a problem getting the pages
 to
  display.
 
  Come to think of it, you may want to take this to the Turbine list
 for
  more
  help - they'll be
  able to assist in getting this set up.
 
  WILL
 
  - Original Message -
  From: Tanveer Dhillon [EMAIL PROTECTED]
  To: Velocity Users List velocity-user@jakarta.apache.org
  Sent: Sunday, March 20, 2005 10:55 PM
  Subject: frames
 
 
  yeah actually io used the frameset tag in the vm page and also set
  layout.default in tubineresource.properties as
  layout.default=VelocityOnlyLayout, but the frames dont appear in the
  browser. Also i tried using #parse(header.vm) in the vm page but
 it
  displays the error.vm page. I cant seem to understand the reasons.
  I shall be really thankful for the help
  tanveer
 
  -Original Message-
  From: Will Glass-Husain [mailto:[EMAIL PROTECTED]
  Sent: Monday, March 21, 2005 12:20 PM
  To: Velocity Users List; Shinobu Kawai
  Subject: Re: Resource Not Found Exception
 
 
  I've built web apps with frames using Velocity (without Turbine,
 though
  I've
  built non-frame apps with Turbine).
 
  There's really nothing special about Velocity or Turbine with
 reference
  to
  frames.Standard HTML and JavaScript techniques apply.  Is there
  something in particular you're having trouble with?
 
  WILL
 
 
  - Original Message -
  From: Tanveer Dhillon [EMAIL PROTECTED]
  To: Velocity Users List velocity-user@jakarta.apache.org;
 Shinobu
  Kawai [EMAIL PROTECTED]
  Sent: Sunday, March 20, 2005 10:43 PM
  Subject: RE: Resource Not Found Exception
 
 
  hi...
  please guide me on using frames in velocity.
  I m a very new user to velocity and would like to create beautiful
 pages
  using velocity. I m using turbine with velocity.
  kindly suggest
  tanveer
 
 
  -Original Message-
  From: Shinobu Kawai [mailto:[EMAIL PROTECTED]
  Sent: Friday, March 18, 2005 11:29 PM
  To: Velocity Users List
  Subject: Re: Resource Not Found Exception
 
 
  Hi Elton,
 
  First, I am very new to Velocity. I have installed it and I ran
 'ant
  test' and it came back successful.
 
  Welcome to Velocity-World and congratulations on a working copy of
  Velocity!
  :)
 
  I am learning Velocity by reading
  'Pro Jakarta Velocity' by Rob Harrop. In the first example
 program, I
  entered:
 
  ## snip
 
 // initialize Velocity
 Velocity.init();
 
 // get the template
 Template template =
  Velocity.getTemplate(classes/templates/ch02/HelloWorld.vm);
 
  ## snip
 
  It compiles, but when I run the program I get:
 
  --
  - java org.novaworks.ch02.HelloWorld
  Exception in thread main

Re: frames

2005-03-21 Thread Will Glass-Husain
That's a Turbine error.  It means you are missing the Default.java class for 
the appropriate directory.Or possibly you have 
TurbineResources.properties misconfigured and you are not pointing the 
module.packages property to the right package.

WILL
- Original Message - 
From: Tanveer Dhillon [EMAIL PROTECTED]
To: Velocity Users List velocity-user@jakarta.apache.org
Sent: Monday, March 21, 2005 11:20 PM
Subject: RE: frames


I have attached a file of the error i get when i  type the URL directly 
into
the browser.


-Original Message-
From: Will Glass-Husain [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 22, 2005 12:27 PM
To: Velocity Users List
Subject: Re: frames

Also, what happens if you type that URL directly into the browser?
WILL
- Original Message -
From: Tanveer Dhillon [EMAIL PROTECTED]
To: Velocity Users List velocity-user@jakarta.apache.org
Sent: Monday, March 21, 2005 10:43 PM
Subject: Re: frames

the frame set close tag is there but soory there was aproblem in copying
it.
I tried using frames in a simple velocity page but they aren't working
too.
though when i view source from the browser its perfectly fine.
What could be the problem ?
thanks again
tanveer
-Original Message-
From: Will Glass-Husain [EMAIL PROTECTED]
To: Velocity Users List velocity-user@jakarta.apache.org
Date: Mon, 21 Mar 2005 13:24:37 -0800
Subject: Re: frames
where's the close of the frameset?
Also, what happens if you type that URL directly into the browser?
root of the original
webpage/compensation/workstream/template/screens%2Fsample.html;jsessio
nid=DBA5C695A26902DF3ED7087D6466E853
WILL
- Original Message -
From: Tanveer Dhillon [EMAIL PROTECTED]
To: Velocity Users List velocity-user@jakarta.apache.org
Sent: Monday, March 21, 2005 5:27 AM
Subject: RE: frames
 hi thankyou for the help.
 I have joined the turbine list.
 when i click on the view source  in the browser i see the
 frameset rows=70,*
 frame

src=/compensation/workstream/template/screens%2Fsample.html;jsessionid
=DBA5
 C695A26902DF3ED7087D6466E853 
 frame

src=/compensation/workstream/template/screens%2Ftry.txt;jsessionid=DBA
5C695
 A26902DF3ED7087D6466E853 

 but the frames dont appear.
 thanks again
 tanveer

 -Original Message-
 From: Will Glass-Husain [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 21, 2005 12:43 PM
 To: Velocity Users List
 Subject: Re: frames




 (1) If the frames don't appear in the browser, what do you see when
you
 click View Source?

 (2) If you make a simple page with the word test in it, does that
appear
 in the browser?

 Sounds like it's not a frame issue, but a problem getting the pages
to
 display.

 Come to think of it, you may want to take this to the Turbine list
for
 more
 help - they'll be
 able to assist in getting this set up.

 WILL

 - Original Message -
 From: Tanveer Dhillon [EMAIL PROTECTED]
 To: Velocity Users List velocity-user@jakarta.apache.org
 Sent: Sunday, March 20, 2005 10:55 PM
 Subject: frames


 yeah actually io used the frameset tag in the vm page and also set
 layout.default in tubineresource.properties as
 layout.default=VelocityOnlyLayout, but the frames dont appear in the
 browser. Also i tried using #parse(header.vm) in the vm page but
it
 displays the error.vm page. I cant seem to understand the reasons.
 I shall be really thankful for the help
 tanveer

 -Original Message-
 From: Will Glass-Husain [mailto:[EMAIL PROTECTED]
 Sent: Monday, March 21, 2005 12:20 PM
 To: Velocity Users List; Shinobu Kawai
 Subject: Re: Resource Not Found Exception


 I've built web apps with frames using Velocity (without Turbine,
though
 I've
 built non-frame apps with Turbine).

 There's really nothing special about Velocity or Turbine with
reference
 to
 frames.Standard HTML and JavaScript techniques apply.  Is there
 something in particular you're having trouble with?

 WILL


 - Original Message -
 From: Tanveer Dhillon [EMAIL PROTECTED]
 To: Velocity Users List velocity-user@jakarta.apache.org;
Shinobu
 Kawai [EMAIL PROTECTED]
 Sent: Sunday, March 20, 2005 10:43 PM
 Subject: RE: Resource Not Found Exception


 hi...
 please guide me on using frames in velocity.
 I m a very new user to velocity and would like to create beautiful
pages
 using velocity. I m using turbine with velocity.
 kindly suggest
 tanveer


 -Original Message-
 From: Shinobu Kawai [mailto:[EMAIL PROTECTED]
 Sent: Friday, March 18, 2005 11:29 PM
 To: Velocity Users List
 Subject: Re: Resource Not Found Exception


 Hi Elton,

 First, I am very new to Velocity. I have installed it and I ran
'ant
 test' and it came back successful.

 Welcome to Velocity-World and congratulations on a working copy of
 Velocity!
 :)

 I am learning Velocity by reading
 'Pro Jakarta Velocity' by Rob Harrop. In the first example
program, I
 entered:

 ## snip

// initialize Velocity
Velocity.init();

// get the template

Re: frames

2005-03-20 Thread Will Glass-Husain

(1) If the frames don't appear in the browser, what do you see when you
click View Source?
(2) If you make a simple page with the word test in it, does that appear
in the browser?
Sounds like it's not a frame issue, but a problem getting the pages to
display.
Come to think of it, you may want to take this to the Turbine list for more 
help - they'll be
able to assist in getting this set up.

WILL
- Original Message - 
From: Tanveer Dhillon [EMAIL PROTECTED]
To: Velocity Users List velocity-user@jakarta.apache.org
Sent: Sunday, March 20, 2005 10:55 PM
Subject: frames


yeah actually io used the frameset tag in the vm page and also set
layout.default in tubineresource.properties as
layout.default=VelocityOnlyLayout, but the frames dont appear in the
browser. Also i tried using #parse(header.vm) in the vm page but it
displays the error.vm page. I cant seem to understand the reasons.
I shall be really thankful for the help
tanveer
-Original Message-
From: Will Glass-Husain [mailto:[EMAIL PROTECTED]
Sent: Monday, March 21, 2005 12:20 PM
To: Velocity Users List; Shinobu Kawai
Subject: Re: Resource Not Found Exception
I've built web apps with frames using Velocity (without Turbine, though
I've
built non-frame apps with Turbine).
There's really nothing special about Velocity or Turbine with reference to
frames.Standard HTML and JavaScript techniques apply.  Is there
something in particular you're having trouble with?
WILL
- Original Message -
From: Tanveer Dhillon [EMAIL PROTECTED]
To: Velocity Users List velocity-user@jakarta.apache.org; Shinobu
Kawai [EMAIL PROTECTED]
Sent: Sunday, March 20, 2005 10:43 PM
Subject: RE: Resource Not Found Exception

hi...
please guide me on using frames in velocity.
I m a very new user to velocity and would like to create beautiful pages
using velocity. I m using turbine with velocity.
kindly suggest
tanveer
-Original Message-
From: Shinobu Kawai [mailto:[EMAIL PROTECTED]
Sent: Friday, March 18, 2005 11:29 PM
To: Velocity Users List
Subject: Re: Resource Not Found Exception
Hi Elton,
First, I am very new to Velocity. I have installed it and I ran 'ant
test' and it came back successful.
Welcome to Velocity-World and congratulations on a working copy of
Velocity!
:)
I am learning Velocity by reading
'Pro Jakarta Velocity' by Rob Harrop. In the first example program, I
entered:
## snip
   // initialize Velocity
   Velocity.init();
   // get the template
   Template template =
Velocity.getTemplate(classes/templates/ch02/HelloWorld.vm);
## snip
It compiles, but when I run the program I get:
--
- java org.novaworks.ch02.HelloWorld
Exception in thread main
org.apache.velocity.exception.ResourceNotFoundException: Unable to find
resource 'classes/templates/ch02/HelloWorld.vm'
## snip
I know Velocity works because I am able to run the first example
program that came with the distribution. Any thoughts on what is not
happening?
1. Where are you running HelloWorld?
2. What are your resource loader settings in the velocity.properties?
3. Where is the HelloWorld.vm?
Some more to help:

http://jakarta.apache.org/velocity/developer-guide.html#Configuring%20Resour
ce%20Loaders
Best regards,
-- Shinobu
--
Shinobu Kawai [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


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

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


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

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