Re: ActionForm and Custom Tag

2005-01-18 Thread Peter Wu
Frank W. Zammetti fzlists at omnytex.com writes: I need to understand a little bit more what you have now... When you have your calendar 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.

Re: ActionForm and Custom Tag

2005-01-18 Thread fzlists
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've fought the why doesn't it work

Re: ActionForm and Custom Tag

2005-01-18 Thread Peter Wu
fzlists at 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

Re: ActionForm and Custom Tag

2005-01-18 Thread fzlists
On Tue, January 18, 2005 1:56 pm, Peter Wu said: With Struts, there is no separation of page prep and control events. In other words, if you want to submit to the server to update your calendar, you will be responsible for rendering the rest of the page, including any input the user might

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

Re: ActionForm and Custom Tag

2005-01-17 Thread Frank W. Zammetti
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), then I can see the need, but if by chance you

Re: ActionForm and Custom Tag

2005-01-17 Thread Peter Wu
Frank W. Zammetti fzlists at 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

Re: ActionForm and Custom Tag

2005-01-17 Thread Frank W. Zammetti
I need to understand a little bit more what you have now... When you have your calendar tag in the JSP, it of course renders HTML on the browser (or are you rendering a link to an ActiveX control or something?). Where you say: Those pure HTML controls work very well with this approach. But how