hi,
I'm having a problem on how to submit my form along with parameters using
method POST to external https link? As i'm aware, Tapestry's t:form doesn't
have action attribute that can link to other url. I have no control on the
external url, my job is just to have a form and submit to the url alo
Hi Arno,
Thx for your help again!
The javascript function is drawGroups is called and my alert('ok') appears,
but
If i am returning zone.getBody(), then i am still getting this response:
Ajax failure: Status 500 for /group/listlocalgroups:getgroupsonlocation:
org.apache.tapestry5.ioc.internal.O
Ever wished that there was a simple way for you to declare that each
user can only access his own profile, just as easily as you can
declare that only users with admin role can edit certain type of data?
Well too bad since such a thing has never existed so you've just
resorted to making programmati
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
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
> 1. What is the difference between a zone and a block?! The docs are
> (in my opinion not clear)
A Zone is basically an HTML with support for replacing its
children via AJAX. It is a Tapestry component, and it is actually
rendered in the browser.
A
Hi Arno!
Thank you for your help. The main questions I have is:
1.
What is the difference between a zone and a block?! The docs are (in my
opinion not clear)
2.
What do I need to update a specific element as shown in my example? My
Javascript is updating the java-method, and within the java meth
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)) {
}
---
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Been offline the last couple of days.
Your event handler returns a JSONArray which is probably not what you
want.
You wrote initially that you would like Tapestry to re-render your
zone. The straight-forward way to do that is to put your rendering
co
11 matches
Mail list logo