MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
fuadks@hotmail.com
Post subject: Birt Taglib for Facelets  PostPosted: Jan 19, 2010 - 03:53 PM
Registered Member
Registered Member


Joined: Jul 20, 2008
Posts: 2

I tried the dempo for Birt and it works fine.
I have a Facelets project that I want to include the Birt Viewer.
When I add the Tag lib defintion : <%@ taglib uri="/birt.tld" prefix="birt" %>
I get an error, as Facelets support xmlns definition
I tried to replace with several taglib definitions like:
xmlns:birt="http://www.eclipse.org/birt/taglibs/birt.tld"
But the application does not seem to sense that there is a Taglib defined.
What is the correct definition for Birt Taglib in xmlns format?
Do I need to include any JAR other than "Add Report Capabilities" to the project?
Thanks
Fuad
 
 View user's profile Send private message  
Reply with quote Back to top
support-joy
Post subject: RE: Birt Taglib for Facelets  PostPosted: Jan 21, 2010 - 10:55 AM
Registered Member
Registered Member


Joined: Feb 03, 2009
Posts: 3442

Faud,

Can you answer few queries for me to get to the root cause?
1. Can you copy and paste your installation details? Open MyEclipse IDE, from menu options click on MyEclipse > Installation Summary > Installation Details
2.
Quote:

I have a Facelets project that I want to include the Birt Viewer.

Is this Facelets project a MyEclipse created one?
3.
Quote:

I tried the dempo for Birt and it works fine

Can you share the weblink for the BIRT demo you are referring above?
4. Can you send your project to support@myeclipseide.com, please include detailed steps to reproduce and include screenshots which will help me get a visual. Please include reference to this post and add ATTN:Joy in the subject. This will help in quick tracing.
5.
Quote:

I get an error, as Facelets support xmlns definition
I tried to replace with several taglib definitions like:
xmlns:birt="http://www.eclipse.org/birt/taglibs/birt.tld"

What is the error? Can you copy and paste the same?

_________________
Joy
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
fuadks@hotmail.com
Post subject:   PostPosted: Jan 21, 2010 - 12:41 PM
Registered Member
Registered Member


Joined: Jul 20, 2008
Posts: 2

1.Installation detail : sent by mail
2. Faceltes project: I made it based on MyEclipse, examples on Demand for Faceletes
3. Birt Demo : it is from MyEclipse, examples on Demand
4. Source code of project : sent by mail
5. the error is shown in the browser when navigating to :http://10.126.1.150:8080/RNDFacelets2/pages/inputname.jsf
The error is complaining about the taglib line:
<%@ taglib uri="/birt.tld" prefix="birt" %>

detail is:
type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: Error Parsing /pages/inputname.xhtml: Error Traced[line: 1] The markup in the document preceding the root element must be well-formed.
javax.faces.webapp.FacesServlet.service(FacesServlet.java:249)


root cause

com.sun.facelets.FaceletException: Error Parsing /pages/inputname.xhtml: Error Traced[line: 1] The markup in the document preceding the root element must be well-formed.
com.sun.facelets.compiler.SAXCompiler.doCompile(SAXCompiler.java:234)
com.sun.facelets.compiler.Compiler.compile(Compiler.java:105)
com.sun.facelets.impl.DefaultFaceletFactory.createFacelet(DefaultFaceletFactory.java:197)
com.sun.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:144)
com.sun.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:95)
com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:496)
com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:546)
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)

Thanks
Fuad
 
 View user's profile Send private message  
Reply with quote Back to top
support-joy
Post subject:   PostPosted: Jan 22, 2010 - 08:29 AM
Registered Member
Registered Member


Joined: Feb 03, 2009
Posts: 3442

Thank you Faud. I would like to acknowledge receipt of your mail. I will investigate and get back to you.

Best.

_________________
Joy
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits