Justin,
Thanks for the quick reaction.
I did already take a look at the include.
include('../../someFolder/somefile') and include.models('task') work
from the js-file.
For the moment, all includes are one the salesforce-page, like this:
<apex:includeScript value="{!$Resource.sjamayee_js}"/>
<apex:stylesheet value="{!$Resource.sjamayee_css}"/>
So, I think that I have to replace these apex-includes, but I am still
confused.
Maybe, when I create a jmvc-structure on salesforce, I will see the
impact.
But, its not as simple as that.
Development < > Production
I will investigate it, but I sure need some help and vision ...
On 6 okt, 11:59, Justin Meyer <
justinbme...@gmail.com> wrote:
> Jan,
> JavaScriptMVC can be used anywhere you can upload JS files to. I don't
> think there are any examples of use with salesforce, and I'm not familiar
> with the salesforce cloud. However, I'd start by learning 2.0's include
> (3.0's steal) to learn how to require multiple files.
>
> Justin Meyer
>
> Jupiter Consulting
> \Development\Training\Support
>
847-924-6039
>
justinbme...@gmail.com
>
> On Wed, Oct 6, 2010 at 4:52 AM, creemej <
cree...@gmail.com> wrote:
> > Hi,
>
> > Is it possible to use jmvc in the Salesforce cloud.
> > For the moment I use one js-file with all javascript classes.
> > I am missing the mvc-framework for the moment.
> > I am a bit confused by the jvmc- structure
> > (apps,controllers,models,views,...).
> > In production, it will be compressed into one file: production.js.
> > But how should it work in development mode, with all the different js-
> > files?
> > Are there examples of usage within salesforce?
>
> > thanks,
>
> > Jan
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "JavaScriptMVC" group.
> > To post to this group, send email to
javasc...@googlegroups.com.
> > To unsubscribe from this group, send email to
> >
javascriptmv...@googlegroups.com<
javascriptmvc%2Bunsu...@googlegroups.com>
> > .