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

Reply via email to