• Mustafa Zaidi
  • NEWBIE
  • 0 Points
  • Member since 2011

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 2
    Replies
HI,
I need to upload 2048 key enrcryption certificate in salesforce. I can understand that salesforce allow user to upload 1024 key encryption certicates.
Could you please shared any method/process so I can upload 2048 key encryption in SFDC?

 

Hi,

   I have created the visualforce page for some our requirement, using the javascript i will show the child window using through the given below code.

  <apex:page standardController="Shipment_Detail__c" extensions="editSerialNumber" tabStyle="Shipment_Detail__c">

  <script>

  function showModalWindow(number)
           {
             window.showModalDialog("/apex/VFPopupSerial?"+number,'',"resizable: yes");
           }

  </script>

 

<apex:image styleclass="lookupIcon" id="theImage1" onclick="showModalWindow('{!details.Id}')" style="cursor: pointer;  cursor: hand;" value="/s.gif" rendered="true">

 

the given below another visual force page for child window

 

<apex:page Controller="SerialPopup" wizard="true">

    <script>

      function Close()

        {          

          window.close();

        }

    </script>

    <apex:form >

        <apex:pageBlock >

            <apex:pageBlockTable value="{!Items}" var="d">

                <apex:column headerValue="Serial Numbers">

                     <a value="{!d.Name}" style="cursor: pointer; cursor: hand;" onclick="javascript.window.close()">{!d.Name} </a>                        

                </apex:column>

            </apex:pageBlockTable>

        </apex:pageBlock>

    </apex:form>

</apex:page>

 

i need child window is to be close the on click event for list of values in child window. but the child window never closed. i have used window.close(); and also self.close(); how to close that window.. please help

 

Thanks in advance.

 

Hi,

 

I am calling a method from my controller every 5 seconds.

But I want to dynamically change the interval by adding a custom setting and calling the custom setting in apex class and

referring that in the interval attribute of actionpoller.

 

But when I tried that, the method is not getting called every 5 seconds. It is taking the default interval as 60 seconds.

 

I also tried by creating an Integer variable in the controller and called that in the interval attribute of actionpoller.

 

Following is my code which I am trying:

public class exampleCon {
    Integer count = 0;
     Integer interval=5;                   
    public PageReference incrementCounter() {
        count++;
        return null;
    }
    public Integer getinterval(){
        return interval;
    }                 
    public Integer getCount() {
        return count;
    }
}

 

<apex:page controller="exampleCon">
    <apex:form >
        <apex:outputText value="Watch this counter: {!count}" id="counter"/>
        <apex:actionPoller action="{!incrementCounter}" rerender="counter" interval="{!interval}"/>
    </apex:form>
</apex:page>

 

 

Please let me know any suggestions.

 

Thanks

Arvind