Retrieving elements after a zone update changed their id.

2017-07-27 Thread Davide Vecchi
Hi everybody, We are using Tapestry 5.4.3 (successfully migrated from 5.3.8, just for the record). I am writing Selenium tests for this webapp and I am having a problem related to the fact that after a zone update Tapestry changes the client id of the elements, like explained in detail under

Re: Zone update 5.3-5.4 timing changes

2017-06-27 Thread Jonathan Barker
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

Re: Zone update 5.3-5.4 timing changes

2017-06-26 Thread Thiago H. de Paula Figueiredo
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

Zone update 5.3-5.4 timing changes

2017-06-24 Thread Jonathan Barker
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 previously near-instantaneous now wait until the completion of zone loads. This is a dashboard page that makes extensive use of Progressive display to get the initial page

Re: Zone update and inactive timeout

2016-11-11 Thread .. ...
d logout after some time. > > I set timeout by setting > > webapp.getSessionHandler().getSessionManager(). > setMaxInactiveInterval(30) > > to 30 seconds. Zone in webpage updates every 5 seconds. With these > settings > > session was unable to timeout. > > > > When I se

Re: Zone update and inactive timeout

2016-11-10 Thread Cezary Biernacki
t; > When I set maxInactiveInterval to one second, session expires as expected. > > Is there any way to have larger timeout than zone update interval? > > Vavricka >

Re: Zone update and inactive timeout

2016-11-10 Thread Christian Riedel
t; to 30 seconds. Zone in webpage updates every 5 seconds. With these settings > session was unable to timeout. > > When I set maxInactiveInterval to one second, session expires as expected. > > Is there any way to have larger t

Zone update and inactive timeout

2016-11-10 Thread .. ...
in webpage updates every 5 seconds. With these settings session was unable to timeout. When I set maxInactiveInterval to one second, session expires as expected. Is there any way to have larger timeout than zone update interval? Vavricka

Re: JS call on AJAX zone update

2016-09-15 Thread Adam X
Thank You Chris. This is exactly what I ended up doing :) On Thu, Sep 15, 2016 at 11:08 AM, Chris Poulsen wrote: > You did not specify whether it was a specific zone / zoneupdate you wanted > to react on as opposed to all on page. Hence binding a listener on the > document seemed like a good sugg

Re: JS call on AJAX zone update

2016-09-15 Thread Chris Poulsen
You did not specify whether it was a specific zone / zoneupdate you wanted to react on as opposed to all on page. Hence binding a listener on the document seemed like a good suggestion. You should avoid using JS directly in the page (like in your example) - Use modules instead. For reference such

Re: JS call on AJAX zone update

2016-09-15 Thread Adam X
I was able to do this with an ajax renderer callback. This example helped me: http://jumpstart.doublenegative.com.au/jumpstart7/examples/javascript/modal/1 Thanks! On Thu, Sep 15, 2016 at 10:13 AM, Adam X wrote: > Thanks for that pointer. But I'm no javascript expert. I tried the > following tw

Re: JS call on AJAX zone update

2016-09-15 Thread Adam X
Thanks for that pointer. But I'm no javascript expert. I tried the following two attempts, neither worked: $('#myZone').on("t5:zone:update",function(){ alert('changed'); }); Is there something obvious that I'm doing wrong? $("#myZone").change(function() { alert('changed'); }); Adam On

Re: JS call on AJAX zone update

2016-09-15 Thread Chris Poulsen
Take a look at http://tapestry.apache.org/current/coffeescript/events.html#section-16 to see which events to listen for On Thu, Sep 15, 2016 at 9:40 AM, Adam X wrote: > Hi, > > I know I'm missing something, but what's the easiest, cleanest > Tapestry way to hook a JS function whenever zone is up

JS call on AJAX zone update

2016-09-15 Thread Adam X
Hi, I know I'm missing something, but what's the easiest, cleanest Tapestry way to hook a JS function whenever zone is updated via AJAX? For example, something simple like: alert('zone updated'); Adam - To unsubscribe, e-mail:

Re: Zone Update with POST

2016-01-08 Thread Kalle Korhonen
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) { },

Zone Update with POST

2016-01-08 Thread Torsten Weber
Hello, I am using an editor written in javascript. When someone clicks on "save" data should be sent to Tapestry and a zone should be updated. Currently in javascript I call: zoneManager.deferredZoneUpdate(zoneId, zoneUrlWithContent). zoneUrlWithContent contains the content of the editor as

Re: How to trigger a zone update from a jquery Context Menu event ?

2015-09-20 Thread françois facon
apestry5-jquery's > jquery/ContextMenu mixin) to perform an action, and then I want to update > the page to reflect the new state. The first part works just fine, but I > can't figure out how to get the page updated afterwards. While a zone > update would be ideal, reloading the page

How to trigger a zone update from a jquery Context Menu event ?

2015-09-19 Thread Robin Garner
I'm trying to use a context menu (using tapestry5-jquery's jquery/ContextMenu mixin) to perform an action, and then I want to update the page to reflect the new state. The first part works just fine, but I can't figure out how to get the page updated afterwards. While a zone

Re: Tapestry Grid with inPlace zone update fails with single quote in data for grid

2015-05-07 Thread Geoff Callender
My response is on stackoverflow. Geoff On 7 May 2015, at 9:59 pm, Pratik Patel [C] wrote: > This is the same question on stackOverflow. It is easier to read there. > > http://stackoverflow.com/questions/30100088/tapestry-grid-with-inplace-zone-update-fails-with-single-quote-in-data

Re: Tapestry Grid with inPlace zone update fails with single quote in data for grid

2015-05-07 Thread Pratik Patel [C]
This is the same question on stackOverflow. It is easier to read there. http://stackoverflow.com/questions/30100088/tapestry-grid-with-inplace-zone-update-fails-with-single-quote-in-data-for-grid - To unsubscribe, e-mail

Tapestry Grid with inPlace zone update fails with single quote in data for grid

2015-05-07 Thread Pratik Patel [C]
I have following grid in a component. source="results" row="result" rowIndex="rowIndex" rowsPerPage="50" pagerPosition="top" model="model"> InPlace=true renders grid inside a zone and then each new page request simply updates tha

Re: Checkbox value for zone update

2015-01-26 Thread Lance Java
stephan.windmuel...@tu-dortmund.de> wrote: > On 23.01.2015, schrieb Lance Java wrote: > > > You could use the observe mixin from tapestry stitch. The mixin can fire > a > > zone update based on the change event, the current checkbox value can be > > sent as the event

Re: Checkbox value for zone update

2015-01-26 Thread Stephan Windmüller
On 23.01.2015, schrieb Lance Java wrote: > You could use the observe mixin from tapestry stitch. The mixin can fire a > zone update based on the change event, the current checkbox value can be > sent as the event context. Hey Lance, your project sounds very promising, thanks for the

Re: Checkbox value for zone update

2015-01-26 Thread Stephan Windmüller
On 23.01.2015, Chris Poulsen wrote: > We have a "submittingcheckbox" component for this kind of thing. Basically > the component renders a checkbox and a hidden submit. Thanks for the suggestion, but using a separate submit field sounds a bit complex for such a simple task. I refuse to believe th

Re: Checkbox value for zone update

2015-01-24 Thread Stephan Windmüller
On 23.01.2015, Thiago H de Paula Figueiredo wrote: > You access the value of the checkbox (or any other Tapestry form field > component) by accessing the property it's editing. It the case above, > the ignoreLengthSelected property. This does not work with the zone update, the v

Re: Checkbox value for zone update

2015-01-23 Thread Lance Java
You could use the observe mixin from tapestry stitch. The mixin can fire a zone update based on the change event, the current checkbox value can be sent as the event context. http://t5stitch-lazan.rhcloud.com/observedemo On 23 Jan 2015 12:33, "Stephan Windmüller" < stephan.w

Re: Checkbox value for zone update

2015-01-23 Thread Thiago H de Paula Figueiredo
On Fri, 23 Jan 2015 10:32:00 -0200, Stephan Windmüller wrote: Hello, Hi! However, I do not know how to access the value of the checkbox. You access the value of the checkbox (or any other Tapestry form field component) by accessing the property it's editing. It the case above, the

Re: Checkbox value for zone update

2015-01-23 Thread Chris Poulsen
Hi, We have a "submittingcheckbox" component for this kind of thing. Basically the component renders a checkbox and a hidden submit. An onChange handler on the checkbox clicks the submit Example usage (T5.4): Form context can be used for setting up the environment if needed (can be hand

Checkbox value for zone update

2015-01-23 Thread Stephan Windmüller
Hello, according to the Tapestry documentation, zones cannot be updated by checkboxes. I found some information on this topic, primarily in this mailing list, for how to circumvent this problem. My current approach is to use tapestry5-jquery: public Object onValueChange() { return res

Re: Form values after zone update

2014-05-14 Thread Thiago H de Paula Figueiredo
On Wed, 14 May 2014 04:08:38 -0300, Erich Gormann wrote: Hi, Hi! I have put a loop renedering form filelds inside a zone. The zone is enclosed by the form component. Inside the loop a zone update is triggered afer a valueChanged event. Alle values entered in the form elements at tis

Form values after zone update

2014-05-14 Thread Erich Gormann
Hi, I have put a loop renedering form filelds inside a zone. The zone is enclosed by the form component. Inside the loop a zone update is triggered afer a valueChanged event. Alle values entered in the form elements at tis time are lost after zone update. What is the recommended way to

AW: Pre select Tree with zone update

2013-11-20 Thread Vasili Petrenko
: Tapestry users Betreff: Re: Pre select Tree with zone update Jumpstart fires it's own custom "leafSelected" event when you select a leaf. So you'll need to make sure you mimic this action. From what I can see, that means you'll need to initialise selectedCl

AW: Pre select Tree with zone update

2013-11-19 Thread Vasili Petrenko
Hi Lance Java, thank you very match. Its to simple :) -Ursprüngliche Nachricht- Von: Lance Java [mailto:lance.j...@googlemail.com] Gesendet: Sonntag, 17. November 2013 11:39 An: Tapestry users Betreff: Re: Pre select Tree with zone update Jumpstart fires it's own custom "le

Re: Pre select Tree with zone update

2013-11-17 Thread Lance Java
Jumpstart fires it's own custom "leafSelected" event when you select a leaf. So you'll need to make sure you mimic this action. From what I can see, that means you'll need to initialise selectedClassification with a value.

Pre select Tree with zone update

2013-11-16 Thread Vasili Petrenko
I wont to search in the tree. I have implemented the tree with zones. Example: http://jumpstart.doublenegative.com.au/jumpstart/examples/ajax/treefromdatab asewithzones I can pre expand the tree witch ExpansionModel but not pre select the leaf. The selectionModel is not working in this

Re: [5.4] IE8 Zone Update Bug

2013-10-08 Thread Emmanuel DEMEY
eter > > - Original Message - > > From: "Peter Hvass" > To: "Tapestry users" > Sent: Monday, September 9, 2013 3:45:49 PM > Subject: [5.4] IE8 Zone Update Bug > > Hi guys, > > > I'm running into the following on IE8 when clicking a

Re: [5.4] IE8 Zone Update Bug

2013-09-09 Thread Peter Hvass
nerNode to owningElement would work. Really hoping a fix for this can be put up for the next alpha! Many thanks again for all the hard work. Peter - Original Message - From: "Peter Hvass" To: "Tapestry users" Sent: Monday, September 9, 2013 3:45:49 PM Subj

[5.4] IE8 Zone Update Bug

2013-09-09 Thread Peter Hvass
Hi guys, I'm running into the following on IE8 when clicking a zoned eventlink; SCRIPT5007: Unable to get property 'rel' of undefined or null reference pageinit.js, line 31 character 9 Looks like it only affects IE8... wondering if anyone has any ideas? Thanks, Peter

Re: [T5.3.6] combining JSON response and zone update

2013-02-22 Thread Ville
age render response values buried down a level under a "_tapestry" key. " -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-3-6-combining-JSON-response-and-zone-update-tp5720149p5720174.html Sent from the Tapestry - User mailing l

Re: [T5.3.6] combining JSON response and zone update

2013-02-22 Thread dfom
Ok. I found the solution by myself. Just added a js callback to the zone update response. The callback function now sends a second request responding the json array. Don't know if this is "best practice" but it's working... -- View this message in context: http:/

[T5.3.6] combining JSON response and zone update

2013-02-21 Thread dfom
I need to respond to an AJAX request with 1. a standard tapestry zone update combined with 2. a JSONArray response. Is there a "best practice" to achieve this? Some background: I use a form to set a filter. The form's zone should update. Additionally the server has to send

Re: zone update ajaxResponseRenderer.addRender vs zone.getBody

2013-01-29 Thread sommeralex
ttp://user/SendEmail.jtp?type=node&node=5719664&i=1> > > >wrote: > > > > > Hi, > > > > > > Whats is the difference between > ajaxResponseRenderer.addRender("myZone", > > > myZone); &g

Re: zone update ajaxResponseRenderer.addRender vs zone.getBody

2013-01-29 Thread Howard Lewis Ship
quot;, > > myZone); > > > > and > > > > return myZone.getBody(); > > > > > > ? > > > > thx > > > > > > > > -- > > View this message in context: > > > http://tapestry.1045711.n5.nabble.com/zone-update-aj

Re: zone update ajaxResponseRenderer.addRender vs zone.getBody

2013-01-29 Thread Muhammad Gelbana
Zone.getBody(); > > > ? > > thx > > > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/zone-update-ajaxResponseRenderer-addRender-vs-zone-getBody-tp5719659.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > >

zone update ajaxResponseRenderer.addRender vs zone.getBody

2013-01-29 Thread sommeralex
Hi, Whats is the difference between ajaxResponseRenderer.addRender("myZone", myZone); and return myZone.getBody(); ? thx -- View this message in context: http://tapestry.1045711.n5.nabble.com/zone-update-ajaxResponseRenderer-addRender-vs-zone-getBody-tp5719659.html Sen

Re: Zone update triggers update on parent Zone

2012-11-15 Thread Paul Stanton
y.ZONE_UPDATED_EVENT, function(event) { if(event.target['id'] == 'zone1) { // do stuff only when zone 1 is getting updated } }); -- View this message in context: http://tapestry.1045711.n5.nabble.com/Zone-update-triggers-update-on-parent-Zone-tp554124

Why is ajaxRenderer needed for zone update?

2012-10-29 Thread membersound
erer-needed-for-zone-update-tp5717391.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Re: Change textfield focus on zone update

2012-10-09 Thread nquirynen
// set the focus }); -- View this message in context: http://tapestry.1045711.n5.nabble.com/Change-textfield-focus-on-zone-update-tp5716599p5716721.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubs

Re: Change textfield focus on zone update

2012-10-04 Thread Thomas Jensen
kl. 10.44 skrev "Poder, Jacob" < > jacob.po...@thermofisher.com>: > > > After the zone update, the id is probably no longer simply > "transactionText". > > Try injecting the field and using the clientId, something like this: > > &g

Re: Change textfield focus on zone update

2012-10-04 Thread Thomas Jensen
Hi, Great, that fixed the problem. Thank you very much. /Thomas Den 04/10/2012 kl. 10.44 skrev "Poder, Jacob" : > After the zone update, the id is probably no longer simply "transactionText". > Try injecting the field and using the clientId, something like this:

RE: Change textfield focus on zone update

2012-10-04 Thread Poder, Jacob
After the zone update, the id is probably no longer simply "transactionText". Try injecting the field and using the clientId, something like this: @Component private TextField transactionText; public void onSetFocus() { javaScriptSupport.autofocus(FieldFocusPriorit

Re: Change textfield focus on zone update

2012-10-03 Thread Thomas Jensen
lance.j...@googlemail.com] > Sent: Wednesday, October 03, 2012 9:50 AM > To: users@tapestry.apache.org > Subject: Re: Change textfield focus on zone update > > On second thought... it might be easier to send some javascript to the > client when form 1 is posted via JavaScriptSupport.addSc

RE: Change textfield focus on zone update

2012-10-03 Thread Poder, Jacob
@tapestry.apache.org Subject: Re: Change textfield focus on zone update On second thought... it might be easier to send some javascript to the client when form 1 is posted via JavaScriptSupport.addScript(...) -- View this message in context: http://tapestry.1045711.n5.nabble.com/Change-textfield

Re: Change textfield focus on zone update

2012-10-03 Thread Lance Java
On second thought... it might be easier to send some javascript to the client when form 1 is posted via JavaScriptSupport.addScript(...) -- View this message in context: http://tapestry.1045711.n5.nabble.com/Change-textfield-focus-on-zone-update-tp5716599p5716601.html Sent from the Tapestry

Re: Change textfield focus on zone update

2012-10-03 Thread Lance Java
n(...) for tapestry-jquery. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Change-textfield-focus-on-zone-update-tp5716599p5716600.html Sent from the Tapestry - User mailing list archive at Nabble.com. --

Change textfield focus on zone update

2012-10-02 Thread Thomas Jensen
Hi, I have a page, with two zones, which each have a form. Zone 2 is hidden as default and is only shown, when the form in Zone 1 successfully submits. Zone 2 has two textfields and I would like to change focus from the textfield in zone 1 to the first textfield in zone 2, but I can't figure out h

Re: Zone update after ajax request to component event

2012-09-28 Thread Lance Java
ntext: http://tapestry.1045711.n5.nabble.com/Zone-update-after-ajax-request-to-component-event-tp5716538p5716544.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-uns

Re: Zone update after ajax request to component event

2012-09-28 Thread nquirynen
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", respo

Re: Zone update after ajax request to component event

2012-09-28 Thread Emmanuel DEMEY
ound where I added a javascript callback function on > the > $.get request where I do the following: > > function rowClickCalback(r) { >aZone.html(r.zones.aZone); > } > > This does work and makes the zone update, but it does not feel like I am > doing things the r

Re: Zone update after ajax request to component event

2012-09-28 Thread Ivan Khalopik
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

Re: Zone update after ajax request to component event

2012-09-28 Thread Lance Java
this. http://jumpstart.doublenegative.com.au/jumpstart/examples/ajax/onevent -- View this message in context: http://tapestry.1045711.n5.nabble.com/Zone-update-after-ajax-request-to-component-event-tp5716538p5716540.html Sent from the Tapestry - User mailing list archive at Nabbl

Re: Zone update after ajax request to component event

2012-09-28 Thread Charlouze
e I do the following: > > function rowClickCalback(r) { >aZone.html(r.zones.aZone); > } > > This does work and makes the zone update, but it does not feel like I am > doing things the right way. I'm pretty new to Tapestry with Ajax, so any > insight in what I am

Zone update after ajax request to component event

2012-09-28 Thread nquirynen
quest where I do the following: function rowClickCalback(r) { aZone.html(r.zones.aZone); } This does work and makes the zone update, but it does not feel like I am doing things the right way. I'm pretty new to Tapestry with Ajax, so any insight in what I am doing wrong is appreciated. Thanks,

Re: Zone update

2012-06-18 Thread liquid_sun
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

Re: Zone update

2012-06-18 Thread Thiago H de Paula Figueiredo
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

Zone update

2012-06-18 Thread liquid_sun
?k=${publicKey}"; height="300" width="500" frameborder="0"> -- View this message in context: http://tapestry.1045711.n5.nabble.com/Zone-update-tp5713961.html Sent from the Tapestry - User mailing list archive at Nabble.com

How do i trigger a zone update in the parent component or page?

2012-04-26 Thread Kristian Marinkovic
or the specific data type and eventually return the component for rendering. The benefit is that i can drop in new modules later to support new data types without changing the existing page. The problem i'm having is that i was not able to figure out how to trigger a zone update of the very same

T5: Link form elements to enclosing form after zone update?

2012-04-20 Thread Dmitriy Vsekhvalnov
Hi all, How can i return form elements as part of zone update? E.g: So i'm returning zone_1, which contains some form fields (text fields), and i'm getting client-side exception: 'Client exception processing response: TypeError: Cannot read property '_tap

Re: Zone update triggers update on parent Zone

2012-03-14 Thread Paul Stanton
-- View this message in context: http://tapestry.1045711.n5.nabble.com/Zone-update-triggers-update-on-parent-Zone-tp5541247p5564976.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: u

Re: Zone update triggers update on parent Zone

2012-03-14 Thread nquirynen
TED_EVENT, function(event) { if(event.target['id'] == 'zone1) { // do stuff only when zone 1 is getting updated } }); -- View this message in context: http://tapestry.1045711.n5.nabble.com/Zone-update-triggers-update-on-parent-Zone-tp5541247p5564976.html Se

Re: Zone update triggers update on parent Zone

2012-03-14 Thread nquirynen
, that should not be fired everytime zone2 is updated. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Zone-update-triggers-update-on-parent-Zone-tp5541247p5564937.html Sent from the Tapestry - User mailing list archive at Nabble.com

Re: Problem with generated javascript and zone update

2012-03-12 Thread David Canteros
ph3 = new AmCharts.AmGraph(); graph3.type = \"line\";graph3.title = \"Cumulative cost\";graph3.valueField = \"cumulative\"; graph3.lineColor = \"#FFA218\";graph3.lineThickness = 3;graph3.bullet = \"round\"; graph3.fillAlphas = 0;graph3.

Re: Problem with generated javascript and zone update

2012-03-09 Thread trsvax
My guess would be there is something in your script that cannot be sent in a JSONObject. Without a zone the script is just included in the HTML but a zone update returns a JSONObject and there are rules about what can be included. -- View this message in context: http://tapestry.1045711.n5

Re: Zone update triggers update on parent Zone

2012-03-06 Thread Paul Stanton
this normal behaviour and am I just doing it in a wrong way? Or maybe I'm doing something else wrong? Thanks, Nathan -- View this message in context: http://tapestry.1045711.n5.nabble.com/Zone-update-triggers-update-on-parent-Zone-tp5541247p5541247.html Sent from the Tapestry - User mailing l

Zone update triggers update on parent Zone

2012-03-06 Thread nquirynen
Submitting the form results in an alert with 'zone1 updated'. Is this normal behaviour and am I just doing it in a wrong way? Or maybe I'm doing something else wrong? Thanks, Nathan -- View this message in context: http://tapestry.1045711.n5.nabble.com/Zone-update-triggers-update-

Re: How to create my own zone update Effect?

2012-02-19 Thread Dusko Jovanovski
I can point you to this article by Howard: http://tapestryjava.blogspot.com/2011/12/adding-ajax-throbbers-to-zone-updates.html He covers everything you are trying to do. Cheers On Sun, Feb 19, 2012 at 6:20 PM, Bo Gao wrote: > How to create my own zone update Effect? > The most important

How to create my own zone update Effect?

2012-02-19 Thread Bo Gao
How to create my own zone update Effect? The most important thing is how can I do something using javascript just after I click some button. I want to do this, when I click a button which will update a zone, a mask will cover the whole zone. After data return from ajax call, remove the mask

Re: Disable zone update for specific form submit

2012-01-26 Thread David Rees
On Thu, Jan 26, 2012 at 1:28 PM, Thiago H. de Paula Figueiredo wrote: > On Thu, 26 Jan 2012 19:05:39 -0200, David Rees wrote: >> I've got a form in a zone with multiple submits.  If the user selects >> one of them, I'd like to not do a zone update but instead do regula

Re: Disable zone update for specific form submit

2012-01-26 Thread Thiago H. de Paula Figueiredo
On Thu, 26 Jan 2012 19:05:39 -0200, David Rees wrote: I've got a form in a zone with multiple submits. If the user selects one of them, I'd like to not do a zone update but instead do regular form submit handling (want to download a file using BinaryStreamResponse instead of ren

Disable zone update for specific form submit

2012-01-26 Thread David Rees
I've got a form in a zone with multiple submits. If the user selects one of them, I'd like to not do a zone update but instead do regular form submit handling (want to download a file using BinaryStreamResponse instead of render a zone update). tml looks something like this: S

Zone update force browser to scroll up

2012-01-21 Thread Dmitriy Vsekhvalnov
Hi all, i have table inside zone, like this: long table. table data gets bigger than screen, and usually people scroll it down. On zone update more rows can be inserted to the table and this force browser to position at the beginning of zone (span), which

No form support after zone update.

2011-11-21 Thread Greg Pagendam-Turner
Hi, I'm using tapestry 5.3 with tapestry-jquery. I have a page called UploadImage to allow the user to upload an image and then crop it to size. The image is uploaded by AjaxUpload. The upload zone should then be replaced with a block to allow cropping of the image. The problem is that afte

Lost parameter binding after zone update

2011-11-05 Thread Ray Nicholus
I posted on this before and thought I had resolved it, but I'm seeing it again. When I update a zone by returning a MultiZoneUpdate from an event handler (via an ajax call), one of the components re-rendered as a result of the update has a parameter that is no longer bound. The zone u

Re: Mixins stop working after a zone update (please help)

2011-10-31 Thread Lenny Primak
25, 2011 at 8:12 PM, Lenny Primak wrote: > >> Yes, the changing of the client IDs to semi-random ones was what I suspected >> before >> (hence my previous thread) >> but after some debugging, it turns out that the mixin gets initialized >> after the zone upda

Re: Mixins stop working after a zone update (please help)

2011-10-31 Thread Massimo Lusetti
On Tue, Oct 25, 2011 at 8:12 PM, Lenny Primak wrote: > Yes, the changing of the client IDs to semi-random ones was what I suspected > before > (hence my previous thread) > but after some debugging, it turns out that the mixin gets initialized > after the zone update with the

Re: Mixins stop working after a zone update (SOLVED!)

2011-10-26 Thread Lenny Primak
nny Primak wrote: > >> There was an addition of one line: >> $(this.formId).setSubmittingElement($(this.elementId)); // *** ADDED >> otherwise zone gets improperly reloaded >> $(this.formId).onsubmit(); // Submit Ajax form >> >> If you don't add the

Re: Mixins stop working after a zone update (SOLVED!)

2011-10-26 Thread Geoff Callender
form > > If you don't add the first line, the form is reloaded improperly after the > zone update, > so it doesn't work the second time. > > *** This is not documented anywhere, and really hard to debug. > This needs to be incorporated into

Re: Mixins stop working after a zone update (SOLVED!)

2011-10-25 Thread Lenny Primak
Yes, anything that will get me out of the JavaScript business! I just started dealing with it and I am getting to despise it! On Oct 25, 2011, at 8:30 PM, Howard Lewis Ship wrote: > This ties into where I expect Tapestry to be heading in 5.4, where you > care less about what the component ids ar

Re: Mixins stop working after a zone update (SOLVED!)

2011-10-25 Thread Howard Lewis Ship
perly reloaded >  $(this.formId).onsubmit();  // Submit Ajax form > > If you don't add the first line, the form is reloaded improperly after the > zone update, > so it doesn't work the second time. > > *** This is not documented anywhere, and really hard to debug. >

Re: Mixins stop working after a zone update (SOLVED!)

2011-10-25 Thread Lenny Primak
There was an addition of one line: $(this.formId).setSubmittingElement($(this.elementId)); // *** ADDED otherwise zone gets improperly reloaded $(this.formId).onsubmit(); // Submit Ajax form If you don't add the first line, the form is reloaded improperly after the zone update,

Re: Mixins stop working after a zone update (please help)

2011-10-25 Thread Lenny Primak
Yes, the changing of the client IDs to semi-random ones was what I suspected before (hence my previous thread) but after some debugging, it turns out that the mixin gets initialized after the zone update with the new client IDs correctly and something else is going on. It seems like the AJAX

Re: Mixins stop working after a zone update (please help)

2011-10-25 Thread cqasker
after-a-zone-update-please-help-tp4935912p4937058.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: us

Mixins stop working after a zone update (please help)

2011-10-25 Thread Lenny Primak
Turns out that all my mixins aren't working after a zone update. I am sure it's my fault somewhere, but I just can't figure out where. Basically, if you put this mixin into a form that's inside the zone, when the zone is refreshed, the mixin stops working. It's not just

Re: Eventlink zone update explorer 9 error

2011-07-18 Thread Taha Tapestry
You can check it at http://tawus.wordpress.com/2011/04/16/tapestry-magic-2-ajax-with-graceful-degradation/ I can file a jira and patch for it Regards Taha On Jul 18, 2011, at 10:33 PM, Josh Canfield wrote: >> I think @XHR can be included in tapestry-core. I use it all the time to >> avoid t

Re: Eventlink zone update explorer 9 error

2011-07-18 Thread Josh Canfield
> I think @XHR can be included in tapestry-core. I use it all the time to avoid > these problems Do you have a reference to source for it? Also, is there an "improvement" defect filed? - To unsubscribe, e-mail: users-unsubscr...

Re: Eventlink zone update explorer 9 error

2011-07-18 Thread Taha Tapestry
I think @XHR can be included in tapestry-core. I use it all the time to avoid these problems Regards Taha On Jul 18, 2011, at 8:17 PM, "Thiago H. de Paula Figueiredo" wrote: > On Mon, 18 Jul 2011 11:08:42 -0300, CHAUVEL wrote: > >> Hi, > > Hi! > >> I have a tapestry 5 app. I have an even

Re: Eventlink zone update explorer 9 error

2011-07-18 Thread Thiago H. de Paula Figueiredo
On Mon, 18 Jul 2011 11:08:42 -0300, CHAUVEL wrote: Hi, Hi! I have a tapestry 5 app. I have an eventlink that updates a zone. Works perfectly in explorer 8, firefox and chrome, but with explroer 9 I get: ioc.Registry A component event handler method returned the value Block[Body of Busqu

Re: Eventlink zone update explorer 9 error

2011-07-18 Thread Taha Tapestry
actual = persona; >return cargosGrillaZone.getBody(); > } > > Regards, > > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/Eventlink-zone-update-explorer-9-error-tp4599684p4599684.html > Sent from the Tapestry - User maili

Eventlink zone update explorer 9 error

2011-07-18 Thread CHAUVEL
/Eventlink-zone-update-explorer-9-error-tp4599684p4599684.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h

Re: Zone update causes to loose js/css bound to div inside zone

2011-07-15 Thread sandeep kale
Hi, Thanks a lot Thiago and Derkoe for quick reply and a perfect solution. It worked fine. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Zone-update-causes-to-loose-js-css-bound-to-div-inside-zone-tp4579141p4589663.html Sent from the Tapestry - User mailing list

  1   2   3   >