Complex object types cannot be converted to simple valuesThe expression has
requested a variable or an intermediate expression result as a simple value,
however, the result cannot be converted to a simple value. Simple values are
strings, numbers, boolean values, and date/time values. Queries, arrays, and
COM objects are examples of complex values.
The most likely cause of the error is that you are trying to use a complex
value as a simple one. For example, you might be trying to use a query
variable in a cfif tag.
The error occurred in
D:\Inetpub\ftproot\99999\crm.ackstorm.es\02\TEST\calTest_4.cfm: line 6
4 :
5 : <cfgrid name="serversGrid" format="html" pagesize="10" selectmode="row"
striperows="yes" striperowcolor="##E4E4E4"
6 : selectcolor="##CCF1FD" appendkey="yes"
bind="cfc:#application.objServers#.getServersbyCustomer({cfgridpage},{cfgridpagesize},{cfgridsortcolumn},{cfgridsortdirection},99999)">
7 :
On Jan 11, 2008 1:14 PM, Marc Esher <[EMAIL PROTECTED]> wrote:
> What's the error?
>
>
> On Jan 11, 2008 6:40 AM, Xavi <[EMAIL PROTECTED]> wrote:
>
> > I have cfcs like this :
> >
> > <cfset application.objServers = createObject("component","
> > cfc.servers").init("my_datasource")>
> >
> >
> > And i need to bind a cfc to a grid, but i get an error:
> >
> > <cfform name="servers">
> >
> > <cfgrid name="serversGrid" format="html" pagesize="10" selectmode="row"
> > striperows="yes" striperowcolor="##E4E4E4"
> > selectcolor="##CCF1FD" appendkey="yes"
> > bind="cfc:#application.objServers#.getServersbyCustomer({cfgridpage},{cfgridpagesize},{cfgridsortcolumn},{cfgridsortdirection},99999)">
> >
> > <cfgridcolumn name="id" display="no">
> > <cfgridcolumn name="severname" header="Server Name" width="250">
> > <cfgridcolumn name="ips" header="IP's" width="250">
> > </cfgrid>
> >
> > </cfform>
> >
> > Is it posible to do? Or is thtere another way.
> >
> >
> >
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CFCDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cfcdev?hl=en
-~----------~----~----~----~------~----~------~--~---