Re: [blog post] T5 - Scala blog : layout and CRUD for the blog

2009-01-20 Thread Francois Armand
Thiago H. de Paula Figueiredo wrote: Nice post. :) I don't really know Scale nor I plan right now, but it's very interesting to see how other languages can be used using the Java platform, the awesome collection of open-source Java frameworks and even Tapestry. Yes, the JVM+open source

Re: Hibernate relations in BeanEditForm

2009-01-20 Thread Ulrich Stärk
We can always query the HibernateSessionSource service for the Configuration and get a PersistentClass from it. From there I believe we can get all the information we need. Cheers, Uli Alejandro Scandroli schrieb: I think this would be quite difficult to implement in tapestry-hibernate

Re: [blog post] T5 - Scala blog : layout and CRUD for the blog

2009-01-20 Thread Francois Armand
Angelo Chen wrote: Nice post, I was just wondering what's the benefit of using Scala or Groovy in a T5 app, The main benefit : using a language that help you, not that don't stop putting strange restriction between your thougth and there expression. T5 app seems very short in code,

Re: change grid table row background color based on column data

2009-01-20 Thread Thiago HP
On Tue, Jan 20, 2009 at 1:29 AM, wesleywj2 wesley...@yahoo.co.uk wrote: hi there, Hi! i 've wondered how to change the background color of the tr element based on data? normally we just override the css, but on my case, when my data is populated; one of my column is a fixed string. based

Enhancing docs

2009-01-20 Thread Sid Ferreira
http://wiki.apache.org/tapestry/Tapestry5HowToControlAccess Im following the docs, but many times the aren`t clear, like the @Private annotations and imports. Component class has 2 tapestry candidates, and another from java default... Also, the usersession... where it came from??? -- Sidney G B

Context Allert

2009-01-20 Thread Sid Ferreira
Im running a T5 WAR in a Glassfish V2 server. With this J2EE-Module I have other two running, but they now give T5 exceptions once they have no index.tml file...What may it be? -- Sidney G B Ferreira Desenvolvedor Web - Tibox Innovations

Re: Enhancing docs

2009-01-20 Thread Thiago HP
On Tue, Jan 20, 2009 at 9:14 AM, Sid Ferreira sid@gmail.com wrote: http://wiki.apache.org/tapestry/Tapestry5HowToControlAccess Im following the docs, but many times the aren`t clear, like the @Private annotations and imports. From the linked page: Our first task is to create a @Private

How to generate PropertyExpressionLexer and PropertyExpressionParser

2009-01-20 Thread Ulrich Stärk
I'm setting up tapestry5 in eclipse and stumbled upon missing PropertyExpressionLexer and PropertyExpressionParser classes. It seems that those have to be generated by antlr first. I tried to run mvn antlr:generate from within the tapestry-core directory, but this failed. How do I generate

Re: spring context troubles

2009-01-20 Thread Inge Solvoll
I'm getting this error on T 5.0.18. I'm not using 5.1, just 5.0.18, and I'm pretty sure I haven't added anything else than the listing below: filter filter-nametapestry5/filter-name filter-classorg.apache.tapestry5.spring.TapestrySpringFilter/filter-class /filter listener

Re: Questions about T5 html markup generated

2009-01-20 Thread Francois Armand
Joe Chen wrote: Hi, 2) When using br/ , an addition attribute clear=none is added. So: br/ becomes br clear=none 3) Probably the most annoying one, when using a, shape=rect is appended. So: a href= becomes a href= shape=rect For the record : in Tapestry 5.0.15 (don't know for

5.1.0.0-SNAPSHOT vs 5.0.18 (Dirty Objects)

2009-01-20 Thread Jamie Counihan
Hi there, I have recently upgraded to 5.1.0.0-SNAPSHOT from 5.0.18. This change over causes a few changes to my JSON array during a response. A JSON object has been assigned null. I have noticed that 5.1.0.0-SNAPSHOT has introduced the concept of DirtyObjects in the Session. This has been

Re: t:Select

2009-01-20 Thread luther.baker
Is there also a way to apply unique CSS to this first option as well? -Luther Thiago HP wrote: Em Mon, 19 Jan 2009 21:23:45 -0300, luther.baker lutherba...@gmail.com escreveu: Now concerning, the first or *blank*value - I'd like to replace it with some text like ... choose one.

Inplaceeditor question.

2009-01-20 Thread James Sherwood
Hello, This is for anyone that knows about the editor located here: (part of the t5components project) http://87.193.218.134:8080/t5c-demo/inplaceeditorpage Is there a way to disable the editing feature or do I have to just put an output instead of the inplaceeditor for items I do not

Re: Wrong visual behaviors using chenillekit window component

2009-01-20 Thread Hugo Palma
Thanks. Setting the z-index property to every element that can show up in the window did the trick. On Tue, Jan 20, 2009 at 12:22 AM, James Hillyerd yimmy...@gmail.com wrote: The first thing I would try is setting the z-index for the validation popups:

How to get assets from the classpath

2009-01-20 Thread Peter Stavrinides
Hi Sorry about the trivial question, but I have just spent far to much time trying to figure this out... I am sure I am missing something blindingly simple: I am trying to contribute an alias and retrieve an image from the classpath, like this: public static void

Re: Tapestry 4.1 Widget

2009-01-20 Thread otto95
I'm sorry for coming to this conversation late, but I have exactly the same issue. I'd like to do as you suggest, but how do you get the url for a component? I have a component that implements IJSONRender, but I can't figure out how to access it through a browser to get it's json output. Do I

Re: How to get assets from the classpath

2009-01-20 Thread Howard Lewis Ship
${asset:/com/apl/web/static/images/myimage.gif} The prefixes are just for references from the client side, not for code. Also, you should incorporate a version number when mapping: public static void contributeClasspathAssetAliasManager( MappedConfigurationString, String configuration){

Re: 5.1.0.0-SNAPSHOT vs 5.0.18 (Dirty Objects)

2009-01-20 Thread Howard Lewis Ship
Have you read the nightly docs? On Tue, Jan 20, 2009 at 6:46 AM, Jamie Counihan jcouni...@annadaletech.com wrote: Hi there, I have recently upgraded to 5.1.0.0-SNAPSHOT from 5.0.18. This change over causes a few changes to my JSON array during a response. A JSON object has been assigned

Free-test russian xxx site

2009-01-20 Thread metro5
Free-test russian xxx site http://xxx.gamapa.ru http://xxx.gamapa.ru -- View this message in context: http://www.nabble.com/Free-test-russian-xxx-site-tp21568499p21568499.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: t:Select

2009-01-20 Thread Thiago H. de Paula Figueiredo
Em Tue, 20 Jan 2009 12:20:00 -0300, luther.baker lutherba...@gmail.com escreveu: Is there also a way to apply unique CSS to this first option as well? That's why the OptionModel.getAttributes() method exists

Re: [T5] improve documentation

2009-01-20 Thread Otho
Totally right in my opinion. Tapestry is not very newbie friendly at first, but when you get a hang of it it beats every other framework I tried out by a large margin. At least for me. But some totally artificial or useless application which is just done to demonstrate all of the features won't

Re: Discard persistent field changes for one strategy only?

2009-01-20 Thread Kalle Korhonen
Opened https://issues.apache.org/jira/browse/TAP5-455. Kalle On Mon, Jan 19, 2009 at 11:11 PM, Kalle Korhonen kalle.o.korho...@gmail.com wrote: On Mon, Jan 19, 2009 at 10:37 PM, Ville Virtanen ville.virta...@cerion.fi wrote: It sounds like an addition that would be good to have when

[T5] Layout component: resolving unclarities

2009-01-20 Thread manuel aldana
Hi, I had a look how to template things (header, footer, navigation) at http://tapestry.apache.org/tapestry5/guide/layout.html. -What is the magic about the t:body/ inclusion? This tag is a bit unclear to me. How does Layout.tml connect to the Start.tml as the t:body/ tag in the example?

Re: [T5] Layout component: resolving unclarities

2009-01-20 Thread manuel aldana
sorry... there was a discussion about this already (http://www.mail-archive.com/users@tapestry.apache.org/msg17682.html), but found it later as posting... Just tell if information of above thread is out of date and tapestry templates approach changed in latest tapestry. manuel aldana

Re: [T5] Layout component: resolving unclarities

2009-01-20 Thread SergeEby
Hi, t:body/ is the actual content of your page, and the layout component is just a wrapper. This link would probably help you better understand: http://wiki.apache.org/tapestry/Tapestry5Layoutcomponent /Serge aldana wrote: Hi, I had a look how to template things (header, footer,

RE: Inplaceeditor question.

2009-01-20 Thread James Sherwood
Hello, I modified the component so it has a disable parameter. --James -Original Message- From: James Sherwood [mailto:jsherw...@rgisolutions.com] Sent: January-20-09 11:32 AM To: 'Tapestry users' Subject: Inplaceeditor question. Hello, This is for anyone that knows about the

Re: change grid table row background color based on column data

2009-01-20 Thread wesleywj2
hello Thiago, thanks very much, it works great, smooth and accurate. :-) regards, wesley Thiago HP wrote: On Tue, Jan 20, 2009 at 1:29 AM, wesleywj2 wesley...@yahoo.co.uk wrote: hi there, Hi! i 've wondered how to change the background color of the tr element based on data?

InPlaceEditor validation

2009-01-20 Thread James Sherwood
Hello, The t5components inplaceeditor is what I am referring to: http://87.193.218.134:8080/t5c-demo/inplaceeditorpage Does anyone know a way to do validation on this? Currently when you save with nothing in the text field there is a properties file that is read from and it just fills

Re: How to generate PropertyExpressionLexer and PropertyExpressionParser

2009-01-20 Thread Andreas Andreou
Not sure of the 100% correct process, but when running (in tapestry-core) mvn -Dmaven.test.skip compile there are some additional sources generated in target/generated-sources/antlr I guess those need to be included in eclipse source path. On Tue, Jan 20, 2009 at 2:23 PM, Ulrich Stärk

Re: Tapestry 4.1 Widget

2009-01-20 Thread Andreas Andreou
Just get the url of a directlink by any of the following: - Render a hidden direct link and get it's href, or - Render a direct link and set the renderer parameter to http://tapestry.apache.org/tapestry4.1/apidocs/org/apache/tapestry/contrib/link/RawURLLinkRenderer.html - or, generate the link