function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
fatmonkfatmonk 

Listview List button Override?

I use the code from
http://www.salesforce.com/us/developer/docs/pages/index_Left.htm#CSHID=pages_compref_listViews.htm%7CStartTopic=Content%2Fpages_compref_listViews.htm%7CSkinName=webhelp

 

<apex:page standardController="Contract" recordSetVar="Contract" >
<apex:form id="theform">
<apex:selectList value="{!filterid}" size="1">
<apex:selectOptions value="{!listviewoptions}"/>
</apex:selectList>
<apex:commandButton value="Go" action="{!list}" reRender="list"/>
<apex:pageBlock >

<apex:pageBlockTable value="{!contract}" var="c" id="list">
<apex:column ><apex:facet name="header"> Order Form Number</apex:facet>

value="{!c.ContractNumber}"</apex:column>
</apex:pageBlockTable>
</apex:pageBlock>
</apex:form>
</apex:page>

 

Problem is When I Click on GO button, The page Jump to standard apex URL(/800/o) instead of refresh the /apex/Contract page.

Does any one know how to refresh the page only? Thanks

HariDineshHariDinesh

Hi,

 

I have tried with the code you have given here.

I don’t find any problem and it is refreshing and not redirection to any page as you said.