Re: To the french fellows of the list

2007-06-26 Thread Francois Armand
Jesse Kuhnert wrote: Not to pry or anything but reading my google analytics data it seems a large number of tapestry people are concentrated in either the very Northern/ Southern (ie Mairseille) or the biggest concentration in Paris.The numbers are dispersed within Paris enough to potential

Re: OGNL 2.7 Must use #this

2007-06-26 Thread Kalle Korhonen
Thanks. I wasn't 100% how legitimate, but filed as http://jira.opensymphony.com/browse/OGNL-97 Kalle On 6/26/07, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: No time to look at this right now, but if you file a jira report here: http://jira.opensymphony.com/browse/OGNL it can be looked in to fo

Re: T5: Will it be a full stack framework?

2007-06-26 Thread Robin Ericsson
On 6/27/07, Ivan Dubrov <[EMAIL PROTECTED]> wrote: There is some chaotic code which is available in the SVN repo here: http://atlas.wfrag.org/svn/trunk/atlas-security/ Ah, real nice, I was working on this as well, but I've just got time to work on it and now I don't have to. :) Can you put thi

Re: T4.1: DropdownTimePicker i18n problem!

2007-06-26 Thread Malin Ljungh
Is noone else using the DropDownTImePicker with another locale than 'en'? Or is it that noone else is experiencing this problem? *puff* 2007/6/25, Malin Ljungh <[EMAIL PROTECTED]>: Hi, I'm trying to use the DropDownTImePicker in my internationalized app. If locale is "en" (English) it works f

Antwort: Messages and @inject

2007-06-26 Thread Kristian Marinkovic
it should work as you've tried could you post the code from your AppModule where you return your service? Tina Umlandt <[EMAIL PROTECTED]> 26.06.2007 17:56 Bitte antworten an "Tapestry users" An Tapestry users Kopie Thema Messages and @inject hi, I need my own implementation

Re: [T5] Documentation

2007-06-26 Thread 小司
说的对。主要是英语实在是不好。惭愧呀。能读懂就不错。在加上技术上一些术语。学起来很慢。看来只有提高我自己的英语水平了。谢谢你的提醒。 在 [EMAIL PROTECTED]<[EMAIL PROTECTED]> 写道: 在 Tue, 26 Jun 2007 08:30:11 +0800,小司 <[EMAIL PROTECTED]> 写道: > I'am a chinese user.every user should know Tapestry5 's request life > cycle.i'm beginner. > I want to get a detailed Tape

Re: [t4] EventListener question

2007-06-26 Thread Marcus Schulte
That should really work. I'm using something very similar (checkbox instead of radiobutton). If you post some code, I can look for differences. 2007/6/27, Julian Wood <[EMAIL PROTECTED]>: I have a pretty straight forward paradigm: - two groups of 3 radio buttons followed by a property selecti

Re: T5: Will it be a full stack framework?

2007-06-26 Thread Ivan Dubrov
There is some chaotic code which is available in the SVN repo here: http://atlas.wfrag.org/svn/trunk/atlas-security/ It adds support for @Secured for the pages and components. However, it does not work for listener methods since I didn't found a way to extend method with "around" code (which is ex

Re: T3: Question

2007-06-26 Thread Nick Westgate
Please show us the relevant code. Cheers, Nick. Nazmul wrote: As not too many people interested on T3 but I got a existing application developed by T3 that needs some change. If some one help me on extending the following tutorial would help me a lot. I've been following the tutorial at http:

Re: T5: Hibernate Examples, etc...

2007-06-26 Thread Marcus
Hi Robert, Maybe this help: http://elozovan.blogspot.com/2007/05/simpletapestry-5-crud-application-step_24.html Marcus

Re: T5: Will it be a full stack framework?

2007-06-26 Thread Daniel Jue
Good to know. I have Acegi kind of working using Spring IoC. Didn't think I could use Tapestry's IoC for it. If you have any sample code WRT this, it would be nice to see! Daniel On 6/26/07, Ivan Dubrov <[EMAIL PROTECTED]> wrote: Joshua Jackson wrote: > - Built in security or user authentica

Re: T5: Will it be a full stack framework?

2007-06-26 Thread Ivan Dubrov
Joshua Jackson wrote: > - Built in security or user authentication and authorization. I must > admit that using Acegi for the security is just unnecessary because I > will need Spring just to get Acegi running. And I will have 2 IoC > container in my apps. I think T5 IoC already have the features (

T5: Equivalent of ListenerInvokerFilter?

2007-06-26 Thread Ben Tomasini
All, In Tap4, I used a ListenerInvokerFilter to wrap a Spring transaction around my listeners. It was a very handy way to do transaction demarcation. Is there a way to inject similar logic around a ComponentEvent? Ben

Re: T5: Hibernate Examples, etc...

2007-06-26 Thread Robert Sanders
I've never really done anything real with Hibernate. Right now I don't need it to be robust - just work to show a simple "create class", "annotate class", "update template", "run" scenario (notice no mapping). My problem is that right at the moment I'm trying to put together a totally differ

Re: T5: Hibernate Examples, etc...

2007-06-26 Thread Daniel Jue
I have it working. I am using the T5.0.5 snapshot, but you may be ok with 5.0.4. If you can afford to, use the snapshots. Lots of stuff has been fixed. I will pull out the relevant parts and put it somewhere Are you familiar with Hibernate from other projects? I understand what it does, but

T5: Hibernate Examples, etc...

2007-06-26 Thread Robert Sanders
I know that T5 is "prerelease", but I would really love to see a (simple) example using Hibernate. Right now I'm under a lot of pressure to switch most web development to Rails, and I am really looking hard for an alternative (even a "stop gap") that keeps things in the Java world if possible.

Re: T5: Will it be a full stack framework?

2007-06-26 Thread Paul Cooley
Not really sure how Howard feels regarding the whole security question, but for my money I've seen the "built-in" security framework idea blow up again and again. Most of the company's I've worked for already have security frameworks in place that their applications simply have to use. Therefore

T5: Will it be a full stack framework?

2007-06-26 Thread Joshua Jackson
Dear all, I'm quite happy currently trying out T5 now. And I really like the T5 IoC concept compared to other IoC container. - I really like how it has (or will have) built in AJAX components. - I really like how easy it is to create custom components compared to other component based web framew

Re: OGNL 2.7 Must use #this

2007-06-26 Thread Jesse Kuhnert
No time to look at this right now, but if you file a jira report here: http://jira.opensymphony.com/browse/OGNL it can be looked in to for the next 2.7.1 release. The forums are here: http://forums.opensymphony.com/category.jspa?categoryID=10 (though I'm thinking of moving them to google gro

[t4] EventListener question

2007-06-26 Thread Julian Wood
I have a pretty straight forward paradigm: - two groups of 3 radio buttons followed by a property selection. - an async form with no listener whatsoever - a submit button with an action listener (called saveTime) The idea is that choosing a radio button narrows down the list in the property se

T3: Question

2007-06-26 Thread Nazmul
As not too many people interested on T3 but I got a existing application developed by T3 that needs some change. If some one help me on extending the following tutorial would help me a lot. I've been following the tutorial at http://www.sandcastsoftware.com/downloads/brownbag/tapestry/tapestry-cru

OGNL 2.7 Must use #this

2007-06-26 Thread Kalle Korhonen
Hi Jesse et al, while trying to migrate to Tap 4.1.2 we started getting lots of OgnlExceptions with message "source is null" from OgnlRuntime.getProperty. The workaround was to add #this to a lot of places where we used more complex OGNL expressions. I realize this is probably much more to do wit

Re: To the french fellows of the list

2007-06-26 Thread Jesse Kuhnert
Not to pry or anything but reading my google analytics data it seems a large number of tapestry people are concentrated in either the very Northern/ Southern (ie Mairseille) or the biggest concentration in Paris.The numbers are dispersed within Paris enough to potentially warrant meeting up i

Re: Tapestry 5 and Template Reloading

2007-06-26 Thread Marcus
Hi, Just for the record, yesterday i had problems like this, edit the template, save it, restart jetty, but changes don't come up, and new classes don't work properly. At same time we had some problems for internet access, when internet was running again, the problem just disappear. I don't known

To the french fellows of the list

2007-06-26 Thread Lionel Touati
Hi to all, This message is addressed to the French participant of the list. For the others you can skip it. Bonjour à tous, En lisant cette liste, je me rends compte qu'il y a un nombre certains de français qui utilisent Tapestry 3/4/5 dans leurs développements. Que penseriez-vous de se r

Commons Logging in Tapestry

2007-06-26 Thread Michael Grundvig
Is there a way to get commons-logging out of tapestry? I just fought with it yet again the other day. Maybe a move to something like SLF4J? Commons logging is really frustrating with it's classloader disaster always waiting in the wings. The most comprehensive set of arguments against it are fou

Re: T5: Feature request

2007-06-26 Thread Marcell Manfrin Barbacena
What if we contribute this information to a URLFriendlyMapper using IoC? []s On 6/26/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: The real issue with this kind of annotation-based mapping is that to accomplish it would require loading all the page classes in the entire application at startu

Re: org.apache.commons.logging.Log not found in repository of maven

2007-06-26 Thread Howard Lewis Ship
That's a statement that is either false (it is there) or useless (what's the context). http://www.catb.org/~esr/faqs/smart-questions.html On 6/25/07, sun58224 <[EMAIL PROTECTED]> wrote: org.apache.commons.logging.Log not found in repository of maven ---

Re: T5: Feature request

2007-06-26 Thread Howard Lewis Ship
The real issue with this kind of annotation-based mapping is that to accomplish it would require loading all the page classes in the entire application at startup (or on class reload), just so the annotations can be read. I may look into another option, reading the annotation without loading the

@Persist and PageBeginRender

2007-06-26 Thread mateamargo
I have a page that I'm using to create and edit an element. I've added a property named "isEditMode" which I set in "pageBeginRender" method. I do something like this: setEditMode(getItem() != null). If the item is not null, means that has been setted from the previous page (an item listing), if

upgrade to 4.1.1

2007-06-26 Thread craigham
Hi, I recently upgraded to 4.1.1, and have run into an issue with backwards compatibility and cannot seem to find the documentation on how to resolve. I have a screen which was auto-refreshing with the following in the @Shell onload="window.setTimeout('document.form.submit();',1000);" It is my

Re: Tapestry 5 and Template Reloading

2007-06-26 Thread cziesman
I am having a similar problem with the "Unable to create class $Alias" exception, only I am using NetBeans 5.5 with the bundled Tomcat 5.5.17 server on Solaris 9 and JDK 1.5_07. I have been singing the praises of Tapestry to my co-workers, so I would really like to figure this out! :) -- View t

Messages and @inject

2007-06-26 Thread Tina Umlandt
hi, I need my own implementation of the Messages interface. It works fine with the new binding in the HTML-templates. But I have a problem to use it as a field in a the class. I tried the following @Inject @Service ( "myMessages" ) Messages _message; I hoped the Injection would know that I us

Re: is ognl usable inside *.css files ?

2007-06-26 Thread Evan Rawson - Work
yes i agree. really it depends on how robust you want the external CSS sheet. if you are looking just to modify one or two properties, i definatly would use dynamic JS or inline RAW css to be injected when the page is rendered. ive found that using external css is great for defualt styles and c

Re: is ognl usable inside *.css files ?

2007-06-26 Thread Evan Rawson - Work
no cuz the assets links incorporate the session id of the user so that threads dont overwrite external assets and so that the assets are cached to be reused by the same user in the same session. Absolute files are not created. Tapestry generates the css or js code which would be stored in the u

Re: is ognl usable inside *.css files ?

2007-06-26 Thread Evan Rawson - Work
you dont generate the entire code. you have your javacode lookup the external css and load it into a string[]. then you can parse out the ognl tag lines, and have your parser replace that with the necessary css code. therefore you are creating a tapestry component which will accomadate the use

Re: is ognl usable inside *.css files ?

2007-06-26 Thread Daniel Jue
The limitation with this is: You may have file locking issues to overcome (one thread deleting/overwriting the file, while another is reading it?) The files are unique to the application, instead of unique to the user, unless you want to create a whole bunch of files (one per user), and then dea

RE: is ognl usable inside *.css files ?

2007-06-26 Thread Ken nashua
Which annotations should I leverage? Best regards Ken in nashua Original Message Follows From: "Ken nashua" <[EMAIL PROTECTED]> To: users@tapestry.apache.org CC: [EMAIL PROTECTED] Subject: is ognl usable inside *.css files ? Date: Tue, 26 Jun 2007 10:19:45 -0400 Folks, Want to impact

Re: is ognl usable inside *.css files ?

2007-06-26 Thread Daniel Jue
If the css styles you want to override can be stored in a string in the ASO, you can just output that into the page as you would for rendering the user's name on the screen. You don't _have_ to regenerate the css code each time, and you only need to override the parts that are user specific. I t

Re: is ognl usable inside *.css files ?

2007-06-26 Thread Evan Rawson - Work
in line with that you could also have java generate that css, but rather then making it inline in the page or head of the page, you could have that generate the external asset, then have the border class of the page create the link tag for that new external asset. we do this for our external ja

Re: is ognl usable inside *.css files ?

2007-06-26 Thread Kalle Korhonen
Sounds too expensive to me to generate the whole CSS dynamically. If you just want to change the style for different applications, you can override the style in later style sheet; or, if you really want it dynamic, keep the link static but process it in servlet/service and serve up the image of yo

Re: is ognl usable inside *.css files ?

2007-06-26 Thread Daniel Jue
Alternatively you could output raw css code inline in your page or border. I didn't think any special tapestry parsing went on when assets like css are served. My impressions is that the location is resolved and then the link is inserted in the correct place. You could also load the contents of

Re: is ognl usable inside *.css files ?

2007-06-26 Thread Evan Rawson - Work
i do not believe so, cuz tapestry is only generating a link tag to load and cache your external asset (the external css sheet) a way to get around this would be to create a java method to generate your external asset (your css code + whatever variable data you wanna inject into it). then have

is ognl usable inside *.css files ?

2007-06-26 Thread Ken nashua
Folks, Want to impact my css-framework by entity based intrinsic's. Ex. I have an app wide pojo that is stored inside MySQL that characterizes a background.gif (yes it is a blob but thats irrelevent) In any event, my blob gets put into an ASO and is sitting there at bootstrap accessible via

Re: about Maven, Java Applet and Tapestry's pages...

2007-06-26 Thread #Cyrille37#
Steven Coco a écrit : Hi. You should create a Parent project, with 2 modules: one for the WebApp, and another for the Applet. They will build into their own artifacts -- a War for the WebApp, and a Jar for the Applet -- in your repositories, but they share the parent project's attributes; and

Re: T5: Generic page classes with beaneditform

2007-06-26 Thread Jesse Kuhnert
I don't know if this helps or not, but I got generics working in a very limited way with 4.1.x in that I do all the type lookup work manually...(this probably won't work for this use case but thought I'd throw it out just in case it does, even this breaks down in many places) http://svn.apache.or

T5: Feature request

2007-06-26 Thread kranga
Hi Tapestry developers: Is it possible to add friendly/custom URL support using annotations? If I mark my page class with an annotation such as @URL("/a/b/c/foo"), then Tapestry can internally automatically generate a filter that maps the URL to my page class. So a request such as /a/b/c/foo

Re: [T5] Documentation

2007-06-26 Thread #Cyrille37#
蝈蝈龙 a écrit : > Why do you emphasize you are a Chinese? It's really not necessary !! perhaps to advertizing that is english is not perfect. sometime I tell where I come from to acknoledge people on my poor english. but it is not the subject of this list, isn't it ;-) cyrille. > > 在07-6-26,小司 <

Re: [T5] Documentation

2007-06-26 Thread 蝈蝈龙
Why do you emphasize you are a Chinese? It's really not necessary !! 在07-6-26,小司 <[EMAIL PROTECTED]> 写道: I'am a chinese user.every user should know Tapestry5 's request life cycle.i'm beginner. I want to get a detailed Tapestry5 request life cycle.Could you provide it in your tapestry5 do

Re: [T5] Documentation

2007-06-26 Thread [EMAIL PROTECTED]
在 Tue, 26 Jun 2007 08:30:11 +0800,小司 <[EMAIL PROTECTED]> 写道: I'am a chinese user.every user should know Tapestry5 's request life cycle.i'm beginner. I want to get a detailed Tapestry5 request life cycle.Could you provide it in your tapestry5 document?? 是不是中国人都不喜欢看文档?还是懒得去翻?明明文档就在那里,还要别人把链接

Re: Honeycomb without annotations ?

2007-06-26 Thread Marcus Schulte
the element to include a hibernate-config file ist config-xml, see http://honeycomb.javaforge.com/HoneycombHibernate/hivedocs/index.html#sch.HibernateSessionFactory for complete docs of the schema 2007/6/26, Stephane Decleire <[EMAIL PROTECTED]>: Thanks Marcus but i didn't find any docs or sa

Re: Tapestry snapshot 4.1.2

2007-06-26 Thread Igor Drobiazko
It is a known issue which is already fixed. OGNL 2.7 is released since couple of days. Latest tapestry 4.1.2 snapshot uses ongl 2.7 release. Just run mvn clean install -U and the dependencies should be updated. On 6/26/07, VitalyA <[EMAIL PROTECTED]> wrote: Hello all, I have a problem to use

Re: T5: Generic page classes with beaneditform

2007-06-26 Thread Francois Armand
Francois Armand wrote: Actually, it's not really an acceptable solution, but the sole workaround I know (if somebody as another idea, I would be glad to use it). Well, this sentence is not true. You may ask users to implement a "factory" interface for Class they intend to use as parameter type

Re: T5: Generic page classes with beaneditform

2007-06-26 Thread Francois Armand
Howard Lewis Ship wrote: There's an existing bug for this. I'm not sure how fixable it's going to be; welcome to the implementation nitty gritty of generic types and type erasure. Just cause you don't see the typecasts doesn't mean the compiler has put them there. Here's a challenge: what if th

Tapestry snapshot 4.1.2

2007-06-26 Thread VitalyA
Hello all, I have a problem to use Tapestry snapshot 4.1.2. When I use maven to download tapestry related package i don't get ognl.jar. Last tapestry snapshot uses ognl 2.7, but in ognl site (http://www.ognl.org/) latest ognl release is 2.6.9. I found ognl-2.7-20070425.021856-29.jar but when I run

Re: Honeycomb without annotations ?

2007-06-26 Thread Stephane Decleire
Thanks Marcus but i didn't find any docs or samples on that configuration. Could you tell me what to put in the hivemodule file or give me a link to a documentation on that subject ? Thanks in advance. Stephane Marcus Schulte a écrit : yes, it is. but, you'll nevertheless need to run on a 1.