You can just move the files out of your generated folder into another view folder and then you can change them as much as you want.
If rescaffolding is turned on, ModelGlue will replace files in the generated location, but not your customized views outside of that location. Your views are loaded in a preference order, where the generated view location is the last resort. This means you will always load your custom view before the scaffolded one. DW On Tue, Oct 25, 2011 at 3:21 PM, Tom B <[email protected]> wrote: > OK, I got it. Thanks for your help here. > > BTW, is it possible to edit the generated table and corresponding > jQuery? > > On Oct 25, 8:14 pm, Dan Wilson <[email protected]> wrote: > > Model Glue extensions must be accessible directly in your website. Not as > a > > subdirectory in a website. Kinda like the ModelGlue directory which must > > also be in the root of the website, not in a subdirectory of the website. > > > > As to the error you posted before, is this helpful? > https://issues.jboss.org/browse/RAILO-184 > > > > DW > > > > > > > > > > > > > > > > > > > > On Tue, Oct 25, 2011 at 3:12 PM, Tom B <[email protected]> wrote: > > > Hi Dan, > > > > > I set up a mapping to the modelglueextensions directory in > > > railo which seems to have solved the problem. However, should it > > > really need a mapping in railo? It seems that the mappings set in > > > ColdSpring are not working. I did a search for the mapping in > > > ModelGlue and it seems to be hard coded with a forward slash before > > > modelglueextensions in C:\railo\tomcat\webapps\ROOT\dev\ModelGlue3.2RC > > > \ModelGlue\gesture\modules\scaffold\customtags\fancy\scaffold_list.cfm > > > > > Maybe this is where the problem is originating... > > > > > On Oct 25, 8:06 pm, Tom B <[email protected]> wrote: > > > > Yes, I can browse to that file OK. > > > > > > On Oct 25, 7:57 pm, Dan Wilson <[email protected]> wrote: > > > > > > > If it is set up correctly, you should be able to browse this file: > > > > > > > > http://conferenceapp.local/modelglueextensions/jQuery/scaffold/css/li. > > > .. > > > > > > > (Change only the conferenceapp.local piece. Do not add any > directories > > > in > > > > > there...) > > > > > > > Can you browse that file? > > > > > > > If not, I can help you but I am going to need more details. > Screenshots > > > of > > > > > your directories, a sample app from you, something else to help me > > > > > understand what you have going on over there. > > > > > > > DW > > > > > > > On Tue, Oct 25, 2011 at 2:44 PM, Tom B <[email protected]> > wrote: > > > > > > Hi Dan, > > > > > > > > Those were the original settings I used. It seems to be hard > coded > > > > > > somewhere to look for /modelglueextensions/jQuery and / > > > > > > modelglueextensions/modelglue - surely if it's in my webroot it > > > should > > > > > > be modelglueextensions/jQuery,modelglueextensions/modelglue? > > > > > > > > Whatever it should be it still isn't working... > > > > > > > > On Oct 25, 7:39 pm, Dan Wilson <[email protected]> wrote: > > > > > > > Close, you are very close. > > > > > > > > > This should be the entry: > > > > > > > > > <property > > > > > > name="assetMappings"><value>/modelglueextensions/jQuery,/modelglueextension > > > > > > s/modelglue</value></property> > > > > > > > > > Thus, in your application, there is a modelglueextensions > > > directory. > > > > > > > > > Try that and let me know how you get on. > > > > > > > > > DW > > > > > > > > > On Tue, Oct 25, 2011 at 2:25 PM, Tom B <[email protected]> > > > wrote: > > > > > > > > I am getting the following error: > > > > > > > > > > invalid definition of the attribute taglib > [/modelglueextensions/ > > > > > > > > cfuniform/tags/forms/cfUniForm/] > > > > > > > > > > C:\railo\tomcat\webapps\ROOT\dev\myApp\views\List.product.cfm > (3) > > > > > > > > > > I have tried changing the asset mappings to: > > > > > > > > > > <property > name="assetMappings"><value>modelglueextensions/jQuery, > > > > > > > > modelglueextensions/modelglue</value></property> > > > > > > > > > > and then to: > > > > > > > > > > <property > name="assetMappings"><value>/myApp/modelglueextensions/ > > > > > > > > jQuery, > > > > > > > > /myApp/modelglueextensions/modelglue</value></property> > > > > > > > > > > but both to no avail. > > > > > > > > > > Should there be a directive somewhere in ColdSpring with the > > > mapping? > > > > > > > > > > On Oct 25, 6:44 pm, Dan Wilson <[email protected]> wrote: > > > > > > > > > Do you have the modelglueextensions directory in your > webroot? > > > That's > > > > > > got > > > > > > > > > all the snazzy stuff in it. > > > > > > > > > > > Just move the whole directory from your MG download into > the > > > root of > > > > > > your > > > > > > > > > website and try again. > > > > > > > > > > > DW > > > > > > > > > > > On Tue, Oct 25, 2011 at 1:33 PM, Tom B < > [email protected]> > > > wrote: > > > > > > > > > > Hi Dan, > > > > > > > > > > > > Thanks for the super fast reply. > > > > > > > > > > > > Well, it works but it doesn't do the slick datatables > list, > > > which > > > > > > is > > > > > > > > > > what i'm really after (although the other ui elements > would > > > be > > > > > > great > > > > > > > > > > too). It just generates the same as for plain > scaffolding. > > > > > > > > > > > > Maybe I'm missing an include to the jquery files or > > > something. > > > > > > > > > > > > What is required in ColdSpring? > > > > > > > > > > > > On Oct 25, 6:30 pm, Dan Wilson <[email protected]> > wrote: > > > > > > > > > > > Tom, > > > > > > > > > > > > > Can you be more specific as to how it doesn't work? > > > > > > > > > > > > > DW > > > > > > > > > > > On Oct 25, 2011 1:24 PM, "Tom B" <[email protected] > > > > > wrote: > > > > > > > > > > > > > > Hi, > > > > > > > > > > > > > > I'm trying to get fancy scaffolding going with MG 3.2 > RC > > > but > > > > > > seem > > > > > > > > to > > > > > > > > > > > > be missing something. > > > > > > > > > > > > > > I've set this in my coldspring.xml > > > > > > > > > > > > > > <bean id="modelglue.scaffoldManager" > > > > > > > > > > > > parent="modelglue.scaffoldManager.fancy" /> > > > > > > > > > > > > > > along with asset mappings: > > > > > > > > > > > > > > <property > > > > > > name="assetMappings"><value>/modelglueextensions/jQuery,/ > > > > > > > > > > > > modelglueextensions/modelglue</value></property> > > > > > > > > > > > > > > but it doesn't seem to be working and I cannot find > any > > > > > > > > documentation > > > > > > > > > > > > about it. > > > > > > > > > > > > > > Could anyone give us a lead? > > > > > > > > > > > > > > Thanks, > > > > > > > > > > > > Tom > > > > > > > > > > > > > > -- > > > > > > > > > > > > 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 > > > > > > > > > > > > -- > > > > > > > > > > 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 > > > > > > > > > > > -- > > > > > > > > > Plutarch - "The mind is not a vessel to be filled but a > fire to > > > be > > > > > > > > kindled." > > > > > > > > > > -- > > > > > > > > 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 > > > > > > > > > -- > > > > > > > Plutarch - "The mind is not a vessel to be filled but a fire to > be > > > > > > kindled." > > > > > > > > -- > > > > > > 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 > > > > > > > -- > > > > > Plutarch - "The mind is not a vessel to be filled but a fire to be > > > kindled." > > > > > -- > > > 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 > > > > -- > > Plutarch - "The mind is not a vessel to be filled but a fire to be > kindled." > > -- > 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 > -- Plutarch - "The mind is not a vessel to be filled but a fire to be kindled." -- 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
