• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

CF8, GRID,BIND

Explorer ,
Aug 06, 2007 Aug 06, 2007

Copy link to clipboard

Copied

I am trying to get the ajax grid to work but have a small hurdle.

The application sits on a D:drive, with a virtual dir : Apps : http://myserver/apps = web-root

/component/ are in a subdir, now I am I am trying to use

bind="cfc:component.mytest.getNames({cfgridpage},{cfgridpagesize},{cfgridsortcolumn},{cfgridsortdirection})"

But it does not -see- my component. The only thing that works is copying the mytest.cfc to the c:\coldfusion8\wwwroot\

What do I miss here ? Thank you

Thanks

TOPICS
Advanced techniques

Views

404

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 07, 2007 Aug 07, 2007

Copy link to clipboard

Copied

i'm not sure that using the folder name in the bind statement will work.
Try setting your cfc locations in application.cfm - <cfset REQUEST.CFCLocation="cfc"> something like that, where cfc is the folder name.

Hope that helps a little.

Mat Evans

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 07, 2007 Aug 07, 2007

Copy link to clipboard

Copied

Thanks, will try,

sofar my conclusion is that virtual directories are not accepted in the path.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 16, 2007 Aug 16, 2007

Copy link to clipboard

Copied

I think you'll have to do a mapping. You can do it in the admin under
mapping: name: components path: D:\apps\components

CF8 did introduce application.cfc mappings you might look into that as well.

"Hanno1962" <webforumsuser@macromedia.com> wrote in message
news:f99r3g$b2l$1@forums.macromedia.com...
> Thanks, will try,
>
> sofar my conclusion is that virtual directories are not accepted in the
> path.


Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Aug 22, 2007 Aug 22, 2007

Copy link to clipboard

Copied

LATEST
Unfortunately if you want to use a cfc:bind statement you need to have the cfc be somewhere under the webroot. You can not even use mappings, which frankly blows.

From the Adobe LiveDocs:

quote:

Using bind expressions
To specify a bind expression, use one of the following formats:

cfc:componentPath.functionName(parameters)
Note: The component path cannot use a mapping. The componentPath value must be a dot-delimited path from the web root or the directory that contains the current page.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation