Hi,

well, yes. Imagine

foo,Template.vm

and 

foo.Template.vm


In the first example it is clear, that the "," is used to separate
elements of the template hierarchy (remember that this is used to find
the matching class that backs the Template for a screen, layout or
navigation!) and the "." is part of the actual template name. In the
second example, the meaning of the "." is muddled. 

If you propose a change, then it would be using "," for Actions, too. 

        Regards
                Henning



On Sat, 2003-01-04 at 10:27, Panu H�llfors wrote:
> On Mon, Dec 16, 2002 at 11:05:14PM +0000, Henning P. Schmiedehausen wrote:
> > >I suppose that I should have mentioned that you can change the $link
> > >pull tool to use org.apache.turbine.util.template.TemplateLinkWithSlash
> > 
> > This was a kludge which should never have been put into Turbine in the
> > first place. It was put in because "hacking some code" seemed to be
> > easier that to write clear docs.
> 
> Is there a reason to use a comma as the separator?
> We've made a hack called TemplateLinkWithDot to make the syntax
> of referring to actions and pages (well, screens) look the same.
> After all, you don't include the file extension (.vm) in setPage()
> so there's no chance of confusion. Supposing the syntax of
> TemplateLink won't change the hack should work in future releases, too.
> 
> This makes much more sense for our developers than remembering
> to add strange commas around...
> 
>     Panu
-- 
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen       -- Geschaeftsfuehrer
INTERMETA - Gesellschaft fuer Mehrwertdienste mbH     [EMAIL PROTECTED]

Am Schwabachgrund 22  Fon.: 09131 / 50654-0   [EMAIL PROTECTED]
D-91054 Buckenhof     Fax.: 09131 / 50654-20   


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

Reply via email to