Re: [T5] JavaScript in template files

2008-05-20 Thread Chris Lewis
Ken, You need to specify your script block as containing CDATA, like so: Tapestry treats templates as XML, and & is an invalid character unless processed as cdata. chris Ken wrote: > Hi, > > I wrote a template file like below: > > > http://tapes

Re: Tapestry users declined for the first time in 3 years, says this researh site ...

2008-05-20 Thread Chris Lewis
By the way I just read your linked blog post and have three things to say: 1) Thanks. Continuous affirmation of a lack of sides is a Good Thing. 2) I read the post after writing and smiled that I spoke of the same Kumbaya state that should exist between the two frameworks, and also that I used th

Re: Tapestry users declined for the first time in 3 years, says this researh site ...

2008-05-20 Thread Chris Lewis
Eelco, It's nice that you restate your distaste for trolls and that we can readily agree on their vile nature. I can't speak for the rest of the list, but I need no reminder of the childishness of the 'my group vs your group' mentality. I'm a software developer, not an evangelist, and therefore lo

Re: Tapestry users declined for the first time in 3 years, says this researh site ...

2008-05-20 Thread farmand
[...] > We've stated on several occasions and in public that we don't like trolls > either (here for instance: > http://chillenious.wordpress.com/2007/02/06/is-there-a-wicket-tapestry-feud/). > The whole my group vs your group is so incredibly childish. > > And the trolls are probably laughing thei

[T5] JavaScript in template files

2008-05-20 Thread Ken
Hi, I wrote a template file like below: http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";> if (true && true) { alert("!!!"); } and prepare empty Java file. then I accessed to this page and got an error: An unexpected application exception has occurred. Failure parsing template c

Re: T5: select within table grid

2008-05-20 Thread Axel Mannhardt
Marcus-11 wrote: > > Hi Axel. > > Maybe this help, > > "Adding Columns Example" at > http://tapestry.formos.com/nightly/tapestry5/tapestry-core/ref/org/apache/tapestry/corelib/components/Grid.html > > Marcus > > Thanks for your answer, sorry it took me so long to respond. Actually, it did

Re: t5's version?

2008-05-20 Thread mark lu
Alexander 's book based on 5.0.6. i think you must be an expert in tapestry! i want to build my web application,cound you give me some advices? what other knowledges do i need except for tapestry?do i need learn spring or hibernate? Alexander recommend db4o as a database,how about you advice? what

Re: Autocomplete component

2008-05-20 Thread Manuel Corrales
Ok, thanks! On Tue, May 20, 2008 at 8:25 PM, Josh Canfield <[EMAIL PROTECTED]> wrote: > The Autocomplete calls toString on each of the objects that you > return, and that is the value that is set into your input box. > > You can check out the source for the component it's pretty short. > > http:/

Re: Autocomplete component

2008-05-20 Thread Josh Canfield
The Autocomplete calls toString on each of the objects that you return, and that is the value that is set into your input box. You can check out the source for the component it's pretty short. http://tapestry.apache.org/tapestry5/apidocs/src-html/org/apache/tapestry/corelib/mixins/Autocomplete.htm

Autocomplete component

2008-05-20 Thread Manuel Corrales
Hi, i have s doubt about autocomplete component. According to the documentation, you can return a list of any objects on the onProvideCompletions, my question is, when i choose a value, this value is going to be the object from that list? or just a string and i have to make a match beetwen the stri

Re: Tapestry users declined for the first time in 3 years, says this researh site ...

2008-05-20 Thread Eelco Hillenius
Chris Lewis-5 wrote: > > Except for the part about him not being a friend of wicket, I agree. > We've every reason to believe this moron is the same Emanuel whatever, > who is known to be Francis Amanfo, and who we know a good bit about. > Specifically, he is active in the wicket community and w

Re: T5 Services with diferent Implementation

2008-05-20 Thread Thiago HP
On 5/20/08, Christian Edward Gruber <[EMAIL PROTECTED]> wrote: > Wouldn't it be rather normal to create a tapestry-tx that provided > transaction wrappers around existing services, much the way tapestry-spring > and tapestry-hibernate do? Especially now that there's a bit more AOP going > on in T5

Re: Package rename for 5.0.12

2008-05-20 Thread Sven Homburg
Hi guys, the t5components nightly SNAPSHOT build reflects the package renaming of howards tap5. please take care for updating your local maven repository. 2008/5/20 Howard Lewis Ship <[EMAIL PROTECTED]>: > As a follow on to the prior discussion ... the upgrade for users from > 5.0.11 to 5.0.12 (

Re: T5 Services with diferent Implementation

2008-05-20 Thread Christian Edward Gruber
Wouldn't it be rather normal to create a tapestry-tx that provided transaction wrappers around existing services, much the way tapestry- spring and tapestry-hibernate do? Especially now that there's a bit more AOP going on in T5. Christian. On 20-May-08, at 17:00 , Thiago HP wrote: On 5/

Re: Tapestry users declined for the first time in 3 years, says this researh site ...

2008-05-20 Thread Marcus
"Rob", I'm sure that you are a very busy man, so, don't worry about the future of Tapestry, you have did your part, thanks. I think you have to move on, and forget about Tapestry.

Re: T5 Services with diferent Implementation

2008-05-20 Thread Thiago HP
On 5/20/08, Zheng, Xiahong <[EMAIL PROTECTED]> wrote: > I would use Spring to configure the type of services you are trying to > provide to your pages. I am wondering if using Tapestry services has any > advantages in this case. 1) Tapestry-IoC has a nicer way to describe services (even compared

RE: T5 Services with diferent Implementation

2008-05-20 Thread Zheng, Xiahong
I would use Spring to configure the type of services you are trying to provide to your pages. I am wondering if using Tapestry services has any advantages in this case. -Original Message- From: maxthesecond [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 20, 2008 4:29 PM To: users@tapestry.

Re: T5 Services with diferent Implementation

2008-05-20 Thread maxthesecond
Bless you man! But wouldn't it be easy if in the docs concerning services a mock example will bring you through all the steps needed to do a thing that at the end is just merely convention?? If you naively go to look after the page http://tapestry.apache.org/tapestry5/tapestry-annotations/ and

Re[2]: Help with Tapestry 3.4 and Stale Link Error

2008-05-20 Thread David Moskowitz
Hello Robert, Thanks for your advice on these components. They are proving helpful. -- Best regards, Davidmailto:[EMAIL PROTECTED] __ Tuesday, May 20, 2008, 10:18:46 AM, you wrote: > For T3, I avoid using the built-in conditional an

Re: Instability in Tapestry 5.0.12-SNAPSHOT

2008-05-20 Thread Christian Edward Gruber
And the commits are there, so it's already been done. I think we can wrap up the thread. Christian. On 20-May-08, at 14:45 , Kevin Menard wrote: Par for the course in a beta framework. I'll grant you that this is a much larger change than is typical for a beta, but it's a now-or- never s

Re: T5 Services with diferent Implementation

2008-05-20 Thread Hugo Palma
You should be using org.apache.tapestry.annotations.Service annotation. http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry/annotations/Service.html maxthesecond wrote: > Almost, but now compiler doesen't know what @Service is. > I've read the documents but they lack a sample of

Re: T5 Services with diferent Implementation

2008-05-20 Thread maxthesecond
Almost, but now compiler doesen't know what @Service is. I've read the documents but they lack a sample of usage from the client side of the servicedon't know witch files I have to include (import) import org.apache.tapestry.ioc.annotations.?? thanks a lot just one step and I'm done!

Re: T5 Services with diferent Implementation

2008-05-20 Thread Hugo Palma
Try: @Inject @Service("MyService1") private IMyInterface _CMF; Check the end of this page http://tapestry.apache.org/tapestry5/tapestry-core/guide/inject.html maxthesecond wrote: > Thanks a lot > but now I get the following compiler error: The anotation @InjectService is > disallowed for this

Re: T5 Services with diferent Implementation

2008-05-20 Thread maxthesecond
Thanks a lot but now I get the following compiler error: The anotation @InjectService is disallowed for this location. ?? BTW the location is on a regular page class: public class TestProductDivContainer { @Inject private Logger _logger; @ApplicationState(create=true)

Package rename for 5.0.12

2008-05-20 Thread Howard Lewis Ship
As a follow on to the prior discussion ... the upgrade for users from 5.0.11 to 5.0.12 (once 5.0.12 is available) will have one big wrinkle: Package org.apache.tapestry has been renamed to org.apache.tapestry5. The rationale behind this is the rename will allow Tapestry 3 or Tapestry 4 applicatio

Re: T5 Services with diferent Implementation

2008-05-20 Thread Kheldar666
@InjectService("MyService1") maxthesecond wrote: > > > > I have an Interface with 2 different implementations > > lets say IMyInterface MyImplementation1 Myimplementation2 > > > until now I only needed to use one of the implementations at once, so in > my client code I just wrote @Inje

T5 Services with diferent Implementation

2008-05-20 Thread maxthesecond
I have an Interface with 2 different implementations lets say IMyInterface MyImplementation1 Myimplementation2 until now I only needed to use one of the implementations at once, so in my client code I just wrote @Inject private IMyInterface and everithing was ok, now I'm on the need to

Re: Grid Global Data

2008-05-20 Thread Todd Orr
My initial question was poorly worded. I apologize. It turned out that it was my fault. I was populating the wrong variables at the wrong time. Thanks though. On Tue, May 20, 2008 at 1:01 PM, Josh Canfield <[EMAIL PROTECTED]> wrote: > Can you show some code that you use to persist your result list

Re: Instability in Tapestry 5.0.12-SNAPSHOT

2008-05-20 Thread Kevin Menard
Par for the course in a beta framework. I'll grant you that this is a much larger change than is typical for a beta, but it's a now-or-never situation, too. I don't think releasing T5 and then changing all the packages around would be prudent. -- Kevin On May 20, 2008, at 2:15 PM, Renat

Re: Instability in Tapestry 5.0.12-SNAPSHOT

2008-05-20 Thread Renat Zubairov
Hi -1 to t5 -1 to tapestry5 IMHO in release candidate it is not acceptable! Release the 5.0 and then change it. Think about existing T5 applications. -- Best regards, Renat Zubairov - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: Grid Source Persist and Paging

2008-05-20 Thread Todd Orr
Thanks. That sounds like a clean solution. I'm surprised this isn't factored into the grid as my case is common I'm sure. On Tue, May 20, 2008 at 10:30 AM, Thiago HP <[EMAIL PROTECTED]> wrote: > On 5/19/08, Todd Orr <[EMAIL PROTECTED]> wrote: >> I have a Form and a Grid on my search page. The Form

Re: Grid Global Data

2008-05-20 Thread Josh Canfield
Can you show some code that you use to persist your result list? Are you using @Persist("session")? or @ApplicationState (which would be how you generally get application scope) Are you doing any sort of caching at the page level? If you have url re-writing turned on with a page level cache then y

Re: T5: change default location of application wide message catalog

2008-05-20 Thread Adam Zimowski
Thank you Christophe. I added your code exactly as is to my AppModule and it sure works. I'm very impressed. That's some beautiful code, and I feel like I'm learning more about how powerful Tapestry is !! -adam On Tue, May 20, 2008 at 10:51 AM, Cordenier Christophe <[EMAIL PROTECTED]> wrote: > Ca

RE: T5: change default location of application wide message catalog

2008-05-20 Thread Cordenier Christophe
Can you try with something like this, Override and alias : public static ComponentMessagesSource buildCustomMessagesSource(UpdateListenerHub updateListenerHub, @ClasspathProvider AssetFactory contextAssetFactory, @Inject @Value("${tapestry.app-name}.properties") String a

Re: T5: change default location of application wide message catalog

2008-05-20 Thread Christian Gorbach
same needs here. there should be a module level message catalog, too. my webapps are almost empty and only used to bootstrap multiple t5 modules.. c)hristian Is there a way to change where Tapestry looks for app.properties ? By default it looks for it in WEB-INF, but I need it to be at the ro

Re: t5's version?

2008-05-20 Thread Filip S. Adamsen
Hi there, Welcome to the list. :) Alexander's book is based on Tapestry 5.0.7 or so, I believe. The current beta version is 5.0.11 with 5.0.12 available as snapshots. As T5 was alpha when Alexander wrote the book, there have been quite a few changes since then. You can see some of them at h

t5's version?

2008-05-20 Thread mark lu
i am new to tapestry. i just want to use t5 to build my application and i don't want to learn the inner technology of t5. so,what's the stable version of t5? i have read Alexander Kolesnikov's book--tapestry 5 build web application,and know something about t5. however,during my studying process,i

T5: change default location of application wide message catalog

2008-05-20 Thread Adam Zimowski
Is there a way to change where Tapestry looks for app.properties ? By default it looks for it in WEB-INF, but I need it to be at the root of my package hierarchy. I was looking for some sort of contribution, but can't find out exact values. -adam --

Re: where can i get the referrence?

2008-05-20 Thread mark lu
thank you for your response! Lindsay Steele wrote: > > Try these links ... > > http://tapestry.apache.org/tapestry5/tapestry-core/ > > http://tapestry.apache.org/tapestry5/tapestry-core/ref/index.html > > > 2008/5/20 mark lu <[EMAIL PROTECTED]>: > >> >> where can i get the referrence abo

Re: Instability in Tapestry 5.0.12-SNAPSHOT

2008-05-20 Thread Szemere Szemere
+1 for org.apache.tapestry5 Tapestry 5 is fundamentally separate as a product from tapestry 4. tapestry.v5 gains nothing extra. V6 is far off and marketing-wise it would not be much of an issue to keep the package name at that time (under the hood item, post sale). Szemere

Re: Tapestry users declined for the first time in 3 years, says this researh site ...

2008-05-20 Thread Toby Hobson
Yeah ... when he published his article I asked him for the stats to back it up but no response! Toby - Original Message From: Chris Lewis <[EMAIL PROTECTED]> To: Tapestry users Sent: Tuesday, 20 May, 2008 3:16:02 PM Subject: Re: Tapestry users declined for the first time in 3 years, sa

Re: Grid Source Persist and Paging

2008-05-20 Thread Thiago HP
On 5/19/08, Todd Orr <[EMAIL PROTECTED]> wrote: > I have a Form and a Grid on my search page. The Form's success handler > populates a List results variable using an expensive query that I'd > like to not run on every Grid page navigation. To prevent unnecessary > query hits I use the @Persist a

Re: Help with Tapestry 3.4 and Stale Link Error

2008-05-20 Thread Robert Zeigler
For T3, I avoid using the built-in conditional and foreach components, and instead use the If, Else, and For components in the "Base" library at: http://www.t-deli.com/#base The T4 components are based on these. They should basically ensure that you don't see the stale-link. Robert On May 20

Re: Tapestry users declined for the first time in 3 years, says this researh site ...

2008-05-20 Thread Chris Lewis
Except for the part about him not being a friend of wicket, I agree. We've every reason to believe this moron is the same Emanuel whatever, who is known to be Francis Amanfo, and who we know a good bit about. Specifically, he is active in the wicket community and was mentioned in a 'thanks' for hav

Re: Help with Tapestry 3.4 and Stale Link Error

2008-05-20 Thread Kevin Menard
Are you modifying the form based on the search results? If so, make sure you use ListEdit rather than Foreach. Unfortunately, I've been out of the T3 game a long time, but that seems like the most likely culprit to me. -- Kevin On May 18, 2008, at 11:01 AM, David Moskowitz wrote: Hello

Re[2]: Help with Tapestry 3.4 and Stale Link Error

2008-05-20 Thread David Moskowitz
Hello Filip, so is this issue resolved, or improved upon, in Tapestry 4? Thanks -- Best regards, Davidmailto:[EMAIL PROTECTED] __ Tuesday, May 20, 2008, 9:54:50 AM, you wrote: > Yeah, I'm out here and would love to help, but it's been

Re: Help with Tapestry 3.4 and Stale Link Error

2008-05-20 Thread Filip S. Adamsen
Yeah, I'm out here and would love to help, but it's been years since I touched Tapestry 3 - I've forgotten just about everything by now. :( -Filip David Moskowitz skrev: Anyone out there on the list? Sorry this is not a Tapestry 5 issue, but could you please point me to an earlier discussion

Re: Instability in Tapestry 5.0.12-SNAPSHOT

2008-05-20 Thread Davor Hrg
+1 for org.apache.tapestry5 I havent given it too much thought, but sounds ok Davor Hrg On Tue, May 20, 2008 at 3:08 PM, Martin Strand < [EMAIL PROTECTED]> wrote: > > I wouldn't go for "ng" though, merely because what if there's a new next > generation. > > I think that would be Tapestry Deep S

Re: Instability in Tapestry 5.0.12-SNAPSHOT

2008-05-20 Thread Martin Strand
> I wouldn't go for "ng" though, merely because what if there's a new next > generation. I think that would be Tapestry Deep Space Nine. :P On Tue, 20 May 2008 13:28:12 +0200, Christian Edward Gruber <[EMAIL PROTECTED]> wrote: > Heh. The fish bit did get kinda carried away there. But I gues

Re: Instability in Tapestry 5.0.12-SNAPSHOT

2008-05-20 Thread Kevin Menard
Renaming T3 and T4 packages is not an option. T5 is still pre- release, so it is an option. -- Kevin On May 20, 2008, at 1:36 AM, Marcus wrote: if T5 willBeCompatibleWith T(5+n) andT5 shouldWorkWith T(5-n) then rename T(5-n) annotations packages; else if T5 willBeNotCo

Re: Instability in Tapestry 5.0.12-SNAPSHOT

2008-05-20 Thread Christian Edward Gruber
Heh. The fish bit did get kinda carried away there. But I guess we're still united by the "fillet" designation. ;) I wouldn't go for "ng" though, merely because what if there's a new next generation. It gets silly. Either a version or a codename, I figure. Maybe "sb" for "strutsbuster"

Re: T5: 5.0.12-SNAPSHOT quickstart

2008-05-20 Thread Estevam Henrique Portela Mota e Silva
Hi, you can do manual in POM.xml. I already tried my project (5.0.12-SNAPSHOT) is running normally. On Tue, May 20, 2008 at 3:25 AM, Weisu <[EMAIL PROTECTED]> wrote: > > Thank you Taavi, it works now after I add these in pom.xml: > > org.apache.tapestry > tapestry-annota

Re: include

2008-05-20 Thread Lance White
Excellent - just what I need to do. If the block you retrieved containes a component that needed a parameter, have you any idea how that could be passed using your method below? At the moment I can't even see how you can call setters on the page that holds the block to pull them in that way -

Re: Instability in Tapestry 5.0.12-SNAPSHOT

2008-05-20 Thread kranga
Somebody likes fish :) +1 for the idea -1 for the fishiness of it! I would go with a distinguisher in the package other than the version so that come T6, new users are wondering "what on earth?" My suggestion would be org.apache.tapestry.ng(for Next Generation) or along the food line:

Re: Instability in Tapestry 5.0.12-SNAPSHOT

2008-05-20 Thread Chris Lewis
They're nightly for a reason. If you've been using nightlies you've done so at your own risk, and if you require preserving your app against a certain nightly, the deploy with the exact nightly you need. Moritz Gmelin wrote: > Hi, > > would it be possible to do a 5.0.12 release and then do this re

Re: Tapestry users declined for the first time in 3 years, says this researh site ...

2008-05-20 Thread Geoff Callender
A fine post, Jonathon, in every regard. I could not agree more. Geoff On 20/05/2008, at 9:41 AM, Jonathan Locke wrote: I was just googling around the Internet for people with Wicket problems and I ran across this highly obnoxious post and felt I should comment. If the research was real,

dojo widget css classes are getting overriden

2008-05-20 Thread abhilash
Hi all, i am using Tapestry4.1.5 in my page i have dojo widget of type date picker.It was not coming up properly.Later i came to know that its css classes are getting overriden by my application css classes because of the same name.Its very tough to change my application's css class name as they a

Re: Instability in Tapestry 5.0.12-SNAPSHOT

2008-05-20 Thread Moritz Gmelin
Hi, would it be possible to do a 5.0.12 release and then do this renaming? I fear to use the nightly build because of such issues. Thanks Moritz Am 20.05.2008 um 08:06 schrieb Jun Tsai: org.apache.tapestry.v5 +1 -

Re: T5 setting initial sort order for grid in T5.0.11

2008-05-20 Thread Tobias Wehrum
Hi Martin, with _grid.getSortModel().getColumnSort("month") you can test whether month is sorted, and which way, and with updateSort("month") you can cycle through the states. To sort descending, I call: -

Re: T5: Exception Handling

2008-05-20 Thread Leon Derks
Hi Filip, I use an Transaction Filter where I catch all exceptions (see code part below). But can I use your redirect service in my catch part? I tried to get it work, but had no success. public RequestFilter buildTransactionFilter(final EntityManager entityManager, final RedirectService redi

Re: T5 acquire block from separate page [was: Re: Antwort: [T5] Dynamic Layouts]]

2008-05-20 Thread Lance White
Did you get a resolution for this? Cheers Lance Michael Gerzabek wrote: > > Hi Robert, > > You clearly outlined the simple case. I'm interested in the 2nd case: The > name of my block/ component is read from the database and I have to > acquire the block/ component from another page (where

Re: Grid Source Persist and Paging

2008-05-20 Thread Davor Hrg
If you do want to stick with this approach, persist the results in session, do search when form is submitted. now, to clear results you can do it in two ways: if you do not link to that page from many sides, add an activation parameter on each external link that parameter can be anytthing so you

Re: getting ClassFactory is matched by 2 services After upgrade from 5.06 -> 5.0.11

2008-05-20 Thread Kristian Marinkovic
if you use constructor injection you have to qualify the ClassFactory with either the full service id or a annotation (marker) it is associated with. this applies equally to builder or contribute methods in your module. this is true for any service interface that has multiple implementations in

Re: where can i get the referrence?

2008-05-20 Thread Lindsay Steele
Try these links ... http://tapestry.apache.org/tapestry5/tapestry-core/ http://tapestry.apache.org/tapestry5/tapestry-core/ref/index.html 2008/5/20 mark lu <[EMAIL PROTECTED]>: > > where can i get the referrence about tapestry? > for example,the referrence about annotation,component,etc. > tha