Actually, I changed modelglueapplicationtemplate to translator. That
is fine. If I don't change, I will get the same stack trace as the
with "modelglueapplicationtemplate" instead of "translator"

On Mar 11, 12:29 pm, Dan Wilson <[email protected]> wrote:
> So, I have more questions than answers right now, but it looks like
> something is weird with your paths.
>
> You said you are calling this by the following 
> URL:http://127.0.1:8500/modelglueapplicationtemplate
>
> This means, if I'm making the right assumptions, your ColdFusion files
> should be here:
>
> C:/ColdFusion10/cfusion/wwwroot/modelglueapplicationtemplate
>
> However, the stack trace doesn't seem to be coming from that directory
> at all. It's pointing to:
>
> C:/ColdFusion10/cfusion/wwwroot/translator/index.cfm
>
> So, something isn't lining up with what you should be doing. It's very
> important to get the paths right in the coldspring.xml file, else
> nothing will work. I think the best thing for you to do right now, is
> remove these two directories and start over:
>
> C:/ColdFusion10/cfusion/wwwroot/translator
>
> C:/ColdFusion10/cfusion/wwwroot/modelglueapplicationtemplate
>
> Begin here:https://github.com/modelglue/modelglue-framework/wiki/QuickStart
>
> Post back with any questions you have.
>
> DW
>
>
>
> Lucy Miles wrote:
> > <beans>
>
> > <!-- This is your Model-Glue configuration -->
> > <bean id="modelglue.modelGlueConfiguration"
> > class="ModelGlue.gesture.configuration.ModelGlueConfiguration">
>
> >    <!-- Be sure to change these to false when you go to production! -->
> >    <property name="reload"><value>true</value></property>
> >    <property name="debug"><value>true</value></property>
>
> >    <!-- Name of the URL variable that states which event-handler to run
> > -->
> >    <property name="eventValue"><value>event</value></property>
> >    <!-- Default event-handler -->
> >    <property name="defaultEvent"><value>page.index</value></property>
> >    <!-- Execute this event when the requested event is missing. Won't
> > work if generationEnabled=true and in development mode! -->
> >    <property name="missingEvent"><value>page.missing</value></property>
> >    <!-- Execute this event when an error occurs. -->
> >    <property name="defaultExceptionHandler"><value>page.error</value></
> > property>
>
> >    <!-- Controls reloading -->
> >    <property name="reloadPassword"><value>true</value></property>
> >    <property name="reloadKey"><value>init</value></property>
>
> >    <!-- Where to find necessary files -->
> >    <property name="configurationPath"><value>config/ModelGlue.xml</
> > value></property>
> >    <property name="applicationMapping"><value>/
> > modelglueapplicationtemplate</value></property>
> >    <property name="viewMappings"><value>/modelglueapplicationtemplate/
> > views</value></property>
> >    <property name="helperMappings"><value>/modelglueapplicationtemplate/
> > helpers</value></property>
>
> >    <!-- Generate unknown events when in development mode?
> > (reload=false) -->
> >    <property name="generationEnabled"><value>false</value></property>
>
> >    <!-- Set the default cache timeout in seconds -->
> >    <property name="defaultCacheTimeout"><value>60</value></property>
>
> >    <!-- Scaffolding config -->
> >    <!-- Turning this off will disable any scaffold generation. Turning
> > this on requires the reload setting above to also be on.-->
> >    <property name="rescaffold"><value>true</value></property>
> >    <!-- Where do you want generated views to be saved to? -->
> >    <property name="generatedViewMapping"><value>views</value></property>
> >    <!--This directory structure should already exists. ModelGlue will
> > create the Scaffolds.xml file and overwrite as needed.-->
> >    <property name="scaffoldPath"><value>config/scaffolds/Scaffolds.xml</
> > value></property>
> >    <!-- What scaffold generation patterns should ModelGlue use if you do
> > not specify in the<scaffold type="">  attribute? .-->
> >    <property
> > name="defaultScaffolds"><value>list,edit,view,commit,delete</value></
> > property>
>
> >    <!-- See documentation or ModelGlueConfiguration.cfc for additional
> > options. -->
> > </bean>
>
> > <!--
> >    If you need your own configuration values (datasource names, etc),
> > put them here.
>
> >    See modelgluesamples/simpleconfiguration/controller/Controller for an
> > example of how to get to the values.
>
> >    Advanced users who are used to ColdSpring will probably delete this
> > bean in favor of their own approach.
> > -->
> > <bean id="modelglue.applicationConfiguration"
> > class="ModelGlue.Bean.CommonBeans.SimpleConfig">
> >    <property name="config">
> >            <map>
> >                    <entry 
> > key="myDatasource"><value>myDatasource</value></entry>
> >            </map>
> >    </property>
> > </bean>
>
> > <!-- Put definitions for your own beans and services here -->
>
> > <!-- ORM Framework Configuration -->
>
> > <!--
> >            To connect Model-Glue to either the
> >            Transfer or Reactor ORM frameworks
> >            uncomment and configure the appropriate block below
> > -->
>
> > <!--
> >    Transfer:
>
> >    <alias alias="ormAdapter" name="ormAdapter.Transfer" />
> >    <alias alias="ormService" name="ormService.Transfer" />
> >    <bean id="transferConfiguration"
> > class="transfer.com.config.Configuration">
> >            <constructor-arg name="datasourcePath"><value>/
> > modelglueapplicationtemplate/config/transfer/Datasource.xml</value></
> > constructor-arg>
> >            <constructor-arg name="configPath"><value>/
> > modelglueapplicationtemplate/config/transfer/Transfer.xml</value></
> > constructor-arg>
> >            <constructor-arg name="definitionPath"><value>/
> > modelglueapplicationtemplate/model/data/transfer</value></constructor-
> > arg>
> >    </bean>
>
> >    Reactor:
>
> >    <alias alias="ormAdapter" name="ormAdapter.Reactor" />
> >    <alias alias="ormService" name="ormService.Reactor" />
> >    <bean id="reactorConfiguration" class="reactor.config.config">
> >            <constructor-arg name="pathToConfigXml"><value>/
> > modelglueapplicationtemplate/config/reactor/Reactor.xml</value></
> > constructor-arg>
> >            <property name="project"><value>test</value></property>
> >            <property name="dsn"><value>test</value></property>
> >            <property name="type"><value>mysql</value></property>
> >            <property 
> > name="mapping"><value>/modelglueapplicationtemplate/model/
> > data/reactor</value></property>
> >            <property name="mode"><value>development</value></property>
> >    </bean>
> > -->
>
> > </beans>- Hide quoted text -
>
> - Show quoted text -

-- 
-- 
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/model-glue?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"model-glue" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to