Custom Objects placement

View: New views
7 Messages — Rating Filter:   Alert me  

Custom Objects placement

by Phillip Duba-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

In trying out the beta, I used the developer's training document based on 4.0. I was creating my own custom objects, but I'm a little unsure of where to place them, as where I have put them, they don't show up where indicated in the documents (COAPI management). I did the advanced installation of FarCry, Web Server mapping. If I have an object that would be used in a single project, do I place this in the projects/myproject/packages/types folder? If I want it available across all projects, I assume it goes into the core somewhere? Thanks,

Phil

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "farcry-beta" group.
To post to this group, send email to farcry-beta@...
To unsubscribe from this group, send email to farcry-beta-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/farcry-beta?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Custom Objects placement

by shib71 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

That's the correct place for them. One reasn they may not appear in the COAPI admin is if the components has instantiation issues: i.e. syntax errors, or if the component extends something that doesn't exist. A quick way to check for most of these problems is to look at your new components in the CFIDE component doc browser. That will turn up any errors.

Also, this is probably an unnecessary reminder, but your custom types need to extend farcry.core.packages.types.types.

Hope this helps.

Blair

On Thu, May 22, 2008 at 1:34 AM, Phillip Duba <philduba@...> wrote:
In trying out the beta, I used the developer's training document based on 4.0. I was creating my own custom objects, but I'm a little unsure of where to place them, as where I have put them, they don't show up where indicated in the documents (COAPI management). I did the advanced installation of FarCry, Web Server mapping. If I have an object that would be used in a single project, do I place this in the projects/myproject/packages/types folder? If I want it available across all projects, I assume it goes into the core somewhere? Thanks,

Phil




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "farcry-beta" group.
To post to this group, send email to farcry-beta@...
To unsubscribe from this group, send email to farcry-beta-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/farcry-beta?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Custom Objects placement

by Phillip Duba-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks Blair, I'll make sure I do that and if I still have issues, I'll post back,

Phil

On Wed, May 21, 2008 at 4:55 PM, Blair McKenzie <shib71@...> wrote:
That's the correct place for them. One reasn they may not appear in the COAPI admin is if the components has instantiation issues: i.e. syntax errors, or if the component extends something that doesn't exist. A quick way to check for most of these problems is to look at your new components in the CFIDE component doc browser. That will turn up any errors.

Also, this is probably an unnecessary reminder, but your custom types need to extend farcry.core.packages.types.types.

Hope this helps.

Blair


On Thu, May 22, 2008 at 1:34 AM, Phillip Duba <philduba@...> wrote:
In trying out the beta, I used the developer's training document based on 4.0. I was creating my own custom objects, but I'm a little unsure of where to place them, as where I have put them, they don't show up where indicated in the documents (COAPI management). I did the advanced installation of FarCry, Web Server mapping. If I have an object that would be used in a single project, do I place this in the projects/myproject/packages/types folder? If I want it available across all projects, I assume it goes into the core somewhere? Thanks,

Phil







--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "farcry-beta" group.
To post to this group, send email to farcry-beta@...
To unsubscribe from this group, send email to farcry-beta-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/farcry-beta?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Custom Objects placement

by Chris Kent-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

As Blair said, any syntax errors will stop the component from showing in the COAPI Type Classes management screen.

To confirm that your component is in the correct place, check the syntax of the component properties. If you still cannot see what the problem is, comment out all but one property e.g. the title/label properties and re-upload. If the component appears you know it is in the right place, but do nto deploy it yet.

You can then start to uncomment the properties one-by-one or in a batch and re-upload until the component disappears from the COAPI Type Classes management screen.

This should help you track down the problem.

Chris.


On Wed, May 21, 2008 at 9:55 PM, Blair McKenzie <shib71@...> wrote:
That's the correct place for them. One reasn they may not appear in the COAPI admin is if the components has instantiation issues: i.e. syntax errors, or if the component extends something that doesn't exist. A quick way to check for most of these problems is to look at your new components in the CFIDE component doc browser. That will turn up any errors.

Also, this is probably an unnecessary reminder, but your custom types need to extend farcry.core.packages.types.types.

Hope this helps.

Blair


On Thu, May 22, 2008 at 1:34 AM, Phillip Duba <philduba@...> wrote:
In trying out the beta, I used the developer's training document based on 4.0. I was creating my own custom objects, but I'm a little unsure of where to place them, as where I have put them, they don't show up where indicated in the documents (COAPI management). I did the advanced installation of FarCry, Web Server mapping. If I have an object that would be used in a single project, do I place this in the projects/myproject/packages/types folder? If I want it available across all projects, I assume it goes into the core somewhere? Thanks,

Phil







--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "farcry-beta" group.
To post to this group, send email to farcry-beta@...
To unsubscribe from this group, send email to farcry-beta-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/farcry-beta?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Custom Objects placement

by Phillip Duba-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I did the CFIDE component browser check, fixed an error that was shown, and now that works. I'm getting another error when actually trying to log into the webtop:

Element PACKAGEPATH is undefined in a CFML structure referenced as part of an expression.

In AlterType.cfc, line 789.

I get that error when going to any of the FarCry site pages now, front-end or admin. Thoughts? Thanks,

Phil

On Wed, May 21, 2008 at 5:59 PM, Phillip Duba <philduba@...> wrote:
Thanks Blair, I'll make sure I do that and if I still have issues, I'll post back,

Phil


On Wed, May 21, 2008 at 4:55 PM, Blair McKenzie <shib71@...> wrote:
That's the correct place for them. One reasn they may not appear in the COAPI admin is if the components has instantiation issues: i.e. syntax errors, or if the component extends something that doesn't exist. A quick way to check for most of these problems is to look at your new components in the CFIDE component doc browser. That will turn up any errors.

Also, this is probably an unnecessary reminder, but your custom types need to extend farcry.core.packages.types.types.

Hope this helps.

Blair


On Thu, May 22, 2008 at 1:34 AM, Phillip Duba <philduba@...> wrote:
In trying out the beta, I used the developer's training document based on 4.0. I was creating my own custom objects, but I'm a little unsure of where to place them, as where I have put them, they don't show up where indicated in the documents (COAPI management). I did the advanced installation of FarCry, Web Server mapping. If I have an object that would be used in a single project, do I place this in the projects/myproject/packages/types folder? If I want it available across all projects, I assume it goes into the core somewhere? Thanks,

Phil








--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "farcry-beta" group.
To post to this group, send email to farcry-beta@...
To unsubscribe from this group, send email to farcry-beta-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/farcry-beta?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Custom Objects placement

by modius :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On May 22, 9:32 pm, "Phillip Duba" <phild...@...> wrote:

> I did the CFIDE component browser check, fixed an error that was shown, and
> now that works. I'm getting another error when actually trying to log into
> the webtop:
>
> Element PACKAGEPATH is undefined in a CFML structure referenced as part of
> an expression.
>
> In AlterType.cfc, line 789.
>
> I get that error when going to any of the FarCry site pages now, front-end
> or admin. Thoughts? Thanks,

The error you are getting implies that the application init cannot
instantiate your custom component.  Can you post the CFC to the list
so we can take a look?

-- geoff
http://www.daemon.com.au/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "farcry-beta" group.
To post to this group, send email to farcry-beta@...
To unsubscribe from this group, send email to farcry-beta-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/farcry-beta?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Custom Objects placement

by Phillip Duba-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I rebuilt the component and now it shows. Not sure what I did wrong but I was able to deploy it. I'll look through my CFEclipse history and see the diffs to see what the hang-up might have been. If I run into any other issues related to this custom object, I'll follow up on this thread. Thanks guys for the troubleshooting tips,

Phil

On Thu, May 22, 2008 at 9:35 AM, modius <modius@...> wrote:

On May 22, 9:32 pm, "Phillip Duba" <phild...@...> wrote:
> I did the CFIDE component browser check, fixed an error that was shown, and
> now that works. I'm getting another error when actually trying to log into
> the webtop:
>
> Element PACKAGEPATH is undefined in a CFML structure referenced as part of
> an expression.
>
> In AlterType.cfc, line 789.
>
> I get that error when going to any of the FarCry site pages now, front-end
> or admin. Thoughts? Thanks,

The error you are getting implies that the application init cannot
instantiate your custom component.  Can you post the CFC to the list
so we can take a look?

-- geoff
http://www.daemon.com.au/



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "farcry-beta" group.
To post to this group, send email to farcry-beta@...
To unsubscribe from this group, send email to farcry-beta-unsubscribe@...
For more options, visit this group at http://groups.google.com/group/farcry-beta?hl=en
-~----------~----~----~----~------~----~------~--~---

LightInTheBox - Buy quality products at wholesale price