Skip to main content

Can't use a JSF-bound field for dropdowndate value?

3 replies [Last post]
zambizzi
Offline
Joined: 2005-08-19
Points: 0

I'm confused...can't I use it like this:

</p>
<p>

Before adding the value attribute the calendar looked fine...after adding it...the cal is filled w/ "NaN" values (no longer dates) and just falls apart completely.

I thought the idea was that these widgets were JSF-ready?

I'd read the documentation but I can't get to the jMaki site today...been trying all morning.

Thanks!

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
gmurray71
Offline
Joined: 2003-07-31
Points: 0

It was broken in the Beta 1.0 release. You can use them with the beta 2.0 (from 12/21/2006) update that was posted today.

Get it from https://ajax.dev.java.net/download.html

Make sure the values that are returned are formatted as:

MM/dd/yyyy

So today that would be 12/21/2006

gmurray71
Offline
Joined: 2003-07-31
Points: 0

You can but you will need to use the latest build. This was broken in the beta.

Also the data should be formatted MM/dd/yyyy when returned from the mangaed bean.

See the test bean here:

https://ajax.dev.java.net/source/browse/ajax/ws/jmaki/widgets/dojo/src/j...

We plan to do a beta refresh soon. You might want to try that or the latest weekly.

zambizzi
Offline
Joined: 2005-08-19
Points: 0

I'm using 1.6.2 - I updated from the AJAX Update Center in netbeans before even using it.

Am I doing something else wrong?

I'm confused by the versioning. On the site it says 1.0 Beta as the stable release...but I'm using 1.6.2 in NB...is that the module version?

I also noticed that once I did the update in netbeans...when I look at the module manager, it still says 1.6.1. I just went back through the update and it still shows 1.6.2 as the latest...so it obviously didn't "take". I've restarted NB, makes no difference.