Thank yuo for you answer, but how to use managed-bean with :tableSuggestAjax? Is there anybody to show me a simple example?

Alex


Gerald Müllan ha scritto:
Hi,

i may missunderstand your problem, but to my mind it is not the task
of the component to take care of transfering the values of the fields
to the next jsp-page.

Are the values written correctly into the dom-fields, after choosing
them from the pop-up table? This is the real task of the component;
after typing in some characters, a pop-up should occur from where you
can choose a row and each column can be put into a specific dom-node.

cheers,

Gerald

On 1/11/07, Omnia <[EMAIL PROTECTED]> wrote:
Hi,
please help. I am a newbie and sorry for my English.
I have a jsp page and this is the most important part of code:

<h:form>
       <f:loadBundle basename="resources" var="msg" />

       <f:verbatim>${msg.SelezionaArea}</f:verbatim>
       <h:panelGrid columns="2">
           <h:outputText value="Cerca Area" />
<s:tableSuggestAjax var="area" tableStyleClass="ajaxTableWidth" startRequest="1" nextPageFieldClass="ajaxNextTablePageField"
               betweenKeyUp="300" columnOutClass="tableSuggestOut"
columnHoverClass="tableSuggestHover" maxSuggestedItems="20"
               popupStyle="position:absolute; z-index:100000;
overflow:auto; width:auto; height:500px;"

suggestedItemsMethod="#{areaGeograficaAjax.getDescrizioneAreaGeografica}">
               <t:column>
                   <f:facet name="header">
                       <s:outputText value="Cod." />
                   </f:facet>
                   <s:outputText for="codAreaField"
label="#{area.codentgeo}" />
               </t:column>
               <t:column>
                   <f:facet name="header">
                       <s:outputText value="Nominativo" />
                   </f:facet>
                   <s:outputText for="desAreaField"
label="#{area.desentgeo}" />
               </t:column>
           </s:tableSuggestAjax>
       </h:panelGrid>
       <h:panelGrid>
           <h:outputText value="Codice" />
           <t:inputText id="codAreaField" />
           <h:outputText value="Descrizione" />
           <t:inputText id="desAreaField"  />
       </h:panelGrid>


       <h:panelGrid>
           <h:commandButton id="esegui" value="Vai"
action="showAreaGeoMain"></h:commandButton>
       </h:panelGrid>
   </h:form>

Where can I give a name to parameter of form? After the click on
commandButton I would like to view in the target jsp the values of
fields choosen with tableSuggestAjax. Is it possible?



thanks





Reply via email to