Actions
Feature #1553
closedSimpler method needed to reference JavaScript object properties by name
Start date:
2012-06-12
Due date:
% Done:
100%
Estimated time:
Platforms:
Description
Currently, the ixsl:get
function only accepts the direct name of the property belonging to the object argument of the function. It would make code more concise if it were possible to use 'dot notation' to access nested properties of the object, e.g. 'location.search' - as shown below:
Current method:
<xsl:variable name="urlparams" select="
ixsl:get(
ixsl:get(ixsl:window(),'location'),
'search')"
/>
Proposed method:
<xsl:variable name="urlparams"
select="ixsl:get(ixsl:window(),'location.search'))"
/>
Updated by Philip Fearon over 12 years ago
- Status changed from New to Resolved
- Assignee set to Philip Fearon
- Sprint/Milestone set to Release 1.0
This is now implemented. 'Dot' separated property name arguments can be used both for the ixsl:get
function and the new ixsl:set-property
instruction.
Updated by O'Neil Delpratt over 11 years ago
- Status changed from Resolved to Closed
Please register to edit this issue
Actions