Hi Chris,

Yes, I believe you can using tr:panelLabelAndMessage and simple="true" like
this:

<tr:panelFormLayout>
 <tr:inputText label="Status" value="#{bo.status}" id="status"/>
 <tr:panelLabelAndMessage label="List">
   <tr:panelGroupLayout layout="horizontal">
     <tr:inputText label="List" value="#{bo.list.name}" id="listName"
simple="true"/>
     <h:outputLink onclick="openPopup('maint/lookup.jsf'); return false;">
       <IMG alt='Lookup' src="gen/img/lookup.gif" border='0'/>
     </h:outputLink>
   </tr:panelGroupLayout>
 </tr:panelLabelAndMessage>
</tr:panelFormLayout>

Regards,
Matt

On 4/4/07, Chris Hane <[EMAIL PROTECTED]> wrote:


Is it possible to group an <tr:inputTex/> control and an image link
together in a <tr:panelFormLayout/>?

I want the following code to generate something like:

Status        input_box
List          input_box  output_link


<tr:panelFormLayout>
   <tr:inputText value="#{bo.id}" id="id" label="#"/>
   <tr:inputText label="Status" value="#{bo.status}" id="status"/>
   <tr:inputText label="List" value="#{bo.list.name}" id="listName"/>
   <h:outputLink onclick="openPopup('maint/lookup.jsf'); return false;">
     <IMG alt='Lookup' src="gen/img/lookup.gif" border='0'/>
   </h:outputLink>
</tr:panelFormLayout>

The code as written above will display the <h:outputLink/> on a seperate
row.  I can't figure out which tags to use to group the <tr:inputText/>
and the <h:outputLink/>.

Thanks,
Chris....








Reply via email to