Timeline for Wrong type for attribute Expected found BigDecimal
Current License: CC BY-SA 3.0
13 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 29, 2016 at 16:26 | vote | accept | Nick | ||
Feb 29, 2016 at 15:31 | comment | added | Nick | Let us continue this discussion in chat. | |
Feb 29, 2016 at 15:26 | comment | added | Adrian Larson♦ |
So why do you have invoice.invoice__c anywhere in your markup?
|
|
Feb 29, 2016 at 15:25 | comment | added | Nick |
i have field on the object Invoice__c called Invoice_Amount__c
|
|
Feb 29, 2016 at 15:22 | comment | added | Adrian Larson♦ |
@AbuHamzah Is there a field on the Invoice__c object called Invoice__c ?
|
|
Feb 29, 2016 at 15:19 | comment | added | Nick |
I have exactly how you have laid-out and when I have this in my VF page <c:mycomponent invoice="{!myInvoice}" /> then getting this error unknown property create apex property invoice.invoice__c error
|
|
Feb 29, 2016 at 14:57 | history | edited | Adrian Larson♦ | CC BY-SA 3.0 |
added 91 characters in body
|
Feb 29, 2016 at 14:54 | comment | added | Adrian Larson♦ |
@AbuHamzah You must use type="Invoice__c" because you have many inputField tags.
|
|
Feb 29, 2016 at 14:51 | comment | added | Nick | I do not think so, I have posted VF page, VF Comp, and Controller, why do you think I'm giving incomplete picture | |
Feb 29, 2016 at 14:48 | comment | added | Nick |
if i try to change to type="Decimal" in the VF component then I'm getting this error <apex:inputField> can only be used with SObjects, or objects that are Visualforce field component resolvable
|
|
Feb 29, 2016 at 14:45 | history | edited | Adrian Larson♦ | CC BY-SA 3.0 |
added 152 characters in body
|
Feb 29, 2016 at 14:43 | comment | added | Nick | what is the best practice in this situation? | |
Feb 29, 2016 at 14:40 | history | answered | Adrian Larson♦ | CC BY-SA 3.0 |