Hello zzz,

Please try [EMAIL PROTECTED]

Dennsi Byrne

>-----Original Message-----
>From: zzz-ale [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, September 20, 2006 12:02 PM
>To: [email protected]
>Subject: tomahawk tabbedPane submit Problem
>
>
>Hi,
>I have a <t:panelTabbedPane> containing 4 <t:paneltab> which have their own
><h:commanButton> plus 3 common <h:commandbutton>. in particular I have a
><t:panelTab id="contatti_tab">  which contain a SelectManyListBox plus 3
>commandbutton. when I first load the jsf page I'm able to click any of these
>button  and get the action method fired  and the navigation rule executed. I
>can repeat that beahaviour as many times as I want until I click on the
>selectManyListBox and selet an Item. After that fact every commandbutton in
>every panel and even the common ones stop firing event at all. The same
>happen with inputtext and button in other panelTab. 
>
>Thinking that the problem could be something about submitting form I delete
>the <h:form> tag that lies before the tabbedpane (because I've read that
>tabbedPane internally create another form and that IE is unable to work
>properly with multiple frame) but I've got an error saying I have to
>substitute "h:tags" with "t:tags" because t:inputComponet should generate A
>dummyForm tag to handle submit/callback . But It still don't work..
>So I've tried to put a <h:form> inside every paneltab, and of coure IT
>did'ty works too..
>
>Thiking It could be a servlet error I change the FacesServlet  from
>javax.faces.webapp.FacesServlet to
>org.apache.myfaces.shared_tomahawk.util.servlet.SourceCodeServlet but I've
>got Stran Exception stack trace involving a String.subString() which
>returned -2... so I've changed back to javax.faces.webapp.FacesServlet
>
>So.. any Idea?
>Please help ME! I need it working very quickly!
>Thank you!
>
>I'm using MyFaces 1.1.4, tomahawk 1.1.3 on Apache Tomcat 5.5.16 programming
>with Eclipse 3.1 + Exadel Studio Feee 3.5.1 with java 1.5.0_6 JDK
>
>
>these are my jsp page and my web.xml. "curProposta" is a "manually saved in
>session" (by SessionMap.put()) bean referenced Bean while proposteControl is
>a SessionScope ManagedBean.
>
>**************************************************************************************
>modifica.jsp: (sorry for the auto formatting) 
>
><%@ taglib uri="http://java.sun.com/jsf/html"; prefix="h"%>
><%@ taglib uri="http://java.sun.com/jsf/core"; prefix="f"%>
><%@ taglib uri="http://myfaces.apache.org/tomahawk"; prefix="t"%>
>
>
><html>
><head>
><title>Crea/Modifica curProposta</title>
><link rel="stylesheet" type="text/css" href="../private.css" />
>
></head>
><body class="CommonBody">
><f:view>
>       <%/* Salvo la proposta corrente in modo da ritrovarla dopo ogni
>callback*/%>
>       <t:saveState id="saved_proposta" value="curProposta" />
>       <%/* TabbedPane per contenere i pannelli delle proposte */%>
>       <h:form id="dataform" styleClass="maskForm">
>               <t:panelTabbedPane id="proposte_tabPanel" 
> serverSideTabSwitch="true"
>                       selectedIndex="1">
>                       <t:panelTab id="attribuzione_tab" label="Attribuzione">
>                               <h:panelGrid id="Attribuzione_grid" columns="2">
>                                       <h:panelGrid id="sm_grid" columns="2">
>                                               <h:outputLabel id="sm_label" 
> value="S.M.:" for="sm_select" />
>                                               <h:outputText id="sm_value" 
> value="#{curProposta.sm_ref}"
>                                                       
> rendered="#{sessionScope.forDetail}" />
>                                               <h:selectOneMenu id="sm_select" 
> value="#{curProposta.sm_ref}"
>                                                       
> rendered="#{!sessionScope.forDetail}">
>                                                       <f:selectItems 
> value="#{proposteControl.smUserList}" />
>                                               </h:selectOneMenu>
>
>                                       </h:panelGrid>
>                                       <h:panelGrid id="rt_grid" columns="2">
>                                               <h:outputLabel id="rt_label" 
> value="R.T.:" for="rt_select" />
>                                               <h:outputText id="rt_value" 
> value="#{curProposta.rt_ref"
>                                                       
> rendered="#{sessionScope.forDetail}" />
>                                               <h:selectOneMenu id="rt_select" 
> value="#{curProposta.rt_ref}"
>                                                       
> rendered="#{!sessionScope.forDetail}">
>                                                       <f:selectItems 
> value="#{proposteControl.rtUserList}" />
>                                               </h:selectOneMenu>
>
>                                       </h:panelGrid>
>                                       <h:panelGroup>
>                                               <%/* Spazio vuoto per 
> l'impaginazione*/%>
>                                       </h:panelGroup>
>                                       <h:panelGrid id="ug_grid" columns="2">
>                                               <h:outputLabel id="ug_label" 
> value="U.G.:" for="rt_select" />
>                                               <h:outputText id="ug_value" 
> value="#{curProposta.ug_ref}"
>                                                       
> rendered="#{sessionScope.forDetail}" />
>                                               <h:selectOneMenu id="ug_select" 
> value="#{curProposta.ug_ref}"
>                                                       
> rendered="#{!sessionScope.forDetail}">
>                                                       <f:selectItems 
> value="#{proposteControl.ugUserList}" />
>                                               </h:selectOneMenu>
>
>                                       </h:panelGrid>
>                                       <h:panelGrid id="cliente_grid" 
> columns="2">
>                                               <h:outputLabel 
> id="cliente_label" value="Cliente :"
>                                                       
> for="select_Committente" />
>                                               <h:outputText 
> value="#{curProposta.cliente.ragioneSoc}"
>                                                       
> rendered="#{(sessionScope.forDetail || sessionScope.forModify) &&
>!sessionScope.forChild }" />
>                                               <h:selectOneMenu 
> value="#{curProposta.cliente}"
>                                                       id="select_Committente"
>                                                       
> rendered="#{!sessionScope.forDetail && !sessionScope.forChild &&
>!sessionScope.forModify}">
>                                                       <f:selectItems 
> value="#{proposteControl.clientiDisponibili}" />
>                                               </h:selectOneMenu>
>
>
>                                       </h:panelGrid>
>                                       <h:panelGrid id="settore_grid" 
> columns="2">
>                                               <h:outputText 
> id="settore_label" value="Settore :" />
>                                               <h:outputText id="settore_value"
>                                                       
> value="#{curProposta.settoreString}"
>                                                       
> rendered="#{sessionScope.forDetail}" />
>                                               <h:selectOneMenu 
> value="#{curProposta.settore}"
>                                                       id="select_Settore"
>                                                       
> rendered="#{!sessionScope.forDetail && !sessionScope.forChild &&
>!sessionScope.forModify}">
>                                                       <f:selectItems 
> value="#{proposteControl.settoriDisponibili}" />
>                                               </h:selectOneMenu>
>                                       </h:panelGrid>
>
>                               </h:panelGrid>
>                       </t:panelTab>
>
>                       <t:panelTab id="opportunita_tab" label="OpportunitĂ ">
>                               <h:panelGrid id="opportunita_grid" columns="1">
>                                       <h:panelGrid id="riga1" columns="3">
>                                               <h:panelGrid id="numero_grid" 
> columns="2">
>                                                       <h:outputText 
> id="numero_label" value="N° Opportunità: " />
>                                                       <h:outputText 
> id="numero_text" value="#{curProposta.entityID}" />
>                                               </h:panelGrid>
>                                               <h:panelGrid id="stato_grid" 
> columns="2">
>                                                       <h:outputLabel 
> id="stato_label" value="Stato: "
>                                                               
> for="stato_select" />
>                                                       <h:outputText 
> id="stato_text" value="#{curProposta.stato}"
>                                                               
> rendered="#{sessionScope.forDetail}" />
>                                                       <h:selectOneMenu 
> id="stato_select" value="#{curProposta.stato}"
>                                                               
> rendered="#{!sessionScope.forDetail}">
>                                                               <f:selectItems 
> value="#{proposteControl.statiPossibili}" />
>                                                       </h:selectOneMenu>
>                                               </h:panelGrid>
>                                               <h:panelGrid id="tipo_grid" 
> columns="2">
>                                                       <h:outputLabel 
> id="tipo_label" value="Tipo: " for="tipo_select" />
>                                                       <h:outputText 
> id="tipo_text" value="#{curProposta.tipo}"
>                                                               
> rendered="#{sessionScope.forDetail}" />
>                                                       <h:selectOneMenu 
> id="tipo_select" value="#{curProposta.tipo}"
>                                                               
> rendered="#{!sessionScope.forDetail}">
>                                                               <f:selectItems 
> value="#{proposteControl.tipiPossibili}" />
>                                                       </h:selectOneMenu>
>                                               </h:panelGrid>
>                                       </h:panelGrid>
>                                       <h:panelGrid id="riga2" columns="2">
>                                               <h:panelGrid id="nome_grid" 
> columns="2">
>                                                       <h:outputLabel 
> id="nome_label" value=" Nome: " for="nome_input" />
>                                                       <h:outputText 
> id="nome_text" value="#{curProposta.nome}"
>                                                               
> rendered="#{sessionScope.forDetail}" />
>                                                       <h:inputText 
> id="nome_input" value="#{curProposta.nome}"
>                                                               
> rendered="#{!sessionScope.forDetail}" maxlength="100" />
>                                               </h:panelGrid>
>                                               <h:panelGrid id="durata_grid" 
> columns="2">
>                                                       <h:outputLabel 
> id="durata_label" value="Durata (mesi): "
>                                                               
> for="durata_input" />
>                                                       <h:outputText 
> id="durata_text" value="#{curProposta.durata}"
>                                                               
> rendered="#{sessionScope.forDetail}" />
>                                                       <h:inputText 
> id="durata_input" value="#{curProposta.durata}"
>                                                               
> rendered="#{!sessionScope.forDetail}" />
>                                               </h:panelGrid>
>                                       </h:panelGrid>
>                               </h:panelGrid>
>                               <h:panelGrid id="riga3" columns="1">
>                                       <h:outputLabel id="descr_label" value=" 
> Descrizione: "
>                                               for="descr_input" />
>                                       <h:inputTextarea id="descr_input"
>                                               
> value="#{curProposta.descrizione}"
>                                               
> rendered="#{!sessionScope.forDetail}" rows="5" cols="80" />
>                                       <h:outputText id="descr_text" 
> value="#{curProposta.descrizione}"
>                                               
> rendered="#{sessionScope.forDetail}" />
>                               </h:panelGrid>
>                               <h:panelGrid id="riga3colonna2" columns="2">
>                                       <h:panelGrid id="tcv_grid" columns="2">
>                                               <h:outputLabel id="tcv_label" 
> value="Importo Presunto (T.C.V.): "
>                                                       for="tcv_input" />
>                                               <h:outputText id="tcv_text" 
> value="#{curProposta.tcv}"
>                                                       
> rendered="#{sessionScope.forDetail}" />
>                                               <h:inputText id="tcv_input" 
> value="#{curProposta.tcv}"
>                                                       
> rendered="#{!sessionScope.forDetail}">
>                                                       <f:convertNumber 
> integerOnly="false" maxFractionDigits="2"
>                                                               
> maxIntegerDigits="14" minFractionDigits="2" minIntegerDigits="1" />
>                                                       <f:validateDoubleRange 
> minimum="0.00" maximum="99999999999999.99" />
>                                               </h:inputText>
>                                       </h:panelGrid>
>                                       <h:panelGrid id="cf_grid" columns="2">
>                                               <h:outputLabel id="cf_label" 
> value="ConfidentFactor %: "
>                                                       for="cf_input" />
>                                               <h:outputText id="cf_text" 
> value="#{curProposta.cf}"
>                                                       
> rendered="#{sessionScope.forDetail}" />
>                                               <h:inputText id="cf_input" 
> value="#{curProposta.cf}"
>                                                       
> rendered="#{!sessionScope.forDetail}">
>                                                       <f:convertNumber 
> integerOnly="true" maxFractionDigits="0"
>                                                               
> maxIntegerDigits="3" minFractionDigits="0" minIntegerDigits="0"
>                                                               type="number" />
>                                                       <f:validateLongRange 
> minimum="0" maximum="100" />
>                                               </h:inputText>
>                                       </h:panelGrid>
>                               </h:panelGrid>
>                               <h:panelGrid>
>                                       <h:panelGrid id="riga4" columns="2">
>                                               <h:panelGrid id="inizio_grid" 
> columns="2">
>                                                       <h:outputLabel 
> id="inizio_label" value="Inizio: "
>                                                               
> for="inizio_input" />
>                                                       <h:outputText 
> id="inizio_text" value="#{curProposta.dataInizio}"
>                                                               
> rendered="#{sessionScope.forDetail}">
>                                                               
> <f:convertDateTime type="date" dateStyle="default"
>                                                                       
> pattern="dd-MMM-yyyy" />
>                                                       </h:outputText>
>                                                       <t:inputDate 
> id="inizio_input" popupCalendar="true"
>                                                               
> value="#{curProposta.dataInizio}" type="date"
>                                                               
> rendered="#{!sessionScope.forDetail}" />
>                                               </h:panelGrid>
>                                               <h:panelGrid id="fine_grid" 
> columns="2">
>                                                       <h:outputLabel 
> id="fine_label" value="Fine: " for="fine_input" />
>                                                       <h:outputText 
> id="fine_text" value="#{curProposta.dataChiusura}"
>                                                               
> rendered="#{sessionScope.forDetail}">
>                                                               
> <f:convertDateTime type="date" dateStyle="default"
>                                                                       
> pattern="dd-MMM-yyyy" />
>                                                       </h:outputText>
>                                                       <t:inputDate 
> id="fine_input" popupCalendar="true"
>                                                               
> value="#{curProposta.dataChiusura}" type="date"
>                                                               
> rendered="#{!sessionScope.forDetail}" />
>                                               </h:panelGrid>
>                                               <h:panelGrid id="scadenza_grid" 
> columns="2">
>                                                       <h:outputLabel 
> id="scadenza_label" value="Scadenza: "
>                                                               
> for="scadenza_input" />
>                                                       <h:outputText 
> id="scadenza_text" value="#{curProposta.scadenza}"
>                                                               
> rendered="#{sessionScope.forDetail}">
>                                                               
> <f:convertDateTime type="date" dateStyle="default"
>                                                                       
> pattern="dd-MMM-yyyy" />
>                                                       </h:outputText>
>                                                       <t:inputDate 
> id="scadenza_input" popupCalendar="true"
>                                                               
> value="#{curProposta.scadenza}" type="date"
>                                                               
> rendered="#{!sessionScope.forDetail}" />
>                                               </h:panelGrid>
>                                               <h:panelGroup>
>                                                       <%/* Riga Vuota per 
> formattazione*/%>
>                                               </h:panelGroup>
>                                       </h:panelGrid>
>                                       <h:panelGrid id="riga5" columns="2">
>                                               <h:panelGrid 
> id="accettazione_grid" columns="2">
>                                                       <h:outputLabel 
> id="accettazione_label"
>                                                               value="Data 
> Accettazione: " for="accettazione_input" />
>                                                       <h:outputText 
> id="accettazione_text"
>                                                               
> value="#{curProposta.dataAccettazione}"
>                                                               
> rendered="#{sessionScope.forDetail}">
>                                                               
> <f:convertDateTime type="date" dateStyle="default"
>                                                                       
> pattern="dd-MMM-yyyy" />
>                                                       </h:outputText>
>                                                       <t:inputDate 
> id="accettazione_input" popupCalendar="true"
>                                                               
> value="#{curProposta.dataAccettazione}" type="date"
>                                                               
> rendered="#{!sessionScope.forDetail}" />
>                                               </h:panelGrid>
>                                               <h:panelGrid id="ordinde_grid" 
> columns="2">
>                                                       <h:outputLabel 
> id="ordine_label" value="Data Ordine: "
>                                                               
> for="ordine_input" />
>                                                       <h:outputText 
> id="ordine_text" value="#{curProposta.dataOrdine}"
>                                                               
> rendered="#{sessionScope.forDetail}">
>                                                               
> <f:convertDateTime type="date" dateStyle="default"
>                                                                       
> pattern="dd-MMM-yyyy" />
>                                                       </h:outputText>
>                                                       <t:inputDate 
> id="ordine_input" popupCalendar="true"
>                                                               
> value="#{curProposta.dataOrdine}" type="date"
>                                                               
> rendered="#{!sessionScope.forDetail}" />
>                                               </h:panelGrid>
>
>                                       </h:panelGrid>
>                                       <h:panelGrid id="riga6" columns="1">
>                                               <h:outputLabel id="note_label" 
> value=" Note: " for="note_input" />
>                                               <h:outputText id="note_text" 
> value="#{curProposta.note}"
>                                                       
> rendered="#{sessionScope.forDetail}" />
>                                               <h:inputTextarea 
> id="note_input" value="#{curProposta.note}"
>                                                       
> rendered="#{!sessionScope.forDetail}" rows="10" cols="80" />
>                                       </h:panelGrid>
>                               </h:panelGrid>
>                       </t:panelTab>
>
>                       <t:panelTab id="attori_tab" label="Attori">
>                               <h:panelGrid id="attoriGrid" columns="3">
>                                       <h:panelGrid id="partners_grid" 
> columns="1">
>                                               <h:outputLabel 
> id="parteners_label" value="Partners"
>                                                       for="partners_select" />
>                                               <h:selectManyListbox 
> id="partners_select"
>                                                       
> value="#{curProposta.listPartners_del}">
>                                                       <f:selectItems 
> value="#{curProposta.listPartners}" />
>                                               </h:selectManyListbox>
>                                               <h:panelGrid 
> id="parteners_link" columns="3">
>                                                       <h:outputLink 
> value="./mainAziende.jsf" target="_self">
>                                                               <h:outputText 
> value="Aggiungi" />
>                                                       </h:outputLink>
>
>                                                       <h:outputLink 
> value="./AziendeMask.jsf" target="_self">
>                                                               <h:outputText 
> value="Aggiungi Nuovo" />
>                                                       </h:outputLink>
>                                                       <h:commandLink 
> value="Elimina"
>                                                               
> action="#{curProposta.eliminaPartners}" />
>
>                                               </h:panelGrid>
>                                       </h:panelGrid>
>                                       <h:panelGrid id="competitors_grid" 
> columns="1">
>                                               <h:outputLabel 
> id="competitors_label" value="Competitors"
>                                                       
> for="competitors_select" />
>                                               <h:selectManyListbox 
> id="competitors_select"
>                                                       
> value="#{curProposta.listCompetitors_del}">
>                                                       <f:selectItems 
> value="#{curProposta.listCompetitors}" />
>                                               </h:selectManyListbox>
>                                               <h:panelGrid 
> id="competitors_link" columns="3">
>                                                       <h:outputLink 
> value="./mainAziende.jsf" target="_self">
>                                                               <f:param 
> name="fromProposta" value="true" />
>                                                               <f:param 
> name="tipo" value="competitor" />
>                                                               <h:outputText 
> value="Aggiungi" />
>                                                       </h:outputLink>
>                                                       <h:outputLink 
> value="./AziendeMask.jsf" target="_self">
>                                                               <f:param 
> name="fromProposta" value="true" />
>                                                               <f:param 
> name="tipo" value="competitor" />
>                                                               <h:outputText 
> value="Aggingi Nuovo" />
>                                                       </h:outputLink>
>                                                       <h:commandLink 
> value="Elimina"
>                                                               
> action="#{curProposta.eliminaCompetitors}" />
>
>                                               </h:panelGrid>
>                                       </h:panelGrid>
>
>                                       <h:panelGrid id="atis_grid" columns="1">
>                                               <h:outputLabel id="atis_label" 
> value="Atis" for="atis_select" />
>                                               <h:selectManyListbox 
> id="atis_select"
>                                                       
> value="#{curProposta.listAti_del}">
>                                                       <f:selectItems 
> value="#{curProposta.listAti}" />
>                                               </h:selectManyListbox>
>                                               <h:panelGrid id="atis_link" 
> columns="3">
>                                                       <h:outputLink 
> value="./mainAziende.jsf" target="_self">
>                                                               <f:param 
> name="fromProposta" value="true" />
>                                                               <f:param 
> name="tipo" value="ati" />
>                                                               <h:outputText 
> value="Aggiungi" />
>                                                       </h:outputLink>
>                                                       <h:outputLink 
> value="./AziendeMask.jsf" target="_self">
>                                                               <f:param 
> name="fromProposta" value="true" />
>                                                               <f:param 
> name="tipo" value="ati" />
>                                                               <h:outputText 
> value="Aggiungi Nuovo" />
>                                                       </h:outputLink>
>                                                       <h:commandLink 
> value="Elimina"
>                                                               
> action="#{curProposta.eliminaAtis}" />
>                                               </h:panelGrid>
>                                       </h:panelGrid>
>                               </h:panelGrid>
>                       </t:panelTab>
>
>                       <t:panelTab id="contatti_tab" label="Contatti">
>                               <h:panelGrid id="contatti_grid" columns="1">
>                                       <h:outputLabel id="contatti_label" 
> value="Contatti"
>                                               for="contatti_select" />
>                                       <h:selectManyListbox 
> id="contatti_select"
>                                               
> value="#{curProposta.listContatti_del}">
>                                               <f:selectItems 
> value="#{curProposta.listContatti}" />
>                                       </h:selectManyListbox>
>                                       <h:panelGrid id="contatti_link" 
> columns="3">
>                                               <h:commandButton id="addBtn" 
> action="#{curProposta.goAddContatto}"
>                                                       value="Aggiungi" 
> styleClass="commonButton" immediate="true">
>                                               </h:commandButton>
>                                               <h:commandButton id="addNewBtn"
>                                                       
> action="#{curProposta.goAddNewContatto}" value="Aggiungi Nuovo"
>                                                       
> styleClass="commonButton">
>                                               </h:commandButton>
>                                               <h:commandButton id="DeleteBtn"
>                                                       
> action="#{curProposta.eliminaContatti}" value="Elimina"
>                                                       
> styleClass="commonButton">
>                                               </h:commandButton>
>                                       </h:panelGrid>
>                               </h:panelGrid>
>                       </t:panelTab>
>
>                       <t:panelTab id="forecast_tab" label="Forecast">
>                               <t:dataTable var="forecast" 
> value="#{curProposta.forecasts}">
>                                       <h:column id="Anno">
>                                               <f:facet name="header">
>                                                       <h:outputText 
> value="Anno" />
>                                               </f:facet>
>                                               <h:outputText id="anno_text" 
> value="#{curProposta.forecast.anno}"
>                                                       
> rendered="#{!sessionScope.forModify && sessionScope.forDetail}" />
>                                               <h:inputText id="anno_input" 
> value="#{forecast.anno}"
>                                                       
> rendered="#{!sessionScope.forDetail}">
>                                                       <f:convertNumber 
> integerOnly="true" maxIntegerDigits="4"
>                                                               
> minIntegerDigits="4" minFractionDigits="0" maxFractionDigits="0" />
>                                                       <f:validateLongRange 
> maximum="9999" minimum="1900" />
>                                               </h:inputText>
>
>                                       </h:column>
>                                       <h:column id="Mese">
>                                               <f:facet name="header">
>                                                       <h:outputText 
> value="Mese" />
>                                               </f:facet>
>                                               <h:outputText id="mese_text" 
> value="#{forecast.mese}"
>                                                       
> rendered="#{!sessionScope.forModify && sessionScope.forDetail}" />
>                                               <h:selectOneMenu 
> id="mese_select" value="#{forecast.mese}"
>                                                       
> rendered="#{!sessionScope.forDetail}">
>                                                       <f:selectItems 
> value="#{proposteControl.mesiDisponibili}" />
>                                               </h:selectOneMenu>
>
>
>                                       </h:column>
>                                       <h:column id="Importo">
>                                               <f:facet name="header">
>                                                       <h:outputText 
> value="Importo" />
>                                               </f:facet>
>                                               <h:outputText id="importo_text" 
> value="#{forecast.importo}"
>                                                       
> rendered="#{!sessionScope.forModify && sessionScope.forDetail}" />
>                                               <h:inputText id="importo_input" 
> value="#{forecast.importo}"
>                                                       
> rendered="#{!sessionScope.forDetail}">
>                                                       <f:convertNumber 
> maxIntegerDigits="14" minIntegerDigits="1"
>                                                               
> minFractionDigits="2" maxFractionDigits="2" currencySymbol="?" />
>                                                       <f:validateDoubleRange 
> maximum="99999999999999.99" minimum="0.00" />
>                                               </h:inputText>
>                                       </h:column>
>                                       <h:column id="comandi">
>                                               <f:facet name="header">
>                                                       <h:outputText 
> value="Azioni" />
>                                               </f:facet>
>                                               <h:commandLink 
> action="#{curProposta.updateForecast}"
>                                                       value="Modifica" 
> rendered="#{!forDetails}">
>                                                       <f:param 
> name="forecast_selected" value="#{forecast}" />
>                                               </h:commandLink>
>                                               <h:outputText value=" " />
>                                               <h:commandLink 
> action="#{curProposta.deleteForecast}"
>                                                       value="Elimina" 
> rendered="#{!forDetails}">
>                                                       <f:param 
> name="forecast_selected" value="#{forecast}" />
>                                               </h:commandLink>
>                                       </h:column>
>                               </t:dataTable>
>                               <h:panelGrid columns="4">
>                                       <h:panelGrid columns="2">
>                                               <h:outputLabel for="new_anno" 
> id="anno_label" />
>                                               <h:inputText id="new_anno"
>                                                       
> value="#{curProposta.selectedForecast.anno}">
>                                                       <f:convertNumber 
> integerOnly="true" maxIntegerDigits="4"
>                                                               
> minIntegerDigits="4" minFractionDigits="0" maxFractionDigits="0"
>                                                               pattern="####" 
> />
>                                                       <f:validateLongRange 
> maximum="9999" minimum="1900" />
>                                               </h:inputText>
>
>                                       </h:panelGrid>
>                                       <h:panelGrid columns="2">
>                                               <h:outputLabel for="new_mese" 
> id="mese_label" />
>                                               <h:selectOneMenu id="new_mese"
>                                                       
> value="#{curProposta.selectedForecast.mese}">
>                                                       <f:selectItems 
> value="#{proposteControl.mesiDisponibili}" />
>                                               </h:selectOneMenu>
>
>                                       </h:panelGrid>
>                                       <h:panelGrid columns="2">
>                                               <h:outputLabel 
> for="new_importo" id="importo_label" />
>                                               <h:inputText id="new_importo"
>                                                       
> value="#{curProposta.selectedForecast.importo}">
>                                                       <f:convertNumber 
> maxIntegerDigits="14" minIntegerDigits="1"
>                                                               
> minFractionDigits="2" maxFractionDigits="2" type="currency" />
>                                                       <f:validateDoubleRange 
> maximum="99999999999999.99" minimum="0.00" />
>                                               </h:inputText>
>                                       </h:panelGrid>
>                                       <h:commandButton 
> action="#{curProposta.addForecast}"
>                                               value="Aggiungi" />
>                               </h:panelGrid>
>                       </t:panelTab>
>               </t:panelTabbedPane>
>               <h:commandButton action="#{curProposta.writeData}" 
> value="AggiornaDB"
>                       rendered="#{!sessionScope.forDetail}" 
> styleClass="commonButton" />
>               <h:commandButton action="#{curProposta.deleteData}" 
> value="Elimina"
>                       rendered="#{sessionScope.forDetail || 
> sessionScope.forModify}"
>                       styleClass="commonButton" />
>               <h:commandButton action="back" value="Back" 
> styleClass="commonButton" />
>       </h:form>
>
></f:view>
></body>
></html>
>
>*************************************************************************************
>web.xml:
>?xml version="1.0" encoding="UTF-8"?>
><web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
>http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";>
> <display-name>PMS</display-name>
> <context-param>
>  <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
>  <param-value>server</param-value>
> </context-param>
> <context-param>
>  <param-name>org.apache.myfaces.AUTO_SCROLL</param-name>
>  <param-value>false</param-value>
> </context-param>
> <context-param>
>  <param-name>org.apache.myfaces.ALLOW_JAVASCRIPT</param-name>
>  <param-value>true</param-value>
> </context-param>
> <context-param>
>  <param-name>org.apache.myfaces.PRETTY_HTML</param-name>
>  <param-value>true</param-value>
> </context-param>
> <filter>
>  <filter-name>MyFacesExtensionsFilter</filter-name>
> 
><filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter</filter-class>
>  <init-param>
>   <param-name>uploadMaxFileSize</param-name>
>   <param-value>100m</param-value>
>  </init-param>
>  <init-param>
>   <param-name>uploadThresholdSize</param-name>
>   <param-value>100k</param-value>
>  </init-param>
> </filter>
> <filter-mapping>
>  <filter-name>MyFacesExtensionsFilter</filter-name>
>  <servlet-name>FacesServlet</servlet-name>
> </filter-mapping>
> <filter-mapping>
>  <filter-name>MyFacesExtensionsFilter</filter-name>
>  <url-pattern>/faces/myFacesExtensionResource/*</url-pattern>
> </filter-mapping>
> <filter-mapping>
>  <filter-name>MyFacesExtensionsFilter</filter-name>
>  <url-pattern>/faces/*</url-pattern>
> </filter-mapping>
> 
> <servlet>
>  <servlet-name>FacesServlet</servlet-name>
>  <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
>  <load-on-startup>1</load-on-startup>
> </servlet>
> <servlet-mapping>
>  <servlet-name>FacesServlet</servlet-name>
>  <url-pattern>*.jsf</url-pattern>
> </servlet-mapping>
> <servlet-mapping>
>  <servlet-name>FacesServlet</servlet-name>
>  <url-pattern>/faces/*</url-pattern>
> </servlet-mapping>
> <welcome-file-list>
>  <welcome-file>home.jsp</welcome-file>
>  <welcome-file>home.html</welcome-file>
> </welcome-file-list>
> <security-constraint>
>  <display-name>PMS security</display-name>
>  <web-resource-collection>
>   <web-resource-name>Pagine private</web-resource-name>
>   <url-pattern>/private/*</url-pattern>
>  </web-resource-collection>
>  <auth-constraint>
>   <description>Utente loggato ruolo fittizio = user</description>
>   <role-name>user</role-name>
>  </auth-constraint>
>  <user-data-constraint>
>   <description>per adesso non ma prima o poi integral</description>
>   <transport-guarantee>NONE</transport-guarantee>
>  </user-data-constraint>
> </security-constraint>
> <login-config>
>  <auth-method>FORM</auth-method>
>  <realm-name>PMS</realm-name>
>  <form-login-config>
>   <form-login-page>/login.jsp</form-login-page>
>   <form-error-page>/loginError.jsp</form-error-page>
>  </form-login-config>
> </login-config>
> <security-role>
>  <description>Utente loggato</description>
>  <role-name>user</role-name>
> </security-role>
> <resource-ref>
>  <res-ref-name>jdbc/pmsRead</res-ref-name>
>  <res-type>javax.sql.DataSource</res-type>
>  <res-auth>Container</res-auth>
>  <res-sharing-scope>Shareable</res-sharing-scope>
> </resource-ref>
></web-app>
>
>*********************************************************************************
>faces-config.xml:
><?xml version="1.0" encoding="UTF-8"?>
><!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer
>Faces Config 1.1//EN"
>                             
>"http://java.sun.com/dtd/web-facesconfig_1_1.dtd";>
><faces-config>
> <converter id="AziendaConv">
>  <converter-for-class>it.pride.pms.dtos.AziendaBean</converter-for-class>
> 
><converter-class>it.pride.pms.customImpl.AziendaConverter</converter-class>
> </converter>
> <converter id="ContattoConv">
>  <converter-for-class>it.pride.pms.dtos.ContattoBean</converter-for-class>
> 
><converter-class>it.pride.pms.customImpl.ContattoConverter</converter-class>
> </converter>
> <converter id="UserConv">
>  <converter-for-class>it.pride.pms.dtos.UserBean</converter-for-class>
>  <converter-class>it.pride.pms.customImpl.UserConverter</converter-class>
> </converter>
>
> 
> <managed-bean>
> [...]
> </managed-bean>
>[..]
><managed-bean>
> [...]
> </managed-bean>
><managed-bean>
> [...]
> </managed-bean>
> <managed-bean>
>  <managed-bean-name>proposteControl</managed-bean-name>
> 
><managed-bean-class>it.pride.pms.controls.ProposteControlBean</managed-bean-class>
>  <managed-bean-scope>session</managed-bean-scope>
> </managed-bean>
>
> <navigation-rule>
> [.........]
> </navigation-rule>
> <referenced-bean>
>  <referenced-bean-name>curProposta</referenced-bean-name>
> 
><referenced-bean-class>it.pride.pms.dtos.PropostaBean</referenced-bean-class>
> </referenced-bean>
></faces-config>
>
>******************************************************************
>
>
>
>
>
>-- 
>View this message in context: 
>http://www.nabble.com/tomahawk-tabbedPane-submit-Problem-tf2306362.html#a6410922
>Sent from the My Faces - Dev mailing list archive at Nabble.com.
>
>


Reply via email to