You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Hudson (JIRA)" <de...@myfaces.apache.org> on 2016/04/13 09:24:25 UTC

[jira] [Commented] (TOBAGO-1543) Paradigm: The clientId shoud be rendered in the local root element in HTML

    [ https://issues.apache.org/jira/browse/TOBAGO-1543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15238748#comment-15238748 ] 

Hudson commented on TOBAGO-1543:
--------------------------------

SUCCESS: Integrated in Tobago 3.0.x #316 (See [https://builds.apache.org/job/Tobago%203.0.x/316/])
TOBAGO-1543 Paradigm: The clientId should be rendered in the local root element in HTML
* fix suggest, because of changed position of the "id" (lofwyr: [http://svn.apache.org/viewvc/?view=rev&rev=1738897])
* tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/InRenderer.java
* tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/java/org/apache/myfaces/tobago/renderkit/html/standard/standard/tag/SuggestRenderer.java
* tobago-3.0.x/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-suggest.js


> Paradigm: The clientId shoud be rendered in the local root element in HTML
> --------------------------------------------------------------------------
>
>                 Key: TOBAGO-1543
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-1543
>             Project: MyFaces Tobago
>          Issue Type: New Feature
>          Components: Themes
>            Reporter: Udo Schnurpfeil
>            Assignee: Udo Schnurpfeil
>
> This is required for AJAX updates.
> Example: <tc:in> may be rendered as
> {code}
> <div id="clientId">
>   <label>Label</lable>
>   <input type="text" name="clientId" />
> </div>
> {code}
> As you can see, the clientId will be rendered as *name* attribute for the <input> tag, because the POST request needs to be identify the request parameter name.
> The clientId should also be rendered as *id* attribute for the outer <div> tag, so that this piece of DOM can be replaces via AJAX.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)