| Author |
Message |
|
|
Hi!
I have this problem with icefaces 1.6 and netbeans 5.5.1 with vwp.
I think the solution was posted in: http://www.icefaces.org/JForum/posts/list/3352.page
I am a javascript newbie. I tried including the javascript code in ice-extras.js But for some reason it does not work. I think the cause could be that the stylesheet has changed from 1.5.3 to 1.6...
Any help?
Thanks!
|
 |
|
|
I just wanted to place my components inside a panel with absolute positioning and I don't know of any ice layout component which would allow me to do that. At least inside Netbean's visual designer.
For now, I will replace all my ice command buttons inside netbean's layout components with standard buttons. This is the only way it works.
Thanks anyway.
|
 |
|
|
Well, in fact the tree is quite simple and it has a DefaultTreeModel binded with it.
When I run the project it works fine. But the visual designer fails to draw it.
The code of the tree its included in the attached text file...
|
 |
|
|
Hi!
We have a huge project migrated from 1.5.3 to 1.6.
We have some tree components that don't show in the visual designer.
It throws this exception:
java.lang.NullPointerException
at com.icesoft.faces.component.custom.renderkit.dt.renderer.TreeRenderer.encodeChildren(TreeRenderer.java:227)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:828)
at com.sun.rave.insync.faces.FacesPageUnit.renderBean(FacesPageUnit.java:1273)
at com.sun.rave.insync.faces.FacesPageUnit.getFacesRenderTree(FacesPageUnit.java:1076)
at com.sun.rave.insync.faces.FacesPageUnit.renderHtml(FacesPageUnit.java:1614)
at com.sun.rave.designer.jsf.DomSynchronizer.processInsert(DomSynchronizer.java:914)
at com.sun.rave.designer.jsf.DomSynchronizer.processUpdates(DomSynchronizer.java:729)
at com.sun.rave.designer.jsf.DomSynchronizer.run(DomSynchronizer.java:648)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
It's a bit strange because if I do it in a fresh new project it works...
Which could be the cause?
Thanks!
|
 |
|
|
Sorry I don't understand, I used Layout Panel, which is a netbeans component, not an icefaces one.
It is not iceface's Panel Grid just Layout Panel, it doesn't have any columns property, al least in the properties windows of the visual designer...
Example:
<ui:panelLayout style="height: 218px; left: 435px; top: 190px; position: absolute; width: 558px; -rave-layout: grid">
...
|
 |
|
|
Hi!
When I try to add command buttons to a Layout Panel component with "Grid Layout" it only shows the first button in the visual designer.
If I use standard buttons it works fine.
It worked also with icefaces 1.5.3.
Is this a bug?
Any solution?
Thanks.
|
 |
|
|
Hi! The same happens to me.
My project worked fine with 1.6.0 but now with 1.6.1 is broken.
I think this is a bug.
|
 |
|
|
So, welcome file in web.xml is ignored...
<welcome-file-list>
<welcome-file>faces/Welcome.jsp</welcome-file>
</welcome-file-list>
With 1.6.0 it worked. Is this a bug?
|
 |
|
|
|
Try to remove the component library and add it again. Sometimes it does not work correctly...
|
 |
|
|
(Netbeans 5.5.1 with icefaces 1.6.0)
If I bind a value from a bean that implements Renderable to a component, then the visual designer fails.
Note: To compile the bean with Renderable I added the icefaces.jar to the libraries without faces_config.xml.
The project runs fine but the visual designer does not work.
The only way is to add a "fake" property in the sessionBean:
public String getValueA() {
return getOtherBean().getValueA();
}
and bind to this value...
Any other way to do it?
Thanks
|
 |
|
|
Okay, the only way I can get it working:
Move xp.css and css-images to /resources/ and add an OutputStyle to the header with: "/resources/xp.css".
Now it paints the background.
I don't know why It should be done this way. If someone knows please enlighten me.
|
 |
|
|
Note:
If I manually add an OutputStyle to the page now it loads the table with format, but the background color still is missing!!
¿Is there another way to do it?
It's funny. In the previous version (1.5.3) it always added outputstyle but it didn't work.
Now (1.6.0) it adds a link and it only works with outputstyle!!
:-OO
|
 |
|
|
Hi!
I have Netbeans 5.5.1 with ICEfaces-1.6.0-libs-NetBeans, ICEfaces-NetBeans-IDE-v2.0.1 installed and ICEfaces-1.6.0-complib-NetBeans imported with the component manager.
I begin with a new Visual Web Project. I add the component library and choose the option "Enable ICEFaces".
Now I have a project with a Page1.jsp and a folder xmlhttp which contains all the stylesheets.
I open xp.css and change the background color of the body to blue. Like this:
body, table {
background-color: blue;
color: #000000;
font-family: Arial, Helvetica, sans-serif;
font-size: .95em
}
If I add a datatable component it adds to the page a link to "./xmlhttp/css/xp/xp.css", but in design time the table appears without format. And the background is white.
If I run the project the table appears without format and the background is white.
I tried to drag & drop the xp.css to the page and it adds another link with "/xmlhttp/css/xp/xp.css", I suppose it just reload something and now I can see the format and background in design time. But when I run the project I still see the same table without format and background color is white.
So... does the stylesheet really works?
I can't make it work.
I am running this simple project with the tomcat embedded in netbeans. (version 5.5.17)
Please help!!
|
 |
|
|
Changing the icefaces.jar as posted in http://www.icefaces.org/JForum/posts/list/5038.page works for me.
Thanks!
|
 |
|
|
I tried to install all from scratch. But it is still not working.
Is the same error posted in: http://www.icefaces.org/JForum/posts/list/5038.page
|
 |
|
|