You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2003/10/12 16:21:09 UTC

Bug report for Struts [2003/10/12]

+---------------------------------------------------------------------------+
| Bugzilla Bug ID                                                           |
|     +---------------------------------------------------------------------+
|     | Status: UNC=Unconfirmed NEW=New         ASS=Assigned                |
|     |         OPN=Reopened    VER=Verified    (Skipped Closed/Resolved)   |
|     |   +-----------------------------------------------------------------+
|     |   | Severity: BLK=Blocker     CRI=Critical    MAJ=Major             |
|     |   |           MIN=Minor       NOR=Normal      ENH=Enhancement       |
|     |   |   +-------------------------------------------------------------+
|     |   |   | Date Posted                                                 |
|     |   |   |          +--------------------------------------------------+
|     |   |   |          | Description                                      |
|     |   |   |          |                                                  |
|  866|New|Enh|2001-03-06|Clean Way to Add Parameters to Redirecting Forward|
| 3202|Opn|Enh|2001-08-21|OptionsTag.doEndTag -> calls method to populate se|
| 5395|Opn|Enh|2001-12-12|ActionContext class                               |
| 5566|New|Enh|2001-12-21|html:link bug                                     |
| 5739|Opn|Enh|2002-01-08|Struts fails silently in too many places          |
| 5937|New|Enh|2002-01-21|html:form trims all extensions                    |
| 6686|New|Enh|2002-02-26|make "action" attribute of html:form tag optional |
| 6847|Opn|Enh|2002-03-04|Multiple file upload not possible due to MultiPart|
| 7062|Opn|Enh|2002-03-12|nested:iterate and logic:iterate -- add odd/even a|
| 7892|Opn|Enh|2002-04-09|Using Multiple Resource Bundles for an Application|
| 7902|Opn|Enh|2002-04-10|The exception handling declaration in the DTD does|
| 9088|Opn|Enh|2002-05-15|FormTag.getActionMappingURL() assumes 1 servlet ma|
| 9616|New|Enh|2002-06-05|Some more Struts docs                             |
| 9748|New|Enh|2002-06-10|attribute labelKeyProperty for Options tag        |
| 9949|Opn|Enh|2002-06-18|Suggest, a 'multiple' attribute for the <logic:pre|
|10027|Opn|Enh|2002-06-19|Locked file struts.jar after Tomcat manager/stop a|
|10550|New|Enh|2002-07-08|Delegate path-management to ActionForwards        |
|10551|Opn|Enh|2002-07-08|Allow a struts-config element to extend another   |
|10552|New|Enh|2002-07-08|create helper objects in struts-config            |
|10867|Opn|Enh|2002-07-16|Add indexedProperty attribute in html taglibs     |
|11154|Opn|Enh|2002-07-25|html:link tag extension for multiple parameters   |
|11402|Opn|Enh|2002-08-02|Add enhanced support for multiple parameters to th|
|11733|Opn|Enh|2002-08-15|Make error keys more specific                     |
|12170|Opn|Enh|2002-08-29|Added functionality when extending another definit|
|12301|Opn|Enh|2002-09-04|nested:messages Tag does not work as expected     |
|12313|Opn|Enh|2002-09-04|Chaining of RequestProcessors--contribution       |
|12342|New|Enh|2002-09-05|Add default exception handler attribute to <global|
|12600|New|Enh|2002-09-12|html:form tag always prepends context path to acti|
|13125|Opn|Enh|2002-09-30|Lack of character-set while using  <html:html > ta|
|13521|New|Enh|2002-10-11|CombinedDispatchAction                            |
|13544|Opn|Enh|2002-10-11|[exception] support contextRelative paths         |
|13565|Opn|Enh|2002-10-12|To "errors", add prefix, suffix, header, footer at|
|13638|Opn|Enh|2002-10-15|add Config Factory                                |
|13809|Opn|Enh|2002-10-21|Struts configuration is not validated after use   |
|14068|Opn|Enh|2002-10-29|Why can't I use forwards with exception elements i|
|14071|Opn|Enh|2002-10-29|Need clear info on which Struts attributes produce|
|14183|New|Enh|2002-11-01|html:img does not support forward attribute       |
|14471|Opn|Nor|2002-11-12|validator-rules.xml JavaScript fails when field no|
|14749|Opn|Enh|2002-11-21|Action "input" not starting with '/' and not a val|
|15023|Opn|Enh|2002-12-03|Use attribute 'id' instead of 'name' in html:form-|
|15188|Opn|Enh|2002-12-09|roles attribute of tags and definitions only allow|
|15422|Opn|Enh|2002-12-17|Form Tag exportFormName  attribute                |
|15805|Opn|Enh|2003-01-05|Enhance ModuleException to allow getting chained E|
|15912|Opn|Enh|2003-01-09|Client-side validation fails if not all form-field|
|15921|Opn|Enh|2003-01-09|Allow relative actions in struts-config.xml       |
|16074|New|Enh|2003-01-14|html:form uses 'action' not 'input' to select mapp|
|16401|New|Enh|2003-01-24|ActionValidatorUtil                               |
|16603|Opn|Enh|2003-01-30|<controller> forwardPattern should support differe|
|16634|New|Enh|2003-01-31|reuiredif ignores missing property                |
|16708|New|Enh|2003-02-03|I18N on ActionForwards                            |
|16783|Opn|Nor|2003-02-04|stop and start ( restart) application             |
|16792|Ass|Enh|2003-02-05|Migrate to commons-resources for message resources|
|16804|New|Enh|2003-02-05|html:text tag has no filter attribute             |
|16810|Opn|Nor|2003-02-05|Javascript Date validation for datePattern not sup|
|16814|New|Enh|2003-02-05|Add a generalized utililty class to expose informa|
|16946|Opn|Nor|2003-02-10|SwitchAction not setting context properly for tile|
|16971|New|Enh|2003-02-11|"multiple" attribute on select tag should not rend|
|17368|Opn|Enh|2003-02-25|<html:select> multiple does not populate form bean|
|17449|New|Enh|2003-02-26|Allow relative URL in action attribute of <html:fo|
|17473|New|Enh|2003-02-27|Problem to include a jsp into an iterate tag      |
|17502|New|Enh|2003-02-27|tiles:insert in jsp called from DefinitionDispatch|
|17530|New|Enh|2003-02-28|RequestUtils.computeURL should use the session ass|
|17559|New|Enh|2003-03-01|key attribute for tiles (put & item)              |
|17600|New|Enh|2003-03-03|key property for html:optionsCollection to localis|
|17667|New|Enh|2003-03-05|Client-side validation with multi-form page       |
|17708|New|Enh|2003-03-06|Better i18n and alternate bundle support for html |
|18015|Opn|Enh|2003-03-14|New <html:label> custom tag to write forms' proper|
|18022|New|Enh|2003-03-14|HttpSessionBindingListener.valueUnbound() called o|
|18032|Opn|Enh|2003-03-16|<html:img> tag appending session doesn't work with|
|18107|New|Enh|2003-03-18|contextRelative enhancement to <html:img...> tag  |
|18111|New|Enh|2003-03-18|contextRelative enhancement to <html:rewrite...> t|
|18221|New|Enh|2003-03-21|Move custom taglibs into their own jar/distributio|
|18237|Opn|Nor|2003-03-21|Tiles excessive memory usage                      |
|18289|New|Enh|2003-03-24|Dynamic Message Resources                         |
|18293|New|Enh|2003-03-24|Loading language files does not use Resource Bundl|
|18370|New|Enh|2003-03-26|generate MANIFEST.MF with ant task                |
|18426|New|Enh|2003-03-27|Add Tiles Support to <html:link> tag.             |
|18788|New|Enh|2003-04-07|Multiple input hook for multipage forms in process|
|18798|New|Enh|2003-04-08|Configure ActionServlet DataSource logging        |
|18904|New|Enh|2003-04-10|Producing P3P header and in particular Compact Pol|
|18981|New|Enh|2003-04-13|File upload maximum size validator                |
|19161|New|Enh|2003-04-18|validateDate javascript validation doesn't handle |
|19256|New|Enh|2003-04-23|Enhancement for dynamic link creation             |
|19346|New|Enh|2003-04-26|Errors and Messages should be easier to manage    |
|19539|New|Enh|2003-05-02|Add checks for List and Map-backed properties in D|
|19543|Opn|Nor|2003-05-02|Problem with radio buttons and focusField.focus() |
|19625|New|Enh|2003-05-03|DynaActionForm with LazyList support and WrapDynaA|
|19631|New|Enh|2003-05-04|Enhancements to RequestUtils tests                |
|19780|Opn|Enh|2003-05-08|<nested:iterate> does not seem to support java.uti|
|19802|New|Enh|2003-05-09|Configurable processPopulate()                    |
|19812|New|Enh|2003-05-10|BaseFieldTag don't use ConvertUtils as String outp|
|19901|New|Enh|2003-05-13|Validator can't handle null page value in DynaVali|
|19903|New|Enh|2003-05-13|Field considered valid if no ActionError created  |
|19925|New|Enh|2003-05-14|Server side solution for DispatchAction and <input|
|19944|Opn|Enh|2003-05-15|[PATCH] Add target to SimpleMenu                  |
|19997|New|Enh|2003-05-16|<nested:hidden> TLD entry missing write and styleI|
|20186|New|Enh|2003-05-23|CharacterEncoding filter needed for il8n          |
|20389|New|Enh|2003-06-01|Need mechanism that lets more than one forms point|
|20417|New|Enh|2003-06-02|Attribute idName not declared for NestedRadioTag  |
|20459|New|Enh|2003-06-03|html:form focus and focusIndex problem            |
|20535|New|Enh|2003-06-06|Dynamically size arrays to allow array types in re|
|20557|New|Enh|2003-06-06|Improved CreditCard validation and minor refactori|
|20586|New|Enh|2003-06-08|[PATCH] Add neteye ActionCache to extensions      |
|20614|New|Enh|2003-06-09|New Book on Struts [German]                       |
|20761|New|Enh|2003-06-13|Define collection types as DynaForm properties    |
|20762|New|Enh|2003-06-13|Define a DynaForm as another DynaForm's property  |
|20784|New|Enh|2003-06-15|Enhanced Error Handling & Style Control           |
|20854|New|Nor|2003-06-18|Error with nesting tags in separate pages         |
|20883|Opn|Enh|2003-06-18|validateDoubleRange is needed                     |
|20993|New|Enh|2003-06-22|More Useful logging in RequestProcessor           |
|20996|New|Enh|2003-06-22|ActionForm beans plus Multiple modules can cause c|
|21033|New|Enh|2003-06-24|Add validateLongRange and validateDoubleRange to v|
|21226|New|Enh|2003-07-01|Misleading error message in LookupDispatchAction  |
|21235|New|Enh|2003-07-01|<html:radio>: Make value optional when idName is p|
|21239|New|Maj|2003-07-01|nested:iterate not setting current object         |
|21244|New|Enh|2003-07-01|FormFile implementations should be serializable   |
|21254|New|Nor|2003-07-01|nested:messagePresent tag does not append parent n|
|21263|New|Min|2003-07-02|browser frozen on file upload when displaying erro|
|21282|Opn|Enh|2003-07-02|double validator should use locales               |
|21408|Opn|Enh|2003-07-08|html:errors in redirect mode                      |
|21465|New|Enh|2003-07-10|Enhancement of the html:link tag                  |
|21508|New|Enh|2003-07-11|<item> element too restrictive                    |
|21512|New|Enh|2003-07-11|exception tag's path attribute accepts only web re|
|21514|New|Enh|2003-07-11|html:form focus function could be more powerfull  |
|21517|New|Nor|2003-07-11|tile definition's put tag works in non-standard wa|
|21575|New|Enh|2003-07-14|RequestProcessor : Populating non-String Bean fiel|
|21603|Opn|Enh|2003-07-15|Automatic readonly/disabled settings in struts-htm|
|21613|New|Nor|2003-07-15|nested:error tag stopped displaying error messages|
|21614|New|Enh|2003-07-15|RequestUtils.getActionMappingName(String) should r|
|21624|Opn|Enh|2003-07-15|Extend TokenProcessor to handle a list of transact|
|21760|New|Enh|2003-07-21|Add support for non-default resource bundles in va|
|21792|New|Enh|2003-07-22|struts-scaffold                                   |
|21820|New|Enh|2003-07-23|Change of scope for tiles                         |
|21890|New|Nor|2003-07-25|MessageResources quoting single quotes            |
|21896|New|Maj|2003-07-25|DefinitionDispatcherAction  does not recegnize anc|
|21906|New|Nor|2003-07-26|IncludeTagTest fails under TC 4.1, TestErrorsTag1 |
|21922|New|Nor|2003-07-28|TilesRequestProcessor not redirecting ForwardConfi|
|21954|New|Maj|2003-07-29|struts gets NullPointerException upon posting a mu|
|21972|New|Enh|2003-07-29|<tiles:insert> should pass flush attribute to JspW|
|21986|New|Enh|2003-07-30|add accept-charset attribute to html:form         |
|21992|New|Nor|2003-07-30|Localized number formatting inconsistency         |
|22004|New|Enh|2003-07-30|MalformedURLException: You must specify exactly on|
|22145|New|Enh|2003-08-05|page attribute in the Validation Config file      |
|22164|Opn|Enh|2003-08-06|RequestProcessor is missing extension method proce|
|22207|New|Maj|2003-08-07|serialization and deserialization                 |
|22252|New|Min|2003-08-08|Locale ignored on MessageResources.getMessage(Stri|
|22267|New|Enh|2003-08-09|Allow anonymous/default ActionForwards            |
|22284|New|Enh|2003-08-10|Add title to <html:form>                          |
|22371|New|Nor|2003-08-13|DynaActionForm is unable to return nulls          |
|22431|New|Enh|2003-08-14|Add time validation                               |
|22462|New|Enh|2003-08-15|JavaScript generation with two forms on a page    |
|22497|New|Enh|2003-08-18|Add write() method or change method accessibility |
|22594|New|Enh|2003-08-20|change html:submit                                |
|22599|New|Nor|2003-08-20|Validator is not using locale-specific formset    |
|22600|Opn|Enh|2003-08-20|Defining inheritance for dynamic action forms in s|
|22633|New|Enh|2003-08-21|Document how to use web.xml "maxFileSize" and how |
|22649|New|Enh|2003-08-22|putting the SSL session ID into the jsession to av|
|22671|New|Nor|2003-08-22|DiskMultipartRequestHandler removes CRLF of first |
|22687|New|Enh|2003-08-25|Indexed Property Validation - javascript & non-jav|
|22700|New|Enh|2003-08-25|Add check for nonexistent form field in focus java|
|22703|New|Nor|2003-08-25|date field pattern in struts form: inconsistency  |
|22743|New|Enh|2003-08-27|A JSTL EL Validator rule would make a lot of sense|
|22779|New|Nor|2003-08-28|Tiles example contains invalid link.              |
|22830|New|Enh|2003-08-30|TilesUtilImpl.doInclude() that tkes a pageContext |
|22846|New|Enh|2003-08-31|get rid of extra attributes of plugin-config      |
|22864|New|Enh|2003-09-01|LookupDispatchAction and DispatchAction getMethodN|
|22878|New|Nor|2003-09-02|LookupDispatchAction throws NullPointerException d|
|22912|New|Enh|2003-09-03|ActionMessages.getSortedProperties() needed       |
|22929|New|Min|2003-09-04|DynaActionForm properties get initialized twice.  |
|22935|New|Enh|2003-09-04|"Cannot find bean * in scope null"  ==> increase e|
|22991|New|Enh|2003-09-08|Add format and formatKey attributes to html tags  |
|23020|Opn|Nor|2003-09-09|simple page action mappings within modules to jsp'|
|23034|New|Min|2003-09-09|maxlength not reading from resource bundle by defa|
|23104|New|Enh|2003-09-11|ConditionalForwardAction                          |
|23127|New|Nor|2003-09-12|Page attribute of img and image tags doesn't use p|
|23139|Opn|Nor|2003-09-12|actionmapping set-property problem in 1.1 upgrade |
|23142|New|Enh|2003-09-12|pre-page method in Action                         |
|23152|New|Enh|2003-09-13|Remove support for deprecated Template-Library fro|
|23161|New|Enh|2003-09-14|[PATCH] Clean up for Userguide->Configuration     |
|23255|New|Nor|2003-09-18|FormFile#getFileName() problem in multibyte charac|
|23292|New|Enh|2003-09-20|In struts-validator example, formset lacks some fo|
|23337|New|Nor|2003-09-22|'integer' rule doesn't work properly with indexed |
|23348|New|Enh|2003-09-23|Use of example action parameter in LookupDispatchA|
|23351|New|Enh|2003-09-23|Nice to have: current index in validwhen rule     |
|23370|New|Blk|2003-09-23|Unable to validate indexed properties             |
|23391|New|Enh|2003-09-24|scaffold RelayAction: allow defined relay paramete|
|23456|New|Enh|2003-09-27|Add "action" attribute to tiles definitions       |
|23457|New|Enh|2003-09-27|Add "action" attribute to <forward>               |
|23465|New|Nor|2003-09-28|"indexed" form data cannot be parsed by a struts D|
|23467|New|Maj|2003-09-28|Indexed check-box HTML tags fail because attempts |
|23522|New|Nor|2003-09-30|Erroneous trim in doAfterBody of MultiboxTag      |
|23523|New|Nor|2003-09-30|Improper use of release() method in <logic:message|
|23583|New|Enh|2003-10-03|Support for an ActionForm factory                 |
|23605|New|Nor|2003-10-03|sub-applications and prefix servlet-mapping do not|
+-----+---+---+----------+--------------------------------------------------+
| Total  194 bugs                                                           |
+---------------------------------------------------------------------------+

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org


RE: Params to redirects

Posted by Hubert Rabago <ja...@yahoo.com>.
Before I do a redirect which requires parameters, 
I have a java class which I instantiate to provide
parameters.

RedirectParameters rp = new RedirectParameters();
rp.add("param1",myParam1String);
rp.add("param2",myIntParam);
rp.add("sameParamName",diffValue1);
rp.add("sameParamName",diffValue2);
rp.add("sameParamName",diffValue3);

I recently added support for adding an ActionError
and/or ActionMessage object.

The params are saved as a request attribute.  
In the RequestProcessor, 
I check if the ActionForward is for a redirect.
If it is and if this attribute is present,
I append the params to the redirect URL.

Wish I'd thought of adding it to ActionForward.
That would make the approach feel a lot cleaner.
On the other hand, that would have a bigger 
footprint either on the engine or on the 
Action returning the ActionForward for
thread safety, etc.  Not to mention saying goodbye to
the [ return mapping.findForward("myMapping"); ]
lines. =)

--- Andrew Hill <an...@gridnode.com>
wrote:
> Dunno what the committers and devs have to say about
> it, but I know Id find
> it highly useful. :-)
> Seem to spend half my life messing round with query
> parameters in urls to
> pass to ActionForward constructors inside an action!
> 
> So whats your code do?
> Add getters and setters to ActionForward class? Or
> allow one to specify a
> bean in the forward mapping in struts config to get
> params from which the
> requestprocessor will retrieve at run time once it
> gets the forward returned
> from the action?
> 
> Or both?
> 
> -----Original Message-----
> From: Hubert Rabago [mailto:jakartauser@yahoo.com]
> Sent: Monday, 13 October 2003 22:17
> To: Struts Developers List
> Subject: Params to redirects
> 
> 
> > |  866|New|Enh|2001-03-06|Clean Way to Add
> > Parameters to Redirecting Forward|
> 
> I recently joined the struts-dev list with the
> intention of submitting code to support parameters
> for
> redirects.
> I have been using redirect with parameters for all
> my
> struts projects the past couple of years and
> wanted to submit it for consideration for the next
> release.
> It always had just enough features for whatever
> project I was working on at the time so I'm still
> trying to find the time to polish it to support
> features that may already be expected.  In the
> meantime, I wanted to ask if there was a philosophy
> that kept Struts from allowing redirect with
> parameters or a limitation that kept it from being
> acceptable.  I tried searching the mailing
> list archives and have found little or no discussion
> about it.
> 
> 
> 
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Shopping - with improved product
> search
> http://shopping.yahoo.com
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> struts-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> struts-dev-help@jakarta.apache.org
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> struts-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> struts-dev-help@jakarta.apache.org
> 


__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org


RE: Params to redirects

Posted by Andrew Hill <an...@gridnode.com>.
Dunno what the committers and devs have to say about it, but I know Id find
it highly useful. :-)
Seem to spend half my life messing round with query parameters in urls to
pass to ActionForward constructors inside an action!

So whats your code do?
Add getters and setters to ActionForward class? Or allow one to specify a
bean in the forward mapping in struts config to get params from which the
requestprocessor will retrieve at run time once it gets the forward returned
from the action?

Or both?

-----Original Message-----
From: Hubert Rabago [mailto:jakartauser@yahoo.com]
Sent: Monday, 13 October 2003 22:17
To: Struts Developers List
Subject: Params to redirects


> |  866|New|Enh|2001-03-06|Clean Way to Add
> Parameters to Redirecting Forward|

I recently joined the struts-dev list with the
intention of submitting code to support parameters for
redirects.
I have been using redirect with parameters for all my
struts projects the past couple of years and
wanted to submit it for consideration for the next
release.
It always had just enough features for whatever
project I was working on at the time so I'm still
trying to find the time to polish it to support
features that may already be expected.  In the
meantime, I wanted to ask if there was a philosophy
that kept Struts from allowing redirect with
parameters or a limitation that kept it from being
acceptable.  I tried searching the mailing
list archives and have found little or no discussion
about it.



__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org


Params to redirects

Posted by Hubert Rabago <ja...@yahoo.com>.
> |  866|New|Enh|2001-03-06|Clean Way to Add
> Parameters to Redirecting Forward|

I recently joined the struts-dev list with the
intention of submitting code to support parameters for
redirects.  
I have been using redirect with parameters for all my
struts projects the past couple of years and
wanted to submit it for consideration for the next
release. 
It always had just enough features for whatever
project I was working on at the time so I'm still
trying to find the time to polish it to support
features that may already be expected.  In the 
meantime, I wanted to ask if there was a philosophy
that kept Struts from allowing redirect with
parameters or a limitation that kept it from being
acceptable.  I tried searching the mailing
list archives and have found little or no discussion
about it.



__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org