How to handle input from iterated output

2010-02-01 Thread Craig Ricciuto
Hi, just a quick question. I have a class that has 4 fields. 2 Strings, 1 int, 1 boolean. I shall refer to this class as MyClass In my Action class I have a List (call it MyList) that is a list of MyClass. It can be populated with as little as 1 item or as many as say 256 items (could be more but

Re: How to handle input from iterated output

2010-02-01 Thread Craig Ricciuto
Thank you very much. This seems to be exactly what I need. On Mon, Feb 1, 2010 at 11:38 AM, Stephen Turner wrote: > On Mon, 01 Feb 2010 10:55:55 -0500, Craig Ricciuto < > cricci...@symboticware.com> wrote: > > Hi, just a quick question. >> I have a class that has 4 fie

How to keep quotation marks

2010-04-05 Thread Craig Ricciuto
Hi there. I've run into situation that I'm not quite sure how to resolve. In one of my action classes I create a string from data from my database. This string though is actually supposed to be some Javascript that I use in the resulting JSP but the quotation marks when being output by Struts2 cha

Re: How to keep quotation marks

2010-04-05 Thread Craig Ricciuto
guez Lopez < alo...@flordeutopia.pt> wrote: > Try escape or escapeJavaScript atributes of tag, never used > them but maybe are helpful for your situation > > http://struts.apache.org/2.x/docs/property.html > > Em 05-04-2010 15:06, Craig Ricciuto escreveu: > > Hi the

Re: Jquery autocomplete with struts2.

2010-04-22 Thread Craig Ricciuto
Could you not do exactly what he is doing but instead of calling the .php file you call your action. As for the action itself, you would make it like any other action and just store what you want to show the user into a variable with the proper getter/setter function so in the jsp you can go: <%@