• charan@app
  • NEWBIE
  • 50 Points
  • Member since 2010

  • Chatter
    Feed
  • 2
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 6
    Questions
  • 9
    Replies

 

Hi

 

                          In my application when a link is clicked through new tab it should direct to the respective

                            record,through Java Script.

 

                                                  can any one help me.

Guys!

 

Am a newbie..

 

Please guide me in retreiving data from poup page to master page.

 

Scenario:

 

I have two pages master and popup pages,

 

Master page:

 

<apex:page id="opage" controller="dep" >
<script>
function pop()
    {    
    var msgwindow=null;   
    var url="/apex/new1?val=";
    var value = document.getElementById('{!$Component.opage.oform.oval}').value;
    msgWindow = open(url+value,window,'resizable=no,width=200,height=400');   
    return false;
    }
</script>

<apex:form id="oForm">
        <apex:inputtext id="oval"/>
        <apex:commandbutton value="pop" onClick="pop()"/>
 </apex:form>

</apex:page>

 

 

 

popuppage:

 

 

<apex:page wizard="true" sidebar="false" controller="dep" id="mypage">
<script>
function setForm(name)
{
alert(name);
<!--window.parent.opener.document.getElementById('oval').value = document.getElementById('oval').value;-->
window.opener.document.getElementById('opage:oform:oval').value = name;
self.close();
return false;
}
</script>
<apex:form id="myform">
            <apex:repeat value="{!depts}" var="a" id="rpt">    
            <apex:commandLink value="{!a.name}" id="oval" onclick=" return setForm('{!a.name}');"><br/>
              
            </apex:commandlink>
           </apex:repeat>              
</apex:form>
</apex:page>

 

 

Whenever User clicks on pop button in master page, its directing to pop page and whenevr I select a value, window is not closing and value is also not sent to master page.

 

 

Please guide me at earliest....

Thanx in Advance.

How to implement timer in VF pages?

 

I want the page to be submitted when timer is set?

 

 

Kindly help me.

Hi,

 

Can we perform Mass Delete (in Customization) on all custom objects?

 

please reply.

I have 3 obj's

A

B
C

I have a field with a,b acting as master to c.

 

While importing data, I didnt find my C object to import data to it.

I imported data to A,B Objects

But Cant import data into C object.

 

 

Kindly solve this issue....

 

how to change date format mm/dd/yy to dd/mm/yy format in salesforce...

Hi i m new to salesforce i just want to know the structure  of apex cde how to develop,can any one help me.Thanks in Advance