You need to sign in to do that
Don't have an account?
Nagarjun T
command link action for new pop-up window in visualforce
HI All,
what is the command link action for new pop-up window in visualforce,
<apex:page setup="false" sidebar="false" standardController="contact" recordSetVar="ContactList">
<apex:form >
<apex:commandButton value="New Contact" action="/apex/customcontacts"/>
<apex:pageBlock >
<apex:pageBlockTable value="{!Contactlist}" var="A">
<apex:column headerValue="Contact Name">
<apex:commandLink action="/apex/customcontactsdetailedpage?id={!A.id}" target="_blank">
{!A.Name}
</apex:commandLink>
</apex:column>
<apex:column value="{!A.ID}"/>
<apex:column value="{!A.Phone}"/>
<apex:column value="{!A.mailingcountry}"/>
</apex:pageBlockTable> >
</apex:pageBlock>
</apex:form>
</apex:page>
what is the command link action for new pop-up window in visualforce,
<apex:page setup="false" sidebar="false" standardController="contact" recordSetVar="ContactList">
<apex:form >
<apex:commandButton value="New Contact" action="/apex/customcontacts"/>
<apex:pageBlock >
<apex:pageBlockTable value="{!Contactlist}" var="A">
<apex:column headerValue="Contact Name">
<apex:commandLink action="/apex/customcontactsdetailedpage?id={!A.id}" target="_blank">
{!A.Name}
</apex:commandLink>
</apex:column>
<apex:column value="{!A.ID}"/>
<apex:column value="{!A.Phone}"/>
<apex:column value="{!A.mailingcountry}"/>
</apex:pageBlockTable> >
</apex:pageBlock>
</apex:form>
</apex:page>
I already mpdified your code and provided the solution in your another simillar question. Haev a look.
https://developer.salesforce.com/forums/ForumsMain?id=9060G0000005WEBQA2
Here is the updated code
All Answers
<apex:commandLink value=" {!A.Name}" onclick="window.open('/ {!A.id}')"/>
Mark this as solved if this helps you
Good luck !
I already mpdified your code and provided the solution in your another simillar question. Haev a look.
https://developer.salesforce.com/forums/ForumsMain?id=9060G0000005WEBQA2
Here is the updated code