You need to sign in to do that
Don't have an account?
Maros Sitko
Problem with apex:detail in apex:repeat
Hi,
I have apex:detail of opportunities inside apex:repeat. I have 2 issues:
first: is that inlineEdit did not work fine, when apex:repeat is empty, and after rerender it has some objects.
my page
<apex:form > <apex:commandButton value="Search" rerender="oppPanel" action="{!showOpp}"/> </apex:form> <apex:outputPanel id="oppPanel"> <apex:outputPanel rendered="{!show}" id="inner"> <apex:detail subject="{!opps[0].id}" relatedList="false" inlineEdit="true"/> </apex:outputPanel> </apex:outputPanel>
second: in pagelayout I have custom button, which should execute javascript
window.open('/apex/mypage?id={!Opportunity.Id}','_newtab');
but salesforce create for this invokeAction javascript function, so in this function is only one Opportunity.Id. So when I click on any button it always open new tab with the same opportunity Id instead of use opportunity Id from pagelayout