if is it a bug,how can i do?

Hi guys,

i've a strange question.

I'm using jsf 1.1.0.1 ,servlet 2.3,tomcat 5.5.

I've used in my jsf application lots of databatables with commandlinks nested in each row and until yesterday everythings go well.

Now i've added a new datatable with a commandlink for each row but when i click on it never happens....commandlink never call action method in my bean!!!!

Why?

I've read about a bug,but how can i do?

Please help me ,this is my simple datatable

<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>

<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>

<h:form>

<h:dataTable

value="#{biosamplesTable.biosamplesList}"

var="biosampleItem" binding="#{biosamplesTable.biosampleDataTable}"

styleClass="tableList" headerClass="tableListHeader"

rowClasses="tableListCustid,tableListName">

<h:column>

<f:facet name="header">

<h:outputText value="#{msg.IdBiosample}" />

</f:facet>

<h:inputText value="Campione#{biosampleItem.id}" />

</h:column>

<h:column >

<f:facet name="header">

<h:outputText value="#{msg.Organism}" />

</f:facet>

<h:inputText value="#{biosampleItem.organism}" />

</h:column>

<h:column>

<f:facet name="header">

<h:outputText value="#{msg.Treatment}" />

</f:facet>

<h:inputText value="#{biosampleItem.treatmentProtocol}" styleClass="inputText"/>

</h:column>

<h:column >

<f:facet name="header">

<h:outputText value="#{msg.Extraction}" />

</f:facet>

<h:inputText value="#{biosampleItem.extractionMethod}" styleClass="inputText"/>

</h:column>

<h:column >

<f:facet name="header">

<h:outputText value="#{msg.Label}"/>

</f:facet>

<h:inputText value="#{biosampleItem.label}" styleClass="inputText" />

</h:column>

<h:column>

<f:facet name="header">

<h:outputText value="#{msg.Hybridation}" /></f:facet>

<h:inputText value="#{biosampleItem.hybridation}" styleClass="inputText"/>

</h:column>

<h:column>

<f:facet name="header">

<h:outputText value="#{msg.Amplification}" /></f:facet>

<h:inputText value="#{biosampleItem.amplification}" styleClass="inputText"/>

</h:column>

<h:column>

<f:facet name="header">

<h:outputText value="Fattore" /></f:facet>

<h:inputText value="#{biosampleItem.factor}" styleClass="inputText"/>

</h:column>

<h:column>

<f:facet name="header">

<h:outputText value="Valore" /></f:facet>

<h:inputText value="#{biosampleItem.value}" styleClass="inputText"/>

</h:column>

<h:column>

<f:facet name="header">

<h:outputText value="Dettagli Esperimento" />

</f:facet>

<h:commandLink value="Dettagli" action="#{biosamplesTable.viewExpFromId}"/>

</h:column>

</h:dataTable>

</h:form>

and this is my action method in BiosamplesTable.java

public String viewExpFromId(){

System.out.println("inizio prova0");

setBiosampleItem((Biosample) getBiosampleDataTable().getRowData());

System.out.println("inizio prova1");

System.out.println("inizio prova");

String query=null;

System.out.println("inizio prova2");

query="select * from experimento where id_"+biosampleItem.getId_exp();

System.out.println("inizio prova3");

return"ok";

}

the method is never called...

please help me!!!

[5472 byte] By [giubata] at [2007-10-3 7:55:16]
# 1
Hi!can u post the whole backing bean?thanksDemetrio Filocamo
Demetrioa at 2007-7-15 2:57:47 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
thanks demetrio...i've solved my question!!!!!!!!!How?After some changes(i use Exadel Studio),i've deleted my file,created a file with the same name,rewrite code and it works!!!!!!!!!!!!!!.......no words....thanks for your reply
giubata at 2007-7-15 2:57:47 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...