voyent
Panels - cannot parse  XML
Forum Index -> Components
Author Message
maarten

Joined: 03/May/2006 00:00:00
Messages: 39
Offline


A simple problem this time. ;)

Since I'm unable to get the tree working in a subfolder, I've decided to try the approach in the showcase: Stacked panels.

I've got it to work in a test file. But when I nest it in a panelGrid wich is nested in another grid, it no longer seems to work.

I've attached the sourcecode. I realy hope I can get at least that to work!

BTW: Are all the panels loaded when the page is loaded, or are they only loaded when the panel is made visible?
 Filename panels.txt [Disk] Download
 Description No description given
 Filesize 2 Kbytes
 Downloaded:  294 time(s)

maarten

Joined: 03/May/2006 00:00:00
Messages: 39
Offline


I came a bit closer to the solution.

If I replace the commandlinks with a select, it works. So the problem must be with the links.

<ice:selectOneRadio value="#{NavigationBean.selectedPanel}"
styleClass="selectOneMenu"
valueChangeListener="#{NavigationBean.selectedPanelChanged}"
partialSubmit="true">
<f:selectItem itemValue="BASIC" itemLabel="Home" />
<f:selectItem itemValue="ASSETS" itemLabel="Assets" />
<f:selectItem itemValue="USERS" itemLabel="Users" />
</ice:selectOneRadio>
pabreau

Joined: 11/May/2006 00:00:00
Messages: 23
Offline


Regarding your question about whether the info on all panels are loaded at once.. the answer is no, that's one of the great things about ICEfaces, you get incremental view updates on demand. You can see the ui updates to a panel by starting the JavaScript console (cntrl-shift-T) and watching exactly what gets updated when you interact with the panel.

Philip
[Email]
 
Forum Index -> Components
Go to:   
Powered by JForum 2.1.7ice © JForum Team