Re: XML Validation

2009-07-11 Thread Dave Newton
Muhammad Owais wrote: Dear All; I wnat to validate a String that is similare to "1,102,Y".I was trying to implement it, but it is not working. > > > field[0] > actionType1 >

Re: JSP Recursion and the Struts include Tag

2009-07-11 Thread Dale Newfield
Anthony Frasso wrote: ...recursion... .. I'd suggest looking into .tag files: http://onjava.com/pub/a/onjava/2004/05/12/jsp2part4.html -Dale - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional comm

Re: JSP Recursion and the Struts include Tag

2009-07-11 Thread Avlesh Singh
Yes, I am suggesting to write a custom taglib. Cheers Avlesh On Sun, Jul 12, 2009 at 8:55 AM, Anthony Frasso wrote: > Thank you for the quick response Avlesh! > > Again, I'm somewhat new to Struts, so I'm not sure I understand your > suggestion. Is there a taglib out there that handles this so

Re: JSP Recursion and the Struts include Tag

2009-07-11 Thread Anthony Frasso
Thank you for the quick response Avlesh! Again, I'm somewhat new to Struts, so I'm not sure I understand your suggestion. Is there a taglib out there that handles this sort of thing? Or are you suggesting writing a custom taglib? Regards, Anthony Frasso On Sat, Jul 11, 2009 at 23:22, Avlesh Si

Re: JSP Recursion and the Struts include Tag

2009-07-11 Thread Avlesh Singh
Never thought of using a taglib? Cheers Avlesh On Sun, Jul 12, 2009 at 8:49 AM, Anthony Frasso wrote: > Hello all, and thank you in advance. > > I'm relatively new to struts 2, as I started working with the > framework about 6 months ago on a part time basis. I'm struggling to > solve a proble

JSP Recursion and the Struts include Tag

2009-07-11 Thread Anthony Frasso
Hello all, and thank you in advance. I'm relatively new to struts 2, as I started working with the framework about 6 months ago on a part time basis. I'm struggling to solve a problem that I would think would be fairly common: displaying a tree within a JSP. Essentially, I have an object (let's

Re: "Nothing found to display" from display tag with struts 2

2009-07-11 Thread Wes Wannemacher
On Saturday 11 July 2009 14:02:15 Dimitrios Christodoulakis wrote: > Yes, thanks for pointing out. The tag is not required so I > removed it and it works. Kind of wondering how the display tag reaches > the valuestack though, or does it access the first property it finds > in the scope? > I can't

updating or deleting a component from a collection through display tag

2009-07-11 Thread Dimitrios Christodoulakis
Hello list, I have successfully used the display tag to iterate over a collection which is exposed in an action class. On each row in addition to the columns displaying the fields of each object in the collection, I embed two more struts-tag urls: Update and Remove. The objective is to have an ex

Re: "Nothing found to display" from display tag with struts 2

2009-07-11 Thread Dimitrios Christodoulakis
Yes, thanks for pointing out. The tag is not required so I removed it and it works. Kind of wondering how the display tag reaches the valuestack though, or does it access the first property it finds in the scope? Thanks On Sat, Jul 11, 2009 at 12:26 PM, dusty wrote: > > That sounds like a troubl

Re: "Nothing found to display" from display tag with struts 2

2009-07-11 Thread dusty
That sounds like a troubling one, based on what you describe it should work. Especially if the struts iterator works on the same JSP page. What version of Struts and DisplayTag are you using. There was a time when you had to use the tag and a time when you did not. Have you tried without t

"Nothing found to display" from display tag with struts 2

2009-07-11 Thread Dimitrios Christodoulakis
Hello list, I am exposing a collection called "entries" in my action class (Set entries;), with all the appropriate getters and setters. In the result jsp of this action I am using the display tag to output the content of the collection:

RE: assigning a JSP variable a value coming from

2009-07-11 Thread Farshad Rabbani
Hi Musachy, I appreciate the assistance, it worked. -Farshad > Date: Fri, 10 Jul 2009 13:08:00 -0700 > Subject: Re: assigning a JSP variable a value coming from > From: musa...@gmail.com > To: user@struts.apache.org > > do something like: > > > > then in your scrip

XML Validation

2009-07-11 Thread Muhammad Owais
Dear All; I wnat to validate a String that is similare to "1,102,Y".I was trying to implement it, but it is not working. field[0] actionType1