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.
An IDE is no substitute for an Intelligent Developer.
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!