• prasad_more1.3158103303596086E
  • NEWBIE
  • 0 Points
  • Member since 2011

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 7
    Questions
  • 5
    Replies

 

hi,

 

i want to create a Value attribute for my custom component. "Value" attribute is the one which is used to get the value in the corresponding controller class in all the default visualforce components. how to create that "Value" attribute for my custom component? we use this "Value" attribute to pass our values to controller class, we retrieve this by putting get, set in controller class, now how can i do in this??

 

for example :

<apex:page controller="Sample">

<c:sampleComp Value="{!ControllerClass}" />

</apex:page>

 

i want to pass that value attribute to the controller class called "Sample". Then how should i code this attribute to work like above??

i need any code example to achieve this functionality.. please help me..

 

thanks,

abivenkat,

SFDC Learner

 

Is Alias assigned to Users in Salesforce Unique?

Hi,

 

When adding/editing account record, I want to auto-populate Billing State/Province and Billing Country fields when Billing City is selected.

 

I have developed a Visualforce for searching Cities. This Visualforce page should open in a popup window when focus is on Billing City field. In the popup window, User will search for City and select City. When City is selected in popup window, selected City is displayed in Billing City field. I have the data for  State/Province and Country for Cities displayed in popup window. I should be able to pass State/Province and Country for selected City from popup window and auto-populate Billing State/Province and Billing Country on account page for selected City. Is this possible with layout provided for Standard Account page?

 

The Interactive Address lookup application from AppExchange Market place does the same thing. It populates all the address fields when address is selected in popup window and popup window is displayed when focus is on Billing Street field.

 

Thanks,

Prasad