• raj345
  • NEWBIE
  • 0 Points
  • Member since 2012

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

Hi,

I have a database seup like "c is a lookup to b" and "b is a lookup to a"

Example data
a1 has b1, b2, b3
a2 has b4, b5, b6

My Code
<apex:page standardController="c" >
          <apex:inputField value="{!c.b.a__c} />
         <apex:inputField value="{!c.b__c} />
</apex:page>

My question is, If I select a1 in the first inputField, I want to show only b1, b2, b3 in the second input field, not all the values in the b.

Any help will be appreciated.

Thanks,
Raj.

  • September 13, 2012
  • Like
  • 0

Hi,

I have a database seup like "c is a lookup to b" and "b is a lookup to a"

Example data
a1 has b1, b2, b3
a2 has b4, b5, b6

My Code
<apex:page standardController="c" >
          <apex:inputField value="{!c.b.a__c} />
          <apex:inputField value="{!c.b__c} />
</apex:page>

My question is, If I select a1 in the first inputField, I want to show only b1, b2, b3 in the second input field, not all the values in the b.

Any help will be appreciated.

Thanks,
Raj.

  • September 13, 2012
  • Like
  • 0

Hi, 

 

I am new to salesforce. Is it possible to implement the below syntax?

 

<apex:outputPanel rendered="{ ! (Field value == $CurrentPage.parameters.paramvalue) }" >

 

//  code

 

 

</apex:outputPanel>

 

I  tried in this way but its not working.

 

Thanks,

Raj

  • August 03, 2012
  • Like
  • 0

I am developing a mobile application using Jquery Mobile. When there is no loader, the app is working fine. But after adding loader in the app, when I change from page 1 to page 2, first it changes from page 1 to page 2, again it comes back to page 1 and then changes to page 2 and finally, load all the contents in the page 2.

When there is no loader, when I change from page 1 to page 2, it changes from page 1 to page 2 and loads the page 2 contents instantly. Why it is not working like same when I add to loader to it. Code for loader I am using is 

 

                $j(‘#body’).addClass(‘ui-loading’);  
                $j(‘#body’).removeClass(‘ui-loading’); 
CSS:

               .ui-loader{
                 width:44px;
                 height:44px;
                 color:black;
                 box-shadow:none;
                 background-color:white;
                 background:url('img/loader.gif') no-repeat;
                 border:none;
                 position:absolute;
                 left:50%;
                 margin-left:-48px;
                 margin-top:-44px; 
                 background-position:center;}

 Help will be appreciated. Thanks in advance.

Hi,

I am new to Salesforce. I am developing a mobile application using jquery mobile. In my application, I am sending a url and access token to retrieve data from the salesforce. How do i protect this url and access token. How do people try to hack this url and access token during security review?

Hi, 

 

I am new to Salesforce. I am developing a mobile application using jquery mobile. In my application, I am sending a url and access token to retrieve data from the salesforce. How do i protect this url and access token. How do people try to hack this url and access token during security  review?

I am developing a hybrid application in android. I am trying to load external images from web. but its not working. Internal images were working fine, when I stored it in assests->www folder.The following code I am using to load external images from web.

 

<img src="http:....img.png" />

 

Help will be appreciated. Thanks in advance.

How do i get id of the user with Rest API?

How do I get the id of the user with Rest APi?

I am developing a mobile application using Jquery Mobile. When there is no loader, the app is working fine. But after adding loader in the app, when I change from page 1 to page 2, first it changes from page 1 to page 2, again it comes back to page 1 and then changes to page 2 and finally, load all the contents in the page 2.

When there is no loader, when I change from page 1 to page 2, it changes from page 1 to page 2 and loads the page 2 contents instantly. Why it is not working like same when I add to loader to it. Code for loader I am using is 

 

                $j(‘#body’).addClass(‘ui-loading’);  
                $j(‘#body’).removeClass(‘ui-loading’); 
CSS:

               .ui-loader{
                 width:44px;
                 height:44px;
                 color:black;
                 box-shadow:none;
                 background-color:white;
                 background:url('img/loader.gif') no-repeat;
                 border:none;
                 position:absolute;
                 left:50%;
                 margin-left:-48px;
                 margin-top:-44px; 
                 background-position:center;}

 Help will be appreciated. Thanks in advance.

How do I get the id of the user with Rest APi?