Re: xsd for 5.1 is not available(needed for upgrading)

2009-05-13 Thread Peter Stavrinides
>Basically, you can still merrily use tapestry_5_0_0.xsd, but you'll >miss out on some of the new templating features in 5.1 (t:remove, for >example). There appear to be some great new features, are there any examples to follow? especially interested in template inheritance! Peter - Orig

Re: Zone and loop problem

2009-05-13 Thread Valentin Yerastov
How can I generate dynamic ID for zone? Can I use something like: ${comment.rating} And if I do it, how can I inject it into my page? Yury Luneff-2 wrote: > > i guess you should make different id's for all the zones you create > dynamically. > >> Hello, > >> This is my simple example c

Re: xsd for 5.1 is not available(needed for upgrading)

2009-05-13 Thread Robert Zeigler
Yes and no. :) See: http://tapestry.apache.org/tapestry5.1/guide/templates.html Specifically the section under "Tapestry Namespace". Basically, you can still merrily use tapestry_5_0_0.xsd, but you'll miss out on some of the new templating features in 5.1 (t:remove, for example). This is t

Re: xsd for 5.1 is not available(needed for upgrading)

2009-05-13 Thread Angelo Chen
Hi, when upgrading from 5.0.18, do we have to change from tapestry_5_0_0.xsd to tapestry_5_1_0.xsd in the template? and what's the reason tapestry_5_1_0.xsd not exist here: http://tapestry.apache.org/schema/tapestry_5_1_0.xsd Thanks, Yiqun Shi wrote: > > This file is not available. > > http

Re: [Tapestry 5.1.0.5] - GRID - How Override the sorting images ?

2009-05-13 Thread Joost Schouten (mailing lists)
you just have to add some css: table.t-data-grid thead tr th a img { display:none !important; } table.t-data-grid thead tr th a { display:block; width:10px; height:10px; } table.t-data-grid thead tr th a.t-sort-column-descending{ background: url(yourimagePath); } table.t-dat

Re: T5 and hessian

2009-05-13 Thread Andrea Chiumenti
thank you On Wed, May 13, 2009 at 8:56 PM, Thiago H. de Paula Figueiredo wrote: > Em Wed, 13 May 2009 15:14:53 -0300, Andrea Chiumenti > escreveu: > >> Hello I'd like to use T5-ioc and then expose services with hessian. >> >> can I use @Inject annotation inside an hessian service ? > > I don't k

Re: [Tapestry 5.1]Loop with checkboxes

2009-05-13 Thread Shing Hing Man
Have you added the following to AppModule.java ? public static void contributeComponentClassResolver(Configuration configuration) { // Creates a virtual root pacakge for pages,components. configuration.add(new LibraryMapping("man", "net.sf.lombok")); } Shing --- On W

Re: [Tapestry Central] Clojure @ JavaWorld

2009-05-13 Thread Howard Lewis Ship
Clojure, Groovy and Scala are what I call "chimeric" languages ... both of Java (the JVM) and capable of interop with pure Java code, but mixing in something else to become more than the sum of the parts. On Tue, May 12, 2009 at 10:32 PM, hari ks wrote: > > Is JVM getting bloated with more progr

[Tapestry 5.1.0.5] - GRID - How Override the sorting images ?

2009-05-13 Thread GMAIL1
¿ How can be overrided the sorting images of the Grid component ( sortable.png, sort-desc.png & sort-asc.png ) ? I tried creating the package "org.apache.tapestry5.corelib.components" in my project classpath, and putting my modified versions of the images into, thinking that the classloader

[ Migratting to T5] - Personal Experience

2009-05-13 Thread GMAIL1
Hi all , i was using this mailing with another mail, i moved to this new one ... probably for a long time :-) I want to thank to Howard, the team members, and all the users of this mailing-list. It´s very useful . Here in our company the architecture was based on previous web tecnologies

Re: T5 and hessian

2009-05-13 Thread Thiago H. de Paula Figueiredo
Em Wed, 13 May 2009 15:14:53 -0300, Andrea Chiumenti escreveu: Hello I'd like to use T5-ioc and then expose services with hessian. can I use @Inject annotation inside an hessian service ? I don't know Hessian, but if you can make your Hessian services be created as Tapestry-IoC services,

Re: Zone and loop problem

2009-05-13 Thread Yury Luneff
i guess you should make different id's for all the zones you create dynamically. > Hello, > This is my simple example code, > tml: > > ${comment.rating} > t:zone="commentRating">+ > t:zone="commentRating">- > > java: > @InjectComponent > private Zone commentRating; > public Object onA

T5 and hessian

2009-05-13 Thread Andrea Chiumenti
Hello I'd like to use T5-ioc and then expose services with hessian. can I use @Inject annotation inside an hessian service ? if not how can I retrieve a service from outside T5 ? Thanks in advance, kiuma - To unsubscribe, e-mail

Zone and loop problem

2009-05-13 Thread Valentin Erastov
Hello, This is my simple example code, tml: ${comment.rating} + - java: @InjectComponent private Zone commentRating; public Object onActionFromVoteUp(Long commentId) { voteService.voteUp(user, commentId); comment = commentDao.findById(commentId); return commentRating.getBody();

RE: t5: layout

2009-05-13 Thread Blower, Andy
I kind of assumed the ${} bit, guess we should wait for Angelo to chime in again now... > -Original Message- > From: Thiago H. de Paula Figueiredo [mailto:thiag...@gmail.com] > Sent: 13 May 2009 16:10 > To: Tapestry users > Subject: Re: t5: layout > > On Wed, May 13, 2009 at 12:01 PM, Bl

page & components activation contexts

2009-05-13 Thread Yury Luneff
Hello, users. Is there a way to separate activation contexts for page and its components? I wrote a component that uses AJAX to interact from client side. Render part of the component creates links for callbacks using ComponentResources. And callbacks are method with fixed number of arguments (2

Re: Benchmarking Tapestry

2009-05-13 Thread Peter Stavrinides
Using the session extensively is not scalable as the container must allocate additional resources, which translates to more heap. Response times also change with server load, so to have any accurate measure the performance for a framework you need to consider the memory footprint, graceful degra

[Tapestry 5.1]Loop with checkboxes

2009-05-13 Thread b...@umd
Hi, I am new in Tapestry and I am currently developing a webapp which aims at launching virtual machine. I created a form in my .tml file with basic inputs (TextArea, Checkbox, etc). Now I would like to create some Checkboxes with a list of words from my .java file, and then to be able to retriev

Re: Benchmarking Tapestry

2009-05-13 Thread Sergey Didenko
Exactly. And "thousands of concurrent users" can be not just the number of users per minute, but the number of users per day! Because when a user session expires any dynamic wicket link shows "Your session is expired. Click here to return to the main page" message. To avoid this you would want to

Re: t5: layout

2009-05-13 Thread Thiago H. de Paula Figueiredo
On Wed, May 13, 2009 at 12:01 PM, Blower, Andy wrote: > Not according to > http://tapestry.apache.org/tapestry5.1/guide/parameters.html, Context > Bindings. This works for us I think. You're right: you can now use context without using asset. I hadn't tested it before I answered that question.

RE: t5: layout

2009-05-13 Thread Blower, Andy
Not according to http://tapestry.apache.org/tapestry5.1/guide/parameters.html, Context Bindings. This works for us I think. > -Original Message- > From: Thiago H. de Paula Figueiredo [mailto:thiag...@gmail.com] > Sent: 13 May 2009 14:36 > To: Tapestry users > Subject: Re: t5: layout > >

Re: [Tapestry Central] Clojure @ JavaWorld

2009-05-13 Thread hari ks
After reading these blogs: http://kawagner.blogspot.com/2006/08/oop-is-dead.html, http://www.geocities.com/tablizer/oopbad.htm and many more in this line, I feel Object oriented programming is nothing that is a proven concept. It was a time when C language helped solve all problems like OS prog

Re: Ognl issues in tapestry 4.1.6

2009-05-13 Thread Howard.Kelsey
Hi Our domain classes are generated/compiled at startup time to support client data model. These are simple pojos with getters and setters for each property. The class is definitely available because content.domain.startDate, content.domain.getStartDate(), content.domain[‘startDate’] all work,

Re: T5: Passing named/structured-type params in URLs?

2009-05-13 Thread Peter Stavrinides
Sorry one typo: eventContext.get(Integer.class, i) needs to be a String in this example. - Original Message - From: "Peter Stavrinides" To: "Tapestry users" Sent: Wednesday, 13 May, 2009 17:22:59 GMT +02:00 Athens, Beirut, Bucharest, Istanbul Subject: Re: T5: Passing named/structured-t

Re: T5: Passing named/structured-type params in URLs?

2009-05-13 Thread Peter Stavrinides
This is an interesting thread, and a way overdue discussion... it has given me some nice ideas, so let me also share one of mine. > you sometimes need the flexibility offered by request parameters - and that > is currently way too hard (compared to how easy most things are) in > Tapestry. Yes, I

Re: Solving the T5 Documentation Dilemma

2009-05-13 Thread Joel Halbert
ditto. -1 forum -Original Message- From: Christian Edward Gruber Reply-To: Tapestry users To: Tapestry users Subject: Re: Solving the T5 Documentation Dilemma Date: Wed, 13 May 2009 09:29:10 -0400 -1 on forum for the same reasons. On 13-May-09, at 07:36 , Alfie Kirkpatrick wrote: > -

Re: t5: layout

2009-05-13 Thread Thiago H. de Paula Figueiredo
On Wed, May 13, 2009 at 10:05 AM, Angelo Chen wrote: > Hi, Hi! > in 5.1.0.5, I tried this: > context:layout/images/img20.gif Shouldn't it be something like ? -- Thiago - To unsubscribe, e-mail: users-unsubscr...@tapestry.ap

Re: Solving the T5 Documentation Dilemma

2009-05-13 Thread Christian Edward Gruber
-1 on forum for the same reasons. On 13-May-09, at 07:36 , Alfie Kirkpatrick wrote: -1 for a forum. I like the fact I can choose between users and users- digest, and I can use nabble or markmail to browse the archive. Unless the proposal is to stop the mailing list, I feel that a forum will

Re: T5: Passing named/structured-type params in URLs?

2009-05-13 Thread Filip S. Adamsen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I wanted something like this maybe nine months ago and ended up creating my own @RequestParameter annotation, overriding Form, ActionLink, EventLink, and PageLink, and modifying the way Tapestry generates URLs. It works, but it ain't pretty. Anyway, b

t5: layout

2009-05-13 Thread Angelo Chen
Hi, in 5.1.0.5, I tried this: context:layout/images/img20.gif but it does not display anything, why? Angelo -- View this message in context: http://www.nabble.com/t5%3A-layout-tp23521381p23521381.html Sent from the Tapestry - User mailing list archive at Nabble.com. --

RE: T5: Passing named/structured-type params in URLs?

2009-05-13 Thread Joel Halbert
> I have a desire to use a context where the delimeter for one of the values is > itself a '/'. For example: > > /docs/my/path/to/doc/document1/param1/param2 Do you mean that one of the parameters is the value "document/", if so will T5 not URL encode this to the value "document%2F" ? (a

RE: T5: Passing named/structured-type params in URLs?

2009-05-13 Thread Alfie Kirkpatrick
I've been following this thread with interest and have a somewhat different requirement. I have a desire to use a context where the delimeter for one of the values is itself a '/'. For example: /docs/my/path/to/doc/document1/param1/param2 I can do this by hand in a page by having onActi

RE: Solving the T5 Documentation Dilemma

2009-05-13 Thread Alfie Kirkpatrick
-1 for a forum. I like the fact I can choose between users and users-digest, and I can use nabble or markmail to browse the archive. Unless the proposal is to stop the mailing list, I feel that a forum will simply act to fragment discussions which are an invaluable information source. Best rega

Re: [Tapestry Central] Clojure @ JavaWorld

2009-05-13 Thread Thiago H. de Paula Figueiredo
On Wed, May 13, 2009 at 2:32 AM, hari ks wrote: > Is JVM getting bloated with more programming concepts than just OOP? No. JVM does not know about Clojure, just have support for dynamic languages. It is just another language running on the top of a virtual machine. Don't forget that the JVM runs

Re: t5: archetype create for 5.1.0.5

2009-05-13 Thread Olle Hallin
You probably have an old version of the maven-archetype-plugin in your local repo. Try adding -cpu to the command. If that does not help, remove $HOME/.m2/repository/org/apache/maven/plugins/maven-archetype-plugin and try again. HTH, Olle 2009/5/13 Angelo Chen > > Hi, > > Thanks for pointin

Re: Benchmarking Tapestry

2009-05-13 Thread JoelGrrrr
The reason the session impacts the scalability of Wicket applications under high load (large numbers of concurrent users) is that Wicket, by default and by design will store the entire component model for a Page (and all pages referenced by that page - and multiple versions of those pages!!) - in

Re: t5: archetype create for 5.1.0.5

2009-05-13 Thread Angelo Chen
Hi, Thanks for pointing out the link, I tried this: mvn archetype:generate -DarchetypeCatalog=http://tapestry.formos.com/maven-repository but found this: [INFO] Searching repository for plugin with prefix: 'archetype'. [INFO]

recursion in PropertyConduitSource?

2009-05-13 Thread Christine
After upgrading to 5.1, I get the error below. Apparently, there's an error in my app but when Tapestry wants to complain about the error, something goes wrong, or that's what it looks like to me. I have checked that the app still works with 5.0. dagdag Christine HTTP ERROR: 500 Except

Re: t5: archetype create for 5.1.0.5

2009-05-13 Thread Ulrich Stärk
http://tapestry.apache.org/tapestry5.1/quickstart/ Am 13.05.2009 10:31 schrieb Angelo Chen: Hi, This creates a project for 5.0.18: mvn archetype:create -DarchetypeGroupId=org.apache.tapestry -DarchetypeArtifactId=quickstart -DgroupId=org.example -DartifactId=myapp -DpackageName=org.example.myapp

Custom dispatcher after:PageRender

2009-05-13 Thread Borut Bolčina
Hi, I have this dispatcher which recognizes some urls and should only be executed after none of the tapestry pages should serve the request. The dispatcher should be last in the chain. My dispatcher gets called if configured like "before:PageRender", but then I have to put the logic of recognizin

t5: archetype create for 5.1.0.5

2009-05-13 Thread Angelo Chen
Hi, This creates a project for 5.0.18: mvn archetype:create -DarchetypeGroupId=org.apache.tapestry -DarchetypeArtifactId=quickstart -DgroupId=org.example -DartifactId=myapp -DpackageName=org.example.myapp -DarchetypeVersion=5.0.18 and this does not create a project for 5.1.0.5: mvn archetype:cre

Re: Building osgi application by using Tapestry-OSGi

2009-05-13 Thread Kristian Marinkovic
indeed, very nice :) Jun Tsai 12.05.2009 04:21 Bitte antworten an "Tapestry users" An Tapestry users Kopie Thema Re: Building osgi application by using Tapestry-OSGi Very Nice!!! 2009/5/9 donf yang > Hi, > > I was just built a new project for osgi solution of tapestry, and the

Re: Benchmarking Tapestry

2009-05-13 Thread Ben Gidley
Neil, Your behavior could be GC related. If you connect JConsle have any of the memory pools filled up? If that is the case you may be seeing the GC using a disproportionate amount of CPU. Ben Gidley www.gidley.co.uk b...@gidley.co.uk On Tue, May 12, 2009 at 7:47 PM, Neil Curzon wrote: > Th