voyent
Messages posted by: davidwburns  XML
Profile for davidwburns -> Messages posted by davidwburns [7]
Author Message
ok. renaming the jar did the trick. I will let you know if this solves the design-time problem or not. Thanks!
I've replaced C:\Documents and Settings\david ctr wilson-bur\.netbeans\6.1\modules\ext\icefaces\icefaces-1.7.1\dt\jsf12\icefaces-comps.jar with icefaces-comps-1.7.1.jar and I've added icefaces-comps-1.7.1.jar to C:\Documents and Settings\david ctr wilson-bur\.netbeans\6.1\modules\ext\icefaces\icefaces-1.7.1\jsf12

The project still will not open in Netbeans. Do I need to start with a new project?
okie, dokie.

I dropped the jar in the folder you mentioned, restarted netbeans, but when I attempted to open my icefaces project the ide threw the following:

Code:
 java.lang.IllegalArgumentException: Project ice71 is not open and cannot be set as main.
 	at org.netbeans.modules.project.ui.OpenProjectList.setMainProject(OpenProjectList.java:764)
 	at org.netbeans.modules.project.ui.actions.OpenProject.actionPerformed(OpenProject.java:136)
 	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
 	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
 	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
 	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
 	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
 	at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
 	at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
 	at java.awt.Component.processMouseEvent(Component.java:6038)
 	at javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
 	at java.awt.Component.processEvent(Component.java:5803)
 	at java.awt.Container.processEvent(Container.java:2058)
 	at java.awt.Component.dispatchEventImpl(Component.java:4410)
 	at java.awt.Container.dispatchEventImpl(Container.java:2116)
 	at java.awt.Component.dispatchEvent(Component.java:4240)
 	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
 	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
 	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
 	at java.awt.Container.dispatchEventImpl(Container.java:2102)
 	at java.awt.Window.dispatchEventImpl(Window.java:2429)
 	at java.awt.Component.dispatchEvent(Component.java:4240)
 [catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
 	at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
 	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
 	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
 	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
 	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
 	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
 	at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
 
It works fine for awhile, and then suddenly all style/image elements drop off. I dropped a datatable on this design view as well. See attachment.




Code:
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- 
     Document   : Page1
     Created on : Jun 18, 2008, 1:00:14 PM
     Author     : david ctr wilson-bur
 -->
 <jsp:root version="2.1" 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">
     <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
     <f:view>
         <ice:outputHtml id="outputHtml1">
             <ice:outputHead id="outputHead1">
                 <ice:outputStyle href="./resources/stylesheet.css" id="outputStyle1"/>
                 <ice:outputStyle href="./xmlhttp/css/rime/rime.css" id="outputStyle2"/>
             </ice:outputHead>
             <ice:outputBody id="body1" style="-rave-layout: grid">
                 <ice:form id="form1">
                     <ice:dataTable id="dataTable2"/>
                     <ice:panelDivider dividerPosition="18" id="panelDivider1" orientation="horizontal" style="height: 694px; left: 0px; top: 0px; position: absolute; width: 1030px">
                         <f:facet name="first">
                             <ice:panelGroup id="panelGroup1">
                                 <ice:panelLayout id="panelLayout1" style="height: 154px; position: absolute; width: 910px">
                                     <ice:graphicImage id="graphicImage1" value="/resources/Header.jpg"/>
                                 </ice:panelLayout>
                             </ice:panelGroup>
                         </f:facet>
                         <f:facet name="second">
                             <ice:panelGroup id="panelGroup2" style="height: 240px">
                                 <ice:panelTabSet height="576" id="panelTabSet1" selectedIndex="0" tabPlacement="Top" title="Welcom">
                                     <ice:panelTab id="panelTab1" label="Welcome" style="height: 494px" title="Welcome">
                                         <ice:panelLayout id="panelLayout2" layout="flow" style="height: 501px; position: absolute; width: 1006px">
                                             <ice:graphicImage id="graphicImage3" value="/resources/sidebar2_orange.gif"/>
                                         </ice:panelLayout>
                                     </ice:panelTab>
                                     <ice:panelTab id="panelTab2" label="Tab2">
                                         <ice:panelLayout id="panelLayout3" style="width: 126; height: 122;">
                                             <ice:outputText id="outputText2" value=" Tab2"/>
                                         </ice:panelLayout>
                                     </ice:panelTab>
                                     <ice:panelTab id="panelTab3" label="Tab3">
                                         <ice:panelLayout id="panelLayout4" style="width: 126; height: 122;">
                                             <ice:outputText id="outputText3" value=" Tab3"/>
                                         </ice:panelLayout>
                                     </ice:panelTab>
                                     <ice:graphicImage id="graphicImage2" value="/resources/sidebar2_orange.gif"/>
                                 </ice:panelTabSet>
                             </ice:panelGroup>
                         </f:facet>
                     </ice:panelDivider>
                     <ice:panelLayout id="panelLayout5"/>
                 </ice:form>
             </ice:outputBody>
         </ice:outputHtml>
     </f:view>
 </jsp:root>
 

After using the nice visual designer for Icefaces in Netbeans 6.1 for a few minutes or a few hours, the style drops out in the design view and never comes back. I was just fooling around with PanelCollapsible and DataTable and BOOM, everything just turns to text and dashed lines.

I found this plugin to be nearly unusable (Icefaces Visual) in 6.0.1, but it seems to be much improved in 6.1....except for this issue.
 
Profile for davidwburns -> Messages posted by davidwburns [7]
Go to:   
Powered by JForum 2.1.7ice © JForum Team