Hi All,

I have downloaded a model glue application named "PlantOMatic". I have 
performed the basic step for set up and it is running.
But I have question regarding "coldspring.xml" file.

There is  a section like following

*<!-- Where to find necessary files -->*
*<property 
name="configurationPath"><value>config/ModelGlue.xml</value></property>*
*<property name="applicationMapping"><value>/PlantOMatic</value></property>*
*<property name="viewMappings"><value>/PlantOMatic/views</value></property>*
*<property 
name="helperMappings"><value>/PlantOMatic/helpers</value></property>*

>From the above snippet we can see that for the property "*configurationPath*" 
we are using *config/ModelGlue.xml *which I understand that inside 
"PlantOMatic" 
which is my root folder for this application there will be a folder "*config
*" 
but for the property "*viewMappings*", "*helperMappings*" it is "*
/PlantOMatic/views*" and "*/PlantOMatic/helpers*". 
My question is why I need to use "*/PlantOMatic*" when my "views" and 
"helpers" folder are just inside "*PlantOMatic*".
*"\PlantOMatic\views"*
*"\PlantOMatic\helpers"*
Why can't I write it like 
*<property name="helperMappings"><value>/**views**</value></property>**
*
*<property name="helperMappings"><value>/**views**</value></property>**
*
and what is the need of this mapping 
*<property name="applicationMapping"><value>/PlantOMatic</value></property>*
*
*
when I am acessing my application like the following way.
http://localhost/PlantOMatic/

Please help.
Thanks

-- 
-- 
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