2012-10-04 136 views
0

我有一個Visualforce工具欄,當我只在Firefox中重新渲染頁面塊時,整個欄會垂直擴展到一個大的工具欄塊。下面Visualforce Toolbar重新渲染Firefox缺陷

<apex:toolbar id="theToolbar" style="background-color:#8d8d8d;background-image:none"> 
      <apex:toolbarGroup itemSeparator="line" location="left" id="toobarGroupForm">   
        <apex:outputText style="color:#f8f8ff;font-weight:bold" value="Amount of Records"/> 
       <apex:selectList label="Record Amount" value="{!ShowAmountOfRecords}" size="1" required="false" > 
        <apex:actionSupport event="onchange" action="{!AmountOfRecordsAction}" reRender="innerblock" status="recordamountchange" /> 
         <apex:outputPanel style="color:#f8f8ff;font-weight:bold"> 
          <apex:actionStatus id="recordamountchange" startText="Showing more records..." stopText=""/> 
         </apex:outputPanel> 
        <apex:selectOptions value="{!AmountOfRecordsList}"/> 
        </apex:selectList> 
        <apex:outputText style="color:#f8f8ff;font-weight:bold" value="Filter By Document Type"/> 
        <apex:selectList label="Filter by Record Type" value="{!FilterByRecordType}" size="1" required="false" > 
        <apex:actionSupport event="onchange" action="{!FilterByRecordTypeAction}" reRender="innerblock" status="filterByRecordType" /> 
         <apex:outputPanel style="color:#f8f8ff;font-weight:bold"> 
          <apex:actionStatus id="filterByRecordType" startText="Filtering your records..." stopText=""/> 
         </apex:outputPanel> 
        <apex:selectOptions value="{!FilterByRecordTypeList}"/> 
        </apex:selectList> 

       </apex:toolbarGroup> 
      </apex:toolbar> 

見代碼這是在Firefox中知道是不是BUG?

回答

1

問題是我有兩個選擇列表部分工具欄組。確保將您的組件添加到不同的工具欄組。

<apex:toolbar id="theToolbar" style="background-color:#8d8d8d;background-image:none" rendered="true"> 
      <apex:outputText style="color:#f8f8ff;font-weight:bold" value="Amount of Records"/> 
      <apex:toolbarGroup itemSeparator="line" location="left" id="toobarGroupForm" rendered="true">   
       <apex:selectList label="Record Amount" value="{!ShowAmountOfRecords}" size="1" required="false" > 
        <apex:actionSupport event="onchange" action="{!AmountOfRecordsAction}" status="recordamountchange" reRender="innerblock" /> 
         <apex:outputPanel style="color:#f8f8ff;font-weight:bold"> 
          <apex:actionStatus id="recordamountchange" startText="Showing more records..." stopText=""/> 
         </apex:outputPanel> 
        <apex:selectOptions value="{!AmountOfRecordsList}"/> 
        </apex:selectList> 
       </apex:toolbarGroup> 
       <apex:outputText style="color:#f8f8ff;font-weight:bold" value="Filter By Document Type"/> 
       <apex:toolbarGroup itemSeparator="line" location="left" id="toobarGroupForm2" rendered="true"> 
        <apex:selectList label="Filter by Record Type" value="{!FilterByRecordType}" size="1" required="false" > 
        <apex:actionSupport event="onchange" action="{!FilterByRecordTypeAction}" status="filterByRecordType" reRender="innerblock"/> 
         <apex:outputPanel style="color:#f8f8ff;font-weight:bold"> 
          <apex:actionStatus id="filterByRecordType" startText="Filtering your records..." stopText=""/> 
         </apex:outputPanel> 
        <apex:selectOptions value="{!FilterByRecordTypeList}"/> 
        </apex:selectList> 
       </apex:toolbarGroup> 
      </apex:toolbar> 
+0

請接受您自己的答案,讓它脫離雷達:) – eyescream

+0

接受謝謝。 –