| Author |
Message |
|
|
|
Yes, it is possible: Create a new category in the in the "Palette" window on the right side; open the Tools menu "Palette"-> "HTML/JSP code clips". The dialog offers you the list of ICEFaces components: Drag and Drop the components one by one from the dialog list to the Palette window.
|
 |
|
|
You'll have to put <redirect /> into your navigation rule:
<navigation-rule>
<navigation-case>
<from-outcome>goto_example</from-outcome>
<to-view-id>example.jsp</to-view-id>
<redirect />
</navigation-case>
</navigation-rule>
|
 |
|
|
|
It seems to be possible to use Icefaces 1.8.2 with Netbeans 6.8 M2 (JSF 1.2) - but the component palette is not shown. Is it possible to activate it somehow?
|
 |
|
|
This works for me in Facelets - omitting "/" and from-view-id = .xhtml, to-view-id = .iface:
<navigation-rule>
<from-view-id>fromPage.xhtml</from-view-id>
<navigation-case>
<description>Simple commandLink navigation.</description>
<from-outcome>nextPage</from-outcome>
<to-view-id>toPage.iface</to-view-id>
</navigation-case>
</navigation-rule>
|
 |
|
|
|
I've found the answer in the Jira bugtracker (http://jira.icefaces.org/browse/ICE-3281): It is a Netbeans buildfile problem: You have to change in nbproject/project.properties the entry: client.urlPart=your_own_start_page.iface
|
 |
|
|
I'm trying to setup an Icefaces Facelet project without using welcomeICEfaces.xhtml as a start page - how can I achieve that? I've tried other start pages, like index.xhtml, but failed with this. welcomeICEfaces.xhtml seems to be hardcoded somewhere ...
Code:
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
<context-param>
<param-name>com.icesoft.faces.concurrentDOMViews</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>com.icesoft.faces.debugDOMUpdate</param-name>
<param-value>false</param-value>
</context-param>
<context-param>
<param-name>com.sun.faces.validateXml</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>com.sun.faces.verifyObjects</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>com.icesoft.faces.uploadMaxFileSize</param-name>
<param-value>4048576</param-value>
</context-param>
<context-param>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>server</param-value>
</context-param>
<context-param>
<param-name>com.icesoft.faces.synchronousUpdate</param-name>
<param-value>false</param-value>
</context-param>
<context-param>
<param-name>javax.faces.DEFAULT_SUFFIX</param-name>
<param-value>.xhtml</param-value>
</context-param>
<context-param>
<param-name>facelets.DEVELOPMENT</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>facelets.SKIP_COMMENTS</param-name>
<param-value>true</param-value>
</context-param>
<servlet>
<servlet-name>Persistent Faces Servlet</servlet-name>
<servlet-class>com.icesoft.faces.webapp.xmlhttp.PersistentFacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<servlet-name>Blocking Servlet</servlet-name>
<servlet-class>com.icesoft.faces.webapp.xmlhttp.BlockingServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<servlet-name>uploadServlet</servlet-name>
<servlet-class>com.icesoft.faces.component.inputfile.FileUploadServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Persistent Faces Servlet</servlet-name>
<url-pattern>/xmlhttp/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>Persistent Faces Servlet</servlet-name>
<url-pattern>*.iface</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>Persistent Faces Servlet</servlet-name>
<url-pattern>*.jspx</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>Blocking Servlet</servlet-name>
<url-pattern>/block/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>uploadServlet</servlet-name>
<url-pattern>/uploadHtml</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>
30
</session-timeout>
</session-config>
<welcome-file-list>
<welcome-file>index.iface</welcome-file>
</welcome-file-list>
</web-app>
|
 |
|
|
Perhaps this entry in the Netbeans log file might help?
WARNUNG [org.netbeans.api.project.libraries.Library]: No such key facelets-icefaces-181 in org/icefaces/netbeans/modules/lib/Bundle for facelets-icefaces-181
SEVERE [org.openide.util.Exceptions]
java.io.IOException: no library named with jsf-1-2_12
at org.icefaces.netbeans.modules.web.frameworks.util.WebProjectLibraryCatalogue.addLibs(Unknown Source)
at org.icefaces.netbeans.modules.web.frameworks.util.WebProjectLibraryCatalogue.setWebProj_j2ee_5(Unknown Source)
[catch] at org.icefaces.netbeans.modules.web.frameworks.util.WebProjectLibraryCatalogue.initWebPrjtLibs(Unknown Source)
at org.icefaces.netbeans.modules.web.frameworks.util.WebProjectLibraryCatalogue.initProjectLibraries(Unknown Source)
at org.icefaces.netbeans.modules.web.frameworks.ui.WebConfigurationPanel.extend(Unknown Source)
at org.netbeans.modules.web.project.ui.wizards.NewWebProjectWizardIterator.instantiate(NewWebProjectWizardIterator.java:184)
at org.openide.loaders.TemplateWizard$InstantiatingIteratorBridge.instantiate(TemplateWizard.java:1016)
at org.openide.loaders.TemplateWizard.handleInstantiate(TemplateWizard.java:588)
at org.openide.loaders.TemplateWizard.instantiateNewObjects(TemplateWizard.java:409)
at org.openide.loaders.TemplateWizardIterImpl.instantiate(TemplateWizardIterImpl.java:253)
at org.openide.loaders.TemplateWizardIteratorWrapper.instantiate(TemplateWizardIteratorWrapper.java:165)
at org.openide.WizardDescriptor.callInstantiateOpen(WizardDescriptor.java:1524)
at org.openide.WizardDescriptor.callInstantiate(WizardDescriptor.java:1481)
at org.openide.WizardDescriptor.access$1700(WizardDescriptor.java:127)
at org.openide.WizardDescriptor$Listener$2$1.run(WizardDescriptor.java:2052)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:577)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1030)
|
 |
|
|
|
The ICEfaces 1.8.2 plugin for Netbeans with Facelets doesn't work for me neither on Linux nor on Windows - the project wizard seems to be buggy, perhaps some libraries are missing and/or the Installation Guide is misleading. As a viewhandler only the standard Facelet handler is inserted in the faces-config.xml automatically, the web.xml seems to be written correctly with ICEfaces settings.
|
 |
|
|
|
Perhaps a problem with case sensitivity on Linux? I'll test it with a fresh Netbeans installation.
|
 |
|
|
|
There seems to be a nbm packaging error in the current version for 1.8.2 - See http://statistics.netbeans.org/analytics/detail.do?id=153901
|
 |
|
|
|
I'm wondering where the "Visual Icefaces" components are in Netbeans 6.7 RC 2? I've installed "ICEfaces 1.8.1 Project Integration plugin for NetBeans 6.7 RC2".
|
 |
|
|