[
https://issues.apache.org/jira/browse/TAPESTRY-2343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12589191#action_12589191
]
Davor Hrg commented on TAPESTRY-2343:
-------------------------------------
this could help,
I haven tested it on multiple browsers... or any browsers...
quote:
cloneNode(deepBoolean)
Duplicates and returns a copy of the current node as a standalone node (not
part of document tree). Cloning a node copies both the original's attributes
and values, including the ID attribute, so be sure to alter the cloned ID
attribute's value so it's unique before introducing it to the document tree.
This method supports a single Boolean parameter, "deepBoolean" that when set to
true, clones all the sub nodes of the current node as well, such as any text
contained within.
> The FormInjector should copy its class attribute to the new element (on the
> client side)
> ----------------------------------------------------------------------------------------
>
> Key: TAPESTRY-2343
> URL: https://issues.apache.org/jira/browse/TAPESTRY-2343
> Project: Tapestry
> Issue Type: Bug
> Components: tapestry-core
> Affects Versions: 5.0.11
> Reporter: Howard M. Lewis Ship
> Assignee: Howard M. Lewis Ship
> Fix For: 5.0.12
>
>
> When the FormInjector duplicates its element, it should duplicate attributes
> as well. Particularly important is the CSS class attribute.
> Originally, this was supposed to copy all attributes except "id", but so far,
> haven't found a way to do that. Just copying the CSS class attribute is
> sufficient for my purposes.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]