
|
If you were logged in you would be able to see more operations.
|
|
|
WebWork
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
|
|
|
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.
|
|
Description
|
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. |
Show » |
|