voyent
Netbeans Design Screen Bug: styleClass not found for disabled ice:selectInputDate  XML
Forum Index -> Woodstock to ICEfaces Migration
Author Message
AntonioJSG

Joined: 13/Nov/2007 00:00:00
Messages: 32
Offline


I have Netbeans 6.5.1
Windows XP SP3
IceFaces 1.8.1.1

If I declare ice:selectInputDate with disabled attribute, Netbeans Design screens reports an error and is unable to display the component.

If I run the application the web browser shows the component perfectly.

If I declare the component without the attribute, it displays ok on the Design screen. It stills show ok in the web browser if I run the appli.

Code:
 
                                 <ice:selectInputDate   id="vigenciaDesdeSid"  value="#{BnTran.ofertaVenta.vigenciaDesde}" renderAsPopup="true" style="z-index=1000" disabled="#{BnUser.scrDisabled}" >
                                     <f:convertDateTime locale="#{BnUser.localizacion}"/>
                                 </ice:selectInputDate>
 
 


The logfile has the following error

java.lang.NullPointerException
at com.icesoft.faces.component.selectinputdate.SelectInputDateBase.isDisabled(SelectInputDateBase.java:60)
at com.icesoft.faces.component.selectinputdate.SelectInputDate.getCalendarInputClass(SelectInputDate.java:237)
at org.icefaces.component.custom.renderkit.dt.renderer.SelectInputDateRenderer.popupRender(SelectInputDateRenderer.java:124)
at org.icefaces.component.custom.renderkit.dt.renderer.SelectInputDateRenderer.encodeEnd(SelectInputDateRenderer.java:188)
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:836)
[catch] at org.netbeans.modules.visualweb.insync.faces.FacesPageUnit.renderBean(FacesPageUnit.java:1350)
at org.netbeans.modules.visualweb.insync.faces.FacesPageUnit.renderNode(FacesPageUnit.java:1549)
at org.netbeans.modules.visualweb.insync.faces.FacesPageUnit.renderNode(FacesPageUnit.java:1563)
at org.netbeans.modules.visualweb.insync.faces.FacesPageUnit.renderNode(FacesPageUnit.java:1563)
at org.netbeans.modules.visualweb.insync.faces.FacesPageUnit.renderNode(FacesPageUnit.java:1563)
at org.netbeans.modules.visualweb.insync.faces.FacesPageUnit.renderBean(FacesPageUnit.java:1337)
at org.netbeans.modules.visualweb.insync.faces.FacesPageUnit.renderNode(FacesPageUnit.java:1549)
at org.netbeans.modules.visualweb.insync.faces.FacesPageUnit.renderNode(FacesPageUnit.java:1563)
at org.netbeans.modules.visualweb.insync.faces.FacesPageUnit.renderNode(FacesPageUnit.java:1563)
at org.netbeans.modules.visualweb.insync.faces.FacesPageUnit.getFacesRenderTree(FacesPageUnit.java:1105)
at org.netbeans.modules.visualweb.insync.faces.FacesPageUnit.renderHtml(FacesPageUnit.java:1675)
at org.netbeans.modules.visualweb.insync.faces.FacesPageUnit.renderHtml(FacesPageUnit.java:1628)
at org.netbeans.modules.visualweb.insync.models.FacesModel.getHtmlDomFragment(FacesModel.java:1614)
at org.netbeans.modules.visualweb.insync.models.FacesModel.findHtmlBody(FacesModel.java:1638)
at org.netbeans.modules.visualweb.insync.models.FacesModel.getHtmlBody(FacesModel.java:1626)
at org.netbeans.modules.visualweb.designer.jsf.JsfForm.getHtmlBody(JsfForm.java:1755)
at org.netbeans.modules.visualweb.designer.jsf.JsfForm.getHtmlBody(JsfForm.java:1745)
at org.netbeans.modules.visualweb.designer.jsf.DomSynchronizer.processRefresh(DomSynchronizer.java:1484)
at org.netbeans.modules.visualweb.designer.jsf.DomSynchronizer.processUpdates(DomSynchronizer.java:816)
at org.netbeans.modules.visualweb.designer.jsf.DomSynchronizer.run(DomSynchronizer.java:696)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
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)
 
Forum Index -> Woodstock to ICEfaces Migration
Go to:   
Powered by JForum 2.1.7ice © JForum Team