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
mave2012
Post subject: No tag "outputDeclaration" defined  PostPosted: Oct 17, 2012 - 11:40 AM
Registered Member
Registered Member


Joined: Sep 17, 2012
Posts: 4

Hi,
following the MyEclipse ICEFaces tutorial, everything went well, til I reached the point running the application. The integrated Tomcat delivers the following error:exception

org.apache.jasper.JasperException: No tag "outputDeclaration" defined in tag library associated with uri "http://www.icesoft.com/icefaces/component"
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:51)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:409)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:265)
org.apache.jasper.compiler.JspDocumentParser.parse(JspDocumentParser.java:219)
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:200)
org.apache.jasper.compiler.ParserController.parse(ParserController.java:103)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:167)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:306)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
root cause

org.xml.sax.SAXException: No tag "outputDeclaration" defined in tag library associated with uri "http://www.icesoft.com/icefaces/component"

Could you please give a hint how to handle this issue
Thanks
MV
 
 View user's profile Send private message  
Reply with quote Back to top
support-pradeep
Post subject:   PostPosted: Oct 17, 2012 - 01:24 PM



Joined: Sep 24, 2012
Posts: 350

mave2012,

MyEclipse ICEFaces tutorial is based on IceFaces 1.6. If you are following the tutorial and adding ICEFaces 2.0 and above capabilities you will see an error with <ice:outputDeclaration> tag.

Take a look at the ICEFaces doc about porting from ICEFaces 1.8 to 2.x
http://wiki.icesoft.org/display/ICE/ICEfaces+1.x+Compatibility

If you want to work with the tutorial, you can download it from MyEclipse -> Examples on Demand -> ICEFaces Tutorial Example which is based on ICEFaces 1.6

_________________
Pradeep
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
mave2012
Post subject: No tag "outputDeclaration" defined  PostPosted: Oct 18, 2012 - 12:34 PM
Registered Member
Registered Member


Joined: Sep 17, 2012
Posts: 4

Now I'm a little bit confused, because I added the Icefaces capabilities provided by MyEclipse to my project, and what I got were the old templates using icefaces 1.x as it is shown in the tutorial. So if i understood correctly Myeclipse 10 works with the newer verion of Iceface libs but creates the "old " templates ?

When I follow ( and you must please consider that I'm on my way to an experienced user) the changing instructions from icefaces 1.x to 2.0 ( concerning the output tag) I'm running into There's a > endtag missing. if I'm deleting the <!DOCTYPE HTML PUBLIC... stuff at the
beginning of my jspx page I get the error message that the faces Context is missing.

Do you need any further information fpr giving me a hint ?
Thanks in advance
MV
 
 View user's profile Send private message  
Reply with quote Back to top
support-pradeep
Post subject:   PostPosted: Oct 19, 2012 - 01:31 PM



Joined: Sep 24, 2012
Posts: 350

mave2012,

I have escalated it to a dev team member. They will get back to you shortly.

_________________
Pradeep
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
support-tony
Post subject:   PostPosted: Oct 22, 2012 - 07:30 AM



Joined: Mar 09, 2011
Posts: 714

mave2012,

Icefaces 2 doesn't support JSPs, as per the release notes. The templates used to create JSP files with Icefaces templates are only for Icefaces 1.x, as shown on the template descriptions in the drop-down box.

Facelets should be used instead of JSPs, when using Icefaces 2 and later.

I'm afraid that we don't have a tutorial for Icefaces 2+ but you may be able to adapt the tutorials in the Icefaces Wiki.

Sorry we can't be of more help.

_________________
Tony
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