This week's book giveaway is in the Other Open Source APIs forum. We're giving away four copies of Storm Applied and have Sean Allen, Peter Pathirana & Matthew Jankowski on-line! See this thread for details.
this does not work for me because I do not have the classpath environment variable set up correctly. Can someone help me with detailed instructions on how to do this? I know where to find the environment variables, however, I am not sure if they should be named CLASSPATH and also what should be in the value for the CLASSPATH variable.
Helpful hint: use the "Code" button to get the message editor to wrap special tags around your code/xml that will keep it from getting mangled.
I don't have any idea how CLASSPATH is supposed to apply to what you're asking, however. A dataTable works by referencing a DataModel object that manages the rows to be displayed. The DataModel object is a property of a backing bean.
Normally, the datamodel object is constructed by the backing bean and backing beans are (by definition) part of the classpath of a JSF app. So no special peeking into environments or whatever is required. Not that it's a good idea for webapps to use environment variables anyway.
Customer surveys are for companies who didn't pay proper attention to begin with.
Joined: Oct 27, 2010
Hello again, this is my first time working with JSF. ITo review what we were saying the last time you wrote to me was this:
The class path is set to where ever the jsf jar files are located.
Its used in a web application so the jar files are going to be in
the application_name\WebRoot\web-inf\lib directory.
My setup is now:
root path to jsf-api.jar;
root path to jsf-impl.jar;
now I am having a different problem. Even though that is all squared away, I cannot create a JSF file:
and have no problems with the following Bean:
TableBean is the name of this Bean:
Please help me get pointed in the right direction to create a JSF page so that I can run this code with the bean -- Thanks very much!