]
Brian Leathem updated RF-8210:
------------------------------
Fix Version/s: 4.3-Tracking
(was: 4.Future)
Forum Reference:
switchType=ajax on modalPanel
-----------------------------
Key: RF-8210
URL:
https://issues.jboss.org/browse/RF-8210
Project: RichFaces
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: component-output
Reporter: Dupont Dupont
Assignee: Ilya Shaikovsky
Labels: lazy-loaded
Fix For: 4.3-Tracking
Lately, I'm mostly (80% of times) rendering my rich:modalPanels in ajax mode [1] :
- a4j:commandButton calls a backing bean method, and rerenders the a4j:outputPanel
surrounding rich;modalPanel.
oncomplete js handler call Richfaces.showPanel.
- the rich:modalPanel is inside a a4j:outputPanel nd its rendered attribute points to a
backing bean property.
This is because each modalPanels weights more or less 5 ko (I've seen 4 different
application and it was always at least 5 ko).
This code is repetitive.
Could it be possible to add a switchType (or mode) attribute on rich:calendar, the
meaning of which would be :
1. if switchType=client, behaviour unchanged.
2. if switchType=ajax, Richfaces.showModal would make an ajax call, rerender the
rich:modalPanel (so rich:modalPanel would always be contained in an invisible <span>
or shting like this) and show it.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: