| Author |
Message |
|
|
Make sure that you've followed the installation instructions in the plugin docs. Check the Eclipse About dialog for the ICEfaces plugin signature. If it's not there check the error log for any related messages. If it is there, you have the plugin installed. You won't see the palette until you have ICEfaces added to a Dynamic Web Project. The plugin docs describe how to create a project. Let us know how it goes.
Thanks,
Philip
|
 |
|
|
Hi,
Whoa, have you actually tried all of these combinations? Can you give some more information on what's not working? I would say on Linux it's preferable to stick with the Sun JDK.
Thanks,
Philip
|
 |
|
|
Here's the zipped Eclipse project. The required MySQL db script can be found here:
http://dev.mysql.com/doc/world-setup/en/world-setup.html
After setting up the db, open the Glassfish 3 admin console. Add a datasource, jdbc/world for the db. The web application is configured to point to this.
Thanks,
Philip
|
 |
|
|
Have you tried updating the code and name in valueChangeListeners? These should only be called when the user actually changes the value, not on every submit.
Philip
|
 |
|
|
Are you using the FilterTableBean? If so, just subclass this class and override the the following method like so:
Code:
public class MyFilterTableBean extends FilterTableBean{
@Override
private void applyFilters(){
super.applyFilters();
//update chart...
}
}
Philip
|
 |
|
|
If you're using 1.8 you should also put this below the view tag:
Code:
<ice:outputDeclaration doctypeRoot="HTML"
doctypePublic="-//W3C//DTD XHTML 1.0 Transitional//EN"
doctypeSystem="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>
Philip
|
 |
|
|
I'm not sure that it should be possible to forward to a resource under WEB-INF, as anything under that directory should be protected by the app server. I was surprised that the forward actually works. But after you forward to the page under /WEB-INF, you can't do anything else, because any full form post or even ajax request will go directly through /WEB-INF, to which the app server will respond with a 404. Perhaps you could've done this with 1.8 as the ajax requests would have gone through /block/..., but now in JSF 2 all page requests, whether ajax or not, go through the page URL directly.
Is there any reason why you want to keep your pages under /WEB-INF? The standard practice is to use externally accessible resources outside of WEB-INF. You can still, of course, keep content beneath WEB-INF that is included by pages outside of it (which is something we recommend as a best practice).
Philip
|
 |
|
|
The log4j docs suggest the following if you're using Tomcat:
Set the org.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES system property to false.
Have you tried this? You might also try asking the question on the apache forums as this is a log4j issue, not an ICEfaces issue.
Philip
|
 |
|
|
Do you have any content type specified in the head?
Code:
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
Philip
|
 |
|
|
Try not including the javaee-api.jar (or set it to 'provided' in your Maven pom file). Do you have the other dependencies?
Philip
|
 |
|
|
What jars are you including? Don't forget to clean the Catalina work directory.
Philip
|
 |
|
|
Hi,
You probably just have the wrong el jars for Tomcat 6. Include commons-el.jar, and don't include the el-* jars.
Thanks,
Philip
|
 |
|
|
Glad to hear you've got it working. I've added that configuration to the docs on that page.
Thanks,
Philip
|
 |
|
|
Hi Chris,
Sorry it's still not working for you. First make sure that you have the '/icefaces/*' servlet mapping in your web.xml like:
Code:
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
<url-pattern>/icefaces/*</url-pattern>
</servlet-mapping>
What app server and version are you using? Can you see what the rendered src attribute is for the one of the image links in the HTML? It should look something like this:
Code:
<input type="image" class="iceCmdBtn" id="frm:tabs:0:increaseRowsrdg" name="frm:tabs:0:increaseRowsrdg" onblur="setFocus('');" onclick="iceSubmit(form,this,event);return false;" onfocus="setFocus(this.id);" src="/ee-component-showcase/icefaces/resource/LTEzODU2OTE2NTE=/" title="Increase the number of displayed table rows">
First make sure something is rendered for the src attribute (like above). Then, if it is rendered, try pasting it directly in the browser address, like:
/ee-component-showcase/icefaces/resource/LTEzODU2OTE2NTE=/
And see if the image shows up. These images are kept in the composite components jar, and are registered with the ICEfaces Resource Registry, which generates the key for the image that you see above.
Thanks,
Philip
|
 |
|
|
Can you try running the provided ee-component-showcase sample war from the EE bundle on your server and see if the issue persists?
Thanks,
Philip
|
 |
|
|