Re: redirecting in the same page class

2012-08-16 Thread Angelo C.
turned out, T5 already has this: Link lnk = renderLinkSource.createPageRenderLinkWithContext(Mypage.class, code); lnk.setAnchor(entry); return lnk -- View this message in context: http://tapestry.1045711.n5.nabble.com/redirecting-in-the-same-page-class-tp5715525p5715529.html Sent from the Tape

Re: Appropriate use of ProgressiveDisplay?

2012-08-16 Thread George Ludwig
Thanks Taha and Michael! I actually understand HTML/CSS/JavaScript fairly well...it's understanding how to crosswire JS with Tapestry that has had me ripping out my hair. Plenty to read here... On Thu, Aug 16, 2012 at 7:04 PM, Michael Prescott < michael.r.presc...@gmail.com> wrote: > So, here's

Re: Appropriate use of ProgressiveDisplay?

2012-08-16 Thread Michael Prescott
So, here's a sketch of a process for making a form that, when you submit it, replaces its surrounding zone with a loading message. I haven't done this, so I might be wrong on a few key points. Pop open a basic Javascript tutorial and learn how to show/hide a . Learn enough CSS and HTML to style

Re: Appropriate use of ProgressiveDisplay?

2012-08-16 Thread Taha Siddiqi
Hi This might help http://tapestry.1045711.n5.nabble.com/T5-2-Zone-loading-progress-icon-td3207615.html http://tapestry.1045711.n5.nabble.com/T5-progress-bar-in-a-grid-td5101565.html regards Taha On Aug 17, 2012, at 5:06 AM, George Ludwig wrote: > Christian, > > The thing is, I'm server-side

redirecting in the same page class

2012-08-16 Thread Angelo C.
Hi, I have a page class(mypage) with two methods: #1. Object onActivate(String code) #2. Object onActivate(String code, String entry) so I can pass localhost:8080/mypage/0001/#entry, this matches method #1, I'd like that method #2 will redirect it to method #1 using code and entry, so : /my

Re: Appropriate use of ProgressiveDisplay?

2012-08-16 Thread George Ludwig
Michael, Ideally, the "please wait" message would appear over the existing layout, and would go away after the operation is complete and the new data is available. But I've already Wasted so many hours on this topic, I don't really give a crap anymore how it works. I'll take whatever I can get. "

Re: Appropriate use of ProgressiveDisplay?

2012-08-16 Thread Michael Prescott
Can you describe the layout of your page in a bit more detail? I'm imagining a form, and when you submit it, you want a 'saving' message to take the place of the form. Is that right? (This sounds like a hack of Zone to me.) Or is the message some kind of lightbox while the page behind changes c

Re: Appropriate use of ProgressiveDisplay?

2012-08-16 Thread George Ludwig
Can anyone give me any pointers? All I need is to be able to enable/disable a busy busy message based on what else is happening in my page. This is such an obvious use case, I can't believe I'm the only one doing it. And every time I look at the Tapestry docs I get nowhere. I don't understand how t

Re: Appropriate use of ProgressiveDisplay?

2012-08-16 Thread George Ludwig
Christian, The thing is, I'm server-side guy being forced to do UI...I really don't know where to start on building such an object. Isn't there some component already out there or must I re-invent the wheel? -George On Thu, Aug 16, 2012 at 2:31 PM, Christian Riedel wrote: > Hi George, > > Progr

Re: Creating a linked list of pages for easy backward navigation?

2012-08-16 Thread Thiago H de Paula Figueiredo
On Thu, 16 Aug 2012 18:00:34 -0300, George Ludwig wrote: Thiago, Hello! It turned out that I didn't need bi-directional traversal of the page history, just backtracking. So I went with a stack of objects that encapsulated all the page data I needed to persist. Works great! Nice! :) Que

Re: Appropriate use of ProgressiveDisplay?

2012-08-16 Thread Christian Riedel
Hi George, ProgressiveDisplay's initial block may be used to display a "loading" message / spinning icon. But I wouldn't recommend this component to be used just as a feedback mechanism. Build your own component that may listen to certain events and show/hide itself as needed. ProgressiveDispl

Re: Creating a linked list of pages for easy backward navigation?

2012-08-16 Thread George Ludwig
Thiago, It turned out that I didn't need bi-directional traversal of the page history, just backtracking. So I went with a stack of objects that encapsulated all the page data I needed to persist. Works great! Question: To clear the persisted stack, do I need to do anything other than set it to n

Re: tweet buttons?

2012-08-16 Thread Christian Riedel
with great pleasure: https://gist.github.com/3373589 Am 31.07.2012 um 01:57 schrieb Angelo C.: > cool, care to share? > > > Christian Riedel-4 wrote >> >> Yep, I've got one! >> >> Am 31.07.2012 um 00:54 schrieb Angelo C.: >> >>> anybody got one ? say, then expand to : >>> < a href="https://

Re: ASO, SSO, perthread - checking my understanding

2012-08-16 Thread Thiago H de Paula Figueiredo
On Thu, 16 Aug 2012 16:21:58 -0300, Lenny Primak wrote: On Aug 16, 2012, at 2:03 PM, Michael Prescott wrote: Just want to check my understanding on a few matters. Pages and components are pooled and cleaned up between requests, so it's fine to use fields for storage during request proce

Re: ASO, SSO, perthread - checking my understanding

2012-08-16 Thread Michael Prescott
Much obliged. On 16 August 2012 15:21, Lenny Primak wrote: > Comments interspersed... > > > > On Aug 16, 2012, at 2:03 PM, Michael Prescott < > michael.r.presc...@gmail.com> wrote: > > > Just want to check my understanding on a few matters. > > > > Pages and components are pooled and cleaned up

Re: ASO, SSO, perthread - checking my understanding

2012-08-16 Thread Lenny Primak
Comments interspersed... On Aug 16, 2012, at 2:03 PM, Michael Prescott wrote: > Just want to check my understanding on a few matters. > > Pages and components are pooled and cleaned up between requests, so it's > fine to use fields for storage during request procesing (e.g. loop > variables)

Re: Tapestry Testing with Javascript off

2012-08-16 Thread Alex Kotchnev
You can change the Selenium test to use a different "browser", e.g. for example HtmlUnit and set up HtmlUnit to not run Javascript. E.g. https://fisheye.codehaus.org/browse/~br=tag%3Atapestry-jdo-module-0.0.1/tynamo/tags/tapestry-jdo-module-0.0.1/tapestry-jdo/src/test/java/org/tynamo/jdo/integrati

Re: Tapestry Testing with Javascript off

2012-08-16 Thread Thiago H de Paula Figueiredo
On Thu, 16 Aug 2012 12:00:08 -0300, trsvax wrote: I've got a bug that occurs where the browser has Javascript disabled. Is there a way to run a Tapestry Selenium test and to tell the browser to disable Javascript for that test? Nope, as the part of Selenium that runs in the browser is written

Re: T5 Auto Binding of DAOs

2012-08-16 Thread Michael Prescott
I might.. yes. I don't necessarily need a lot of content, but a paragraph and a few code snippets for each service would be a fantastic jump-off point. One side effect of all Tapestry's injection, reflection-based config and event binding, and literate APIs, is that the explorability suffers a bi

Tapestry Testing with Javascript off

2012-08-16 Thread trsvax
I've got a bug that occurs where the browser has Javascript disabled. Is there a way to run a Tapestry Selenium test and to tell the browser to disable Javascript for that test? Barry -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-Testing-with-Javascript-off-tp

Re: JRebel Integration

2012-08-16 Thread tapestry.kung.fu
Tapestry core package live loading is bad ass. It truly is blessing. It made my development cycle extremely fast. Initially I was using tC server with STS but I realized that every time I make change in code, server was restarting for auto deploy. Then I just switch to jetty plugin and it worked ve

Re: T5 Auto Binding of DAOs

2012-08-16 Thread Muhammad Gelbana
I remember tapestry that by searching for implementation classes in the same package by the same name but suffixed by "Impl". Like "MySvc" as in interface and "MySvcImpl" as the implementation. 1. When I wan'ted to extract that piece of info from the docs I couldn't find it ! Is it deprecated ?! 2

Re: JRebel Integration

2012-08-16 Thread Thiago H de Paula Figueiredo
On Thu, 16 Aug 2012 09:05:37 -0300, tapestry.kung.fu wrote: Is tapestry looking at integrating with JRebel? JRebel loads many other changes than just controlled packages. http://ed-link.techtarget.com/r/ZGEOMDV/TKEKS/1CV801/EYKON/Y5W47/LR/h?a=7873871 Isn't the whole point of JRebel to refle

Re: XSS Filter and Erratic Behaviour of Tapestry 5.3.4

2012-08-16 Thread Thiago H de Paula Figueiredo
On Thu, 16 Aug 2012 06:10:06 -0300, kheldar666 wrote: Hi all, Hi! In AppModule.java public static void bind(ServiceBinder binder) { binder.bind(HttpServletRequestFilter.class, XSSFilterImpl.class).withId("XssFilter"); } /* * XSS Filtering

JRebel Integration

2012-08-16 Thread tapestry.kung.fu
Is tapestry looking at integrating with JRebel? JRebel loads many other changes than just controlled packages. http://ed-link.techtarget.com/r/ZGEOMDV/TKEKS/1CV801/EYKON/Y5W47/LR/h?a=7873871 -- View this message in context: http://tapestry.1045711.n5.nabble.com/JRebel-Integration-tp5715496.htm

Re: T5 Auto Binding of DAOs

2012-08-16 Thread Thiago H de Paula Figueiredo
On Thu, 16 Aug 2012 03:48:17 -0300, Dmitry Gusev wrote: Hi, Hi! correct me if I wrong, but you can't get instance of ClassNameLocator in module's bind method, right? Since the registry is not started yet. Nope, but maybe Tapestry-IoC could provide it anyway. JIRA please? -- Thiago H. d

Re: Library binder and IDE helper

2012-08-16 Thread trsvax
OK I got a sonatype account and the snapshot module is at https://oss.sonatype.org/content/repositories/snapshots/ com.trsvax tapestry-librarybinder 5.3.4-SNAPSHOT I'll make a release version shortly Barry -- View this message in context: http://tapestry.1

Re: kinda sort-of stuck

2012-08-16 Thread Jaypax Ginete
Hi Kalle thanks for replying. I know that my doGetAuthenticationInfo() and doGetAuthorizationInfo() methods are getting called. So I will look at my login code but I will revisit this project another time. I'm being re-assigned to a different project. Jay On 8/16/2012 10:20 AM, Kalle Korhonen

XSS Filter and Erratic Behaviour of Tapestry 5.3.4

2012-08-16 Thread kheldar666
Hi all, I am currently trying to add a general XSS Filter in my application and I am facing some really weird behavior. Basically the Filter operate 1 time out of 5... Here is my approach : In AppModule.java public static void bind(ServiceBinder binder) { binder.bind(H

RE: Lightweight TapestryTools update site

2012-08-16 Thread Athneria, Mahendra
Thanks in advance Gavin :-) Regards, Mahendra -Original Message- From: Gavin Lei [mailto:gavingui2...@gmail.com] Sent: Wednesday, August 15, 2012 8:24 PM To: Tapestry users Subject: Re: Lightweight TapestryTools update site Yeah, i am working for this feature, it will be available in th

Re: combining scripts

2012-08-16 Thread Angelo C.
hi, location of JS is: webapp/js/jquery-1.7.1.js to compare, WEB-INF is in: webapp/WEB-INF to load something from WEB-INF during run time, I do: globals.getServletContext().getResourceAsStream("/WEB-INF/param.txt") Here is the class: public class JS_stack implements JavaScriptStack {

Re: T5 Auto Binding of DAOs

2012-08-16 Thread Dmitry Gusev
Thanks for sharing, Norman! Here's mine implementation: public static void bind(ServiceBinder binder) throwsClassNotFoundException { autobindServices(binder, ProjectDAO.class.getPackage()); autobindServices(binder, ProjectManager.class.getPackage()); ...

Re: Can i edit chenillekit pagedloop navigation links to <>

2012-08-16 Thread Emmanuel DEMEY
Hi I think the source code are available on github : https://github.com/mlusetti/chenillekit Manu 2012/8/15 TG > Do you know where can I get the source codes for this customized pagedloop? > If not, what are the jar files of chenillekit? I don't use Maven. Just > plain old copy and paste into

Re: combining scripts

2012-08-16 Thread Emmanuel DEMEY
Hi Can you send us all the code of your javascript stack ? and explain where the static files are located ? thanks. Manu 2012/8/16 Angelo C. > Thanks for the help, I tried : > > ret.add(assetSource.getUnlocalizedAsset("context:/js/jquery-1.7.1.js")); > > but still get this error: > > Caused by