Can f:verbatim tags contain incomplete HTML elements?  That's not valid XML.  
 
But if they can't, what good are they for his problem? He's trying to put 
components inside a table.

________________________________

From: Grant Smith [mailto:[EMAIL PROTECTED]
Sent: Tue 08-Nov-05 10:14 AM
To: MyFaces Discussion; [EMAIL PROTECTED]
Subject: Re: HTML And JSF Component Mixing


You're enclosing your JSF components in the <f:verbatim> tags. Try to have 
multiple <f: verbatim> tags sothat this does not occur.


On 11/8/05, robinhoo <[EMAIL PROTECTED]> wrote: 


        I'm using jsf components inside html table and i want commandbutton to 
make action when it was clicked and this didn't happen
        her is my code
        
        <h:form>   
                  <f:verbatim>
                    <table width="100%" id="filterTable">
                      <tr class="contacts_header" >            
                        <td width="20%"><h:selectBooleanCheckbox 
id="nameCheckbox" />Name contains</td>
                        <td width="10%"><h:selectBooleanCheckbox 
id="statusCheckbox" />Status</td>
                        <td width="10%">Actions</td>
                      </tr>
                      <tr>
                        <td><h:inputText value="" /></td>
                        <td>
                           <h:selectOneMenu id="statusOption" tabindex="2" 
value="#{filterBean.status}">
                                  <f:selectItems 
value="#{filterBean.statuses}"/>
                           </h:selectOneMenu>
                        </td>
                        <td>
                            <h:commandButton title ="Apply Filter" 
styleClass="contrack_button"  value="Apply Filter" 
action="#{filterBean.showData}"/>  
                        </td>
                    </tr>
                    </table>
                <p/>     
                </f:verbatim>
        
        thanx in advance
        -- 
        Ali abd el aziz ali
        SoftWare Developer, OpenCraft 




-- 
Grant Smith

<<winmail.dat>>

Reply via email to