• Arun Kumar 76
  • NEWBIE
  • 0 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 3
    Questions
  • 4
    Replies
Hi
I have VF page, in which all account are displaying.
I want to create Filter Criteria on my VF page as below. I don't know how to start and where to start.

Lookup Filter

Please help to resolve this issue.
Thanks in advance
 


Hi,
I want to display data on bar series in as below.

User-added image

Currently my screen looks like as below:

:User-added image

My VF code is:
                                            width="200" data="{!Data}"
                                            colorSet="#6BAE4A,#156F9E,#A845DC,#E27001" id="AgePlaced">

                                                                                            fields="field1,field2,field3,field4" />
                                                                                            title="">

                                            
                                                                                            stacked="true" xField="name" groupGutter="1"
                                                yField="field1,field2,field3,field4
                                                title="Placed,Unplaced" colorsProgressWithinSeries="true">
                                                
                                            
                                        



KIndly do the needful
 

 
What I want to do is, if user check Duplicate Checkbox, "Duplicate" text should saved in the local variable.
I achieved this by using user interface like formula field and Workflow field update

User-added image
     if(Duplicate__c=TRUE,'Duplicate','' )

but I think that is not optimise solution, because I have to create seprate formula field for every checkbox.

Actually I'm a .Net guy. In .net we can get the Text as checkboxId.Text. It will give the "Duplicate". But I don't know the best solution.

suppose I have 20 checkbox. If i checked 10 checkbox and click on save button those 10 texts should assigned in 10 diff local variables. So that I can pass those values to external WebService.


Thanks in advance
Hi
I have VF page, in which all account are displaying.
I want to create Filter Criteria on my VF page as below. I don't know how to start and where to start.

Lookup Filter

Please help to resolve this issue.
Thanks in advance
 


Hi,
I want to display data on bar series in as below.

User-added image

Currently my screen looks like as below:

:User-added image

My VF code is:
                                            width="200" data="{!Data}"
                                            colorSet="#6BAE4A,#156F9E,#A845DC,#E27001" id="AgePlaced">

                                                                                            fields="field1,field2,field3,field4" />
                                                                                            title="">

                                            
                                                                                            stacked="true" xField="name" groupGutter="1"
                                                yField="field1,field2,field3,field4
                                                title="Placed,Unplaced" colorsProgressWithinSeries="true">
                                                
                                            
                                        



KIndly do the needful
 

 

hi

i have class like

 

public class abc

{

integer a,b,c;

    public void maths()

{

     string s='add';

 

  if(s=='add')

{

   c=a+b;
}

else if(s=='sub')

{
   c=a-b;
}
}

}

 

 

here i want to cover both if and Else blocks.

Please guide me.

Hi . In my vf page i am getting an error like  " Unknown property 'SObject.name' "

Controller :

List<Account> accList=new List<Account>([SELECT Name,ID,owner.name FROM Account]);

public List<objectwrapper> getavailableObjects() {

if(selected_object=='ACCOUNT') {
for(Account a:accList) {
wrapperList.add(new objectwrapper(a));
SelectObject();
}
}
return wrapperList;
}

public class objectwrapper  {
public sObject Objectwrap{get;set;}
public boolean selected {get;set;}
public objectwrapper(sObject sob)
{
Objectwrap=sob;
selected=false;
}

}

vf page :

<apex:pageBlockTable value="{!availableObjects}" var="obj">

<apex:column >
<apex:inputCheckbox value="{!obj.selected}" id="checkeddone">
<apex:actionSupport event="onclick" action="{!GetSelected}" reRender="Sel_OBJ"/>

</apex:inputCheckbox></apex:column>

<apex:column headerValue="Name" value="{!obj.Objectwrap.name}"/>
<apex:column headerValue="ID" value="{!obj.Objectwrap.Id}"/>
<apex:column headerValue="Owner" value="{!obj.Objectwrap.Owner.name}"/>
</apex:pageBlockTable>
</apex:pageBlock>

 
Can anyone please help. I am struck up with this. Thanks in advance !!