Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: EE-3.2.0.GA
-
Fix Version/s: EE-3.3.0.GA_P02
-
Component/s: Core Extensions
-
Labels:None
-
Environment:EE
Description
The HtmlTagDecorator, available in the icefaces-ee-ext.jar, does not pass through the id attribute of tags. The following xhtml:
<div id="sbt" style="color:red" class="test" onclick="alert('hello');"><center>
<ice:commandLink id="sortByTitle_click"
immediate="true"
action="#{AuctionBean.sortByTitle}">
<ice:outputText value="Item Name"
title="Sort by the Item Name"/>
</ice:commandLink>
</center></div>
generates the following HTML:
<div class="test" onclick="alert('hello');" style="color:red">
<center>
<a class="iceCmdLnk" href="javascript:;" id="iceForm:iceTable:sortByTitle_click" onblur="setFocus('');" onclick="var form=formOf(this);form['iceForm:j_idcl'].value='iceForm:iceTable:sortByTitle_click';iceSubmit(form,this,event);form['iceForm:j_idcl'].value='';return false;" onfocus="setFocus(this.id);"><span class="iceOutTxt" id="iceForm:iceTable:j_idt21" title="Sort by the Item Name">Item Name</span></a>
</center>
</div>
<div id="sbt" style="color:red" class="test" onclick="alert('hello');"><center>
<ice:commandLink id="sortByTitle_click"
immediate="true"
action="#{AuctionBean.sortByTitle}">
<ice:outputText value="Item Name"
title="Sort by the Item Name"/>
</ice:commandLink>
</center></div>
generates the following HTML:
<div class="test" onclick="alert('hello');" style="color:red">
<center>
<a class="iceCmdLnk" href="javascript:;" id="iceForm:iceTable:sortByTitle_click" onblur="setFocus('');" onclick="var form=formOf(this);form['iceForm:j_idcl'].value='iceForm:iceTable:sortByTitle_click';iceSubmit(form,this,event);form['iceForm:j_idcl'].value='';return false;" onfocus="setFocus(this.id);"><span class="iceOutTxt" id="iceForm:iceTable:j_idt21" title="Sort by the Item Name">Item Name</span></a>
</center>
</div>
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Philip Breau
created issue -
Philip Breau
made changes -
Field | Original Value | New Value |
---|---|---|
Description |
The HtmlTagDecorator, available in the icefaces-ee-ext.jar, does not pass through the id attribute of tags. The following xhtml:
[code] <div id="sbt" style="color:red" class="test" onclick="alert('hello');"><center> <ice:commandLink id="sortByTitle_click" immediate="true" action="#{AuctionBean.sortByTitle}"> <ice:outputText value="Item Name" title="Sort by the Item Name"/> </ice:commandLink> </center></div> [code] generates the following HTML: [code] <div class="test" onclick="alert('hello');" style="color:red"> <center> <a class="iceCmdLnk" href="javascript:;" id="iceForm:iceTable:sortByTitle_click" onblur="setFocus('');" onclick="var form=formOf(this);form['iceForm:j_idcl'].value='iceForm:iceTable:sortByTitle_click';iceSubmit(form,this,event);form['iceForm:j_idcl'].value='';return false;" onfocus="setFocus(this.id);"><span class="iceOutTxt" id="iceForm:iceTable:j_idt21" title="Sort by the Item Name">Item Name</span></a> </center> </div> [code] |
The HtmlTagDecorator, available in the icefaces-ee-ext.jar, does not pass through the id attribute of tags. The following xhtml:
{code} <div id="sbt" style="color:red" class="test" onclick="alert('hello');"><center> <ice:commandLink id="sortByTitle_click" immediate="true" action="#{AuctionBean.sortByTitle}"> <ice:outputText value="Item Name" title="Sort by the Item Name"/> </ice:commandLink> </center></div> {code} generates the following HTML: {code} <div class="test" onclick="alert('hello');" style="color:red"> <center> <a class="iceCmdLnk" href="javascript:;" id="iceForm:iceTable:sortByTitle_click" onblur="setFocus('');" onclick="var form=formOf(this);form['iceForm:j_idcl'].value='iceForm:iceTable:sortByTitle_click';iceSubmit(form,this,event);form['iceForm:j_idcl'].value='';return false;" onfocus="setFocus(this.id);"><span class="iceOutTxt" id="iceForm:iceTable:j_idt21" title="Sort by the Item Name">Item Name</span></a> </center> </div> {code} |
Philip Breau
made changes -
Description |
The HtmlTagDecorator, available in the icefaces-ee-ext.jar, does not pass through the id attribute of tags. The following xhtml:
{code} <div id="sbt" style="color:red" class="test" onclick="alert('hello');"><center> <ice:commandLink id="sortByTitle_click" immediate="true" action="#{AuctionBean.sortByTitle}"> <ice:outputText value="Item Name" title="Sort by the Item Name"/> </ice:commandLink> </center></div> {code} generates the following HTML: {code} <div class="test" onclick="alert('hello');" style="color:red"> <center> <a class="iceCmdLnk" href="javascript:;" id="iceForm:iceTable:sortByTitle_click" onblur="setFocus('');" onclick="var form=formOf(this);form['iceForm:j_idcl'].value='iceForm:iceTable:sortByTitle_click';iceSubmit(form,this,event);form['iceForm:j_idcl'].value='';return false;" onfocus="setFocus(this.id);"><span class="iceOutTxt" id="iceForm:iceTable:j_idt21" title="Sort by the Item Name">Item Name</span></a> </center> </div> {code} |
The HtmlTagDecorator, available in the icefaces-ee-ext.jar, does not pass through the id attribute of tags. The following xhtml:
{code:xml} <div id="sbt" style="color:red" class="test" onclick="alert('hello');"><center> <ice:commandLink id="sortByTitle_click" immediate="true" action="#{AuctionBean.sortByTitle}"> <ice:outputText value="Item Name" title="Sort by the Item Name"/> </ice:commandLink> </center></div> {code} generates the following HTML: {code:xml} <div class="test" onclick="alert('hello');" style="color:red"> <center> <a class="iceCmdLnk" href="javascript:;" id="iceForm:iceTable:sortByTitle_click" onblur="setFocus('');" onclick="var form=formOf(this);form['iceForm:j_idcl'].value='iceForm:iceTable:sortByTitle_click';iceSubmit(form,this,event);form['iceForm:j_idcl'].value='';return false;" onfocus="setFocus(this.id);"><span class="iceOutTxt" id="iceForm:iceTable:j_idt21" title="Sort by the Item Name">Item Name</span></a> </center> </div> {code} |
Philip Breau
made changes -
Description |
The HtmlTagDecorator, available in the icefaces-ee-ext.jar, does not pass through the id attribute of tags. The following xhtml:
{code:xml} <div id="sbt" style="color:red" class="test" onclick="alert('hello');"><center> <ice:commandLink id="sortByTitle_click" immediate="true" action="#{AuctionBean.sortByTitle}"> <ice:outputText value="Item Name" title="Sort by the Item Name"/> </ice:commandLink> </center></div> {code} generates the following HTML: {code:xml} <div class="test" onclick="alert('hello');" style="color:red"> <center> <a class="iceCmdLnk" href="javascript:;" id="iceForm:iceTable:sortByTitle_click" onblur="setFocus('');" onclick="var form=formOf(this);form['iceForm:j_idcl'].value='iceForm:iceTable:sortByTitle_click';iceSubmit(form,this,event);form['iceForm:j_idcl'].value='';return false;" onfocus="setFocus(this.id);"><span class="iceOutTxt" id="iceForm:iceTable:j_idt21" title="Sort by the Item Name">Item Name</span></a> </center> </div> {code} |
The HtmlTagDecorator, available in the icefaces-ee-ext.jar, does not pass through the id attribute of tags. The following xhtml:
<div id="sbt" style="color:red" class="test" onclick="alert('hello');"><center> <ice:commandLink id="sortByTitle_click" immediate="true" action="#{AuctionBean.sortByTitle}"> <ice:outputText value="Item Name" title="Sort by the Item Name"/> </ice:commandLink> </center></div> generates the following HTML: <div class="test" onclick="alert('hello');" style="color:red"> <center> <a class="iceCmdLnk" href="javascript:;" id="iceForm:iceTable:sortByTitle_click" onblur="setFocus('');" onclick="var form=formOf(this);form['iceForm:j_idcl'].value='iceForm:iceTable:sortByTitle_click';iceSubmit(form,this,event);form['iceForm:j_idcl'].value='';return false;" onfocus="setFocus(this.id);"><span class="iceOutTxt" id="iceForm:iceTable:j_idt21" title="Sort by the Item Name">Item Name</span></a> </center> </div> |
Philip Breau
made changes -
Assignee | Ken Fyten [ ken.fyten ] | Philip Breau [ philip.breau ] |
Philip Breau
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Fix Version/s | EE-3.3.0.GA_P02 [ 11372 ] | |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |