Pre-checking items in checkboxlist (or multiple select box)

2008-04-21 Thread tristan_colson
I cannot for the life of me figure out how to pre-check/select items in a checkbox list or a multiple select box. As long as the input field is linked to exactly one value, like in a radio list or a single select box, it works fine, but I can't figure out how to pass a list of items to check and

Re: datetimepicker doesn't show up

2008-04-17 Thread tristan_colson
Turn on debugging with s:head > > > > and use the FireFox FireBug plugin to determine if it failed to find any > resources. > > The template for the calendar is loaded via an ajax request. If that > request fails you see nothing. > > tristan_colson wrote: >&g

datetimepicker doesn't show up

2008-04-16 Thread tristan_colson
I am trying to use s:datetimepicker. I have the in my section. I have like this: to The html renders like this: // Dojo configuration djConfig = { baseRelativePath: "/struts/dojo", isDebug: false, bindEncoding: "UTF-8", debugAtAllCosts: true // no

Having trouble pre-populating a checkboxlist

2008-04-15 Thread tristan_colson
I must be missing something obvious here, but I can't seem to get my checkboxlist to prepopulate. platformsKeys is a array of integers and allPlatforms is a list of objects with the key being an integer and the value being a string. Here is what the HTML looks like: Queries Alerts When I u