Re: struts2 bean and iterator

2006-12-28 Thread cvu
Hi Mark, You're right, it does not work. I have tried this too: thanks Mark Menard wrote: > > On 12/27/06 2:38 PM, "cvu" <[EMAIL PROTECTED]> wrote: > >> >> Hi, >> Anyone knows how to iterate over a collection of object each object has >> string property: >> public class Door { >>

Re: [ajaxtags] Date picker

2006-12-28 Thread Ian Roughley
Sorry - vacation. Cameron (no longer active) convinced us to go the dojo route and did all of the dojo widget coding. I did the webwork integration - and tried my hand at the dojo code after he became inactive. /Ian Ted Husted wrote: Are we just talking about the Ajax date/time picker?

Re: struts2 bean and iterator

2006-12-28 Thread cvu
Since I have tried many ways , all dont work!! I re-read the examples from http://cwiki.apache.org/WW/iterator.html and realize some things like : quote "retrieves the value of the getDays() method of the current object on the value stack and uses it to iterate over..." quote "The following examp

Re: [proposal] Tag reorganization

2006-12-28 Thread Ian Roughley
I think I am missing something here - how will the tags be invoked? It will need to be a new tld with a new name space, right? Something like rather than - so there will be a compatibility issue, but all the functionality will be moved forward. /Ian David H. DeWolf wrote: Ted Husted

Re: [proposal] Tag reorganization

2006-12-28 Thread David H. DeWolf
That's what I'm imagining too. . .and we're agreeing that this incompatibility is a pill we have to swallow. Ian Roughley wrote: I think I am missing something here - how will the tags be invoked? It will need to be a new tld with a new name space, right? Something like rather than - so th

Re: [proposal] Tag reorganization

2006-12-28 Thread Ian Roughley
I'm torn - I like the fact that we are getting the ajax code out of the base, but especially for webwork->s2 upgrades there is going to be more work. The other thing is that 2.0.2 is still beta, and frankly I don't think there is that many people using the tags at the moment, so this would be

Arraylist in JSP

2006-12-28 Thread styl9090
Hello, this might be quite simple question for you.. I have an Arraylist of String values in Action class, I can set the same in ActionForm or Request Attribute.. But, I'm unable to access the same in JSP using tag of STRUTS tag library for a dropdown. I used like: and getting the error: java.

Re: Arraylist in JSP

2006-12-28 Thread styl9090
Okay got it... In this case, we have to keep the collection in ActionForm instead of Request Attribute.. the can be accessed using : I always used to have objects, thats why never used in this way... Thanks, Shekar. styl9090 wrote: > > Hello, this might be quite simple question for you.. >

Re: [proposal] Tag reorganization

2006-12-28 Thread Don Brown
I think the rule of thumb here should be if you require any additional tag attributes, then the tag should be in its own tag library. If followed fully, this would put our xhtml theme in its own tag library, which if we could ignore backward compatibility, I'd do in a heartbeat. I think the

Tiles 2 - how to get more error info?

2006-12-28 Thread Stone, Sam
Am getting "ServletException while including page" (see EX. 1 below). How can I get more specific information? My insert looks as follows: EX. 1 - [12/28/06 15:41:25:313 EST] 56747b48 ContainerTagS E org.apache.tiles.taglib.ContainerTagSupport Error executing tag: ServletException while i

encoding question

2006-12-28 Thread Musachy Barroso
On the autocompleter example in showcase I'm using an action that uses freemarker to return an array in json. The thing is that the encoding is set to Cp1252, and IE doesn't like it, it is throwing an : Error: System error: -1072896658. If I use a jsp page to build the json array, it works fin

Re: No mapping found for dependency

2006-12-28 Thread Don Brown
Ted Husted wrote: On 12/19/06, Don Brown <[EMAIL PROTECTED]> wrote: Ok, the problem here is a misunderstanding how the configuration providers work. A configuration provider creates packageconfigs populated with the appropriate information. Once all configuration providers have provided their

Re: encoding question

2006-12-28 Thread Don Brown
I believe the global setting is struts.18n.encoding. I'm not sure what you can from a tag perspective, though. Don Musachy Barroso wrote: On the autocompleter example in showcase I'm using an action that uses freemarker to return an array in json. The thing is that the encoding is set to Cp1

Re: encoding question

2006-12-28 Thread Musachy Barroso
I think it is on FreeMakerResult: String encoding = template.getEncoding(); if (encoding != null) { contentType = contentType + "; charset=" + encoding; } so is it a global setting and all the result types should use that charset? musachy Don Brown wrote: