Unfortunately, there are not. I could arrange a join.me session at
your convenience if you are willing.
On Mon, Jun 26, 2017 at 1:16 PM, Thiago H. de Paula Figueiredo
wrote:
> Hi!
>
> Is there any publicly-accessible page demonstrating this behavior?
>
> On Sat, Jun 24, 2017 at 4:10 PM, Jonathan
Hi!
Is there any publicly-accessible page demonstrating this behavior?
On Sat, Jun 24, 2017 at 4:10 PM, Jonathan Barker <
jonathan.theit...@gmail.com> wrote:
> Hello all,
>
> We are in the midst of an upgrade of an application from 5.3.7 to
> 5.4.x, and we have hit a snag. Actions that were prev
FYI, this is mentioned in the docs here:
http://tapestry.apache.org/ajax-and-zones.html
(about half way down -- search for the word "carat")
On Mon, Nov 28, 2016 at 10:54 AM, Adam X wrote:
> Thanks !
>
> On Mon, Nov 28, 2016 at 4:53 PM, Peter Hvass
> wrote:
>> Hey there Adam! It means it ta
Thanks !
On Mon, Nov 28, 2016 at 4:53 PM, Peter Hvass wrote:
> Hey there Adam! It means it targets the nearest containing zone!
>
> i.e.:
>
>
>>
>
> Bob
>
>
>>
>
>
> In this example the eventlink targets zone2.
>
> Hope this helps!
>
> Peter
>
> On 28 November 2016 at 17:48, A
Hey there Adam! It means it targets the nearest containing zone!
i.e.:
>
Bob
>
In this example the eventlink targets zone2.
Hope this helps!
Peter
On 28 November 2016 at 17:48, Adam X wrote:
> Hi,
>
> This jumpstart example uses zone attribute as in the title:
>
> htt
Thanks both of you.
I used Christian Riedel suggestion and it worked like a charm.
Vavricka
On Thu, Nov 10, 2016 at 10:55 AM, Cezary Biernacki
wrote:
> The problem is caused by AJAX polling, and it is not specific to Tapestry,
> but to how Java servlet containers manage sessions. I had similar
The problem is caused by AJAX polling, and it is not specific to Tapestry,
but to how Java servlet containers manage sessions. I had similar one (AJAX
polling with Jetty) and IIRC I solved it by implementing my own
SessionHandler and SessionManager classes (subclassing and replacing ones
provided b
Hi Vavricka,
every time you poll the server the session timeout is reset.
You could track real user activity on your own in the browser using some js and
issue a logout request after 30 minutes or so...
Cheers
Christian
> Am 10.11.2016 um 09:26 schrieb .. ... :
>
> Hi,
>
> I am using tapest
For handling POST, I'd utilize Tynamo's tapestry-resteasy (
http://www.tynamo.org/tapestry-resteasy+guide/). JS could be something like
this:
$.ajax({
url: 'http://my.server.com/editor/save',
data: data,
error: function() {
},
dataType: 'json',
success: function(data) {
},
Sorry, this is the submit of a zone event. Here is all of the relevant code.
I did check, afterRender is not called in the chain.
The log line that is generated with this code is:
[INFO] components.EmailForm tinymce.execCommand('mceAddEditor',true,'null');
Thanks again for any help.
@InjectC
Hi Tony,
In which render phase are trying to access the client id? It may help if you
post parts of your code. Injecting the component to access the client id works
for me (for the following common pattern):
@Environmental
private JavaScriptSupport javaScriptSupport;
@Component
private Select
Or put zone on the , like in the examples.
http://jumpstart.doublenegative.com.au/jumpstart7/examples/ajax/eventlinksinaloop
http://jumpstart.doublenegative.com.au/jumpstart7/examples/ajax/formsinaloop
On 23 Sep 2014, at 9:42 pm, Boris Horvat wrote:
> Html doesn't supprit div
Html doesn't supprit div or any other tag in the middle of the table so
browser will remove it. I have learned that the hard way.
You have 3 options.
Dont use table.
Use ajaxformloop.
Put zone inside the
On 23 Sep 2014 12:02, "squallmat ." wrote:
> Hi,
>
> I have a table, one of the row () has
Here are 2 working examples you can use as a reference point:
http://jumpstart.doublenegative.com.au/jumpstart7/examples/ajax/eventlinksinaloop
http://jumpstart.doublenegative.com.au/jumpstart7/examples/ajax/formsinaloop
Cheers,
Geoff
On 23 Sep 2014, at 8:01 pm, squallmat . w
The way I deal with this issue is by configuring aggressively short
sessions (in the order of a few minutes) and using optional components that
make intelligent (i.e. can track user activity on the client) keep-alive
requests on pages/workflows that need longer sessions. That's also the
principle b
On Sat, 23 Aug 2014 09:07:38 -0300, John wrote:
I was hoping that maybe the jquery zonerefresh mixin could be made to
mark its request in such a way to tell the container not to update the
session time? I'm guessing the container part of this work would be
outside Tapestry though.
I beli
Ship
To: Tapestry users
Sent: Friday, August 22, 2014 11:30 PM
Subject: Re: zone updates prolong session life
This is not currently possible with Tapestry; in fact some people use just
the opposite approach, using a Zone update to keep the session live.
It is difficult to tell, o
This is not currently possible with Tapestry; in fact some people use just
the opposite approach, using a Zone update to keep the session live.
It is difficult to tell, on the server side, what the "intent" of a request
is, and Tapestry has had no concept of "user generated action" as the
intent.
I have been able to trace the problem bact to the change in the zone id on
java side.
It is fune now :)
Thanks
On 23 Feb 2014 13:45, "Thiago H de Paula Figueiredo"
wrote:
> On Sat, 22 Feb 2014 17:51:16 -0300, Boris Horvat
> wrote:
>
> Hi everyone,
>>
>
> Hi!
>
> Event handler method please? :
On Sat, 22 Feb 2014 17:51:16 -0300, Boris Horvat
wrote:
Hi everyone,
Hi!
Event handler method please? :)
--
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.com.br
-
To u
All I did was create a zone within the parent container and update that, works
fine and saved me from a wasteful outer rerendering.
John
- Original Message -
From: Chris Mylonas
To: Tapestry users
Sent: Thursday, November 14, 2013 7:01 AM
Subject: Re: zone containing a
Hi John,
I had a similar update zone problem with the tree element, but because of
my left hand tree, right hand update got around it by vertical-align in css
for the tree side.
If you are using jquery, the scrollTop might help.
http://stackoverflow.com/questions/14886038/get-scroll-position-usin
Thanks for the fast answer!
That was it!
-Message d'origine-
De : Thiago H de Paula Figueiredo [mailto:thiag...@gmail.com]
Envoyé : jeudi 12 septembre 2013 15:10
À : Tapestry users
Objet : Re: Zone display when update after Ajax call
On Thu, 12 Sep 2013 09:56:25 -0300, ANDRE Chris
On Thu, 12 Sep 2013 09:56:25 -0300, ANDRE Christophe
wrote:
Hi,
Hi!
ajaxResponseRenderer.addRender("myZone ", myZone);
Try this instead: ajaxResponseRenderer.addRender("myZone ",
myZone.getBody());
Notice that, instead of passing the whole zone, you pass its body.
Sometimes what y
Yea that helps, I tried it last night and it works.
Thanks for the suggestion
On Fri, Jun 28, 2013 at 3:05 AM, Thiago H de Paula Figueiredo <
thiag...@gmail.com> wrote:
> On Thu, 27 Jun 2013 20:03:49 -0300, Boris Horvat
> wrote:
>
> Hi all,
>>
>
> Hi!
>
> ajaxResponseRenderer.**addRender(
On Thu, 27 Jun 2013 20:03:49 -0300, Boris Horvat
wrote:
Hi all,
Hi!
ajaxResponseRenderer.addRender(getWorkId(), work);
Could you pleas try pasing work.getBody() instead of work and tell us the
result?
--
Thiago H. de Paula Figueiredo
-
Thanks! I have implemented this. :)
> From: horvat.z.bo...@gmail.com
> Date: Fri, 17 May 2013 23:05:38 +0200
> Subject: Re: Zone and content changment
> To: users@tapestry.apache.org
>
> I am not sure what you really wont.
>
> Here you have 2 choice.
>
> First you
>
> > From: horvat.z.bo...@gmail.com
> > Date: Fri, 17 May 2013 22:35:26 +0200
> > Subject: Re: Zone and content changment
> > To: users@tapestry.apache.org
> >
> > And why dont you want to use delegates and blocks? That is what they
vat.z.bo...@gmail.com
> Date: Fri, 17 May 2013 22:35:26 +0200
> Subject: Re: Zone and content changment
> To: users@tapestry.apache.org
>
> And why dont you want to use delegates and blocks? That is what they are
> there for...You could use
>
>
> On Fri, May 17, 20
d actionlink1, I want to render only div1, and not
> div2. How to achieve this not including delegates and blocks? Is there any
> other way?
>
> > From: horvat.z.bo...@gmail.com
> > Date: Fri, 17 May 2013 21:58:32 +0200
> > Subject: Re: Zone and content changment
> &g
013 21:58:32 +0200
> Subject: Re: Zone and content changment
> To: users@tapestry.apache.org
>
> Generic question requires a generic answer :)
>
> Start from here http://tapestry.apache.org/ajax-and-zones.html
>
>
> On Fri, May 17, 2013 at 9:49 PM, Nomen Nomanum wr
Generic question requires a generic answer :)
Start from here http://tapestry.apache.org/ajax-and-zones.html
On Fri, May 17, 2013 at 9:49 PM, Nomen Nomanum wrote:
> I want to implement a scenario where based on clicked actionlink, zone
> updates it's content. Lets say I have stored some divs in
1. Are you using tapestry-jquery or are you simply including jquery.js?
http://tapestry5-jquery.com/
2. If you're including jquery.js you need to call jQuery.noConflict()
http://wiki.apache.org/tapestry/Tapestry5HowToIntegrateJQuery
3. If in noConflict() mode, $ will not be available, you will ne
thank you
2013/1/29 Howard Lewis Ship [via Tapestry] <
ml-node+s1045711n5719664...@n5.nabble.com>
> Also, you're seeing some evolution of the framework here, all at once.
>
> The Zone component was pretty early in Tapestry, but the ability to update
> multiple Zone's all in a single request came
Also, you're seeing some evolution of the framework here, all at once.
The Zone component was pretty early in Tapestry, but the ability to update
multiple Zone's all in a single request came later.
The deprecated MultiZoneUpdate object was the older way to update multiple
zones, but it was tediou
If I remember correctly, the first one returns the zone including the
enclosing tags, while the later returns only the zone's body !
Like:
...body...
so the later returns "...body...", while the first one returns the whole
structure:
...body...
So your zone eventually will be:
When activated during an AJAX request, the component has no state. In
onSuccessFromKomentar(int materijalID) you should probably set this.materijalID.
On 05/12/2012, at 8:39 PM, dodjavola wrote:
> Hey folks :)
> I have another big issue. I have component, with zone, and form that
> refreshes the
On Wed, 05 Dec 2012 08:40:42 -0200, Cezary Biernacki
wrote:
You need to use Tapestry's t:submit component, not plain HTML input tag.
Actually, you only need to use the Submit component when you have more
than one submit button and you need to know which one was clicked.
Otherwise, a ca
I've since had a similar requirement and i found comparing
event.origionalTarget
to
event.currentTarget
solves the problem.
On 15/03/2012 8:29 AM, Paul Stanton wrote:
like i said, this could be a bug. why not log it in jira and see what
the big heads think?
On 15/03/2012 1:44 AM, nquirynen
I'm not too familiar with the tapestry-jquery code but perhaps
updateZoneOnEvent(eventName, element, zoneId, url) does exactly what you
want?
https://github.com/got5/tapestry5-jquery/blob/master/src/main/resources/org/got5/tapestry5/jquery/tapestry-jquery.js
--
View this message in context:
ht
Yep I use tapestry5-jquery :)
Ok so I added the following code to my javascript click events callback:
if (responseJSON.zones) {
// perform multi zone update
$.each(responseJSON.zones, function(zoneId) {
$('#' + zoneId).tapestryZone("applyContentUpdate",
responseJSON.zones[zoneId]);
})
Hi,
If you use Tapestry5-jQuery, you should have a look to this javascript code
:
https://github.com/got5/tapestry5-jquery/blob/master/src/main/resources/org/got5/tapestry5/jquery/assets/components/upload/upload-jquery.js
Manu
2012/9/28 nquirynen
> Hi,
>
> I have a component (grid) where I add
As you use your own zone update mechanism instead of native(e.g. EventLink
component) you can provide js-callback for ajax request as you mention
before.
To update zone use something like this:
var zone = Tapestry.findZoneManager(spec.zoneId);
function rowClickCalback(response) {
zone.process
Take a look at Geoff's ZoneUpdater mixin [1] which fires a serverside event
by listening to a clientside event on a DOM element. You should never update
the innerHTML of a zone directly, use the client-side ZoneManager. If you
are using tapestry-jquery, there is a different implementation of this.
Hey,
I've never used it but if you want to use jQuery, you should take a look at
the tapestry5-jquery plugin : http://tapestry5-jquery.com/
Charles.
2012/9/28 nquirynen
> Hi,
>
> I have a component (grid) where I added a javascript onclick event on my
> rows where I do an ajax (jquery) request
On Tue, 07 Aug 2012 05:56:47 -0300, Dimitris Zenios
wrote:
I was talking of something like this.
http://tapestry.apache.org/schema/tapestry_5_1_0.xsd";>
My Nifty Web Application
Nifty Web Application
Index
About
I was talking of something like this.
http://tapestry.apache.org/schema/tapestry_5_1_0.xsd";>
My Nifty Web Application
Nifty Web Application
Index
About
(C) 2008
On Mon, 06 Aug 2012 19:36:17 -0300, Dimitris Zenios
wrote:
Any example or a hint please?
Layout.tml:
On Tue, Aug 7, 2012 at 12:13 AM, Thiago H de Paula Figueiredo
wrote:
On Mon, 06 Aug 2012 16:03:44 -0300, Dimitris Zenios
wrote:
Is there a way to have a layout component
Any example or a hint please?
On Tue, Aug 7, 2012 at 12:13 AM, Thiago H de Paula Figueiredo
wrote:
> On Mon, 06 Aug 2012 16:03:44 -0300, Dimitris Zenios
> wrote:
>
>> Is there a way to have a layout component and all its body would be
>> rendered using zone?
>
>
> Yes, why not?
>
> --
> Thiago H
On Mon, 06 Aug 2012 16:03:44 -0300, Dimitris Zenios
wrote:
Is there a way to have a layout component and all its body would be
rendered using zone?
Yes, why not?
--
Thiago H. de Paula Figueiredo
-
To unsubscribe, e-mail:
Hm... I think that normal behavior is that if you have zone with in a zone
once an in nor zone is refreshed it triggers the refresh of the outer zone
as well, is there a way to stop this?
cheers
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Zone-within-a-Zone-problem-tp5
Other code is normal html code. I will show you the code of the link click
@OnEvent("selectComponent")
public void selectComponent(ShotComponent component) {
selectedComponent = component;
ajaxResponseRenderer.addRender("zoneComponent", zoneComponent);
}
I have tried
On Sat, Jun 30, 2012 at 7:18 PM, bhorvat wrote:
> It seems that the inner zone is not triggering the outer to refresh as well.
> I guess I am just not wiring things up properly as this should not be the
> case. This is what I have
>
>
>
>
>
>
On Sat, Jun 30, 2012 at 7:06 PM, bhorvat wrote:
> Well that was my starting point where I encountered the problem in the first
> place. Once the outer zone refreshes it changes the zone id and the link
> does not work any more. The zone id is change but the link that was pointing
> to that zone is
It seems that the inner zone is not triggering the outer to refresh as well.
I guess I am just not wiring things up properly as this should not be the
case. This is what I have
Simplified ShotDetails
Link
Well that was my starting point where I encountered the problem in the first
place. Once the outer zone refreshes it changes the zone id and the link
does not work any more. The zone id is change but the link that was pointing
to that zone is not changed
But now I get where I was wrong I didnt pu
Hi,
On Sat, Jun 30, 2012 at 4:30 PM, bhorvat wrote:
> Hi,
>
> Can you please help me with the first approach since the second one is great
> if the link is surrounded by the zone it needs to refresh but if it is
> not...
>
> so I have
>
>
>
>
>
>
>
> How do I use zone.getClientId(), where
Hi,
Can you please help me with the first approach since the second one is great
if the link is surrounded by the zone it needs to refresh but if it is
not...
so I have
How do I use zone.getClientId(), where do I put it, in the link? or in the
zone, or both? I tried a bunch of optio
Ok tnx it is good to know :D
cheers
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Zone-within-a-Zone-problem-tp5714194p5714205.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To
On Sat, Jun 30, 2012 at 1:31 PM, bhorvat wrote:
> Solution #2 works greate, thanks for that.
> It is strange that once the zone is updated and changes the id's it does not
> change the id's of those components/links that depend on that id
It changes the client id's. You are talking mainly about s
Solution #2 works greate, thanks for that.
It is strange that once the zone is updated and changes the id's it does not
change the id's of those components/links that depend on that id
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Zone-within-a-Zone-problem-tp5714194p5714
Hi,
After the update of the first zone - the second zone's Id is changed
(tapestry does this when the zone updates). Check with firebug or
something.
Solution:
1: Inject the zone and take make getClientId() (to take the generated id)
2: From the docs in http://tapestry.apache.org/ajax-and-zones.ht
Tried, but no luck. Still recaptcha comp. does not appear
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Zone-update-tp5713961p5713963.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
--
On Mon, 18 Jun 2012 11:13:43 -0300, liquid_sun
wrote:
Hi,
Hi!
Try returning formZone.getBody() instead of formZone itself.
--
Thiago H. de Paula Figueiredo
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
JSONObject json = new JSONObject();
json.put("period",
5);
json.put("URL",
createEventLink(newTime));
json.put("id",
"poller"));
I use my own implementation for Periodic display which displays a block till
you return null from the event handler . It is for tapestry-jquery, so you will
have to change the js from jquery to prototype.
(I am not sure it will help because of the size of the code :). May be I will
write a po
Firstly, Tapestry.Initializer.zoneRefresh requires an "id" to be present in
the json object.
Secondly, each time "zoneRefresh" is called, a PeriodicalExecuter is created
so you are likely creating more and more of these every time your zone is
refreshed until you run out of memory.
I think you ar
Instead of using context, use a request parameter instead, so you avoid
having to deal with changing the URL Tapestry generated. In addition, I
don't think you will be able to use the ZoneRefresh mixin, so you'll need
a little bit of custom JavaScript, most probably adapted from
ZoneRefresh
No takers? Ah well...I'll break it into separate pages. I just wish I knew
what I was doing wrong. Maybe a renderobject in the template would help?
Igor, can't wait for your book!
On May 8, 2012 10:25 AM, "Chris Cureau" wrote:
> I've looked at the form fragments in firebug. It doesn't appear tha
I've looked at the form fragments in firebug. It doesn't appear that the
form fragment is being changed at all except the visible attribute. I've
pasted the output from firebug below:
Before fragment 3:
That's all we need!
Please verify the following information:
To complete this employee,
On Tue, 08 May 2012 11:19:02 -0300, Chris Cureau
wrote:
I've just added a few more debugging statements... isInSubmit() is
getting called before each fragment rendering phase. It returns false
on the first two fragments and true on the last.
What I see is this: The first and second frag
I've just added a few more debugging statements... isInSubmit() is getting
called before each fragment rendering phase. It returns false on the first
two fragments and true on the last.
What I see is this: The first and second fragments work as expected...the
first just presenting text, and the s
On Tue, 08 May 2012 10:48:38 -0300, Chris Cureau
wrote:
Hi Thiago!
Hi!
Thanks for the quick response. I put together a smaller version of my
page to save some space. It exhibits the same problems. No exceptions
are
thrown in the console, but I can see my page going through onSucces
On Mon, 07 May 2012 23:15:43 -0300, Chris Cureau
wrote:
Hi there!
Hi!
Please post the template and code please, at least the relevant parts
(events, form submissions, links, etc). In addition, some exception or
error should have been raised. Please take a look at the console output
a
Hi Mahendra,
Tapestry5-jquery project allows you to choose whether to include or
not Prototype (and original tapestry components). jQuery will be added
to the javascript stack in every case. In your AppModule,
contributeApplicationDefaults method, you can add
configuration.add(JQuerySymbolConstant
Figured it out. Thanks for help and sorry for spam :)
I will submit a JIRA tomorrow
cheers
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Zone-refresh-image-uplaod-tp5631622p5634634.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
Ok. So I have been able to figure it out (after several hours of staring in
javascript).
The tapestry sends the scirpts in the ajax response and that it loads the
old version of the file. Which is why you suggested to override Upload.java,
right?
So now I understand it all except how exactly to c
This is really strange.
I have spent the last hour trying to figure out how the exception is thrown
and then I found the upload.js file, the only problem is that at one point
the script run into it. But the file wasn't named upload.js. It didnt have a
name, and in chrome I can see that the "name"
Yea but when I have included it like this, and do the ajax update I still get
the same error. So I am either not including it right or it is not working
as it should :S
thnx
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Zone-refresh-image-uplaod-tp5631622p5634484.html
Se
Hi
It is only added on ajax update.
regards
Taha
On Apr 12, 2012, at 7:12 AM, bhorvat wrote:
> Sorry to bother you with something so minor but tnx :D
>
> That file is not in my javascript files that are included so I can not be
> sure where to replace it with
>
> Tapestry.Initializer.injecte
Sorry to bother you with something so minor but tnx :D
That file is not in my javascript files that are included so I can not be
sure where to replace it with
Tapestry.Initializer.injectedUpload = function(element)
{
var form = $(element).form;
if(form){
form.enctype = "multipar
https://github.com/apache/tapestry5/blob/trunk/tapestry-upload/src/main/resources/org/apache/tapestry5/upload/components/upload.js
On Apr 12, 2012, at 6:54 AM, bhorvat wrote:
> Hi Taha,
>
> Strangely I can not find the upload.js anywhere. Any ideas where is it?
>
> Thank you for help
>
> regar
Hi Taha,
Strangely I can not find the upload.js anywhere. Any ideas where is it?
Thank you for help
regards
boris
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Zone-refresh-image-uplaod-tp5631622p5634428.html
Sent from the Tapestry - User mailing list archive at Nabble
Sorry I ended up using a non-ajax method because of other reasons.
I think it is a bug so you can file a jira. Meanwhile you can override the
upload.js script by copying Upload.java from tapestry-upload along with the
corresponding js and replace the contents by
Tapestry.Initializer.injectedUpl
Hi Taha,
glad to see that there are others with problem :D
any suggestion how to solve this. I am stuck :(
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Zone-refresh-image-uplaod-tp5631622p5634387.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
Hi.
Ok so the basic scenario is like this (I have striped some code naturally)
so once this zone is refreshed I get the javascript exception which messes
everything on the page. For example the auto complete no longer works. If I
dont h
I did face this issue once. I think the issue is with upload.js in
tapestry-upload.js
Tapestry.Initializer.injectedUpload = function(element)
{
var form = $(element).form;
form.enctype = "multipart/form-data";
form.encoding = "multipart/form-data";
}
$(element).form returns null for
Hi Boris,
AjaxUpload works fine with christian sample
https://github.com/got5/tapestry5-jquery/blob/master/src/test/resources/org/got5/tapestry5/jquery/pages/AjaxUploadTest.tml
on jetty
Could you give us more details regarding your dependencies
- tapestry-upload,
- commons-fileupload
- tapestry-j
like i said, this could be a bug. why not log it in jira and see what
the big heads think?
On 15/03/2012 1:44 AM, nquirynen wrote:
Found a solution for my problem (not sure if it's a good solution, but it
works):
In the update event of the parent zone (zone1 in my example) I added an if
state
Found a solution for my problem (not sure if it's a good solution, but it
works):
In the update event of the parent zone (zone1 in my example) I added an if
statement to know if it's not just an inner zone that's getting updated:
$('#zone1').bind(Tapestry.ZONE_UPDATED_EVENT, function(event) {
Ok,
thanks for the explanation, also on the constructing of zone updates.
I tested it with the time and your right. Is there any way I can know if in
the ZONE_UPDATED_EVENT of the inner zone (zone1) comes from a zone1 or zone2
update? Because I have javascript code in the zone1 update event, that
i see you are using tapestry-jquery.
I've converted your example over to prototypejs and observe the following:
When submitting the form both alerts appear (zone2 first, zone1 2nd).
zone1's javascript event listener is triggered when zone2's zone is
updated even though its body is not re-rende
On Fri, 27 Jan 2012 03:22:58 -0200, Paul Stanton
wrote:
Just a side note, this has caught a few users over time (since t5.1).
Boris' expected behaviour does not seem to me to be too unrealistic an
expectation! Depending on your personality type ;) you may even consider
this a bug.
Mayb
I've created a new issue "Warn user or disallow zone with randomly generated
id" https://issues.apache.org/jira/browse/TAP5-1834
Denis
On 27.1.2012, at 6:22, Paul Stanton wrote:
> Just a side note, this has caught a few users over time (since t5.1).
>
> Boris' expected behaviour does not seem
Just a side note, this has caught a few users over time (since t5.1).
Boris' expected behaviour does not seem to me to be too unrealistic an
expectation! Depending on your personality type ;) you may even consider
this a bug.
Maybe the zone re-rendering process should handle this client id
c
Hm... Yea this worked perfectly.
I know that the new id is generated but I was under the impression that
tapestry eventlink will adapt to that since I did set which zone to target I
thought that once everything is refresh that will also refresh...
Thank you both for assistance :)
--
View this me
Hi,
On Sat, Jan 21, 2012 at 8:37 PM, Thiago H. de Paula Figueiredo <
thiag...@gmail.com> wrote:
> On Sat, 21 Jan 2012 16:56:59 -0200, Dragan Sahpaski <
> dragan.sahpa...@gmail.com> wrote:
>
> Hi,
>>
>
> Hi, Dragan!
>
>
> This is expected behavior.
>> Once you update the outer zone the inner zon
On Sat, 21 Jan 2012 16:56:59 -0200, Dragan Sahpaski
wrote:
Hi,
Hi, Dragan!
This is expected behavior.
Once you update the outer zone the inner zone id is generated again if
you don't specify it explicitly.
Exactly!
Solution 2:
- Generate the zone's client id yourself, with a binding
Hi,
This is expected behavior.
Once you update the outer zone the inner zone id is generated again if you
don't specify it explicitly.
Solution 1:
- Take the zone's generated clientId
@InjectComponent
private Zone zoneMediaPreview;
// the zoneMediaPreview component is located before the eve
On Fri, 20 Jan 2012 20:43:09 -0200, bhorvat
wrote:
Hope this is bit better. Thanks
t:id is the Tapestry component id. id is the HTML id attribute. You should
add id attributes to solve your problem:
--
Thiago H. de Paula Figueiredo
Independent Jav
1 - 100 of 184 matches
Mail list logo