voyent
Messages posted by: philip.breau  XML
Profile for philip.breau -> Messages posted by philip.breau [2745] Go to Page: Previous  1, 2, 3 ... , 181, 182, 183 Next 
Author Message
Hi Mauricio,

We have a separate plugins for Netbeans 5 at http://support.icesoft.com/jive/entry.jspa?entryID=531&categoryID=55

It doesn't have the Design-time support that the creator plugin has, but will still provide you with ICEfaces project-level support.

Thanks,
Philip
I think just the commons-lang-2.1.jar and the tomahawk.jar are new. They're not needed for the basic use of ICEfaces.

Thanks,
Philip
Hi Raj,

In addition to Deryk's comments...

3. You would need to migrate your Struts app to a JSF implementation. Craig McClanahan has some interesting <a href="http://blogs.sun.com/roller/page/craigmcc/20040927">blog</a> entries on this.

To learn more about JSF, I highly recommend cruising a site like <a href="http://www.jsftutorials.net/">JSF Tutorials</a> or <a href="http://www.jsfcentral.com/">JSF Central</a>, which provide a lot of great information.

Thanks,
Philip
Hi Maarten,

There's not much you have to do to upgrage to the latest and greatest (which you should b/c there's been so many fixes). The only big difference is that z-icefaces-components.jar has been renamed to icefaces-comps.jar. The release notes have other minor details.

Thanks,
Philip
Hi Maarten,

I mentioned that the release notes provide information on other changes, but just a heads up..there were a lot of style class name changes from beta to 1.0 that are listed at http://support.icesoft.com/jive/servlet/KbServlet/download/511-102-337/ICEfaces_v1_CSSClassNames.html

Thanks,
Philip
Hi Maarten,

Yet one more caveat...;)

IceUserObject, in use with Trees, is one place where the API has significantly changed. So, if your project is using any trees, please keep an eye on that. Notably, the way IceUserObjects are constructed and linked to DefaultMutableTreeNodes has changed.

Thanks,
Philip
Hi Kelvin,

1. I'm not sure if I understand your question correctly, but using JSP includes will either dynamically or statically include the JSP include content into the containing page. I suppose that dynamic includes are more resource intensive, as the content is dynamically generated, but the size of your includes probably matters more.

2. Yes, disabling a tab panel will have the effect of hiding that panel, rather than greying it out. The tab itself should appear greyed out, but visible, and not selectable. The contents of a disabled tab should not be visible. Could you elaborate on any other problems you're having with tabs? Perhaps you could include a screen shot to make it more clear.

Thanks,
Philip
Hi Kelvin,

Sorry, I tested this out and understand what you're saying. I don't think the alignment is changing (at least not with my tests), but the tab borders were disappearing when the labels, were disabled, but programatically selected. How are you disabling the tabs? I've passed this on to our developers who are now looking into it.

Thanks,
Philip


Message was edited by: Philip Breau
Hi Maarten,

Glad to hear that you've got it working. To set the max upload size, set the 'com.icesoft.faces.uploadMaxFileSize ' context parameter in your web.xml file. This is the maximum allowed size, in bytes, or -1 for no maximum.

Thanks,
Philip
Hi,

You might try doing manual validation of the Time input with an valueChangeListener on the other select inputs or on submit with an action or actionListener. This is done in the ICEfaces Address demo when the ap validates the zip code. The source is included in the download. You might manually validate the input, the control the messaging appropriately. The application should inform the user if their time in invalid, and block them from submitting the invalid input. You might also try setting immediate="true" on the select components.

Thanks,
Philip
Hi Maarten,

You simply have to cast the DefaultMutableTreeNode's and UserObjects in the nodes. I've modified the nodeClicked() method of the com.icesoft.icefaces.samples.showcase.components.NodeUserObject class from the Component Showcase. This shows you how you can gain access to the children.

public void nodeClicked(ActionEvent event) {
treeBean.setSelectedNode(this.label);
treeBean.setSelectedNodeObject(this);

Enumeration enumer = this.getWrapper().children();
int i = 0;
while( enumer.hasMoreElements() ){

DefaultMutableTreeNode node = (DefaultMutableTreeNode)enumer.nextElement();
NodeUserObject object = (NodeUserObject)node.getUserObject();
System.out.println( "child # " + i++ + ": " + object.label );
}

}

Thanks,
Philip
Hi Markus,

If you mean 'how do you get an alphabetized list from an existing tree?', then I suppose you'll have go through each node of the tree and put each IceUserObject into a collections object which can then be sorted. To get the Enumeration of children from each node call DefaultTreeNode.children(). Put the IceUserObject value of each child into a collection object, then recursively call each child, to get its children, etc.

You can use the TreeSet collections object for automatic sorting (TreeSet(Comparator<? super E> c) ). Just implement a Comparator class for your specific IceUserObject (or inherited) class, adding the compare(T o1, T o2) method which will alphabetize whatever you want, then call the TreeSet constructor with the Comparator. Then anything added to the TreeSet will be automatically sorted.

Thanks,
Philip
Hi Kelvin,

What happens when you set partialSumit="true" on the input fields?

Thanks,
Philip
Hi Gary,

This is how I got it to work on JBoss 4.0.4GA (Windows XP). It has something to do with the JSF library loading.

1. Alter the tablib reference in timezone.jsp to the following:
<%@ taglib uri="/WEB-INF/html_basic.tld" prefix="h" %>
<%@ taglib uri="/WEB-INF/jsf_core.tld" prefix="f" %>

2. Extract the tld files from JSF implementation library into the WEB-INF directory of the app (this is relative to the timezone1 directory):
../../lib/jsf-impl.jar/META-INF/html_basic.tld
../../lib/jsf-impl.jar/META-INF/jsf_core.tld

3. Rebuild the app.
4. Drop it in the JBoss deploy directory.

There might be an easier way that I'm not aware of. I tested all of the pre-built sample war files and had no problem with any of them. I also had no problem running the timezone2 app. So hope this helps.

Thanks,
Philip
Hi Maarten,

It looks like you're still trying to reference the message bundles (value="msgs['component.fileUpload.title']"...). So, if you haven't already done so, I think you have to replace all of those references with literal text. Are you receiving any other errors?

Thanks,
Philip
 
Profile for philip.breau -> Messages posted by philip.breau [2745] Go to Page: Previous  1, 2, 3 ... , 181, 182, 183 Next 
Go to:   
Powered by JForum 2.1.7ice © JForum Team