Re: TAPESTRY-825 ASO in cookie

2007-02-11 Thread Jesse Kuhnert
p.s. Not to say that this isn't still possible. I think more and more the new "way" of carrying state around on the client side (a necessity for high load sites) will be more use of the native (or virtual with Dojo ) storage provider API's available in some browsers. (Dojo uses the native firefox

Re: TAPESTRY-825 ASO in cookie

2007-02-11 Thread Jesse Kuhnert
It is hard to say. What version of Tapestry are you working with? Not my business to say, but I'd be more than a little worried about trying to store so much state in a cookie object. Despite the relative ease with which different API's make it possible to muck around with them most people don't

TAPESTRY-825 ASO in cookie

2007-02-11 Thread Manri Offermann
Hi Tapestry users, I am trying to store an ASO in a cookie. I have read previous posts about problems when the cookie is written and that the issue was fixed, but I still seem to have problems. Somehow the store() method of my CookieScopeManager does not write anything to the cookie at all. I

Re: Migration to Tap4, accessing the hivemind registry without injection

2007-02-11 Thread Jesse Kuhnert
Yeah it's a real blessing. Most of the time all I have to do is quickly try to remember in my head if it's possible that there will be more than one implementation of a service I want to inject..95% of the time there isn't so no thought / looking up of service id's are required... Great work Jame

Re: trying tapestry on the phone...

2007-02-11 Thread Jesse Kuhnert
I guess that's true. Maybe I would argue more strongly for it if I knew what the app was doing but I don't...I do know that when I was doing both j2me / mobile content about 6 years ago the virtual device programs you could use to develop your app against were always pretty damn close to being the

PropertySelection components in tables

2007-02-11 Thread Davide Bruzzone
Greetings all... I've been trying to set up a table where each row contains several columns whose values can be selected from a PropertySelection component. I'm able to get the table to render when the page is first loaded but haven't figured out how to track the selected item in each dropdown ce

Re: Migration to Tap4, accessing the hivemind registry without injection

2007-02-11 Thread James Carman
No problem. I think the property "injector" code works by enhancing (extending) your page/component classes and implementing the getter/setter methods. But, it should complain that your getters/setters aren't abstract, I would think (it does in other cases). The thing I like most about the tape

Re: trying tapestry on the phone...

2007-02-11 Thread Patrick Moore
Hi Jesse -- Oh we probably will create a different set of web pages for the phone experience for all the reasons you mentioned, and also because the flow through the app should probably be very different so as to reduce the scrolling on the phone. But a simple proof of concept is what we are gunn

Re: Best strategy?

2007-02-11 Thread Julian Wood
Ok thanks Jesse. Even hearing that it _is_ a large undertaking gives me some direction. I think I will explore the EventListener annotation a little more to see if I can see a way to hook it up to the events created by this planner, and if that looks promising I will go down that road. I al

Re: trying tapestry on the phone...

2007-02-11 Thread Jesse Kuhnert
I've never had good luck trying to make the same html of a web app work on a mobile phone or normal browser. Everything is so constrained / different that I've always ended up creating a separate set of templates that are specifically targeted for mobile devices. You could probably detect the us

Re: Best strategy?

2007-02-11 Thread Jesse Kuhnert
I can't make any suggestions for such a large undertaking, but the @EventListener annotation can listen to any native (browser generated) javascript event or object function. On 2/9/07, Julian Wood <[EMAIL PROTECTED]> wrote: I'm working on taking this dhtml component here: http://www.dhtmlgoodi

Re: app has other sessionId than in cookie

2007-02-11 Thread Jesse Kuhnert
The session ID's aren't managed by Tapestry at all. They come from the servlet spec / whatever servlet container you are running in. I'm not sure what is supposed to be happening vs. what is happening here. On 2/9/07, Peter Schröder <[EMAIL PROTECTED]> wrote: hi, i think i found the source of

Re: Autocompleter and Dialog

2007-02-11 Thread Jesse Kuhnert
It's hard to say for sure where the bug is until I try it out myself, but without a JIRA issue I'll not reliably have a chance to track it down. (yeah the dialog does move dom nodes around, but the autocompleter doesn't attach to the original input element you specify either - it also creates it's

Re: Debugging dojo.js

2007-02-11 Thread Jesse Kuhnert
You could probably monitor the entrance / exit of functions, but if you want stepping capabilities you might have to go with venkman. (maybe firebug can do this, haven't tried it yet) http://www.mozilla.org/projects/venkman/venkman-walkthrough.html The "debugAtAllCosts" parameter to the Shell/Sc

Re: Migration to Tap4, accessing the hivemind registry without injection

2007-02-11 Thread Numa Schmeder
The autowire stuff is downloaded! Really great ! Thanks a lot Muma Le 10 févr. 07 à 21:11, James Carman a écrit : Have you tried tapestry-autowire (http://svn.javaforge.com/svn/tapestry/tapestry-autowire/trunk)? You can check out the source code (anonymous/anon login) and build it yoursel

Re: Migration to Tap4, accessing the hivemind registry without injection

2007-02-11 Thread Numa Schmeder
Thanks James, I am going to check the autowire stuff! Do you have an answer for that: Also I have faced a new problem: I have migrated .page and .jwc to tapestry 4 DTD (using XSLT), using the null has changed quite a lot. In tap 3 I used that instead of initialize() to handle transient proper

Re: Migration to Tap4, accessing the hivemind registry without injection

2007-02-11 Thread James Carman
The tapestry-autowire will look for abstract "getters" and it will implement them for you if it can (by finding exactly one hivemind service which matches the type). In your case, it seems like you've got quite a bit of work on your hands. I'd consider putting the abstract getter in your base pa

Re: Custom annotation

2007-02-11 Thread James Carman
What version of Tapestry? If you're on 4.x, you can look at what I did in tapestry-acegi, which looks for the @Secured annotation on methods/classes. http://svn.javaforge.com/svn/tapestry/tapestry-acegi/trunk The login is anonymous/anon On 2/11/07, VitalyA <[EMAIL PROTECTED]> wrote: Hi all,

Custom annotation

2007-02-11 Thread VitalyA
Hi all, I want to add some custom method annotation. In runtime i want to intercept page method calls and check if this method has my custom annotation. How can i do it? Can i implement for this Tapestry filter? Thanks in advance, Vitaly -- View this message in context: http://www.nabble.com/Cus

Re: Migration to Tap4, accessing the hivemind registry without injection

2007-02-11 Thread Numa Schmeder
Hello Thanks for your answer, But tap4.1 seems to need java 1.5 and I am restricted to java 1.4. So any library dependant of java 1.5 can't be used. If the service point is in module "com.mymodule" and is called daoFactory , and if I have an abstract method getDAOFactory, it will be autowi