Small improvement about _fp and _sourcePage
-------------------------------------------
Key: STS-511
URL: http://www.stripesframework.org/jira/browse/STS-511
Project: Stripes
Issue Type: Improvement
Components: Context Management
Affects Versions: Release 1.4.3
Reporter: Alexander V. Zinin
Hello,
Yesterday I noticed that project moved to new address. I thought that project
died(no bugfixes in jira at old address), but it not and this is good !
I have a small patch for stripes 1.4.3. We use it in our project. It about add
annotation FormHiddenFieldsConfig for ActionBean with two fields: boolean
writeFieldsPresent() default true and String sourcePage() default "".
Example of use:
@FormHiddenFieldsConfig(sourcePage = "/page/blog/add_change_entry.jsp",
writeFieldsPresent = false)
@UrlBinding(value = "/blog/entry/add")
public class AddBlogEntryActionBean implements ActionBean {
...
}
You can see patch in attachment.
Most pages in our project don't need fieldsPresent and sourcePage fields and we
add this annotation.
What do you think about it ?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://www.stripesframework.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development