-
-
2. popupPanel modal
snaker Mar 21, 2011 7:31 AM (in response to ilya_shaikovsky)Ok, it's a bug, Will is it solved in RichFaces 4 Final?
When is it published?
Another question...
Can i use ajax in a popupPanel???
i use selectBooleanCheckBox and i need when i click in the check show anothe component (inputSpinner for example)
-
3. popupPanel modal
ilya_shaikovsky Mar 21, 2011 7:53 AM (in response to snaker)1) just vote/watch the jira. It will be targetted after final. (we already tagged that build)
2) for sure you could use ajax. Just remember to use form inside the panel or domElementAttachment in case of form is outside. (the same as for 3.3.x)
-
4. popupPanel modal
snaker Mar 21, 2011 8:23 AM (in response to ilya_shaikovsky)i try this in my form but, it doesn't work
<h:commandButton value="example">
<rich:componentControl target="anotherpopup" operation="show"/>
</h:commandButton>
<rich:popupPanel id="anotherpopup">
<f:facet name="controls">
<a4j:commandButton image="/Imagenes/Cerrar2.gif" onclick="#{rich:component('anotherpopup')}.hide();"/>
</f:facet>
<h:selectBooleanCheckbox value="#{rElectronica.locked}" />example
<h:inputText value="hola" rendered="#{rElectronica.locked}"/> -----HERE-------
</rich:popupPanel>when i check it would change the value in #{rElectronica.locked}. but it do nothing. Am i forget something to put in the code???
-
5. popupPanel modal
ilya_shaikovsky Mar 21, 2011 9:29 AM (in response to snaker)as I said please read about popup component form limitations. By default (if not change domElementAttachment) it should provide form inside and be outside of any external in order to perform submits from inside the panel.