|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
Calendar do not work in a tableHi! I'm new with Woodstock and web technology and I've tried to get the calendar component placed in the table after followed the steps: I've used NetBeans 6.1 and 6.0.1 and Woodstock 4.3 ![]()
|
|||||
|
|
Re: Calendar do not work in a tableI've opened an issue for this problem:
Issue #: 1239 Liviu Delureanu <liviudelureanu@...> wrote:
|
|||||
|
|
Re: Calendar do not work in a table
Liviu Delureanu <liviudelureanu@...> wrote: I've opened an issue for this problem:
|
|||||
|
|
Re: Calendar do not work in a tableDan Liviu Delureanu wrote: If you think the Issue #: 1239 is a real bug please vote for this on |
|||||
|
|
Re: Calendar do not work in a table
|
|||||
|
|
Re: Calendar do not work in a tableI don't have a full database example for you, but you must pull values from the DataProvider. (Not certain if you must commit the input values, first?) If you're working with CachedRowSetDataProvider, you should be able to obtain a value for a given RowKey and FieldKey. Assuming the provider uses an int row index, the first row is "0" and my field key is 'DATE', I expect you can write something like this: Object obj = provider.getValue(getFieldKey("DATE"), getRowKey("0")) Note that you can also call the getFieldKeys and getRowKeys methods to get an array you can iterate over. The DataProviders APIs are documented below. http://developers.sun.com/docs/jscreator/apis/dataprovider/index.html That said, if calendar is not working for you, please try another component like checkbox or text field. At least, that will tell you if there is something wrong with your code or the calendar itself. Dan PS. There are a couple known issues with calendar which are related to table -- see issues #1265 and #1024. Liviu Delureanu wrote:
|
| Free Forum Powered by Nabble | Forum Help |