Freemarker does not accept nested jsp tag.

2009-11-15 Thread Chatree Srichart
I use jsp tag in ftl file like this.

#assign birt = JspTaglibs[/WEB-INF/birt.tld]/
@birt.viewer id=birtViewer
reportDesign=component://birt/webapp/birt/report/product.rptdesign
baseURL=/birt
height=700
width=900
format=html
showParameterPage=false
@birt.param name=companyName value=AntWebsystems/@
 /@

It not work because @birt.param/ tag be ignored.

When I use in jsp like this ...

%@ taglib uri=/WEB-INF/birt.tld prefix=birt %
birt:viewer id=birtViewer
reportDesign=component://birt/webapp/birt/report/product.rptdesign
baseURL=/birt
height=700
width=900
format=html
showParameterPage=false
birt:param name=companyName value=AntWebsystems/birt:param
/birt:viewer

It work fine.

Can any body help me?

Thank you...


Re: Freemarker does not accept nested jsp tag.

2009-11-15 Thread Adrian Crum
I'm not 100% certain, but it might be that Freemarker considers @birt... to be 
a transform.

-Adrian

--- On Sun, 11/15/09, Chatree Srichart chatree.srich...@gmail.com wrote:

 From: Chatree Srichart chatree.srich...@gmail.com
 Subject: Freemarker does not accept nested jsp tag.
 To: dev@ofbiz.apache.org
 Date: Sunday, November 15, 2009, 7:36 AM
 I use jsp tag in ftl file like this.
 
 #assign birt = JspTaglibs[/WEB-INF/birt.tld]/
 @birt.viewer id=birtViewer
    
 reportDesign=component://birt/webapp/birt/report/product.rptdesign
     baseURL=/birt
     height=700
     width=900
     format=html
     showParameterPage=false
         @birt.param
 name=companyName value=AntWebsystems/@
  /@
 
 It not work because @birt.param/ tag be ignored.
 
 When I use in jsp like this ...
 
 %@ taglib uri=/WEB-INF/birt.tld prefix=birt %
 birt:viewer id=birtViewer
    
 reportDesign=component://birt/webapp/birt/report/product.rptdesign
     baseURL=/birt
     height=700
     width=900
     format=html
     showParameterPage=false
         birt:param
 name=companyName
 value=AntWebsystems/birt:param
 /birt:viewer
 
 It work fine.
 
 Can any body help me?
 
 Thank you...
 


  


Re: Freemarker does not accept nested jsp tag.

2009-11-15 Thread Chatree Srichart
Hello, Adrian Crum

How could I fix it?

Thank you.