Re: Tapestry LoadingBar

2012-12-21 Thread Geoff Callender
Howard - the css and IE css are missing from your blog page! On 20/12/2012, at 9:56 PM, Lance Java wrote: > http://tapestryjava.blogspot.co.uk/2011/12/adding-ajax-throbbers-to-zone-updates.html > > > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/Tapestry-Loadi

5.4-alpha-1

2012-12-21 Thread Howard Lewis Ship
If you want to live on the bleeding edge, I've uploaded a preview release of 5.4-alpha-1 to the Maven repository at: https://repository.apache.org/content/repositories/orgapachetapestry-070 Enjoy! Feedback welcome! -- Howard M. Lewis Ship Creator of Apache Tapestry The source for Tapestry tr

Re: Switching assets based on something different than language

2012-12-21 Thread Howard Lewis Ship
Tapestry 5.3 introduces the idea of skinning: its broken up into a couple of parts. One part is looking at the request to determine the "axes" (plural of axis) of customization. In your case, one axis would be locale (which is built into Tapestry). The other axis would be based on tenant, which yo

Re: [5.3.6] RegistryShutdownHub.addRegistryWillShutdownListener cannot refer to injected services

2012-12-21 Thread Muhammad Gelbana
It's possible that it hasn't been initialized till then. Should I open a jira issue ? On Fri, Dec 21, 2012 at 4:19 AM, Howard Lewis Ship wrote: > We could possibly do some work so that the necessary locks are only locked > after the "will-shutdown" listeners are notified, but before the > "did-s

Re: Tapestry LoadingBar

2012-12-21 Thread Thiago H de Paula Figueiredo
On Fri, 21 Dec 2012 09:57:16 -0200, mateen wrote: well what you say is correct, but have never worked in jquery or prototype. Thats one thing i want to get working on. For the time been is there no other help you could provide ? Please stay on-topic. Specific jQuery or Prototype help is o

Re: Tapestry LoadingBar

2012-12-21 Thread Lance Java
I'm in a good mood... here's what it might look like in jquery. Note: untested. Tapestry.onDOMLoaded(function() { function addAjaxOverlay(event, element) { var mgr = Tapestry.findZoneManager(element); var zone = mgr && mgr.element; if (!zone) { return;

Re: Tapestry LoadingBar

2012-12-21 Thread Lance Java
http://lmgtfy.com/?q=jquery+insert+div+at+the+top+of+a+div http://lmgtfy.com/?q=jquery+get+the+width+and+height+of+a+div http://lmgtfy.com/?q=jquery+set+the+width+and+height+of+a+div http://lmgtfy.com/?q=jquery+add+an+event+handler -- View this message in context: http://tapestry.1045711.n5.nab

Re: Tapestry LoadingBar

2012-12-21 Thread mateen
well what you say is correct, but have never worked in jquery or prototype. Thats one thing i want to get working on. For the time been is there no other help you could provide ? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-LoadingBar-tp5718867p5718918.html S

Re: Redirect onActivate - how to handle ActionLink requests?

2012-12-21 Thread Thiago H de Paula Figueiredo
On Fri, 21 Dec 2012 09:18:47 -0200, lebenski wrote: This is exactly what I was looking for! Thank you. :D Although I still notice a strange issue. In all cases except one the following works: componentEventLinkEncoder.decodePageRenderRequest(request) != null Except on the request m

Re: Redirect onActivate - how to handle ActionLink requests?

2012-12-21 Thread lebenski
This is exactly what I was looking for! Thank you. Although I still notice a strange issue. In all cases except one the following works: componentEventLinkEncoder.decodePageRenderRequest(request) != null Except on the request made by the autocomplete mixin (http://tapestry.apache.org/current/

Re: Tapestry LoadingBar

2012-12-21 Thread Lance Java
> How would i translate this function to jquery? Step 1: Use your head to understand what the script actually does in prototype Step 2: Read the jquery documentation and do the same thing but in jquery -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-LoadingBar-t

Re: Tapestry LoadingBar

2012-12-21 Thread mateen
I have included jquery in the pom.xml and using the JQuery Popup. I dont get any error messages in my console, or java errors. How would i translate this function to jquery ? -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-LoadingBar-tp5718867p5718914.html Sent

Re: Tapestry LoadingBar

2012-12-21 Thread Lance Java
It's very difficult to know what your problem is if you don't include exception messages (javascript and/or java). Are you using tapestry-jquery? If you are, you will need to adapt the script to jquery since the the script relies on protoype. For example the on() function in prototype is bind() in

Re: Ajax loader vs ProgressiveDisplay ...

2012-12-21 Thread mateen
I need to show a spinner when ever an event is fired and hide it when the ajax returns. How can i do this ? Could you give me a more depth into your source code. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Ajax-loader-vs-ProgressiveDisplay-tp4711106p5718910.html Sent