Re: switch between tml and component

2009-09-18 Thread Geoff Callender
This sounds great. When you say "auto-completion" do you mean it can prompt you for the parameters of a component? Please tell us more. On 18/09/2009, at 12:15 AM, Alfonso Quiroga wrote: Yes, I have eclipse configured so tml files are shown as JSP files, and I use a specific tapestry DTD for

Re: RenderInformals on Component With Template

2009-09-18 Thread Josh Canfield
This component will grab the first element from the template and add all the informal parameters to it. @SupportsInformalParameters public class Inf { @Inject private ComponentResources _resources; void afterRenderTemplate(MarkupWriter writer) { Element wrapper = null;

Re: [ANNOUNCE] ChenilleKit 1.2.0 RELEASE

2009-09-18 Thread Kevin Menard
Great news. I look forward to trying out the latest release. -- Kevin On Fri, Sep 18, 2009 at 11:44 AM, Massimo Lusetti wrote: > Hi everyone, >  I'm happy to announce the 1.2.0 release of the ChenilleKit project, > our first release compatible with Tapestry 5.1.0.5. > > The ChenilleKit proje

Re: passing a service into a component as a parameter

2009-09-18 Thread Josh Canfield
> > I am trying to pass services into my components via parameters, i.e. I want > something like: > > > What does the text "dooferController" represent in this context? Is it a string that represents the name of the service interface that you want to load? or is it a property in your page that ho

Re: [Tapestry Central] Tapestry Performance Benchmark (vs. Wicket, JSF, etc.)

2009-09-18 Thread Josh Canfield
> T5 doesn't use the session itself. That's exactly what puzzles me. Last time I checked the Form component persists the tracker, which means rendering a form puts something in your session. Every page in the test has a form and so a different tracker would be persisted. I haven't done any testin

Re: T5.1 Graceful Session Timeout?

2009-09-18 Thread Michael Gentry
Since I'm sticking this in a superclass to be inherited by many pages, I'll pretend it is slightly more efficient to return the .class (which may not be true at all). It is indeed less code. :-) Thanks Thiago! mrg On Fri, Sep 18, 2009 at 4:32 PM, Thiago H. de Paula Figueiredo wrote: > Em Fri

Re: T5.1 Graceful Session Timeout?

2009-09-18 Thread Thiago H. de Paula Figueiredo
Em Fri, 18 Sep 2009 17:28:03 -0300, Michael Gentry escreveu: Initially I was thinking I might need to set some values in my SessionTimeout page, but now I'm not sure if I'll do that. I'm assuming returning SessionTimeout.class will be more efficient than injecting the page? I don't know ab

Re: T5.1 Graceful Session Timeout?

2009-09-18 Thread Michael Gentry
Initially I was thinking I might need to set some values in my SessionTimeout page, but now I'm not sure if I'll do that. I'm assuming returning SessionTimeout.class will be more efficient than injecting the page? Thanks Thiago, mrg On Fri, Sep 18, 2009 at 3:33 PM, Thiago H. de Paula Figueired

Re: T5.1 Graceful Session Timeout?

2009-09-18 Thread Thiago H. de Paula Figueiredo
Em Fri, 18 Sep 2009 16:28:00 -0300, Michael Gentry escreveu: public Object onPrepareForSubmit() { // If there is no session, return the timeout page. if (sessionExists == false) return sessionTimeout; If you don't need to invoke methods in sessionTimeout,

Re: T5.1 Graceful Session Timeout?

2009-09-18 Thread Michael Gentry
For any who might need/want this, here is my current solution (this only works on FORM submits, but can be expanded upon): public Object onPrepareForSubmit() { // If there is no session, return the timeout page. if (sessionExists == false) return sessionTimeout;

Re: [Announce] ioko-tapestry-commons-1.4.0

2009-09-18 Thread Olle Hallin
Yes, it is because dual EHCaches. We don't use disk persistence, so we haven't modified the diskStore attribute in ehcache.xml. So starting the next CacheManager instance causes a collision on this. I also want to avoid having duplicate config files for EHCache, so I wrote a custom CacheContentIm

Re: [ANNOUNCE] ChenilleKit 1.2.0 RELEASE

2009-09-18 Thread Juan E. Maya
:) :) :) Thanks a lot CK Team!! On Fri, Sep 18, 2009 at 5:44 PM, Massimo Lusetti wrote: > Hi everyone, >  I'm happy to announce the 1.2.0 release of the ChenilleKit project, > our first release compatible with Tapestry 5.1.0.5. > > The ChenilleKit project lately have suffered from various issues

RenderInformals on Component With Template

2009-09-18 Thread Kai Weber
Hi, I have *exactly* the same problem as the user adamh in June 2008. He hasn't got an answer. Does, one year later, anyone has a glue? http://www.nabble.com/RenderInformals-on-Component-With-Template-tt18053261.html#a18053261 In short this is his problem: Inf.tml http://tapestry.apache.org/sc

[ANNOUNCE] ChenilleKit 1.2.0 RELEASE

2009-09-18 Thread Massimo Lusetti
Hi everyone, I'm happy to announce the 1.2.0 release of the ChenilleKit project, our first release compatible with Tapestry 5.1.0.5. The ChenilleKit project lately have suffered from various issues affecting project management that have complicated more then the necessary the development. We fi

Re: [T5] Pick up https/http from request

2009-09-18 Thread Inge Solvoll
Important note on this one: My implementation breaks non-standard ports, and makes pages on port 8080 post forms to port 80. The correct way to address this is to just return null and false in the 2 methods, and do a service override instead of alias. On Thu, Nov 27, 2008 at 4:18 PM, Ryan Mitchel

Re: T5.1 Graceful Session Timeout?

2009-09-18 Thread Michael Gentry
Well, I can't just create a new object, since I was editing an existing one. So I had my object persisted, but now it is gone and I'm getting an NPE. Tapestry doesn't seem to know my application requires the session (and present a session timeout page) and I haven't found a way to tell it to stop

WL10.3, Tapestry4.0, Module tapestry is duplicated error

2009-09-18 Thread Jason
Hello, My Tapestry4.0 web app(war file) works fine in WL92/JDK15, but trying the exact same web app(war file) in WL103/JDK16 generates below: Note that referenced path and file are EXACTLY the same. Any suggestions are greatly appreciated ! weblogic.application.ModuleException: [HTTP:101216]Serv

passing a service into a component as a parameter

2009-09-18 Thread david.boyce
I am trying to pass services into my components via parameters, i.e. I want something like: Where service is some custom binding type and dooferController is a service I've defined in my application module. The problem is that the only way I know of getting hold of a service is via the Registr

Re: zone append or add new content

2009-09-18 Thread Lionell_Hutz
That problem still exists. I need a simple mechanism to add or delete some content via ajax which don't refresh older added content. The ajaxformloop is no option. -- View this message in context: http://www.nabble.com/zone-append-or-add-new-content-tp25185239p25505178.html Sent from the Tapest

Re: switch between tml and component

2009-09-18 Thread Sergey Didenko
Looms works ok for me on Eclipse Ganymede (3.4.2) P.S. Loom is pretty old BTW On Thu, Sep 17, 2009 at 5:15 PM, Alfonso Quiroga wrote: > Yes, I have eclipse configured so tml files are shown as JSP files, > and I use a specific tapestry DTD for auto-completion, that works > perfect. I was wonderi

Re: Palette and selection filtering

2009-09-18 Thread rolfst
Thanks, stupid me. to many entries that look the same. Thiago H. de Paula Figueiredo wrote: > > Em Thu, 17 Sep 2009 09:42:52 -0300, rolfst escreveu: > >> Hi > > Hi! > >> Iam trying to filter out the already selected entries from the available >> entries from a palette. > > Palette does th

Re: Using locale from user setting after login

2009-09-18 Thread Stephan Windmüller
On Fri, 18. Sep 2009, Stephan Windmüller wrote: > > Use a RequestFilter for setting the locale. > But I am unsure about how to implement this. Okay, I asked for help a little too quickly. Some things I figured out myself, but still the filter does not work. > Additionally I have to figure out if

Re: StreamResponse on Success

2009-09-18 Thread jose luis sanchez
Thanks .. that's what i'll do ... some page refresh from javascript .. Em Thu, 17 Sep 2009 11:55:03 -0300, jose luis sanchez escreveu: Anyone on this, please ? Tapestry doesn't do a redirect-after-post when you return a StreamResponse. HTTP doesn't allow to return two different responses

Re: Using locale from user setting after login

2009-09-18 Thread Stephan Windmüller
Thiago H. de Paula Figueiredo wrote: >> We are using form based login from the application server (tomcat). >> So we are unable to modify the login logic. :-/ > Use a RequestFilter for setting the locale. Thanks, that looks like the correct place to put this code. But I am unsure about how to im