Re: AW: AW: @Shell component, refresh and IE

2007-03-06 Thread Patrick Klein
Hello Peter, i tried that now by using a "custom" Shell component which simply replaces ";" with "%3B" in the url. Result in firefox _and_ IE : HTTP Status 404 - /myapp/ImportMatrix.page%3Bjsessionid=E903773F2AFE3C2F2AADB2EE2D1C0C3E Would've been too easy if it had worked that way... D

T5:Grid with Checkbox

2007-03-06 Thread Weisu
Hi, has anyone uses checkbox inside a grid, i just wonder how to do it in T5. Thanks -- View this message in context: http://www.nabble.com/T5%3AGrid-with-Checkbox-tf3360245.html#a9347153 Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: Tap 4.0.3 HttpSession and WebSession

2007-03-06 Thread Miguel Angel Hernández
Renat Thanks a lot, Unfortunately I've already tried those... but it's not working. I'm using Geronimo as AppServer... maybe it's the configuration of my realm or something... I'll make you know if I find out what is it. regards, migs On 3/6/07, Renat Zubairov <[EMAIL PROTECTED]> wrote: You

Re: Tap 4.0.3 HttpSession and WebSession

2007-03-06 Thread Renat Zubairov
You can try to use Restart service. It should be pretty simple to call a restart service via service link. Otherwise you can have a look to the http://tapestry.apache.org/tapestry4/tapestry/hivedocs/module/tapestry.globals.html For example you can get a request injected to your Hivemind services

Tap 4.0.3 HttpSession and WebSession

2007-03-06 Thread Miguel Angel Hernández
Hi all, Anybody knows how I can access the HttpSession from tapestry... I found RequestCycle: getRequestContext():getSession()... but its deprecated. I need to invalidate the session in order to logout from JAAS realm, I've tried WebSession():invalidate() but it doesn't work :(

T5: Acegi support/integration anyone?

2007-03-06 Thread Stephan Schwab
Hi, is anyone working on Acegi integration into Tapestry 5? Stephan -- Blog: http://www.stephan-schwab.com -- View this message in context: http://www.nabble.com/T5%3A-Acegi-support-integration-anyone--tf3358378.html#a9341261 Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: [T5] ?. operator for null-safe graph traversal

2007-03-06 Thread Jesse Kuhnert
Yeah...Thinking about it more now I realize that you don't really have a choice. I'm still wondering how much mileage I'm liable to get out of all of these OGNL changes if there is a better alternative..(ie if groovy works just as well for property set/get operations ? ...) I may send out an emai

Re: [T5] ?. operator for null-safe graph traversal

2007-03-06 Thread Howard Lewis Ship
It is definately a twisty path, before long I'll have reproduced all of OGNL. It might be fun to support "low..high" syntax for properties rather than constants, but that's getting to be as far as I want to take it. Do the heavy lifting in Java (or Groovy) code. On 3/6/07, Jesse Kuhnert <[EMAIL

Re: [T5] ?. operator for null-safe graph traversal

2007-03-06 Thread Jesse Kuhnert
Nice. I like that and the "0..." that you've added. Why can't we replicate you for work on OGNL ? =p On 3/6/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: customer?.address?.street I've borrowed some syntax from Groovy to handle this case; the ?. operator returns null if the LHS is null, othe

[T5] ?. operator for null-safe graph traversal

2007-03-06 Thread Howard Lewis Ship
customer?.address?.street I've borrowed some syntax from Groovy to handle this case; the ?. operator returns null if the LHS is null, otherwise is traverses into the property on the RHS. On 3/6/07, Angelo Luis <[EMAIL PROTECTED]> wrote: No no no... How can have a null handler now??? If a have

Re: T5 binding problem

2007-03-06 Thread Jesse Kuhnert
I don't think it's even a matter of choice right now to be honest. There are still quite a few changes that need to be made before ognl is suitable for use with T5. (such as the addition of parameter accessors to handle annotated params, generics, IoC injection , removal of static references to ma

Re: T5 binding problem

2007-03-06 Thread Angelo Luis
No no no... How can have a null handler now??? If a have a customer -> address -> street in a text component, for example " custumer.address.street" and i dont instanciate a address, a NullPointerException is throw. With a ognl null handler, if the address is null he creates one , like Webwork..

Re: Tapestry 4.1.2 DirectLink updateComponents within a Dialog

2007-03-06 Thread Andreas Andreou
Actually Dialog extends from AbstractWidget It's my understanding that abstractWidgets are NOT containers of other components, though i don't know why they shouldn't be :) Anyway, this led my to http://tacos.svn.sourceforge.net/viewvc/tacos/tacos-4.1/trunk/tacos-core/src/java/net/sf/tacos/compon

Re: T5 binding problem

2007-03-06 Thread Howard Lewis Ship
Yep, that's the intention. Not using OGNL falls into the "blazing speed - no reflection" goal. Jesse's busy taking the reflection out of OGNL, so it may make a comeback as an add-on. On 3/6/07, Davor Hrg <[EMAIL PROTECTED]> wrote: thnx, I did add a syntethic property to do the task, but thought

Asset Service/JS file throws exception in Perl5Matcher

2007-03-06 Thread Chris Norris
We've found an obscure and hard to repeat bug in our app that is caused when a page tries to load a javascript file. The code that causes it is located just inside the body tag: The error the browser reports is a syntax error. On a GET with the URL https://www.domain.com/assets/stati

Re: Tapestry 5 screencasts for download ?

2007-03-06 Thread Renat Zubairov
I guess you can directly download them from the page by the source For example http://howardlewisship.com/screencasts/tapestry5_screencast5.mov From http://svn.apache.org/viewvc/tapestry/tapestry5/tapestry-project/trunk/src/site/resources/screencast_5.html?view=markup On 06/03/07, Dwi Ardi Ir

Re: Tapestry 4.1.2 DirectLink updateComponents within a Dialog

2007-03-06 Thread Renat Zubairov
Upate of the components inside the Dialog is not working indeeed, I've tried to debug it once, and it seems that dialog do not scan the internal components when it searches for the updated client IDs. On 06/03/07, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: Damnit...I don't know how I let somethin

Re: Autocompleter Questions

2007-03-06 Thread Chris Chiappone
It appears that tapestry isn't finding the location of dojo for some reason. On 3/6/07, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: No idea, but a working example always helps me: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-examples/TimeTracker/src/ On 2/22/07, Chris Chiappone

Re: Problem with assignment of variables between pages

2007-03-06 Thread Patrick Klein
Hello Jesse, the problem is a bit harder to track. All of my test cases (with tons of debug output) worked out as the should. The problem as it seems is that under some circumstances one jsession is able to access the (persistent) variables of another jsessions instance of the same page (or

Re: T5 binding problem

2007-03-06 Thread Davor Hrg
thnx, I did add a syntethic property to do the task, but thought ognl was supposed to work actualy I like the approach via property more, since then I have autocomplete and all the stuff I'm used to while writing java code, and auto reloading of classes makes it as fast to test, as if it was

Re: Re: T4: render empty Ajax response

2007-03-06 Thread Jesse Kuhnert
Oh yeahYou're not meant to call renderResponse() on ResponseBuilder yourself, that's mostly reserved for internals - but since I do have a nice public/internal API structure like T5 I have to expose it to everyone else.. I'm not sure I understand completely, but this could be made much simple

Re: T5 binding problem

2007-03-06 Thread Howard Lewis Ship
It may never be; the design of T5 allows for easy property expressions right in the binding, and more complex expression delegate out to Java code easily (this is practical in T5 because of the automatic class reloading). A lot of the "magic" logic in BeanEditForm and Grid is based on some APIs t

Re: AW: AW: @Shell component, refresh and IE

2007-03-06 Thread Patrick Klein
Hello Peter, thanks for the hint. The "simplest" solution seems to be extending RequestCycle and override the encodeURL method to replace the semicolon. The extension is already done but right now i don't know where configure it to make sure the custome RequestCycle is used instead of tapestry

Re: AW: Tapestry 4.1.2-SNAPSHOT

2007-03-06 Thread Paulo Ramos
I am using javassist 3.0 Peter Schröder escreveu: does your server contain the javassist lib in the expected version? -Ursprüngliche Nachricht- Von: Paulo Ramos [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 6. März 2007 12:49 An: users@tapestry.apache.org Betreff: Tapestry 4.1.2-SNAP

Friendly URLs in libraries

2007-03-06 Thread Stephane Decleire
Hi, I've tried to implement friendly urls with the solution described at http://tapestry.apache.org/tapestry4/UsersGuide/friendly-urls.html This works fine in my project but not in the pages included in libraries used by my project. Any advice is welcome. -- Stephane

AW: Tapestry 4.1.2-SNAPSHOT

2007-03-06 Thread Peter Schröder
does your server contain the javassist lib in the expected version? -Ursprüngliche Nachricht- Von: Paulo Ramos [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 6. März 2007 12:49 An: users@tapestry.apache.org Betreff: Tapestry 4.1.2-SNAPSHOT Hello, I am using Tapestry 4.1.2-SNAPSHOT and y

Tapestry 4.1.2-SNAPSHOT

2007-03-06 Thread Paulo Ramos
Hello, I am using Tapestry 4.1.2-SNAPSHOT and yesterday, when i deployed my aplication the server throw this error: java.lang.NoSuchMethodError: javassist.CtClass.toClass(Ljava/lang/ClassLoader;Ljava/security/ProtectionDomain;)Ljava/lang/Class; Can anyone help me? Thanks Paulo Ramos -

AW: AW: @Shell component, refresh and IE

2007-03-06 Thread Peter Schröder
hi patrick, you may also try to url-encode the tapestry-url so that ; will be %3B and IE wont get confused kind regards -Ursprüngliche Nachricht- Von: Patrick Klein [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 6. März 2007 10:46 An: Tapestry users Betreff: Re: AW: @Shell component, r

Re: T5 binding problem

2007-03-06 Thread Jiri Mares
Hi Howard, > 2) OGNL isn't supported in T5. OGNL won't be supported or not yet. -- Jiří Mareš (mailto:[EMAIL PROTECTED]) ČSAD SVT Praha, s.r.o. (http://www.svt.cz) Czech Republic - To unsubscribe, e-mail: [EMAIL PROTECTED] Fo

Jesse-->Temporary jfly public repository

2007-03-06 Thread Andrea Chiumenti
Hi Jesse, I've set a temporary jfly repository (it's my host) http://www.wingstech.it/jfly/nightly/ p.s. do you know where can I put it when officially announced, currently the project is hosted by sourceforge. Ciao, kiuma

Re: AW: @Shell component, refresh and IE

2007-03-06 Thread Patrick Klein
Hi, Peter, somehow i allready thought it was something like that. Thanks for the answer :) Switching to using cookies also does the trick. Both solutions somehow are not really satisfying as the Shell component should be able to attend this... Regards, Patrick hi patrick, this might be

AW: @Shell component, refresh and IE

2007-03-06 Thread Peter Schröder
hi patrick, this might be because of the ";" as delimiter for the sessionId wich is also used as delimiter for the values of the content-parameter. so i think that IE splits this entry to 10 URL=http://localhost:8080/myapp/ImportMatrix.page jsessionid=C79B17BAFCE7166D80F92708F500D4B9 wich bring

@Shell component, refresh and IE

2007-03-06 Thread Patrick Klein
Hello! I'm using the @Shell component's refresh tag to set trigger the reload of a given page every 10 seconds. All works fine using Firefox. However, using IE all goes havoc as IE seems to drop at least parts of the reload url. The refresh part of the page looks like the following: http:

Antwort: Re: method name of listener

2007-03-06 Thread Kristian Marinkovic
definining a listener for my component looks sth like this (Tap standard): ... in my component i have a method returning a IActionListener: public abstract IActionListener getListener(); now i want to generate a js function with the same name and i dont know how to get it from IActionLi

Re: Re: T4: render empty Ajax response

2007-03-06 Thread Kristian Marinkovic
Hi Jesse, i just want do call the Dojo DojoAjaxResponseBuilder to return a "OK" string. But i dont know how to do this from within my component. Anytime i obtain the ResponseBuilder from the cycle and call renderResponse i get a exception. i know i'm missing something but i didn't figure out what.