Get BigDecimal value from Grails params -
I am writing a reporting functionality for a domain object in grails field Bigdiskim that "balance" I query Please appreciate any help you are having problems writing.
View
& lt; Tr class = "prop" & gt; & Lt; Td valign = "top" class = "name" & gt; & Lt; Label = "balance" & gt; & Lt; G: Message code = "sale.balance.label" default = "balance" /> & Lt; / Label & gt; & Lt; / TD & gt; & Lt; Td valign = "top" class = "value" & gt; & Lt; G: textField name = "balance" value = "$ {params.balance}" /> & Lt; / TD & gt; & Lt; / TR & gt; controller
def c = Bikrikkreteraitria () def Sell = Siklist {if (params.id) idEq (java.lang. Long if (params.customerPh) ( 'customer pH', params.customerPh + "%"), such as (params.customerName) ( 'client name', params.customerName + "%") if (params.CustomerName) if (params . Balance) GE ( 'balance', Java. Math. Bigdekl (Paramskbilens)) if (Params. Tatlsel) GE ( "Total seal, Params. Tatlsel) exception < / P>
groovy.lang.MissingPropertyException: There is no such property: Java for class: grails.orm.HighnetateCriteriaBolilder And colorthread.SaleController $ _closure9_closure23.doCall (SaleController.groovy: 289) colorthread.SaleController $ _closure9_closure23.doCall on (SaleController.groovy)
you new keywords are missing: GE ( 'Balance', a new Java. Math. Bigdekl (Param. Balan))
Comments
Post a Comment