On Mon, 04 Jun 2012 17:57:36 -0300, Lenny Primak
wrote:
I noticed a lot of questions like this lately. No wonder HLS ignores
most of these.
Please keep this list to more-than-trivial and on topic questions.
Unless you are a newbie just getting jump started.
Spend some time researching the
I noticed a lot of questions like this lately. No wonder HLS ignores most of
these.
Please keep this list to more-than-trivial and on topic questions. Unless you
are a newbie just getting jump started.
Spend some time researching the problem first. If you need consulting there are
plenty of o
On Mon, 04 Jun 2012 17:18:15 -0300, TG wrote:
How do I wrap in CDATA?
Do you really need to ask that in this mailing list?
Also I tried to put .js fille as external file, but didn't work -
Define "didn't work". Have you @Imported your external file?
--
Thiago H. de Paula Figueiredo
How do I wrap in CDATA?
Also I tried to put .js fille as external file, but didn't work -
Any clues?
Thanks!
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Javascript-in-Tapesytry-tp5713586p5713613.html
Sent from the Tapestry - User mailing list archive at Nabble.co
On Sat, 02 Jun 2012 19:00:19 -0300, TG wrote:
Thanks for all the quick response, on Saturday! :)
If I would not want to put my codes in external file, what option do I
have? :]
Have you tried wrapping your JavaScript in an XML CDATA block?
--
Thiago H. de Paula Figueiredo
---
Could you not use a component and put the JS in a java string?
On 4 June 2012 00:32, Felix Gonschorek wrote:
> okay, last one ;)
>
> or you could do:
>
> if ([xhr2.readyState, xhr2.status].join(" ") == "4 200") {
>
> }
>
> (typesafe check gets lost, though...)
>
>
>
>
> Am 03.06.2012 18:25, sch
okay, last one ;)
or you could do:
if ([xhr2.readyState, xhr2.status].join(" ") == "4 200") {
}
(typesafe check gets lost, though...)
Am 03.06.2012 18:25, schrieb Felix Gonschorek:
> or nested if statements?
>
> if (opt1) {
> if (opt2) {
>
> }
> }
> Am 03.06.2012 18:13, schrieb Felix Go
or nested if statements?
if (opt1) {
if (opt2) {
}
}
Am 03.06.2012 18:13, schrieb Felix Gonschorek:
>
> Am 03.06.2012 00:00, schrieb TG:
>> If I would not want to put my codes in external file, what option do I have?
>> :]
>
> what about that:
>
> function and(opt1, opt2) {
> if (!opt1) ret
Am 03.06.2012 00:00, schrieb TG:
> If I would not want to put my codes in external file, what option do I have?
> :]
what about that:
function and(opt1, opt2) {
if (!opt1) return false;
if (!opt2) return false;
return true;
}
if (and(xhr2.readyState === 4, xhr2.status === 200)) {
}
---
Thanks for all the quick response, on Saturday! :)
If I would not want to put my codes in external file, what option do I have?
:]
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Javascript-in-Tapesytry-tp5713586p5713589.html
Sent from the Tapestry - User mailing list arch
On Sat, 02 Jun 2012 17:23:09 -0300, Dmitry Gusev
wrote:
Hi,
extract your JS to external file.
Tapestry or not, that's the recommended thing to do or not. The problem
with && happens because Tapestry's templates are valid XML, and && isn't.
By the way, why don't you do AJAX using Protot
Hi,
extract your JS to external file.
On Sun, Jun 3, 2012 at 12:04 AM, TG wrote:
> I wrote javacript codes in Tapestry but I got "Uncaught SyntaxError:
> Unexpected token & " error. How do I write && in Tapestry without getting
> an
> error? My codes -
>
>xhr2.onreadystatechange
12 matches
Mail list logo