RE: form-tags
-Original Message- From: Chandra Sekharan Bhaskaran [mailto:[EMAIL PROTECTED]] Sent: Friday, June 28, 2002 2:07 AM To: [EMAIL PROTECTED] Subject: form-tags Hi, I have three questions q1) Can we have multiple struts form tags in a single jsp page. How do we achieve this ? yes. just add them q2) Can we have nested tags (form tags) within the struts form tag . How do we achieve this ? 'Can we have' or do you mean 'should we have'? No, if using struts html:form (nested). Yes, if using html:form and then your own form name=blah., but your html page won't work as expected. In fact, it won't even submit without the help of javascript. See html spec for details on nesting the form tag. q3) Can we have custom taglibraries within the struts form tag. How do we achieve this ? Yes. The same way its done in the struts-example.war that comes with the download. rgds C.Bhaskaran Hope that helps, and good luck!!! James Mitchell Software Engineer\Struts Evangelist Struts-Atlanta, the Open Minded Developer Network http://struts-atlanta.open-tools.org -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: form-tags
Title: Message 1. I think you can. There is no restriction on putting multiple forms as regards to W3C, so I dont think that there is restriction in struts. 2. No. AFAIK no. 3. Within Struts form tags? You can have any number of tag libraries, Struts or no Struts. I am not quite sure what you mean by putting these taglibraries within the struts form tag? Rgs Vikram -Original Message-From: Chandra Sekharan Bhaskaran [mailto:[EMAIL PROTECTED]]Sent: Friday, June 28, 2002 11:37 AMTo: [EMAIL PROTECTED]Subject: form-tags Hi, I have three questions q1) Can we have multiple struts form tags in a single jsp page. How do we achieve this ? q2) Can we have nested tags (form tags) within the struts form tag . How do we achieve this ? q3) Can we have custom taglibraries within the the struts form tag. How do we achieve this ? rgds C.Bhaskaran -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: form-tags
MessageI might be mistaken, but I think you can find out the answers in the struts documentation. - Original Message - From: Chandra Sekharan Bhaskaran To: [EMAIL PROTECTED] Sent: Friday, June 28, 2002 1:06 AM Subject: form-tags Hi, I have three questions q1) Can we have multiple struts form tags in a single jsp page. How do we achieve this ? q2) Can we have nested tags (form tags) within the struts form tag . How do we achieve this ? q3) Can we have custom taglibraries within the the struts form tag. How do we achieve this ? rgds C.Bhaskaran -- -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: form-tags
can you help me: how to used 'nested tags' on dynamic forms? do you have some example or link? please Tomas Uytkownik Vikram Goyal01 [EMAIL PROTECTED] napisa w wiadomoci news:[EMAIL PROTECTED]... 1. I think you can. There is no restriction on putting multiple forms as regards to W3C, so I dont think that there is restriction in struts. 2. No. AFAIK no. 3. Within Struts form tags? You can have any number of tag libraries, Struts or no Struts. I am not quite sure what you mean by putting these taglibraries within the struts form tag? Rgs Vikram -Original Message- From: Chandra Sekharan Bhaskaran [mailto:[EMAIL PROTECTED]] Sent: Friday, June 28, 2002 11:37 AM To: [EMAIL PROTECTED] Subject: form-tags Hi, I have three questions q1) Can we have multiple struts form tags in a single jsp page. How do we achieve this ? q2) Can we have nested tags (form tags) within the struts form tag . How do we achieve this ? q3) Can we have custom taglibraries within the the struts form tag. How do we achieve this ? rgds C.Bhaskaran --
RE: Form Tags URL ... Goof-up!!!
Yeah, Ted! What he said! :-) -Original Message- From: cool dude [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 13, 2002 10:20 AM I think struts does a major amount of goof-up when it comes to extra path info it really amazes me to see how the designers of struts could have ignored such an obvious utility. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Form Tags documentation
The form tags were deprecated after the 0.5 milestone, and superceded by the html tags. For more about hte html tags, see http://jakarta.apache.org/struts/api/org/apache/struts/taglib/html/package-summary.html#package_description and http://jakarta.apache.org/struts/struts-html.html These are the links on the main Struts page. Where did you find the other link? Akram Jerbi wrote: Does anybody know where to find documentation for Form Tags - which contain tags used to create struts input forms? The link in the jakarta.apache website does not work! http://jakarta.apache.org/struts/struts-form.html
Re: Form Tags documentation
Thank you for the reply. I got the original link from this website: http://developer.bluestone.com/scripts/SaISAPI.dll/StrutsTrailMap.class/struts-trailmap/Trail5.htm It is a tutorial by HP bluestone. It must be pretty old! The form tags were deprecated after the 0.5 milestone, and superceded by the html tags. For more about hte html tags, see http://jakarta.apache.org/struts/api/org/apache/struts/taglib/html/package-summary.html#package_description and http://jakarta.apache.org/struts/struts-html.html These are the links on the main Struts page. Where did you find the other link? Akram Jerbi wrote: Does anybody know where to find documentation for Form Tags - which contain tags used to create struts input forms? The link in the jakarta.apache website does not work! http://jakarta.apache.org/struts/struts-form.html __ Get Your FREE FlashMail Address now at http://www.flashmail.com It's Free, Easy, Fun !!!
RE: Form tags
Does anyone have any ideas about this? -Original Message- From: Brian Knorr [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 06, 2001 12:16 PM To: [EMAIL PROTECTED] Subject: struts -- Form tags Ted, Hi... I was wondering if you ever heard anything back from the struts user group on the "Form tags" issue you posted? I was wondering the exact same thing... especially for radio buttons. Thanks, Brian Knorr NextJet! the leader in same day delivery. -Original Message- From: Ted Bergeron [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 28, 2001 5:28 PM To: Struts-User Subject: Form tags I'm wondering about the logic behind the form tags. Here I have a simple form that is created by iterating over a collection. The iterator exposes the variable "item" which is a String for this simple case. The name attribute of bean:write treats "item" as a variable, while the value attribute of various form tags (radio, text, hidden) treats "item" as a literal. Thus, the "%= item %" workaround. This workaround leads to code that is not well formed xml, and becomes much uglier with a collection of complex objects. Am I using the framework incorrectly? Is this an oversight/bug? Is this a necessary behavior? Thanks for the help, Ted %java.util.ArrayList list = new java.util.ArrayList(); list.add("First"); list.add("Second"); list.add("Third"); list.add("Fourth"); list.add("Fifth"); pageContext.setAttribute("list", list, PageContext.PAGE_SCOPE); % html:form action="/test.do" table logic:iterate id="item" name="list" type="java.lang.String" tr tdhtml:radio property="username" value="item"//td tdhtml:radio property="username" value="%= item %"//td tdbean:write name="item"//td /tr /logic:iterate /table /html:form