History | Log In     View a printable version of the current page. Get help!  
Issue Details [XML]

Key: BPM-273
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Wouter Zoons
Reporter: David Allen
Votes: (View)
Watchers: (View)
Operations

If you were logged in you would be able to see more operations.
Bpm4Struts Cartridge

HTML textarea element needs cols, not size

Created: 07/Feb/06 04:31 PM   Updated: 25/Feb/06 08:23 PM
Component/s: None
Affects Version/s: 3.1-RC1, 3.1, 3.2-RC1
Fix Version/s: 3.2-RC1

File Attachments: 1. Text File page.jsp.vm-patch.txt (1.0 kb)

Environment: All releases with v1.38 of the page.jsp.vm macro template.


 Description   
Currently the tagged value @andromda.presentation.web.view.field.size and its corresponding namespace property (default) only produces a "size" attribute for any HTML element. The textarea element must have "cols" and "rows" and does not support a "size" attribute (http://www.w3.org/TR/html401/interact/forms.html#h-17.7). The "rows" attribute is working fine with textarea right now, so only the "cols" attribute is missing to control the width of the widget when rendered by a browser.

 All   Comments   Change History      Sort Order:
Comment by David Allen [07/Feb/06 04:33 PM]
I have a patch for this, but the link to add the patch is missing from the JIRA pages.

Comment by David Allen [07/Feb/06 10:38 PM]
Patch for the BPM4Struts page.jsp.vm macros to use the field size as "cols" attribute when a textarea is to be rendered; otherwise, the "size" attribute is generated as before.

Comment by Wouter Zoons [25/Feb/06 08:23 PM]
thanks for the patch, sorry it took a while to apply, I hadn't noticed this issue