List Info

Thread: javascript libraries




javascript libraries
country flaguser name
Germany
2007-10-08 06:44:11

Hi,

 

I would like to do some fieldchecking of input fields with the prototype-library. I’m using the Version 1.5.0. In my first step I just want to find all input fields. It works with a simple html-page. So I designed a page containing two input fields and a button with Tobago. But the Mozilla Firefox throws an error: Prototype.BrowserFeatures has no properties. Another favourite of mine is the jquery library. But it neither works with Tobago.

Has anyone tried to use a library like prototype or jquery with Tobago?

 

Regards!

 

Re: javascript libraries
user name
2007-10-08 07:37:38
Hi Mario,

i don't know jquery.

prototype.js 1.4.0 is currently bundled with tobago, this
may be the
problem when adding 1.5.0 also. But don't relay on the
bundle, we plan
to remove prototype.js in favor to dojo.


Regards,
    Volker

2007/10/8, Schröder, Mario <mario.schroedersaxsys.de>:
>
>
>
>
> Hi,
>
>
>
> I would like to do some fieldchecking of input fields
with the
> prototype-library. I'm using the Version 1.5.0. In my
first step I just want
> to find all input fields. It works with a simple
html-page. So I designed a
> page containing two input fields and a button with
Tobago. But the Mozilla
> Firefox throws an error: Prototype.BrowserFeatures has
no properties.
> Another favourite of mine is the jquery library. But it
neither works with
> Tobago.
>
> Has anyone tried to use a library like prototype or
jquery with Tobago?
>
>
>
> Regards!
>
>
AW: javascript libraries
country flaguser name
Germany
2007-10-08 09:00:39
Hi Volker,

thanks a lot for your reply. I removed the old prototype
library from the standard theme jar-file and placed the new
one in the Tobago-Resource folder. It works!
In which release can I expect dojo?

Regards, Mario

-----Ursprüngliche Nachricht-----
Von: weber.volkergooglemail.com [mailto:weber.volkergooglemail.com] Im Auftrag von Volker Weber
Gesendet: Montag, 8. Oktober 2007 14:38
An: MyFaces Discussion
Betreff: Re: [Tobago] javascript libraries

Hi Mario,

i don't know jquery.

prototype.js 1.4.0 is currently bundled with tobago, this
may be the
problem when adding 1.5.0 also. But don't relay on the
bundle, we plan
to remove prototype.js in favor to dojo.


Regards,
    Volker

2007/10/8, Schröder, Mario <mario.schroedersaxsys.de>:
>
>
>
>
> Hi,
>
>
>
> I would like to do some fieldchecking of input fields
with the
> prototype-library. I'm using the Version 1.5.0. In my
first step I just want
> to find all input fields. It works with a simple
html-page. So I designed a
> page containing two input fields and a button with
Tobago. But the Mozilla
> Firefox throws an error: Prototype.BrowserFeatures has
no properties.
> Another favourite of mine is the jquery library. But it
neither works with
> Tobago.
>
> Has anyone tried to use a library like prototype or
jquery with Tobago?
>
>
>
> Regards!
>
>

AW: javascript libraries
country flaguser name
Germany
2007-10-09 03:56:11
Another question regarding javascript-libraries:

When I place the prototype library Version 1.5.0 in the
Tobago-resource-folder.../script/... it will be found, no
matter if there is another library in the standard-theme
jar. But when I place my own js-file in the same folder it
can only be found when I place the javascript tag with the
path to the file in the page like this:
<script type="text/javascript"
src="..../my.js"></script>

Is there a way, that I can tell the rendered to include all
files in the script folder, no matter if they are already
provided by Tobago?

Regards, Mario


-----Ursprüngliche Nachricht-----
Von: weber.volkergooglemail.com [mailto:weber.volkergooglemail.com] Im Auftrag von Volker Weber
Gesendet: Montag, 8. Oktober 2007 14:38
An: MyFaces Discussion
Betreff: Re: [Tobago] javascript libraries

Hi Mario,

i don't know jquery.

prototype.js 1.4.0 is currently bundled with tobago, this
may be the
problem when adding 1.5.0 also. But don't relay on the
bundle, we plan
to remove prototype.js in favor to dojo.


Regards,
    Volker

2007/10/8, Schröder, Mario <mario.schroedersaxsys.de>:
>
>
>
>
> Hi,
>
>
>
> I would like to do some fieldchecking of input fields
with the
> prototype-library. I'm using the Version 1.5.0. In my
first step I just want
> to find all input fields. It works with a simple
html-page. So I designed a
> page containing two input fields and a button with
Tobago. But the Mozilla
> Firefox throws an error: Prototype.BrowserFeatures has
no properties.
> Another favourite of mine is the jquery library. But it
neither works with
> Tobago.
>
> Has anyone tried to use a library like prototype or
jquery with Tobago?
>
>
>
> Regards!
>
>

Re: javascript libraries
user name
2007-10-14 05:24:06
Hi Mario,

if you use the updated prototype you may need to patch the
Prototype.ScriptFragment value, i did this in the bundled
version.

> In which release can I expect dojo?

Definitively after the 1.0.12 release, i hope this will
going into the 1.0.13.
This is related to the TOBAGO-348 jira issue. I'm currently
looking
how dojo can replace the currently used prototype ajax
functionality.

> Is there a way, that I can tell the rendered to include
all files in the script folder, no matter if they are
already provided by Tobago?

No, tobago loads only the needed files which are registered
by tags or
the component renderers.


Regards,
    Volker



2007/10/9, Schröder, Mario <mario.schroedersaxsys.de>:
> Another question regarding javascript-libraries:
>
> When I place the prototype library Version 1.5.0 in the
Tobago-resource-folder.../script/... it will be found, no
matter if there is another library in the standard-theme
jar. But when I place my own js-file in the same folder it
can only be found when I place the javascript tag with the
path to the file in the page like this:
> <script type="text/javascript"
src="..../my.js"></script>
>
> Is there a way, that I can tell the rendered to include
all files in the script folder, no matter if they are
already provided by Tobago?
>
> Regards, Mario
>
>
> -----Ursprüngliche Nachricht-----
> Von: weber.volkergooglemail.com [mailto:weber.volkergooglemail.com] Im Auftrag von Volker Weber
> Gesendet: Montag, 8. Oktober 2007 14:38
> An: MyFaces Discussion
> Betreff: Re: [Tobago] javascript libraries
>
> Hi Mario,
>
> i don't know jquery.
>
> prototype.js 1.4.0 is currently bundled with tobago,
this may be the
> problem when adding 1.5.0 also. But don't relay on the
bundle, we plan
> to remove prototype.js in favor to dojo.
>
>
> Regards,
>     Volker
>
> 2007/10/8, Schröder, Mario <mario.schroedersaxsys.de>:
> >
> >
> >
> >
> > Hi,
> >
> >
> >
> > I would like to do some fieldchecking of input
fields with the
> > prototype-library. I'm using the Version 1.5.0. In
my first step I just want
> > to find all input fields. It works with a simple
html-page. So I designed a
> > page containing two input fields and a button with
Tobago. But the Mozilla
> > Firefox throws an error: Prototype.BrowserFeatures
has no properties.
> > Another favourite of mine is the jquery library.
But it neither works with
> > Tobago.
> >
> > Has anyone tried to use a library like prototype
or jquery with Tobago?
> >
> >
> >
> > Regards!
> >
> >
>
[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )