ICEfaces support for NetBeans 5.5 with Visual Web Pack now available!
[Logo]
ICEfaces Forums
[Search] Search   [Recent Topics] Recent Topics   [Groups] Home Page | www.icefaces.org  [Register] Register  [Login] Login 
ICEfaces support for NetBeans 5.5 with Visual Web Pack now available!  XML
Forum Index -> Tools Go to Page: Previous  1, 2, 3, 4 Next 
Author Message
raidermike99

Joined: 15/11/2006 00:00:00
Messages: 24
Offline


frank_y wrote:
webuijsf prefix component is not supported at this release. The woodstock component is based on jsf 1.2 implementation. Sun Application Server 9 (or GLassFish) is also not supported at this release.

When you create Visual Web Project, please select option of J2EE 1.4.

Using J2EE 1.5 option will create jsf 1.2 implementation, the default jsp page will using webuijsf prefix.

Using J2EE 1.4 option will create jsf 1.1 implementation, the default jsp page will using ui prefix.

 


I am using j2ee 1.4 and still cannot change the value on the submit
button or any other control.

frank.ye

Joined: 26/10/2004 00:00:00
Messages: 442
Offline


Could you look at the jsp tag view in the JSP visual designer ?

If the jsp has webuijsf:page tag, it is Java J2EE 1.5.

Currently only Sun Application 9 and glassfish are Java J2EE 1.5 implementation.

You could use Sun Application 8 Sp4 which is supported (J2EE 1.4).

thanks,
Frank
[Email]
havis

Joined: 23/01/2007 00:00:00
Messages: 9
Offline


Thx frank_y that was the point! Currently I downgraded the Sun AS to previous version 8.2 and it became working. Unfortunatelly our company is using EJB 3.0 as the business layer and those need Java EE 5. Have u any idea when the new version of ICEFaces with Java EE 5 compatibility will be released?

Note. Sun is not the only one with Java EE 5 app server implementation. SAP has one and JBoss has beta version too.
raidermike99

Joined: 15/11/2006 00:00:00
Messages: 24
Offline


frank_y wrote:
Could you look at the jsp tag view in the JSP visual designer ?

If the jsp has webuijsf:page tag, it is Java J2EE 1.5.

Currently only Sun Application 9 and glassfish are Java J2EE 1.5 implementation.

You could use Sun Application 8 Sp4 which is supported (J2EE 1.4).

thanks,
Frank 



<jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:ice="http://www.icesoft.com/icefaces/component"
xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:ui="http://www.sun.com/web/ui">
<jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
<f:view>
<ui:page binding="#{Page1.page1}" id="page1">
<ui:html binding="#{Page1.html1}" id="html1">
<ui:head binding="#{Page1.head1}" id="head1">
<ui:link binding="#{Page1.link1}" id="link1" url="/resources/stylesheet.css"/>
<ice:outputStyle binding="#{Page1.outputStyle1}" href="./xmlhttp/css/xp/xp.css" id="outputStyle1"/>
</ui:head>
<ui:body binding="#{Page1.body1}" id="body1" style="-rave-layout: grid">
<ui:form binding="#{Page1.form1}" id="form1">
<ice:commandButton binding="#{Page1.button1}" id="button1" style="left: 480px; top: 168px; position: absolute" value="Submit"/>
</ui:form>
</ui:body>
</ui:html>
</ui:page>
</f:view>
</jsp:root>


It does not let me change the values thru the property window
It always reverts back to what was there
frank.ye

Joined: 26/10/2004 00:00:00
Messages: 442
Offline


Could you post your netbeans log file?

Window is located under

C:\Documents and Settings\User_Name\.netbeans\5.5\var\log\messages.log

Linux is located under
./netbeans/5.5/var/log/messages.log
[Email]
raidermike99

Joined: 15/11/2006 00:00:00
Messages: 24
Offline


Here is my logfile
 Filename messages.log [Disk] Download
 Description netbeans 5.5 log
 Filesize 272 Kbytes
 Downloaded:  122 time(s)

frank.ye

Joined: 26/10/2004 00:00:00
Messages: 442
Offline


No particular exception related to the design time.

Could you look at the documentation attached and try to create a new Project with it?

 Filename docs.zip [Disk] Download
 Description documentation
 Filesize 267 Kbytes
 Downloaded:  71 time(s)

[Email]
raidermike99

Joined: 15/11/2006 00:00:00
Messages: 24
Offline


frank_y wrote:
No particular exception related to the design time.

Could you look at the documentation attached and try to create a new Project with it?

 


Followed intructions to the letter and it still does not work.
I can drag the component over but can not change the value in
the property window.

frank.ye

Joined: 26/10/2004 00:00:00
Messages: 442
Offline


"text" value is not allowd in some of the value properties bind to
com.sun.jsfcl.std.ValueBindingPropertyEditor (netbeans VWP has changed to a value binding only editor).

It is addressed in the new 1.5.3 release. Could you download and try again.

thanks,
[Email]
raidermike99

Joined: 15/11/2006 00:00:00
Messages: 24
Offline


frank_y wrote:
"text" value is not allowd in some of the value properties bind to
com.sun.jsfcl.std.ValueBindingPropertyEditor (netbeans VWP has changed to a value binding only editor).

It is addressed in the new 1.5.3 release. Could you download and try again.

thanks, 



I downloaded the 1.5.3 and it works.

Thanks
markdcc

Joined: 16/02/2007 00:00:00
Messages: 1
Offline


Hello, I am having some issues with the VWP integration as well. I've installed all three 1.5.3 nbm's (non-vwp, complib and ide), and I'm running JBoss 4.0.3SP1 under Linux. My problem is after I deploy, I receive the following error when I try to access the page:

Code:
org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted.
         at org.apache.xerces.dom.ParentNode.internalInsertBefore(Lorg.w3c.dom.Node;Lorg.w3c.dom.Node;Z)Lorg.w3c.dom.No
 de;(Unknown Source)
         at org.apache.xerces.dom.ParentNode.insertBefore(Lorg.w3c.dom.Node;Lorg.w3c.dom.Node;)Lorg.w3c.dom.Node;(Unkno
 wn Source)
         at org.apache.xerces.dom.CoreDocumentImpl.insertBefore(Lorg.w3c.dom.Node;Lorg.w3c.dom.Node;)Lorg.w3c.dom.Node;
 (Unknown Source)
         at org.apache.xerces.dom.NodeImpl.appendChild(Lorg.w3c.dom.Node;)Lorg.w3c.dom.Node;(Unknown Source)
         at com.icesoft.faces.context.DOMResponseWriter.write(DOMResponseWriter.java:296)
         at com.sun.rave.web.ui.renderer.PageRenderer.encodeBegin(PageRenderer.java:56)
         at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:307)
         at javax.faces.webapp.UIComponentTag.encodeBegin(UIComponentTag.java:337)
         at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:224)
         at com.icesoft.faces.webapp.parser.Parser.executeJspLifecycle(Parser.java:162)
         at com.icesoft.faces.webapp.parser.Parser.executeJspLifecycle(Parser.java:186)
         at com.icesoft.faces.webapp.parser.Parser.parse(Parser.java:134)
         at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:550)
         at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:149)
         at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:300)
         at com.icesoft.faces.webapp.xmlhttp.PersistentFacesServlet.service(PersistentFacesServlet.java:402)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
         at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
         at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
 14:36:26,500 ERROR [PersistentFacesServlet] Exception executing lifecycle or setting up persistent context. Can't pars
 e stream for /Page1.jsp Failed to execute JSP lifecycle.
 javax.faces.FacesException: Can't parse stream for /Page1.jsp Failed to execute JSP lifecycle. <snip>
 


This happens even on a "clean" project created using the following steps:
New VWP, add component library to project, "Enable ICEFaces", build, deploy.
I do not have to add any ice: components to the page to get the error.

Any ideas?

BTW, thank you for the great library!
nypansson

Joined: 28/02/2007 00:00:00
Messages: 4
Offline


Hi,

I got also this exception. I have a existing project which I build using NetBeans Visual Pack. I'm running EJB3 under JBoss. All this working fine.

After installation of ICEFaces could I directly start to add components from my Visual edtitor. But after deployment and my first test could I not access my index-page from the browser. I found a post at Jboss that said that I'm must change my web.xml (http://jira.jboss.com/jira/browse/JBSEAM-827?decorator=printable). Without understanding why did I do this change:

<context-param>
<param-name>com.icesoft.faces.delegateNonIface</param-name>
<param-value>true</param-value>
</context-param>

After this can I run my old project as before. I have added a new page to test ICEfaces. When I access this page do I get the same error that markdcc got.

Are their anybody out there that could describe short and concrete all steps to get ICEfaces working together with NetBeans Visual Pack and Jboss running EJB3 and Java 1.5?

Agree with markdcc - ICEfaces components looking great!
raidermike99

Joined: 15/11/2006 00:00:00
Messages: 24
Offline


markdcc wrote:
Hello, I am having some issues with the VWP integration as well. I've installed all three 1.5.3 nbm's (non-vwp, complib and ide), and I'm running JBoss 4.0.3SP1 under Linux. My problem is after I deploy, I receive the following error when I try to access the page:

Code:
org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted.
         at org.apache.xerces.dom.ParentNode.internalInsertBefore(Lorg.w3c.dom.Node;Lorg.w3c.dom.Node;Z)Lorg.w3c.dom.No
 de;(Unknown Source)
         at org.apache.xerces.dom.ParentNode.insertBefore(Lorg.w3c.dom.Node;Lorg.w3c.dom.Node;)Lorg.w3c.dom.Node;(Unkno
 wn Source)
         at org.apache.xerces.dom.CoreDocumentImpl.insertBefore(Lorg.w3c.dom.Node;Lorg.w3c.dom.Node;)Lorg.w3c.dom.Node;
 (Unknown Source)
         at org.apache.xerces.dom.NodeImpl.appendChild(Lorg.w3c.dom.Node;)Lorg.w3c.dom.Node;(Unknown Source)
         at com.icesoft.faces.context.DOMResponseWriter.write(DOMResponseWriter.java:296)
         at com.sun.rave.web.ui.renderer.PageRenderer.encodeBegin(PageRenderer.java:56)
         at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:307)
         at javax.faces.webapp.UIComponentTag.encodeBegin(UIComponentTag.java:337)
         at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:224)
         at com.icesoft.faces.webapp.parser.Parser.executeJspLifecycle(Parser.java:162)
         at com.icesoft.faces.webapp.parser.Parser.executeJspLifecycle(Parser.java:186)
         at com.icesoft.faces.webapp.parser.Parser.parse(Parser.java:134)
         at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:550)
         at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:149)
         at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:300)
         at com.icesoft.faces.webapp.xmlhttp.PersistentFacesServlet.service(PersistentFacesServlet.java:402)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
         at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
         at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
 14:36:26,500 ERROR [PersistentFacesServlet] Exception executing lifecycle or setting up persistent context. Can't pars
 e stream for /Page1.jsp Failed to execute JSP lifecycle.
 javax.faces.FacesException: Can't parse stream for /Page1.jsp Failed to execute JSP lifecycle. <snip>
 


This happens even on a "clean" project created using the following steps:
New VWP, add component library to project, "Enable ICEFaces", build, deploy.
I do not have to add any ice: components to the page to get the error.

Any ideas?

BTW, thank you for the great library! 


nypansson

Joined: 28/02/2007 00:00:00
Messages: 4
Offline


If I have an existing JSF project build on Visual Web Pack in NetBeans 5.5 (using jboss-4.0.5.GA and EJB3). From what I understand can it be difficult to mix Sun's JSF components with ICEfaces. Or am I totally wrong.

There has been no problems to import the ICEfaces components into NetBeans and run all the installationssteps that are described in the installation documents.

After running the installation did I build my project , deployed it and started JBoss. I can see the ICEfaces starts. But when I then accessing my index.jsp page do i get following exception:

com.sun.rave.ui.appbase.ApplicationException: Can't parse stream for /index.jsp Failed to execute JSP lifecycle.

Does this mean that ICEfaces cannot be integrated into an existing JSP project - or what have I missed?

chrisHurt

Joined: 18/01/2007 00:00:00
Messages: 4
Offline


I have had similar problems that I have been unable to solve. We are trying to port an existing JSF application to use AJAX components, but in NB 5.5 with VWP I have been unable to compile even a clean project once I apply the iceFaces integration and add the required libraries. I am using the bundles JBoss 4.0.4. Any help would be much appreciated.

-Chris Hurt

(See stack trace below)
 
Forum Index -> Tools Go to Page: Previous  1, 2, 3, 4 Next 
Go to:   
Powered by JForum 2.1.7ice © JForum Team