-
1. Re: rich:inplaceInput updates the model, not h:selectOneMenu
ilya_shaikovsky Nov 26, 2008 7:11 AM (in response to baldarra)really strange.. please post your code :) Also, maybe there are some server messages?
-
2. Re: rich:inplaceInput updates the model, not h:selectOneMenu
baldarra Nov 26, 2008 8:18 AM (in response to baldarra)no message at all... it fails silently :(
I've seen someone else reported here possibly the same problem last friday as I do my updates with a4j:support.
works :<rich:inplaceInput layout="block" value="${contentmodule.name}" converterMessage="Taille maximale : 128 caracteres." id="mpnnameinplace" required="true" requiredMessage="Vous devez specifier un nom pour ce module." changedHoverClass="hover" viewHoverClass="hover" viewClass="inplace" changedClass="inplace" selectOnEdit="true" editEvent="onclick"> <a4j:support event="onviewactivated" reRender="left_menu, content" ajaxSingle="true" limitToList="true" /> </rich:inplaceInput>
doesn't work :<h:selectOneMenu id="mpnintext" value="${contentmodule.intExt}"> <f:selectItem itemLabel="" itemValue=""></f:selectItem> <f:selectItem itemLabel="Externes" itemValue="externe"></f:selectItem> <f:selectItem itemLabel="Internes" itemValue="interne"></f:selectItem> <a4j:support event="onchange" reRender="left_menu, content" ajaxSingle="true" limitToList="true" /> </h:selectOneMenu>
contentmodule is set here :<c:set var="contentmodule" value="#{makros:module(curmod)}" />
makros being my custom taglib and module(curmod) returning obviously the entity.
Besides, no updates (nor creates but deletes are ok :/ !!!) at all are commited if I don't add this to applicationContext :<tx:annotation-driven transaction-manager="transactionManager"/>
which was not needed before the upgrade as I was using an aop interceptor upon my DAOs... -
3. Re: rich:inplaceInput updates the model, not h:selectOneMenu
baldarra Nov 27, 2008 4:09 AM (in response to baldarra)Hi again,
I still have no solution.
I don't see what makes the rich:inplaceInput work and not the other components.
I've read about selects not updating the model anymore , due to types of values not matching.
Could it be something like that ?
Just 'like' cause I have the problem with inputtexts and string properties... -
4. Re: rich:inplaceInput updates the model, not h:selectOneMenu
ilya_shaikovsky Nov 27, 2008 5:05 AM (in response to baldarra)place phaseTracker to your class path and check its output in server log during request from select please.
-
5. Re: rich:inplaceInput updates the model, not h:selectOneMenu
baldarra Nov 27, 2008 8:43 AM (in response to baldarra)here is what the phase tracker says :
27 nov. 2008 14:15:33 org.exadel.jsf.PhaseTracker beforePhase INFO: BEFORE RESTORE_VIEW(1) 27 nov. 2008 14:15:33 org.exadel.jsf.PhaseTracker afterPhase INFO: AFTER RESTORE_VIEW(1) 27 nov. 2008 14:15:33 org.exadel.jsf.PhaseTracker beforePhase INFO: BEFORE APPLY_REQUEST_VALUES(2) 27 nov. 2008 14:15:33 org.exadel.jsf.PhaseTracker afterPhase INFO: AFTER APPLY_REQUEST_VALUES(2) 27 nov. 2008 14:15:33 org.exadel.jsf.PhaseTracker beforePhase INFO: BEFORE PROCESS_VALIDATIONS(3) 27 nov. 2008 14:15:33 org.exadel.jsf.PhaseTracker afterPhase INFO: AFTER PROCESS_VALIDATIONS(3) 27 nov. 2008 14:15:33 org.exadel.jsf.PhaseTracker beforePhase INFO: BEFORE UPDATE_MODEL_VALUES(4) 27 nov. 2008 14:15:33 org.exadel.jsf.PhaseTracker afterPhase INFO: AFTER UPDATE_MODEL_VALUES(4) 27 nov. 2008 14:15:33 org.exadel.jsf.PhaseTracker beforePhase INFO: BEFORE INVOKE_APPLICATION(5) 27 nov. 2008 14:15:33 org.exadel.jsf.PhaseTracker afterPhase INFO: AFTER INVOKE_APPLICATION(5) 27 nov. 2008 14:15:33 org.exadel.jsf.PhaseTracker beforePhase INFO: BEFORE RENDER_RESPONSE(6) 27 nov. 2008 14:15:34 org.exadel.jsf.PhaseTracker afterPhase INFO: AFTER RENDER_RESPONSE(6)
nothing special in facesTrace either -
6. Re: rich:inplaceInput updates the model, not h:selectOneMenu
nbelaevski Nov 27, 2008 10:06 AM (in response to baldarra)Hi,
What is RF version? -
7. Re: rich:inplaceInput updates the model, not h:selectOneMenu
baldarra Nov 27, 2008 10:40 AM (in response to baldarra)RichFaces 3.2.2 GA
MyFaces 1.2.5 (all the same with RI)
Spring 2.5.5
Hibernate 3.2.2 GA