<snip>

2. Why using "," to separate path elements? This gives
extremely ugly URL's?

</snip>


In TurbineResources.properties change:

tool.request.link=org.apache.turbine.util.template.TemplateLink

to

tool.request.link=org.apache.turbine.util.template.TemplateLinkWithSlash

this should render your links with "/" instead of ","

However, if you read the javadocs for
org.apache.turbine.util.template.TemplateLinkWithSlash you will see it is
not recommended


Scott

-----Original Message-----
From: Konstantin Priblouda [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 19, 2001 11:00 AM
To: [EMAIL PROTECTED]
Subject: Advanced newbie questions


Hi all, 
I'm evaluating turbine for my project
(there is strong wish to move away from Struts/JSP)

It would be nice if you could pon�nt me to where
to look and what to hack to achieve this.

I'd like to:
Use velocity templating, and some turbine services 
with clear directory layout
( i.e. I want that when I'm accessing url
/foo/bar/blurge.vm , screen module for it
would be located in /foo/bar/blurge.vm , and not in
/templates/screens/foo/bar/blurge.vm . I managed to
get rid of /templates , but not "screens" - it's OK
to place layouts & navigations in separate
subdirectories, but it's somehow ugly for "screens")


While playing around with Turbine/Velocity
I discovered some strange things:

1. $link.setPage seems to prepend "/template", 
even if I said that templates live directly in /
Why? Shall I use different tool?

2. Why using "," to separate path elements? This gives
extremely ugly URL's?



tia,



=====
Konstantin Priblouda ( ko5tik )    Freelance Software developer
< http://www.pribluda.de > < play java games -> http://www.yook.de >
< render charts online -> http://www.pribluda.de/povray/ >

__________________________________________________
Do You Yahoo!?
Find the one for you at Yahoo! Personals
http://personals.yahoo.com

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

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

Reply via email to