Already had this problem and I'm still asking myself if it is a good thing
to not let the developper controls the clientId. I tend to think it should
be the matter of the developper, not of the framework.
On Tue, Dec 15, 2009 at 10:28 PM, Benny Law wrote:
> Hi, sorry for jumping in, but I ran in
uot;Tapestry users"
An
Tapestry users
Kopie
Thema
Re: T5 / Ajax / What controls XHR ?
Try analyzing the real request serverside. See RequestImpl.isXHR(). Check
out which headers are set.
On Wed, Dec 16, 2009 at 10:19 AM, Gunnar Eketrapp
wrote:
> Hi!
>
> We have trouble
Try analyzing the real request serverside. See RequestImpl.isXHR(). Check
out which headers are set.
On Wed, Dec 16, 2009 at 10:19 AM, Gunnar Eketrapp wrote:
> Hi!
>
> We have trouble with zone updates via an ActionLink in Internet Explorer (7
> & 8).
> And right now this is stopping is from lau
Hi, sorry for jumping in, but I ran into this before myself. I still don't
quite understand the need for T5 to do this though: If the zone is being
replaced during the update, how can element IDs be duplicated inside the
zone? Losing control over element IDs is a bit inconvenient, and that's one
of
Em Tue, 15 Dec 2009 19:07:49 -0200, Gunnar Eketrapp
escreveu:
Hi!
Hi!
Is there any way to prevent T5 from adding these numbers. The initally
fields have been replaced so it should be safe to reuse the id names !!!
I guess not. This is Tapestry trying to avoid having more than one elemen
When updating a zone from IE Tapetsry does not recognize the zone.
The warn below does only come when using IE.
18:45:12.196 [btpool0-3] DEBUG com.xyz.components.Layout - [ENTER]
onActionFromForgotPassword()
18:45:12.197 [btpool0-3] DEBUG com.xyz.components.Layout - [ EXIT]
onActionFromForgotPass
Em Tue, 15 Dec 2009 15:18:34 -0200, Gunnar Eketrapp
escreveu:
Hi!
Hi!
We have problems with ajax in IE7. (+Chrome)
What problems?
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
and instructor
Owner, software architect and dev
Did you have any success going down this path? I'm trying to do the same
thing. Tapestry is great until it doesn't do something you need to do then
all the benefits of it go out the window as you spend 2 weeks figuring out
how to do something that is quite simple without it.
Francois Armand wrot
See "Ajax & JavaScript" in "User Guide" pane on this page:
http://tapestry.apache.org/tapestry5.1/
On Sun, Jun 28, 2009 at 12:10 AM, haipeng du wrote:
> What is the good reference for ajax in T5? I did not find any good
> documentation from T5 website.
Hi,
I've found a solution: overriding the AjaxPartialResponseRenderer service.
In my module class I put this:
public static void bind(ServiceBinder binder) {
binder.bind(AjaxPartialResponseRenderer.class,
StbAjaxPartialResponseRenderer.class).withId("StbAjaxPartialResponseRenderer");
}
publi
On Fri, Jan 16, 2009 at 2:02 PM, Alan Chaney
wrote:
> Hi
Hi!
> I'm considering to move to T5 for a major new project. I evaluated T4 at
> some length a couple of years ago but went a different way for my needs at
> the time. We have experience with JQuery. I understand that T5 comes with
> proto
See https://issues.apache.org/jira/browse/TAP5-1 .
Perhaps you should add your comments and maybe even re-open it?
On 20/11/2008, at 7:28 PM, Inge Solvoll wrote:
I ran into this problem myself.
Is it possible to listen for an event that says "Tapestry javascript
has
finished initializing the
I ran into this problem myself.
Is it possible to listen for an event that says "Tapestry javascript has
finished initializing the page"? The scenario of users clicking links before
they are "decorated" with ajax javascript is very common, so there should be
a built-in best-practice solution for t
So am I dead in the water here? Sounds like this functionality isn't
supported in T5? Seems strange that Tapestry 5 requires an INPUT field to
be contained within a Form, and AJAX uses Zones, and you can not combine the
two. So basically, AJAX functionality in T5 should only be used with
straig
Em Fri, 07 Nov 2008 04:49:05 -0300, Inge Solvoll <[EMAIL PROTECTED]>
escreveu:
Isn't this the same problem I ran into some weeks ago? Forms not
supported in zones?
My experience says that you can put a Form inside a Zone, but you cannot
put a Zone around some fields inside a Form (hence t
Isn't this the same problem I ran into some weeks ago? Forms not supported
in zones?
Seems to be a lot of people not getting this.
regards
Inge
On Fri, Nov 7, 2008 at 3:47 AM, Marcel Sammut <[EMAIL PROTECTED]> wrote:
>
> Greetings,
> I have a component which displays a header and body contents,
ood tutorials on how to make components like I listed by
> chance?
>
> --James
>
> -Original Message-
> From: devilabit [mailto:[EMAIL PROTECTED]
> Sent: October-31-08 5:55 PM
> To: users@tapestry.apache.org
> Subject: [Spam Rating:3.40] Re: T5: Ajax components
>
s on how to make components like I listed by
> chance?
>
> --James
>
> -Original Message-
> From: devilabit [mailto:[EMAIL PROTECTED]
> Sent: October-31-08 5:55 PM
> To: users@tapestry.apache.org
> Subject: [Spam Rating:3.40] Re: T5: Ajax components
>
>
08 5:55 PM
To: users@tapestry.apache.org
Subject: [Spam Rating:3.40] Re: T5: Ajax components
It is easy to make custom components or create mixins in Tapestry and the
t5components you mention do look promising. You also have the option of
using another javascript library like extjs if you need more adv
It is easy to make custom components or create mixins in Tapestry and the
t5components you mention do look promising. You also have the option of
using another javascript library like extjs if you need more advanced "sexy"
looking widgets.
James Sherwood wrote:
>
> Hello,
>
>
>
> I have be
Francois Armand wrote:
Hello guys,
[..]
[1] Ex of what I want :
Update info // in real
life, I whould like to use a mixin for that, trigger on some action on
a field
...
[here goes a lot of stuff with fields and components and the like]
Nobody to that ?
--
Francois Armand
Etudes
These are listed on the Tapestry web page and in the Tapestry 5 wiki.
Here is a 3rd party library demo:
http://87.193.218.134:8080/t5c-demo/
On Mon, Sep 22, 2008 at 10:16 AM, James Sherwood <[EMAIL PROTECTED]
> wrote:
> Hello,
>
> I was wondering if anyone knew of any good ajax Examples/Tutoria
Geoff
It's ok to return a block object in a action handler method,but you can't
use the type Block,it will throw exceptions.You should use Object instead.
/luna
--
View this message in context:
http://www.nabble.com/T5%3A-AJAX-ActionLink-exception-if-clicked-as-page-loads-tp19346336p19372125.ht
Hi Geoff,
Tapestry doesn't hook up zones etc. until the DOM is loaded, so the link
isn't an AJAX link at the time you click it.
You can check Request#isXhr in your event handler to see if it's an AJAX
request - if it's not you can't return a Block, so you'll have to figure
out another way to
CORRECTION:
"I spent some time with the debugger and it seems that
104: if (callback.isAborted()) return;
just doesn't get called"
would be
"I spent some time with the debugger and it seems that in
104: if (callback.isAborted()) return;
callback.aborted == false"
Tobias Wehrum schrieb:
And ag
And again hi everyone,
I managed to ajaxify my forms - but I have a problem left with the
return value of my onSubmit function.
First to explain, to make AJAX possible, I use a slightly modified
Tapestry.linkZone:
-
The response is empty because the session has expired, and objects
carried in session (specifically security details stored by acegi),
are not accessible anymore. So yes, it is easy just to check to see if
they are there or not, and set the header appropriately.
Thanks,
J
On 30-Jun-08, a
Without more detail it's hard to say why your response is empty. You don't
need a session to return a response from your AJAX handler. You could check
your objects that you are getting from the session and if they are null set
the response header.
On Mon, Jun 30, 2008 at 11:08 AM, Julian Wood <[EM
I've been interested in a solution to this too. When I place a header
in the response object in an AJAX handler, however, it is always
there, regardless of whether the application has timed out or not. The
AJAX response content is still just {}. Is it possible to tell from
within the app wh
I've solved this problem before by setting an HTTP header in my response for
AJAX requests that reports a status (x-myapp-status=success). If the header
is not there but you get a successful response from your XHR you can assume
that it's not content you want and do something appropriate (redirect
d
by the browser. Hope this helps !
Christophe.
-Message d'origine-
De : Julien [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 20 juin 2008 11:19
À : Tapestry users
Objet : Re: [T5] ajax graceful degradation
Hello,
By returning null, the same page is reloaded.
But the content of my zone
juin 2008 11:19
À : Tapestry users
Objet : Re: [T5] ajax graceful degradation
Hello,
By returning null, the same page is reloaded.
But the content of my zone should be updated, replaced by the content of
the block component.
Julien
Cordenier Christophe a écrit :
> Hello,
>
> Change
Hello,
By returning null, the same page is reloaded.
But the content of my zone should be updated, replaced by the content of
the block component.
Julien
Cordenier Christophe a écrit :
Hello,
Change your method to "public Object onActionFromModifyDisplay()" and return a
Page instance or wh
Hello,
Change your method to "public Object onActionFromModifyDisplay()" and return a
Page instance or whatever redirect the user to a page instead of Block.
Christophe.
-Message d'origine-
De : Julien [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 20 juin 2008 10:47
À : Tapestry users
Obj
ginal Message-
> From: Filip S. Adamsen [mailto:[EMAIL PROTECTED]
> Sent: 06 June 2008 14:08
> To: Tapestry users
> Subject: Re: T5 ajax zones example
>
> Howard is on it. See https://issues.apache.org/jira/browse/TAPESTRY-
> 2341.
>
> -Filip
>
> On 2008-06-
Howard is on it. See https://issues.apache.org/jira/browse/TAPESTRY-2341.
-Filip
On 2008-06-06 16:07, james cai wrote:
I have the same problem using T5.0.12.Who can fix this?
thanks.
Sabine K. wrote:
Hi,
this works perfect with the Firefox. With the Internet Explorer it gives
by triggeri
I have the same problem using T5.0.12.Who can fix this?
thanks.
Sabine K. wrote:
>
> Hi,
>
> this works perfect with the Firefox. With the Internet Explorer it gives
> by triggering the submit button, the link works:
>
> org.apache.tapestry.runtime.ComponentEventException
> A component eve
I've always thought it would be nice to return a Map with the
key being the zone id so I can specify the zone(s) to update.
On 05/06/2008, Janko Muzykant <[EMAIL PROTECTED]> wrote:
>
>
> Thiago H. de Paula Figueiredo wrote on 05 Jun 2008 15:26:58 MET:
>
> > On Thu, 05 Jun 2008 11:18:53 -0300, Jank
Thiago H. de Paula Figueiredo wrote on 05 Jun 2008 15:26:58 MET:
> On Thu, 05 Jun 2008 11:18:53 -0300, Janko Muzykant <[EMAIL PROTECTED]>
> wrote:
>
> > Hi Markus,
> > thanks for links, but this unfortunately does not solve the
> > problem. i will
> > try to highlight my case. commiting the form
On Thu, 05 Jun 2008 11:18:53 -0300, Janko Muzykant <[EMAIL PROTECTED]>
wrote:
Hi Markus,
thanks for links, but this unfortunately does not solve the problem. i
will
try to highlight my case. commiting the form currenlty we have no
possibility to select destination zone other when that one a
Hi Markus,
thanks for links, but this unfortunately does not solve the problem. i will
try to highlight my case. commiting the form currenlty we have no
possibility to select destination zone other when that one assigned in
"form" element (eg. ), right? so how to refresh
different zones depending
Hi Janko,
maybe this help
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/test/app1/ZoneDemo.tml?view=markup
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/pages/ZoneDemo.java?view=markup
Marcus
Thank you VERY much. That works like a champ... except I keep getting
an exception in the log, though it doesn't affect the UI. Here's the
way I ran with your suggestions. First, the tml:
function typeChanged(
Sorry I was vague on that, and I was referring to the t5components
OnEvent mixin
(http://87.193.218.134:8080/t5components/t5c-commons/ref/org/apache/tapestry/commons/mixins/OnEvent.html).
Here's a quick example of ajax-based data retrieval. Note that where I
use hard-coded strings, you'd be using y
On Thu, May 1, 2008 at 4:25 AM, Chris Lewis <[EMAIL PROTECTED]> wrote:
> Why would you need to submit the form when a value is selected from the
> list? If you know the available DBs before hand, then you know the
> default ports. Store those as a client-side JSON object and use the
> select's
Franz Amador wrote:
> Hi, all. I asked about this a while ago, and there was no good answer
> then, but I'm hoping that there are new options now. I have a bean
> that holds information about a database connection. I'm editing it
> with BeanEditForm. One of the fields is the database type, an
After fiddling with protoype the $$ coupled with the !^ selector seems to
work. I'm including some custom helper code to accomplish getting an
element by id without regard to the tapestry id namespace. If this is/was
obvious or there is better solution, I apologize but hopefully this will be
he
I copied your example, and using IE 7 it works fine. I don't have
access to IE 6 at the moment to try it there.
Josh
On Wed, Apr 9, 2008 at 6:26 AM, Blower, Andy
<[EMAIL PROTECTED]> wrote:
> Has anyone tried my demo page of the problem? I've simplified it as much as I
> can to show just the issu
Has anyone tried my demo page of the problem? I've simplified it as much as I
can to show just the issue at hand. Should this go into JIRA now?
Class:
public class BasicAJAX
{
@Property
@Persist
private int count = 0;
@Component
private Zone aZone;
Object onActionFromOu
- this is an AJAX-enabled
ActionLink
From: José Paumard [mailto:[EMAIL PROTECTED]
Sent: 07 April 2008 20:21
To: Tapestry users
Subject: Re: T5: AJAX Zone updating doesn't work correctly in IE
Andy,
I already pointed out this problem,
Andy,
I already pointed out this problem, that doesnt seem to be browser
related, but merely due to T5 conception. Basically Howard answered
that on a div refresh, the id of the refreshed elements nested in that
div are changed by T5 : a timestamp based code is added, making them
unique among
t: Re: [T5] Ajax validation
I think you need to do this yourself, using the builtin AJAX
facilities, rather than using any of the builtin validation facilities.
Say you were looking to make sure a username was unique on signup.
Place an actionlink beside the field ("check availabil
I think you need to do this yourself, using the builtin AJAX
facilities, rather than using any of the builtin validation facilities.
Say you were looking to make sure a username was unique on signup.
Place an actionlink beside the field ("check availability"). The
actionlink would need con
Anyone?
-Original Message-
From: Zheng, Xiahong
Sent: Wednesday, March 26, 2008 3:09 PM
To: 'Tapestry users'
Subject: [T5] Ajax validation
If this topic has been discussed, please point me to the right place. It
seems that, by default, tapestry 5 only does client side validation when
yo
It doesn't work on Firefox for me ...
And i don't think the error returned deals with the client.
Ted Steen a écrit :
This example only works with 5.0.11.
I tried it with Internet Explorer just now and I see that the ajax form is
submitted and the form is updated (correct), but the click event a
I've got the same error in Firefox (v2.0.0.12) when triggering the
button ... :-(
Stephane
Sabine K. a écrit :
Hi,
this works perfect with the Firefox. With the Internet Explorer it gives by
triggering the submit button, the link works:
org.apache.tapestry.runtime.ComponentEventException
A
This example only works with 5.0.11.
I tried it with Internet Explorer just now and I see that the ajax form is
submitted and the form is updated (correct), but the click event appears to
go all the way to IE and the form is also submitted by IE. This is wrong,
and it is the cause for the Component
Hi,
this works perfect with the Firefox. With the Internet Explorer it gives by
triggering the submit button, the link works:
org.apache.tapestry.runtime.ComponentEventException
A component event handler method returned the value
[EMAIL PROTECTED] Return type
org.apache.tapestry.internal.struct
On Mar 11, 2008, at 8:00 PM, Weisu wrote:
Hi Ted, I had tried your example, but I can not make the form part
to work,
it only displays "Content before update". I am using T5.0.10.
I am using 5.0.11, but I had to change:
@OnEvent(component="theForm", value="success")
to
@OnEvent(comp
Hi Ted, I had tried your example, but I can not make the form part to work,
it only displays "Content before update". I am using T5.0.10.
Thanks!
ws
--
View this message in context:
http://www.nabble.com/T5-ajax-zones-example-tp15991696p15995860.html
Sent from the Tapestry - User mailing list
I'm not sure that I understand what you mean?
The zone is replaced by a div (I think) and then the content of that div is
updated with the return values from the event handlers.
2008/3/11, Janko Muzykant <[EMAIL PROTECTED]>:
>
>
> thanks Ted!
> that helped me a lot. one additional question. is it
thanks Ted!
that helped me a lot. one additional question. is it possible to mark as
'zone-to-update' something different than a form element? a simple div for
example?
Ted Steen wrote:
>
> This is a simple example showing ajax with and without forms.
> Hope it helps!
>
>
> --
> /ted
>
>
This is a simple example showing ajax with and without forms.
Hope it helps!
--Test.tml--
http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
Ajax test
Boring block
fun dynamic block!
date on server ${date}
message: ${m
arrgl today i've checked in my first ajax mixin "OnChange".
i think i must slow down my development ;-)
2008/1/16, Howard Lewis Ship <[EMAIL PROTECTED]>:
>
> This is coming soon, but it won't be part of BeanEditForm ... to get
> that level of interactivity will require that you spell out your
This is coming soon, but it won't be part of BeanEditForm ... to get
that level of interactivity will require that you spell out your
individual fields and labels, along with extra components & mixins to
describe the Ajax functionality to Tapestry.
On Jan 15, 2008 2:44 PM, Franz Amador <[EMAIL PRO
somehow the bug doesn't appear anymore. I'm running 5.0.6 so it could be
related. I'll investigate once I encounter it again.
Howard Lewis Ship wrote:
>
> That's supposed to work; there was a bug in 5.0.6 that may have caused
> this behavior (and is fixed in 5.0.7).
>
> On Jan 2, 2008 1:43 A
That's supposed to work; there was a bug in 5.0.6 that may have caused
this behavior (and is fixed in 5.0.7).
On Jan 2, 2008 1:43 AM, Britske <[EMAIL PROTECTED]> wrote:
>
> A strange thing happens.
>
> following an example of returning a streamresponse based on a user-click,
> this all works well
Hi,
I want to use like which is a List of
String objects. I want to add those strings to the combo box... so
trying to loop through the tag... Please explain how to add
those elements to combo box?
Thanks,
Yeeswar.
-Original Message-
From: Britske [mailto:[EMAIL PROTECTED]
Sent: Wedn
> I thought that Dojo was *the* standard framework of choice of Tapestry 4. Am
> I missing something here?
Fixed.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I'd say you are missing something: this is Tapestry 5. If I'm not
mistaken prototype has been the choice since the beginning of T5 -
hardly 'du jour'. There has been chatter here and there about having a
pluggable system for using the JS of your choice, however I don't think
this has received a
70 matches
Mail list logo