Messages posted by morgane9
[Logo]
ICEsoft.org Forums: ICEfaces, ICEmobile, ICEpdf
[Search] Search   [Recent Topics] Recent Topics   [Groups] Home Page | www.icesoft.org  [Login] Login 
Messages posted by: morgane9  XML
Profile for morgane9 -> Messages posted by morgane9 [2]
Author Message
Hi,

I use an ugly solution, intended to be temporary, to get around this problem. In my backing bean or helper class, I place the items in a DefaultSelectItemsArray (deprecated) and return that as the items.

e.g.

public DefaultSelectItemsArray getOptions() {
String[] items = {"A", "B", "C"};
DefaultSelectItemsArray options = new DefaultSelectItemsArray ();
options.setItems(items);
return options;
}

When the web page design is complete and I no longer need to change the page layout in Netbeans, I will remove this code and return the items array to eliminate the deprecated class.

Not pretty, but it works.

\javatech
A very timely post for me. Since we have just begun the migration to ICEFaces because of its support for Visual Web development, we will stop and wait to see what happens. If we have to bite the bullet and move to Eclipse (yuck) anyway, it makes sense to choose faces components at that time. Until then, I will cling to the now very small hope that can be avoided.

Thanks for the information.
 
Profile for morgane9 -> Messages posted by morgane9 [2]
Go to:   
Powered by JForum 2.1.7ice © JForum Team