You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by LE...@aol.com on 2001/04/18 09:00:41 UTC

Velocity Frames

I've tried without success to add a frameset to my velocity templates. I made 
the changes stated in velocity-site.xml with no success. 

 Default.vm = $screen_placeholder

 Index.vm =
               <frameset>
                    <frame src="$link.getPage(FrameTop.vm)" />
                    <frame src="http://127.0.0.1:8080/" />
               </frameset>

 FrameTop.vm =
               ##Exaple Frame 
               The Frame Top

velocity log = 
          org.apache.velocity.exception.ParseErrorException: Encountered ")\" 
/>\r\n            <frame src=\"http://127.0.0.1:8080/\" />\r\n</frameset>" at 
line 2, column 41.
Was expecting one of:
    "," ...
    ")" ...
    <WHITESPACE> ...
    "}" ...
    <DOT> ...
    "(" ...

I've also made the change to TRP so that the layout.default = 
VelocityOnlyLayout.

What am I doing something wrong?

thanks in advance.


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


Re: Velocity Frames

Posted by Christof Marti <Ch...@zhwin.ch>.
Try:

       <frame src="$link.setPage("FrameTop.vm")" />
                         ^       ^           ^


LENFLOUR@aol.com wrote:
> 
> I've tried without success to add a frameset to my velocity templates. I made
> the changes stated in velocity-site.xml with no success.
> 
>  Default.vm = $screen_placeholder
> 
>  Index.vm =
>                <frameset>
>                     <frame src="$link.getPage(FrameTop.vm)" />
>                     <frame src="http://127.0.0.1:8080/" />
>                </frameset>
> 
>  FrameTop.vm =
>                ##Exaple Frame
>                The Frame Top
> 
> velocity log =
>           org.apache.velocity.exception.ParseErrorException: Encountered ")\"
> />\r\n            <frame src=\"http://127.0.0.1:8080/\" />\r\n</frameset>" at
> line 2, column 41.
> Was expecting one of:
>     "," ...
>     ")" ...
>     <WHITESPACE> ...
>     "}" ...
>     <DOT> ...
>     "(" ...
> 
> I've also made the change to TRP so that the layout.default =
> VelocityOnlyLayout.
> 
> What am I doing something wrong?
> 
> thanks in advance.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-user-help@jakarta.apache.org

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