It's not possible. You need to specify the actual path to the component in
the bind, such as
"cfc.servers.getServersbyCustomer
({cfgridpage},{cfgridpagesize},{cfgridsortcolumn},{cfgridsortdirection},99999)"
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
-~----------~----~----~----~------~----~------~--~---