2 Replies Latest reply on Sep 12, 2008 9:44 AM by soso_xuc

    html tag problem

    soso_xuc

      HI all

      i have a little problem with mixing regular html and rich library tags
      when using rich library components with regular html tags the components are rendered bu the action dose not work

      what i miss ? is this possible at all ?

      here comes a little example of sorce

      <rich:panel header="#{test_bean.testString}" id="pnlSearch">


      last_name


      <h:inputText value="" />

      <a4j:commandButton value="search" reRender="pnlSearch" action="#{test_bean.btnSeachClick}" ></a4j:commandButton>

      </rich:panel>

        • 1. Re: html tag problem
          soso_xuc

           

          <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
          <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
          <%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
          <%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
          <html>
           <head>
           <title></title>
           </head>
           <body >
           <f:view >
           <h:form>
           <rich:panel header="#{test_bean.testString}" id="pnlSearch">
           <table border="0">
           <tr>
           <td align="right">
           გვ�რი
           </td >
           <td>
           <h:inputText value="" />
           </td>
          
           </tr>
          
          <tr>
           <td align="right">
           ს�ხელი
           </td>
           <td>
           <h:inputText value="" />
           </td>
          
           </tr>
          
          <tr>
           <td align="right">
           დ�ბ�დებული
           </td>
           <td>
           <h:inputText value="" />
           </td>
          
           </tr>
          
          
          
          <tr>
           <td align="right">
           პირ�დი #
           </td>
           <td>
           <h:inputText value="" />
           </td>
          
           </tr>
          
           <tr>
           <td align="right">
           მ�რთვის მ�წმ�ბ�
           </td>
           <td>
           <h:inputText value="" />
          
          
          
          <input type="reset" value="გ�სუფთ�ვებ�"/>
           <a4j:commandButton value="�ვტ�ები"></a4j:commandButton>
          </td></tr></table>
           </rich:panel>
           <a4j:commandButton value="ძებნ�" reRender="pnlSearch" action="#{test_bean.btnSeachClick}" ></a4j:commandButton>
          </h:form>
           </f:view>
           </body>
          </html>


          • 2. Re: html tag problem
            soso_xuc

            sorry this was my problem
            the tag:
            <h:inputText value="" />
            was jaming all the actions
            i wrote:
            <h:inputText />
            and everything have run