conditional page loading on OAuth callback?

2011-09-30 Thread George Ludwig
My app uses Twitter for authentication via OAuth. When Twitter redirects the user to my authorization callback page, I would like to be able to send them to their account setup page if they are a new user, but if they are an existing user I want to send them to their status page. I'm able to

Re: conditional page loading on OAuth callback?

2011-09-30 Thread Taha Hafeez
You can use onActivate() method and return the page you want to redirect to Object onActivate(){ if(whatever_condition()){ return SetupPage.class; }else { return StatusPage.class; } } On Fri, Sep 30, 2011 at 11:54 AM, George Ludwig georgelud...@gmail.com wrote: My app uses

Re: T5 + Tomcat 7

2011-09-30 Thread Koka Kiknadze
Well, right now I'm running T5 apps with Tomcat 7 without problems. I'm not sure what did the trick - in fact I don't remember whether I did succeeded at all with Tap 5.0.18 + Tomcat 7.02beta, but right now with current 5.2.6 + 7.0.16 all works fine, On Tue, Sep 27, 2011 at 6:31 PM, Thiago H.

Intellij jetty

2011-09-30 Thread Taha Hafeez
Hi I am just trying a new project in Intellij 10( I am new to it) and these are the steps I use 1) gradle cleanIdea idea 2) open the project in intellij 3) Add tapestry and web facets. 4) Run with jetty. Everything works fine but no class reloading is happening. I tried a few things but it

Re: Intellij jetty

2011-09-30 Thread Stephan Windmüller
On 30.09.2011 13:30, Taha Hafeez wrote: Everything works fine but no class reloading is happening. I tried a few things but it did not work. Any clue why ? Did you try to manually update the resources by pressing Ctrl+F10? Instead you can edit the run configuration of jetty, see the settings

Re: Intellij jetty

2011-09-30 Thread Jens Breitenstein
Hi Taha! I'll use a) new project | maven b) edit configurations | add jetty server | local edit your newly created configuration and make sure perform on update action -- hot swap classes is selected afterwards if you build a class or module intellij prompts you for hot-swapping. the

Re: Intellij jetty

2011-09-30 Thread Josh Canfield
Under Project Settings | Artifacts you'll see your web application artifact. Look for Build on make and check the box. this isn't set by default so your compiled changes aren't stored into the file system. There is an issue that I haven't worked around. When you change a class file it seems to

Tapestry 5.3.0 scheduling josbs

2011-09-30 Thread nblascogarcia
Hi, i´m spanish so forgive my english. We are trying to implement the scheduling jobs, that should be in 5.3 versions of tapestry We do not achieve to use the org.apache.tapestry5.ioc.services.cron package, we don't know in what JAR or dependency it is... indeed, there is a lot of documentation

Re: Tapestry 5.3.0 scheduling josbs

2011-09-30 Thread Kalle Korhonen
You need to use one of the alpha or beta releases of 5.3 from the staged repositories. 5.3.0 that's in Maven central is way old. Kalle On Fri, Sep 30, 2011 at 5:02 AM, nblascogarcia nblascogar...@gmail.com wrote: Hi, i´m spanish so forgive my english. We are trying to implement the

Re: Intellij jetty

2011-09-30 Thread Taha Hafeez
Thanks everybody. I have been able to sort half the issue. Files are getting updated but jetty does not pick them up. I manually deleted files in classes directory and on command + F10 everything was copied and compiled but jetty is not picking them up. Any ideas ? On Fri, Sep 30, 2011 at

Re: Tapestry 5.3.0 scheduling josbs

2011-09-30 Thread Howard Lewis Ship
See http://tapestry.apache.org/2011/08/27/tapestry-53-beta-preview.html On Fri, Sep 30, 2011 at 8:07 AM, Kalle Korhonen kalle.o.korho...@gmail.com wrote: You need to use one of the alpha or beta releases of 5.3 from the staged repositories. 5.3.0 that's in Maven central is way old. Kalle

Re: Tapestry 5.3.0 scheduling josbs

2011-09-30 Thread Howard Lewis Ship
... and you are responsible for figuring out what the latest beta is (currently 5.3-beta-15). On Fri, Sep 30, 2011 at 8:24 AM, Howard Lewis Ship hls...@gmail.com wrote: See http://tapestry.apache.org/2011/08/27/tapestry-53-beta-preview.html On Fri, Sep 30, 2011 at 8:07 AM, Kalle Korhonen

Re: CSS for all pages

2011-09-30 Thread Steve Eynon
That sounds handy, thanks. Although is does highlight a niggle I've always had with the JavaScriptSupport service and similar - other than coding convenience, I've never understood what CSS has to do with JavaScript!?? I would prefer it if CSS and JavaScript support were maintained in separate

Re: JSON object to Javascript

2011-09-30 Thread Emmanuel DEMEY
Hi You should have a look to the components and/or mixins available in the Tapestry5-jQuery project : https://github.com/got5/tapestry5-jquery Emmanuel 2011/9/30 sireesha sirisha.siri@gmail.com Can anyone explain me how to pass Json ArrayList object from POJO to a Jquery function and

Tapestry 5 Training by HLS at Skills Matter, London

2011-09-30 Thread Howard Lewis Ship
I'll be headed back to London for more Skills Matter training this coming March! http://skillsmatter.com/course/java-jee/tapestry-web-development This is the same course materials I use on my on-site training, but much more affordable. Stretch your legs, get out of the office, and come down to

Re: Textarea with character count?

2011-09-30 Thread TG
Thanks guy! -- View this message in context: http://tapestry.1045711.n5.nabble.com/Textarea-with-character-count-tp4843530p4858058.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail:

User registration component with captcha for tapestry 5.3?

2011-09-30 Thread TG
Hi, If I sounded like to greedy, please let me know :) Do you know if there is any tapestry component that allow user registration feature, like including email notificatiion, captcha etc as a tapestry components/mixins? If not, what is the workaround/best alternative(s)? Thanks! -- View this

Re: Tapestry 5 Training by HLS at Skills Matter, London

2011-09-30 Thread Jon Williams
This reads like a dream. I can't come but if you're ever in Canada I'm there. You are a very smart cookie Howard. Respect is earned and you've got it in spades. What IDE are you using for this course? On Fri, Sep 30, 2011 at 12:27 PM, Howard Lewis Ship hls...@gmail.comwrote: I'll be headed back

Re: Tapestry 5 Training by HLS at Skills Matter, London

2011-09-30 Thread Howard Lewis Ship
On Fri, Sep 30, 2011 at 11:57 AM, Jon Williams williams.jonat...@gmail.com wrote: This reads like a dream. I can't come but if you're ever in Canada I'm there. You are a very smart cookie Howard. Respect is earned and you've got it in spades. What IDE are you using for this course? To keep

Re: Intellij jetty

2011-09-30 Thread Chris Poulsen
I always run jetty from a command prompt (mvn jetty:run) and have not experienced issues with IDEA / jetty /live reloading. It is just a matter of opening the pom as a project and then we're good to go (jdk version may need to be adjusted iirc). -- Chris On Fri, Sep 30, 2011 at 5:13 PM, Taha

Disable @Secure testing with PageTester

2011-09-30 Thread albaeck
Hi all, I know that is is possible to turn @Secure off by apestry.secure-enabled=false or setting mode to development. But how to disable it when testing? I have @Secured page and submitForm throws: java.lang.RuntimeException: Path 'https://localhost/foo/action/1' does not start with context

Re: Any interest in starting a Tapestry Meetup in the SF-Bay area?

2011-09-30 Thread Howard Lewis Ship
I hope to run into more Tapestry enthusiasts while in SF for JavaOne. Twitter me @hlship (or #tapestry5) and we can arrainge to meet in person ... and I can hand over some laptop stickers! On Tue, Sep 27, 2011 at 10:32 PM, Jon Williams williams.jonat...@gmail.com wrote: Sh*t dudes. I left SF

Re: Any interest in starting a Tapestry Meetup in the SF-Bay area?

2011-09-30 Thread George Ludwig
Howard, I was going to suggest a meetup during J1. Something informal, since I won't have a full pass :( I'a local, I'm sure I can think of a convenient place that's not over-run with attendees... -George On Fri, Sep 30, 2011 at 2:59 PM, Howard Lewis Ship hls...@gmail.com wrote: I hope to run

Re: Any interest in starting a Tapestry Meetup in the SF-Bay area?

2011-09-30 Thread Kalle Korhonen
Why not. Likewise, don't have the time to attend J1 but I'll be in the city for some meetings during the week, could easily stay later one evening for a beer or two. Kalle On Fri, Sep 30, 2011 at 3:06 PM, George Ludwig georgelud...@gmail.com wrote: Howard, I was going to suggest a meetup

Re: Intellij jetty

2011-09-30 Thread Taha Hafeez Siddiqi
Oops! I had production mode on :) On Oct 1, 2011, at 2:39 AM, Chris Poulsen wrote: I always run jetty from a command prompt (mvn jetty:run) and have not experienced issues with IDEA / jetty /live reloading. It is just a matter of opening the pom as a project and then we're good to go (jdk

Re: Disable @Secure testing with PageTester

2011-09-30 Thread albaeck
Open-source is the power! :) In test module: public static void contributeFactoryDefaults(MappedConfigurationlt;String, Stringgt; configuration) { configuration.override(SymbolConstants.SECURE_ENABLED, false); } -- View this message in context: