Thanks Will and Oscar, Will, what you mentioned was actually what I had implemented before. I was hoping there was a better way but I do not see one immediately. I tried a quick tag and there is indeed no parent tag for the code fragment so you cannot see the parent form.
Oh well, thanks. -Alex -----Original Message----- From: Will Hartung [mailto:[email protected]] Sent: Tuesday, May 05, 2009 1:26 AM To: Stripes Users List Subject: Re: [Stripes-users] Stripes form in templates? On May 4, 2009, at 3:45 PM, Brown, Alex wrote: > Thanks for the responses. Why would I not use the stripes > templating functionality? I need to do this in a somewhat generic > way. I have hundreds of pages that need to submit to the same form > and each has generic info that is necessary for the form. I am > trying not to hack this new application out of the box. > > Is this simply a limitation of the framework? Perhaps I will dig > through the code to see what is going on. The stripes form tags need to be encased within a stripes:form tag (that sounds a bit weird, but...) One thing that was added in 1.5 is the "partial" parameter to the stripes:form tag. This is specifically for those occasions when you want to include a fragment of a form, but not actually render the HTML FORM tag itself. The primary motivation for this parameter was for forms that may be partially refreshed from AJAX. Perhaps this can be used for your use case. <stripes:form action="Your.action" partial="true"> <string:text ... /> </stripes:form> This will simply render the <input ... /> HTML tag, (as stripes normally does) in your JSP but not the actual HTML <form ... > tags. Regards, Will Hartung ------------------------------------------------------------------------ ------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Stripes-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stripes-users Barclays www.barclaycardus.com This e-mail and any files transmitted with it may contain confidential and/or proprietary information. It is intended solely for the use of the individual or entity who is the intended recipient. Unauthorized use of this information is prohibited. If you have received this in error, please contact the sender by replying to this message and delete this material from any system it may be on. ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Stripes-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stripes-users
