Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [wrapper]

The tag has no usage guidance.

2
votes
1answer
28 views

Query related to DML Example for AccountWrapper

I am trying to implement below example shown in screenshot :- I want to check that for records where checkbox is selected, name field should not be null, then only insertion should happen, but name ...
2
votes
1answer
71 views

Cannot get aggregate result (or anything good) with SOQL on multiSelct picklist

I have a working aggregate result class with a wrapper. Have made a couple of data sets pulled from cases and campaigns to get aggregate results of participants of both by date and other fields. ...
0
votes
1answer
57 views

Assigning Custom Setting value to Custom object Field

/***********Custom setting **********/ Map<string, CountryCO__c> codes = CountryCO__c.getAll(); string pb; list<string> pb1=new list<string>(); for (...
0
votes
1answer
76 views

Make field Mandatory when corresponding record button is clicked

I have the following code in my Lightning Component <aura:iteration items="{!v.wrapAccountList}" var="arItem" indexVar="index"> <tr> <div class="slds-truncate"> <...
0
votes
1answer
39 views

Sorting of the 2 child records referencing each of their date fields (START DATE)

I have three objects, the Professional_Experience__c, Assignment__c, and Project__c. Professional Experience has two child (Assignment__c, and Project__c). Then the Assignment__c has also a child (...
0
votes
1answer
56 views

Need help with Visualforce in passing data from one page to other

I have finished the visual force page and the wrapper and now what I wanted to happen is that when a record/s has been Selected then the action page will redirect wherein users will be able to edit ...
0
votes
1answer
198 views

Wrapper class has no binding with visualforce page

for a raison that i ignore, any changes in the visualofrce page on the wrapper input fields are not picked up bu the wrapper class in apex as if there is no binding between the two, all the fields are ...
-1
votes
1answer
165 views

Object lookup field not fetching values in wrapper class

I am using this below wrapper class in a method which is called from a action support from vf page. In debug log - @@@@offerId --> Id of the record But @@@@offervalue i am getting null. I am not ...
-3
votes
1answer
282 views

Attempt to de-reference a null object — while querying OrderItem

I am creating a vf page where a user can create multiple orderitem for a order by adding dynamic rows. When a user selects any product from product lookup, i have an actionsupport which will query ...
2
votes
0answers
212 views

Displaying the values of the wrapper class

I have a wrapper class inside a wrapper class which contains Assignment object and List of Projects. public class projWrapper{ public Professional_Experience__c peWrap {get;set;} public List&...
2
votes
0answers
5k views

Binding wrapper class variable to the value of an ui:inputtext in Lightning?

A similar question has been asked here Binding behaviour on lightning components with ui:inputText/Checkbox components I have 2 attributes of 1) Type = Wrapper class 2) Type = Sobject My ...
1
vote
0answers
31 views

Wrapper needed? Looking for assistance

I am attempting to display a VF page listing contacts under a Tier Level. Tier Level is a custom object that is a lookup field on the account record. For example, a contact belongs to an account. ...
1
vote
0answers
296 views

Use wrapper class to handle multiple checkbox fields in a single object

I've been handed a task and I don't really know where to start: I have a set of checkbox fields in one object. These fields do not work well when I want to create a new View in Salesforce. Each ...
0
votes
0answers
624 views

Displaying a Lookup/Reference field type on a Visualforce page

I'm struggling to find this answer due to the ambiguity surrounding the many scenarios the keyword Reference can fit in to. I have multiple Reference types in my custom object. They are lookup ...
0
votes
0answers
526 views

Does Wrapper Class records Allow DML Operations ?Thank You

I am using a wrapper class to fetch records from various objects , now i would like to know can delete records of different objects using wrapper class ? Thank You!!! MY apex Page :-- <apex:page ...