Issue Details (XML | Word | Printable)

Key: WW-351
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Mathias Bogaert
Reporter: Jonas Eriksson
Votes: 0
Watchers: 0
Operations

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

Forwarding unknown tag attributes

Created: 20/Oct/03 04:32 PM   Updated: 23/Nov/04 08:59 AM
Component/s: Views
Affects Version/s: 2.0-beta2
Fix Version/s: 2.1.7


 Description  « Hide
It would be very nice if all unknown attributes to a #tag would go into the generated tag. "Unknown" here is all attributes where there is no meaning to the tag generator. For example:

#tag(Select "name='sel'" "onchange='do something in js'" ...)

would put the unknown attribute, onchange, in the generated tag:
<select name="sel" onchange="do somehting in js" ...)

Without this feature (and the #tag not implementing all standard html attributes) there will always be any case when the #tag cannot be used because of lack of attributes supported.

This should also make the #tag more easily implemented because many of the tags today is just forwarded to the resulting tag. Attributes with no assignment, like "disabled", should also be included.

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Patrick Lightbody added a comment - 24/Oct/03 02:05 AM
Moving this to post 2.0 since you can do this pretty easily by using the parameters now

Mathias Bogaert added a comment - 23/Nov/04 08:59 AM
This was already fixed by adding scripting parameters to all tags.