This content has been marked as final.
Show 5 replies
-
1. Re: question about a4j:region
ilya_shaikovsky May 28, 2008 10:34 AM (in response to ziphyre)please show full page content.
-
2. Re: question about a4j:region
ziphyre May 28, 2008 10:54 AM (in response to ziphyre)It's very crowded, I'll try to simplify without breaking the structure...
<div id="leftColumn" class="Column"><!-- leftColumn --> <h:form> <a4j:region> <a4j:commandLink styleClass="tabHead life" value="Hot Spot" actionListener="#{panelManager.switchLeftPanelVisibility}" onclick="$('buddiesPanel').hide();$('lifePanel').show();"/> <a4j:commandLink styleClass="tabHead buddy" value="People" actionListener="#{panelManager.switchLeftPanelVisibility}" onclick="$('lifePanel').hide();$('buddiesPanel').show();"/> </a4j:region> </h:form> <a4j:outputPanel id="lifePanel" layout="block" style="display:#{panelManager.hotspotDisplay}"> <div id="lifePanelContainer"> <h:form id="hotspotForm"> <h1 id="lOne" class="accordion_toggle first mail">Mesaj Kutum</h1> <a4j:outputPanel layout="block" id="mailList" styleClass="accordion_content mail"> <rich:datascroller styleClass="scroller" id="latestMessageScroller" for="messages" pageIndexVar="pageIndex" pagesVar="pages"> ... </rich:datascroller> <rich:dataTable id="messages" var="msg" value="#{messageList}" rows="2"> <rich:column> <img src="#{msg.from.imagePath}" alt="" /> <h4>#{msg.from.firstName} #{msg.from.lastName}</h4> <a4j:commandLink styleClass="#{msg.read?'read':''}" action="#{quickMessages.select}" value="#{empty msg.subject ? '...' : msg.subject}" /> ... <div class="clear dotted"> </div> </rich:column> </rich:dataTable> </a4j:outputPanel> <h1 id="lTwo" class="accordion_toggle request">Pending Requests </h1> <a4j:outputPanel layout="block" id="pendingRequests" styleClass="accordion_content request"> <rich:datascroller styleClass="scroller" id="pendingRequestScroller" for="request" pageIndexVar="pageIndex" pagesVar="pages"> ... </rich:datascroller> <rich:dataTable id="request" var="req" value="#{friendRequestList}" rows="2"> <rich:column> <h4>#{msg.from.firstName} #{msg.from.lastName}</h4> <img src="#{req.from.imagePath}" alt="#{friend.firstName} #{friend.lastName}" /> <a4j:commandLink styleClass="connect" action="#{friendRequestManager.accept}" value="Kabul Et" reRender="pendingRequests" /> <a4j:commandLink styleClass="reject" action="#{friendRequestManager.reject}" value="Reddet" reRender="pendingRequests" /> </rich:column> </rich:dataTable> </a4j:outputPanel> </a4j:outputPanel> </h:form> </div> </a4j:outputPanel> </div><!-- /leftColumn -->
-
3. Re: question about a4j:region
lucianobrunes Jun 23, 2008 11:16 AM (in response to ziphyre)Hi,
I know that this post is a long time, but the needs remain.
succeeded or someone suggests solution to this problem that persists? -
4. Re: question about a4j:region
ziphyre Jun 24, 2008 2:59 AM (in response to ziphyre)nope, the question still remains on my part. I just switched to other parts of the development and left the optimization to a later period...