Problem with json and encoding

2007-09-21 Thread Nicolás Pace
Hi! I'm using json-taglib [0] to populate lists of users (user: username, id, name, surname, description) to an s:autocompleter tag. I put the code in [1] of json. I put the snipplet of jsp in [2]. the system i'm developing is for spanish speakers, so some times they use non ascii characters in

Re: Parameter Mapping with Set elements

2007-09-12 Thread Nicolás Pace
On 6/10/07, Dave Newton [EMAIL PROTECTED] wrote: --- Nicolás Pace [EMAIL PROTECTED] wrote: The point here is that Sets are not indexable, so i can't name elements by their unique id... Let me rephrase: I don't know how you'd be able to use a Set directly on a web page simply because it's

Re: Problem with parameter conversion

2007-08-28 Thread Nicolás Pace
On 7/20/07, Nicolás Pace [EMAIL PROTECTED] wrote: Hello list! I'm having the next problem: I'm using a s:datepicker type=time for picking time :P the problem is that when i submit the form, apache throws Jul 20, 2007 10:42:37 AM org.apache.tomcat.util.http.Parameters processParameters

MDA and Struts2

2007-08-25 Thread Nicolás Pace
Hello list! Is there anyone using some sort of mda tools with struts2? I couldn't find any one out there. Thanks! *Nico

Another Problem with autocomplete

2007-07-31 Thread Nicolás Pace
People: this is the scenary: I'm using s:autocomplete. I pick one option with a mouse click in the optionlist. The id is modified! then i focus the textbox and add charaters. The id should be nullified, but it doen't happen. Any ideas? Nickar

Problem with parameter conversion

2007-07-20 Thread Nicolás Pace
Hello list! I'm having the next problem: I'm using a s:datepicker type=time for picking time :P the problem is that when i submit the form, apache throws Jul 20, 2007 10:42:37 AM org.apache.tomcat.util.http.Parameters processParameters WARNING: Parameters: Invalid chunk ignored. What does it

Re: Preparable, Type conversion and parameter

2007-06-29 Thread Nicolás Pace
On 6/25/07, Mansour [EMAIL PROTECTED] wrote: Dave Newton wrote: --- Mansour [EMAIL PROTECTED] wrote: I am trying to extract an int in the prepare method. I am not able to cast it. This is an example of what I am trying to do: Map parameters =

Re: How to populate Collection element of FormBean on Submit

2007-06-15 Thread Nicolás Pace
On 6/15/07, Nagesh Kumar Suravarjula [EMAIL PROTECTED] wrote: Hi I have a Collection Element in my Form Bean whose elements are displayed in a table in JSP . Also, I have a hidden variable in my JSP whose values are coming from this Collection Element. I do have a reset method in my form

Re: S2: datetimepicker and multiple date formats

2007-06-12 Thread Nicolás Pace
correct locale information based in the host's information. You don't have to worry about it, unless you wan't to force it. The best thing to do is to hope that users will configure correctly their desktops so Struts can use that information correctly. I hope this could help you Bye nicolás Pace

Re: html:hidden

2007-06-10 Thread Nicolás Pace
On 6/10/07, john lee [EMAIL PROTECTED] wrote: How to assaign value to html:hidden field? html:hidden property=loginid value=%= request.getAttribute(loginid)% but give me the error message, saying need double quote, after i put double quote before %.., cause jsp compile error, Which error

Parameter Mapping with Set elements

2007-06-10 Thread Nicolás Pace
Hi!, I'm having a problem trying to map elements from a Set Collection in my Action to form components, and to generate form components dinamically and have them inserted in this set. Any suggestions? The main problem is that the only way to access collection elements with ognl is like accessing

Re: Parameter Mapping with Set elements

2007-06-10 Thread Nicolás Pace
The point here is that Sets are not indexable, so i can't name elements by their unique id... On 6/10/07, Dave Newton [EMAIL PROTECTED] wrote: --- Nicolás Pace [EMAIL PROTECTED] wrote: The main problem is that the only way to access collection elements with ognl is like accessing an array

Re: ModelDriven interface

2007-06-09 Thread Nicolás Pace
On 6/9/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I'm working with Struts 2.0.6 and I'm trying to use the ModelDriven Interface. However, I seem to be having some troubles. My actionClass implements ModelDriven, but the values on the page don't fill with the values of the object returned

autocompleter y multipart/form-data

2007-06-08 Thread Nicolás Pace
Hello When I setup my form with encoding=multiaprt/form-data, the autocompleter tag stops working. When i trace the problem, it seems that no parameters are sent. Any suggestion? Thanks Nickoar - To unsubscribe, e-mail:

Re: Elements in collection = null in Struts 2 view

2007-06-08 Thread Nicolás Pace
I will answer myself!!! The problem was that I was using a wrong ognl expression to access the iterator element. The correct expression would be #tel, not tel. Nicolás Pace On 6/7/07, Nicolás Pace [EMAIL PROTECTED] wrote: Hi everyone! Description: The problem is that when i debug this webapp

Elements in collection = null in Struts 2 view

2007-06-07 Thread Nicolás Pace
nulls inside it) :S The database also contains those elements. Thanks in advance Nicolás Pace Struts version: 2.0.6 Hibernate version: 3.1.3 or 3.2 Mapping documents: -Modelo.hbm.xml--- ?xml version=1.0? !DOCTYPE hibernate-mapping PUBLIC -//Hibernate/Hibernate Mapping DTD 3.0