incubator-adffaces-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Böhringer Jochen <>
Subject Trinidad: Add command links with image to a table column without wrapping the line
Date Wed, 08 Nov 2006 16:11:04 GMT


I have the following fragment in my Trinidad based project using facelets:

<tr:column noWrap="true" > 

      <tr:commandLink action="#{keyAccountProfileEditorController.showEditKeyAccount}"
shortDesc="Edit Key Account Profile">

            <tr:image source="../images/knwebstd/edit16.gif" inlineStyle="border:0px;"


      <tr:commandLink action="#{keyAccountProfileEditorController.deleteKeyAccount}" shortDesc="Delete
Key Account Profile">

            <tr:image source="../images/knwebstd/delete16.gif" inlineStyle="border:0px;"




What I want to get is a column in a Trinidad table showing action icons in a line (delete,
edit, ...).

But with the code above Trinidad renders this html fragment:


<td class="x6m xag" nowrap><!-- Start: org.apache.myfaces.trinidad.Command["_id29"]
--><a title="Edit Key Account Profile" onclick="submitForm('_id23',1,{source:'_id27:0:_id29'});return
false;" class="xi" href="#"><!-- Start: org.apache.myfaces.trinidad.Object["_id30"]
--><img style="border:0px;" src="../images/knwebstd/edit16.gif"></a><div></div><!--
Start: org.apache.myfaces.trinidad.Command["_id31"] --><a title="Delete Key Account
Profile" onclick="submitForm('_id23',1,{source:'_id27:0:_id31'});return false;" class="xi"
href="#"><!-- Start: org.apache.myfaces.trinidad.Object["_id32"] --><img style="border:0px;"


The relevant part is between the two links. Trinidad adds a <div></div> which
leads to a line wrap between my two images. Is this the right way to include actions in a
table, using a combination of commandLink and image tags? And is there a possibility to prevent
the line from being wrapped?


My environment: Trinidad built from head last night, Myfaces 1.1.5 nightly, Tomahawk 1.1.5
nightly, facelets 1.1.11



  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message