Re: [Tapestry Central] Next Steps for Tapestry

2009-11-09 Thread Inge Solvoll
There are features that could help gain attention to the framework. A lot of people ask for the same things on this list: - How to submit with a select - How to make dependent selects that works with AJAX. - How to easily make "custom" AJAX functionality (not necessarily forms) Maybe it would be

Re: How to avoid contribution to TypeCoercer in my case.

2009-11-09 Thread Inge Solvoll
I struggled a lot with loops in forms, I still do to tell you the truth. See this page in jumpstart, it helped me a lot. If you use formstate="ITERATION", it won't ask you for a coercer. Formstate and loops is one of the harder concepts of T5 in my opinion, it doesn't seem logical to me so I don't

Re: GAE and Tapestry5 integration

2009-11-09 Thread Dmitry Gusev
I'm using 5.2.0.0-SNAPSHOT and Spring 3.0.0-RC1. Here's my *web.xml*: http://java.sun.com/xml/ns/javaee"; version="2.5"> tapestry.app-package dmitrygusev.ping app org.apache.tapestry5.spring.TapestrySpringFilter app /*

Re: How to avoid contribution to TypeCoercer in my case.

2009-11-09 Thread sandeepraj singh
Hi Niclas, Sorry for a delayed response. The solution you suggest is not working. My Original Code is like below ... myDataObject.myOtherContent As per your suggestion i changed it to ... myDataObject.myOtherContent also tried with values of Volatile = "true" etc It still asks for co-er

tapestry 4 contrib table call getModel() multiple times

2009-11-09 Thread asianCoolz
public IBasicTableModel getModel() { return new IBasicTableModel() { public int getRowCount() { System.out.println("called many times"); return getServiceLayer().countTotalCategoryRow(getKeyword()); } } when i tried this

How do I alter tapestry grid's header to 2 rows with merge cells

2009-11-09 Thread ellisonchiu
How do I alter tapestry grid's header to 2 rows with merge cells? such as attached img. Thanks! http://old.nabble.com/file/p26277716/merge%2Bheader.jpg -- View this message in context: http://old.nabble.com/How-do-I-alter-tapestry-grid%27s-header-to-2-rows-with-merge-cells-tp26277716p26277716.h

Re: beaneditform question

2009-11-09 Thread DH
I never had this issue before. I just test and everything works right, can you share the whole stack trace? DH http://www.gaonline.com.cn - Original Message - From: "Jonhy Pear" To: "Tapestry users" Sent: Tuesday, November 10, 2009 3:27 AM Subject: Re: beaneditform question I'm exper

Re: GAE and Tapestry5 integration

2009-11-09 Thread sodium
Hi Dmitry, Thanks for sharing. I tried integrating the Spring in it but it keep spitting out all sorts of errors when its constructing the bean from the applicationContext.xml. Can u share how u integrate Spring in it? I noticed that u r using the Spring 3.x instead. I tried integrate with Tapes

Re: Problem with ComponentResources.getElementName()?

2009-11-09 Thread Howard Lewis Ship
Looks like a bug with a tricky fix. On Mon, Nov 9, 2009 at 4:28 AM, Alfie Kirkpatrick wrote: > This call appears to remove any namespace information, so the following > are not equivalent: > > > >                 > >                 > > > > In the first case the element parameter is "ns:some

Re: [Tapestry Central] Next Steps for Tapestry

2009-11-09 Thread Michael Gentry
I thought I had been through most of the site, but I had never seen the shadow services page. Thanks for the link, Howard! mrg On Mon, Nov 9, 2009 at 4:43 PM, Howard Lewis Ship wrote: > You know how you can inject the Request?  Well the Request service is > really an extension of the per-threa

Re: [Tapestry Central] Next Steps for Tapestry

2009-11-09 Thread Michael Gentry
I think documentation and small/focused cookbook-type examples (thank goodness for JumpStart) are the biggest hurdle to people learning and using T5 currently. (At least that is my experience.) The user community and framework are robust, but figuring out how to do something can be challenging at

Re: [Tapestry Central] Next Steps for Tapestry

2009-11-09 Thread Thiago H. de Paula Figueiredo
Em Mon, 09 Nov 2009 19:35:09 -0200, Michael Gentry escreveu: Shadow builders? I've only been using T5 for about 2 months now. When do I learn about shadow builders? :-) The documentation is here. The concept is simple. :) -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry

Re: [Tapestry Central] Next Steps for Tapestry

2009-11-09 Thread Howard Lewis Ship
You know how you can inject the Request? Well the Request service is really an extension of the per-thread RequestGlobals object, which stores the Request and Response. Turns out, Tapestry can implement this approach for you automatically; creating a proxy object that delegates all of its method

Re: [Tapestry Central] Next Steps for Tapestry

2009-11-09 Thread Michael Gentry
Shadow builders? I've only been using T5 for about 2 months now. When do I learn about shadow builders? :-) mrg On Sat, Nov 7, 2009 at 4:34 PM, Carl Crowder wrote: > Agreed: the main thing Tapestry is lacking is a book that explains not just > the basics but also concepts that it takes months

Re: Accessing autoconnect-parameter by reference, not by value

2009-11-09 Thread Alexey Hanin
Oh, I finally found what I was doing wrong :) Just misread the documentation. The parameter bound to the property which is named exactly as component. In fact only one property can be bound. On Mon, Nov 9, 2009 at 2:14 PM, Alexey Hanin wrote: > Seriously, guys? Anyone? > > On Sun, Nov 8, 2009 at

Re: Complete Sample Tapestry Application

2009-11-09 Thread keykubat
Hello There, More examples, functional tutorials please... it is good news that the tutorials will come out... So that an expansion will occur in user base,& popularity. Howard Lewis Ship wrote: > > There's several options. > > You can use the Tapestry Quickstart archetype (i.e., maven templ

Re: i18n overhead

2009-11-09 Thread Howard Lewis Ship
There's a lot of room for optimizations here; Tapestry is using the ClassLoader.getResource() method extensively, and it is very, very slow. More work to ensure that we don't constantly check and re-check for the existence of files would make a huge difference in performance when you are talking ab

Re: Complete Sample Tapestry Application

2009-11-09 Thread Jonhy Pear
That's it! Thank you. On Mon, Nov 9, 2009 at 7:09 PM, Michael Gentry wrote: > JumpStart Examples: > > http://jumpstart.doublenegative.com.au:8080/jumpstart/examples > > > On Mon, Nov 9, 2009 at 2:00 PM, Jonhy Pear wrote: > > Thanks for the link. > > > > I've started with the Maven archetype. >

Re: beaneditform question

2009-11-09 Thread Jonhy Pear
I'm experimenting your code but I'm blocked :( I have in my page.java @Property private String password; @Property private String confirmPassword; in my tml: But I get this error: Render queue error in BeginRender[user/New:userregistrationform.editor.propertyeditor]: The data type f

Re: Re: [Tapestry Central] Next Steps for Tapestry

2009-11-09 Thread Sergey Didenko
I would prioritize the directions in the following way: 1) T5.1.1.x with important bugfixes 2) The website ( the future book can be just a compilation and extension of website materials) 3-4) T5.2 and book - To unsubscribe, e-m

Re: Complete Sample Tapestry Application

2009-11-09 Thread Michael Gentry
JumpStart Examples: http://jumpstart.doublenegative.com.au:8080/jumpstart/examples On Mon, Nov 9, 2009 at 2:00 PM, Jonhy Pear wrote: > Thanks for the link. > > I've started with the Maven archetype. > > Where is the Jumpstart app you mention? can you send me that link? > > On Mon, Nov 9, 2009 a

Re: Complete Sample Tapestry Application

2009-11-09 Thread Jonhy Pear
Thanks for the link. I've started with the Maven archetype. Where is the Jumpstart app you mention? can you send me that link? On Mon, Nov 9, 2009 at 4:12 PM, Howard Lewis Ship wrote: > There's several options. > > You can use the Tapestry Quickstart archetype (i.e., maven template). > > You c

LinkSubmit problem - invalid form action

2009-11-09 Thread shymon
Hi, I use LinkSubmit on two pages of my app. On one page it works fine but on the other it's not; when I click on that link nothing happens. The only difference I have noticed is in form action generated by T5. On "working" page it looks like: action="/appContext/pageName.formId" and on "n

Re: How do you pass a context to PageTester?

2009-11-09 Thread Paul Field
Or you can just create the URL manually with the parameter in your test: tester.renderPage("mypage/1234"); // 1234 is the id - Paul Igor Drobiazko wrote on 09/11/2009 06:30:34: > Just create another page containg a link to target page and click on > it. The link can contain a context. > > B

Re: Complete Sample Tapestry Application

2009-11-09 Thread Howard Lewis Ship
There's several options. You can use the Tapestry Quickstart archetype (i.e., maven template). You can use the Jumpstart which is a more complete application template & tutorial. Here's a small example I use in my presentations: http://github.com/hlship/t5intro Please check the Tapestry web sit

Re: beaneditform question

2009-11-09 Thread ningdh
I am sorry that "Object onValidate" should be "Object onValidateForm". DH - Original Message - From: "João Pereira" To: "Tapestry users" Sent: Monday, November 09, 2009 11:53 PM Subject: Re: beaneditform question Thank you. On Mon, Nov 9, 2009 at 1:50 AM, DH wrote: > Hi > > Simpl

Re: IoC container performance issues

2009-11-09 Thread Howard Lewis Ship
The container is organized for functionality, not performance, with service lookups because lookups normally occur once. Suggestion: create a "lookup" service that has getters for all the other keys services you want. Inject those other services into its implementation. Obtain it from the Registry

[Tapestry Central] Tapestry 5: Java Power, Scripting Ease (ApacheCon 2009)

2009-11-09 Thread Howard
I've uploaded my presentation from ApacheCon 2009. Of coure, the fun parts are the embedded screen casts, and you need to see me live to get that part!Tapestry 5: Java Power, Scripting Ease View more documents from Howard Lewis Ship. -- Posted By Howard to Tapestry Central at 11/05/2009 08:51:00

Complete Sample Tapestry Application

2009-11-09 Thread Jonhy Pear
Hello all, Is there any fully functional Web application in Tapestry5 that can be used as a guide to bootstrap our skills in Tapestry5? Thank you

Re: beaneditform question

2009-11-09 Thread João Pereira
Thank you. On Mon, Nov 9, 2009 at 1:50 AM, DH wrote: > Hi > > Simple sample(t5.1): > > In tml: > include="nick,firstName,lastName" add="password,retypePassword"> > > > > > > > > > > > In java: > > @Component > private BeanEditForm regForm; > > @

RE: [Tapestry Central] Tapestry 5.1 and IE 8 -- Customizing Tapestry

2009-11-09 Thread Blower, Andy
> Picture an existing application that's been deployed using Tapestry > 5.1.0.5; the prototype.js is exposed to the client as > /assets/scriptaculous/5.1.0.5/prototype.js. > > Now the application is rebuild with tapx-prototype and redeployed. > Without the remapping, the URL would be unchanged and

Re: Re: [Tapestry Central] Next Steps for Tapestry

2009-11-09 Thread Wilson Ikeda
I think that Inge Solvoli is right, but rather than writing a book first i think that the Tapestry site need to be redone (what happened to the redesign?), it's the first place that people new to Tapestry will look at and i think that today's design and layout give people the impressions: c

Re: t5: Link s addParameter and null

2009-11-09 Thread Thiago H. de Paula Figueiredo
Em Mon, 09 Nov 2009 11:24:21 -0200, Angelo Chen escreveu: Hi, Hi! 2) if I do a lnk.addParameter("country", null) and I got following: RequestExceptionHandler Unexpected runtime exception: Parameter value was null or contained only whitespace. Please post a JIRA about it. I think that

Re: [ANN] t5components - release 0.5.4

2009-11-09 Thread Kumar_2106
Hi, I need to Update the TextBox on Change of Select Box. So I am trying to use t5components/OnEvent. So I am trying to update Maven POM for t5-common dependency for mixins 't5components/OnEvent' on my tml ,but I am getting below error message when I run mvn clean install (For OnEvent mixins

Re: t5: Link s addParameter and null

2009-11-09 Thread Angelo Chen
I need that to be in the url so it can be captured by Google Analytics. Alexey Hanin wrote: > > Don't have an opportunity to check this but as I know Tapestry treats > empty parameters as nulls. Just curious, why do you want empty > parameter in query string? Conceptually, parameters not being s

Re: t5: Link s addParameter and null

2009-11-09 Thread Alexey Hanin
Don't have an opportunity to check this but as I know Tapestry treats empty parameters as nulls. Just curious, why do you want empty parameter in query string? Conceptually, parameters not being set makes it null. On Mon, Nov 9, 2009 at 3:50 PM, Angelo Chen wrote: > > Hi, > Thanks for the reply,

Re: t5: Link s addParameter and null

2009-11-09 Thread Angelo Chen
Hi, Thanks for the reply, but it does not work, still same error, i check the LinkImpl: public void addParameter(String parameterName, String value) { Defense.notBlank(parameterName, "parameterName"); Defense.notBlank(value, "value"); if (parameters == null)

Re: t5: Link s addParameter and null

2009-11-09 Thread Alexey Hanin
Just make it empty string when it's null: lnk.addParameter("country", country == null ? "" : country); On Mon, Nov 9, 2009 at 3:24 PM, Angelo Chen wrote: > > Hi, > > I have a query string that I need to append to a  Link object, the query > string is: > > ?gender=M&country= > > I got two questio

t5: Link s addParameter and null

2009-11-09 Thread Angelo Chen
Hi, I have a query string that I need to append to a Link object, the query string is: ?gender=M&country= I got two questions: 1) is there a simple way to append this string to a Link object instead of using addParameter? 2) if I do a lnk.addParameter("country", null) and I got following:

Problem with ComponentResources.getElementName()?

2009-11-09 Thread Alfie Kirkpatrick
This call appears to remove any namespace information, so the following are not equivalent: In the first case the element parameter is "ns:something". In the second case calling getElementName() returns 'something' without the namespace. Is this intent

Re: Accessing autoconnect-parameter by reference, not by value

2009-11-09 Thread Alexey Hanin
Seriously, guys? Anyone? On Sun, Nov 8, 2009 at 8:55 AM, Alexey Hanin wrote: > Hmm... Seems like autoconnect does not work for me as I expect. > > I checked in setupRender() inside EditorComponent and found that > 'entity' is null, while Page.setupRender() assigns new value to its > same named pr

RE: i18n overhead

2009-11-09 Thread Blower, Andy
We also have a lot of properties files, but so far only one translation. We will have 20+ translations in due course, so I would be concerned if there were performance problems/implications. We're already using 5.1, so I'd be interested if this version has issues will many files. > -Origina

Re: Help with Tapestry i18n

2009-11-09 Thread Joost Schouten (ml)
You are setting the locale in a constructor of your page. Tapestry will not call this at page activation. If you place this code in an private void onActivate() method, you locale should be set for the subsequent request. If you upgrade to T5.1, localisation is persisted in the URL by default,

Re: [Tapestry Central] Next Steps for Tapestry

2009-11-09 Thread Otho
+1 for code The Tap 5 codebase lacks aome givens in nowadays development. Getting a simple app up and running with basic user management and security shouldn't take longer than 10 minutes and also flow support out of the box is mandatory. Other than that the online docs and tutorials should be co

Re: [Tapestry Central] Next Steps for Tapestry

2009-11-09 Thread Vjeran Marcinko
I think you should write the book, but only if there's going to be a T5.1.1.x set of releases with bugfixes - this is long overdue in my opinion. (we have too many 'temporary' tapestry fixes - > it's annoying & embarrassing) I don't think there's any pressing need for T5.2 yet (IMHO) but there

RE: [Tapestry Central] Next Steps for Tapestry

2009-11-09 Thread Blower, Andy
I think you should write the book, but only if there's going to be a T5.1.1.x set of releases with bugfixes - this is long overdue in my opinion. (we have too many 'temporary' tapestry fixes - it's annoying & embarrassing) I don't think there's any pressing need for T5.2 yet (IMHO) but there are

Re: i18n overhead

2009-11-09 Thread Joost Schouten (ml)
Melidramo wrote: Why so many property files? Just curious. :) This is a big project... Just a small note. I'm working on a projects with 100's of components and pages that all need translations. I have chosen to put all properties in one file (WEB-INF/app.properties). I'm not quite su

IoC container performance issues

2009-11-09 Thread Adriaan Joubert
Hi, we hit some performance issues using the tapestry IoC. The problem is that we have legacy apps where we do need to do a lot of registry look-ups - takes a while to rewrite everything to have services injected via constructors everywhere. In our particular case we have a few hundred services an

RE: Adding XML process-instruction to tml

2009-11-09 Thread Alfie Kirkpatrick
Doh! I was thinking this would not be possible because the component needs to come before the root element, but of course I can just wrap the whole document in the new component... Alfie. -Original Message- From: Howard Lewis Ship [mailto:hls...@gmail.com] Sent: 08 November 2009 15:55 To

Re: [Tapestry Central] Next Steps for Tapestry

2009-11-09 Thread Inge Solvoll
Book. Web site. Marketing. Strategy. Just to make a statement here: THE TAPESTRY 5 CODE IS MORE THAN GOOD ENOUGH!! The quality of the code and the framework just isn't the bottleneck. I think we all can agree on that? Who cares about Spring Web Flow or portlet support? Do we really think that suc

RE: [Tapestry Central] Next Steps for Tapestry

2009-11-09 Thread Newham, Cameron
You need to write the book IMO. We've seen several attempts to start a book* on here but it hasn't happened and probably won't. Others will contribute to the current code. 5.2 can wait, I'm sure. * an English Tapestry 5 book, that is. -Original Message- From: Howard [mailto:hls...@gmai