Re: Indexed Properties

2005-02-02 Thread Peter Wu
Peter Wu gmail.com> writes: > > 0-19 > 20-49 > 50- > This one works fine now. > > hour[i][j] does not work. How to make a 2-dimensional array work with Struts? Th

Indexed Properties

2005-02-02 Thread Peter Wu
Hi group, I'm using Struts 1.2.4 w/ Tomcat 5.5.4. I'm designing a page that contains a grid of cells, like an Excel sheet. In the grid, there are a couple of cells, which could textboxes. In the JSP, I put the following tags. 0-19 20-49 50-

Re: ActionForm and Custom Tag

2005-01-18 Thread Peter Wu
omnytex.com> writes: > Sure, I understand completely now. You aren't doing anything unusual at > all :) > > I think because you came from an ASP.Net background, you have some > expectations that don't apply with Struts (I too came from an MS background, > although before .Net appeared, so > I

Re: ActionForm and Custom Tag

2005-01-18 Thread Peter Wu
Frank W. Zammetti omnytex.com> writes: > I need to understand a little bit more what you have now... When you > have your tag in the JSP, it of course renders HTML on the > browser (or are you rendering a link to an ActiveX control or something?). It is not an ActiveX control. If it were an A

Re: ActionForm and Custom Tag

2005-01-17 Thread Peter Wu
Frank W. Zammetti omnytex.com> writes: > What you describe is more or less typical... Some points on it: > > (1) I don't know what your control looks like or how it is structured, > but I'd ask if you really need the hidden inputs? If it's a fully > graphical calendar (as mine typically are),

ActionForm and Custom Tag

2005-01-17 Thread Peter Wu
Hi, I'm new to Struts and have been working on ASP.NET for a while. I'm in the middle of creating my first tag, a Calendar tag, which provides a UI for end users to pick up a date. This control works well in a JSP page. I want the year, month and day selected by an end user to be posted back to