--
Model-Glue Sites:
Home Page: http://www.model-glue.com
Documentation: http://docs.model-glue.com
Bug Tracker: http://bugs.model-glue.com
Blog: http://www.model-glue.com/blog
You received this message because you are subscribed to the Google
Groups "model-glue" group.
To post to this group, send email to model...@googlegroups.com
To unsubscribe from this group, send email to
model-glue+...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/model-glue?hl=en
This is a mapping problem.
The MG framework is not reachable from your application.
In order for me to help, you need to provide your directory structure of where your app is, where Model ue is, and how you're accessing it in the URL.
Dw
Also, please be patient as many (most?) Are traveling to cf.Objective() today, and have limited connectivity.
Shutting down phone now, per BS FAA regulations.
Sent from my Samsung Galaxy SII
Muhammad,
From the screenshots, you need to move c:\inetpub\wwwroot\ModelGlue_3.1.299\ModelGlue
To
c:\inetpub\wwwroot\ModelGlue
The error is because ModelGlue cannot be found in the web root.
Try that and report back.
---
James Allen
Blog: http://jamesallen.name
Twitter: @CFJamesAllen (Coldfusion / Web development)
Twitter: @jamesallenuk (General)
Twitter: @JamesAllenVoice (Voiceover)
Tune in to the best in community radio – Codebass Radio: http://codebassradio.net
Ok, you are overthinking this. The error you are getting is the same error you would get for any file not found.
Basically, Your Model Glue folder needs to be in the web root. (wwwroot, in your case)
You have ModelGlue3.2.299 in the webroot. This means none of the ModelGlue framework can be found at the expected location.
Move the entire contents of the ModelGlue3.2.299 folder into the wwwroot folder and try again.
DW
But you actually move the ModelGlue_3.1.2999\ModelGlue folder to the c:\inetpub\wwwroot?
You didn’t just rename ModelGlue_3.1.2999 to ModelGlue right as that won’t work.
Ok, good.
You also need to download the ColdSpring framework and install it.
That step was linked on the first page of the quickstart and can be found here. http://docs.model-glue.com/wiki/InstallingModelGlue
Be sure to put the ColdSpring framework in the webroot.
Don't worry, you are almost home free!
DW
That looks fine, but the ModelGlue folder in there is unnecessary.
DW
The problem now is that the ColdSpring website no longer works.
So to avoid Muhammad having to search around, here is a zip file of the 1.2 final of ColdSpring I’ve uploaded to my site:
http://jamesallen.name/temp/coldspring1-2-final.zip
Muhammad,
Download this and unzip it into a folder called ColdSpring.
Make sure it is here:
C:\inetpub\wwwroot\ColdSpring
Then report back.
---
James Allen
Blog: http://jamesallen.name
Twitter: @CFJamesAllen (Coldfusion / Web development)
Twitter: @jamesallenuk (General)
Twitter: @JamesAllenVoice (Voiceover)
Tune in to the best in community radio – Codebass Radio: http://codebassradio.net
Well done James.
I'm getting on a plane. Thanks for helping Muhammad get sorted out.
DW
No probs Dan – glad I can help.
Have a blast at CF.O. I can feel the electricity from here. ;)
James, I thought you were coming, too?
(One flight done. Two more to go for me!)
Sent from my Samsung Galaxy SII
I’m the odd one out I think. J Would love to be there, just the expense to get over from the UK really with a big vacation coming up later in the year. L
Would be good to do it one year though for sure.
Looking forward to keeping up with all the happenings on Twitter though.
---
James Allen
Blog: http://jamesallen.name
Twitter: @CFJamesAllen (Coldfusion / Web development)
Twitter: @jamesallenuk (General)
Twitter: @JamesAllenVoice (Voiceover)
Tune in to the best in community radio – Codebass Radio: http://codebassradio.net
Damn. Could have sworn I saw you're name on the list. Oh well. One of these centuries I need to make the hop across the pond myself. :-)
Sent from my Samsung Galaxy SII
For sure. Shame we don’t have big UK conferences to make the trip easier to justify.
Awesome news Mohammad!
I know how frustrating this kind of thing can be.
The fun part can start now though as you begin to explore the world of ModelGlue – it’s a great framework.
Hi Muhammad,
Your modelglue.xml looks fine to me so not sure why that event is not seen. In the screen shot the file in Dreamweaver isn’t saved but I assume that’s just when you took the screenshot – it’s definitely been saved right? I might as well check.
Only other thing I could think is if you have reload = false in the coldspring. Xml but you shouldn’t have as the default is true which means that the config files etc reload on every load..
Though try adding init=true to the URL that isn’t working to see if it helps.
Hi James,
thanks for replying reload switch is already true.. you can have a look my ColdSpring.xml File also… i don't know why it is not working funny thing
for testing deleted everything in modelGlue.xml then I saved but app still working no error is coming my mind is blowing :( , i deleted all the extra directories from wwwRoot still same situation
Hi Muhammad,
Your modelglue.xml looks fine to me so not sure why that event is not seen. In the screen shot the file in Dreamweaver isn’t saved but I assume that’s just when you took the screenshot – it’s definitely been saved right? I might as well check.
Only other thing I could think is if you have reload = false in the coldspring. Xml but you shouldn’t have as tThe default is true which means that the config files etc reload on every load..
Quickest thing is if you can send me a zip file of the current translator/ folder and I’ll take a proper look.
Ah great to hear Muhammad. It did sound like a weird caching issue. Glad you sorted it.
26 : <cfset viewcollection = attributes.viewcollection /> 27 : <cfset helpers = attributes.helpers /> 28 : </cfsilent><cfinclude template="#attributes.includePath#" /></cfif>--------------------------------------------
Could not find the included template views/exception.cfm. | |||||||||
| Note: If you wish to use an
absolute template path (for example, template="/mypath/index.cfm") with
CFINCLUDE, you must create a mapping for the path using the ColdFusion
Administrator. Or, you can use per-application settings to specify mappings
specific to this application by specifying a mappings struct to THIS.mappings in
Application.cfc. Using relative paths (for example, template="index.cfm" or template="../index.cfm") does not require the creation of any special mappings. It is therefore recommended that you use relative paths with CFINCLUDE whenever possible. | |||||||||
| The
error occurred in
C:\Inetpub\wwwroot\cfcookbook\ModelGlue\gesture\view\ViewRenderer.cfm: line
28 Called from C:\Inetpub\wwwroot\ModelGlue\gesture\view\ViewRenderer.cfc: line 80 Called from C:\Inetpub\wwwroot\cfcookbook\ModelGlue\gesture\eventrequest\EventContext.cfc: line 661 Called from C:\Inetpub\wwwroot\cfcookbook\ModelGlue\gesture\eventrequest\EventContext.cfc: line 275 Called from C:\Inetpub\wwwroot\cfcookbook\ModelGlue\gesture\eventrequest\EventContext.cfc: line 199 Called from C:\Inetpub\wwwroot\ModelGlue\gesture\ModelGlue.cfc: line 243 Called from C:\Inetpub\wwwroot\cfcookbook\ModelGlue\gesture\ModelGlue.cfm: line 83 Called from C:\Inetpub\wwwroot\cfcookbook\ModelGlue\ModelGlue.cfm: line 27 Called from C:\Inetpub\wwwroot\cfcookbook\index.cfm: line 28 | |||||||||
26 : <cfset viewcollection = attributes.viewcollection /> 27 : <cfset helpers = attributes.helpers /> 28 : </cfsilent><cfinclude template="#attributes.includePath#" /></cfif> | |||||||||
|
| |||||||||
Resources:
| |||||||||
| |||||||||
Hi guys me again :
im on training 3 http://docs.model-glue.com/wiki/Training/Section03
Based on the URL, that screen looks right.
DW
...
Once you successfully complete the above tasks, run your application and click the home navigation element. You should see a screen load with the title of Saved Shipments (see figure below). You may interact with this screen, pressing Edit, Print, Display and the other links in the User Interface. All of them will work, except for New Item. We'll cover New Item in a future section.

Shipment List View
Ahh, I see what you mean.
Go back through the steps and see which one you skipped.
DW
...