Re: [FreeMarker-user] Ideal tag syntax; what's your take on it?

Daniel Henrique Alves Lima <[email protected]>
Newsgroups gmane.comp.web.freemarker.devel,gmane.comp.web.freemarker.user
Message-ID <[email protected]>

Daniel Henrique Alves Lima wrote:
>
> My answers were mostly useless :-|
>
> I'm not particularly comfortable with the syntax of JSP and GSP:
>
> http://www.grails.org/doc/latest/guide/6.%20The%20Web%20Layer.html#6.2%20Groovy%20Server%20Pages
>
> <img src="<g:createLinkTo dir="images" file="logo.jpg" />" />
>
>
> But is there a better way of writing a call to a function using named parameters/args?
>
>
> <img src="${createLinkTo(dir:'images', file:'logo.jpg')}" />
>
>
>   

<img src="${createLinkTo dir:'images', file:'logo.jpg'}" />

<img src="${createLinkTo file:'images/logo.jpg'}" /> (it's not a syntax problem)


?

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.