Re: T4.1: How do you combine Tapestry + Spring?

2007-07-14 Thread Lutz Hühnken
What is the most common way to use Spring in combinations with Tapestry? I don't know. How do you combine Tapestry and Spring? I use the tapestry-spring library from "http://howardlewisship.com/tapestry-javaforge/tapestry-spring/";. Which parts of Spring? I use dependency injection a lot

Re[2]: Problem witn TAP 4.1.2 and operation in template

2007-07-14 Thread Sergey
It was not work in previous version, and not work in 4.1.2 Working with @Table and index not resolve overall problem of working with variables Question is topical, how to work with variables in template like in velocity template? JK> You could try count++. I think that would work, but would

Re: properties file does not support UTF8

2007-07-14 Thread Donyee
你要是用Eclipse的话,最好安装个属性文件插件,因为Eclipse本身的好像不好用 http://propedit.sourceforge.jp/eclipse/updates/ You'd better install a plugin for eclipse if you're using it. http://propedit.sourceforge.jp/eclipse/updates/ 2007/7/14, sun58224 <[EMAIL PROTECTED]>: 1.properties file does not support UTF8. 2.Sort Bean

Re: T5 : How to assign Form component with an id ?

2007-07-14 Thread Donyee
Which version do you use? T5.05 works fine! 2007/7/15, Shing Hing Man <[EMAIL PROTECTED]>: The exception for with @Component(id = "myForm") private Form form; in the page java class works. Thanks! Shing --- Eugene Lozovan <[EMAIL PROTECTED]> wrote: > Hello again, > > as far as I underst

Re: T4 Help with parameters binding

2007-07-14 Thread Andrea Chiumenti
ok, I'll try to put a non working example on it these days On 7/14/07, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: Nothing is coming to me off the top of my head. I'll be happy to take a look of course when I'm ready if someone logs it in the Tapestry JIRA. On 7/14/07, Andrea Chiumenti <[EMAIL P

contrib:Timeout

2007-07-14 Thread Henry Chen
I'm using the latest Tap4.1.2. Did anybody successfully use contrib:Timeout? I tried to use it in the my border component as below. I set the session time in web.xml to 10 mins and waited but nothing happened. I found some "timeout" related js code are added. Why didn't it work? Please help. T

Re: AJAX : DOJO vs JQuery

2007-07-14 Thread Jesse Kuhnert
I'm thinking that is probably where things are going to need to go eventually. The only issue is that without "some" kind of library all of the built in Tapestry javascript becomes unreasonably unweildy if forced to do a lot of things from scratch. It's possible that something like dean edward's

Re: T5 : How to assign Form component with an id ?

2007-07-14 Thread Shing Hing Man
The exception for with @Component(id = "myForm") private Form form; in the page java class works. Thanks! Shing --- Eugene Lozovan <[EMAIL PROTECTED]> wrote: > Hello again, > > as far as I understand, you'd like to have "form" > component with > id="myForm", right? > So, try this: >

Re: T4 Help with parameters binding

2007-07-14 Thread Jesse Kuhnert
Nothing is coming to me off the top of my head. I'll be happy to take a look of course when I'm ready if someone logs it in the Tapestry JIRA. On 7/14/07, Andrea Chiumenti <[EMAIL PROTECTED]> wrote: This can be solved is in jwc definition I put: When you have a scrollable

Re: Problem witn TAP 4.1.2 and operation in template

2007-07-14 Thread Jesse Kuhnert
You could try count++. I think that would work, but would probably have to play with it to be sure. The @Table component also has an "index" parameter that would allow it to update a property of your choice with the current row index value. Maybe that's what you wanted. On 7/13/07, Sergey <[E

Re: ResponseBuilder UpdateComponent causing scroll to top of page?

2007-07-14 Thread Jesse Kuhnert
I have no idea what UpdateComponent() is. Is this a new tacos object or something I'm not aware of? By default most ajax requests should not be causing any focus events/other things that may scroll the page around - but if you have a use case / example where this happens I'm sure we can fix it.

Re: T5 : How to assign Form component with an id ?

2007-07-14 Thread Eugene Lozovan
Hello again, as far as I understand, you'd like to have "form" component with id="myForm", right? So, try this: E.L. On 14/07/07, Shing Hing Man <[EMAIL PROTECTED]> wrote: and both give rendered id="form". gives me the same exception as . Shing --- Eugene Lozovan <[EMAIL PROTE

Re: T5 : How to assign Form component with an id ?

2007-07-14 Thread Shing Hing Man
and both give rendered id="form". gives me the same exception as . Shing --- Eugene Lozovan <[EMAIL PROTECTED]> wrote: > Hello, > > try to use something like: > > > ... > > > E.L. > > > > On 14/07/07, Shing Hing Man <[EMAIL PROTECTED]> > wrote: > > > > When I have > > > >

Re: AJAX : DOJO vs JQuery

2007-07-14 Thread Bill Holloway
Ditto. I'm working on a fairly major site in T4.1.2 and jquery is the only library the presentation layer developers want to use. I would LOVE to see JQuery be the library for T5. Actually, how about an abstraction library in T5 so that we could plug in any javascript library we like for Tapest

Re: T5 : How to assign Form component with an id ?

2007-07-14 Thread Eugene Lozovan
Hello, try to use something like: ... E.L. On 14/07/07, Shing Hing Man <[EMAIL PROTECTED]> wrote: When I have in my html template, the rendered id is still "form". When I have , I got the following exception. Component test/Sum does not contain an embedded component with id 'for

T5 : How to assign Form component with an id ?

2007-07-14 Thread Shing Hing Man
When I have in my html template, the rendered id is still "form". When I have , I got the following exception. Component test/Sum does not contain an embedded component with id 'form'. Stack trace * org.apache.tapestry.internal.structure.ComponentPageElementImpl.getEmbeddedEleme

Re: T4 Pre-Initialization?

2007-07-14 Thread Renat Zubairov
You can also consider rewriting your own ApplicationServlet I mean craete a servlet which extends from tapestry ApplicationServlet. Init method of your servlet will do anything you need and then call tapestry ApplicationServlet. Renat On 13/07/07, Norman Franke <[EMAIL PROTECTED]> wrote: I don'

[OT] Which technology stack would you use

2007-07-14 Thread Borut Bolčina
Hello, I will have to evaluate a wide technology stack/frameworks to develop something like http://www.pageflakes.com/. In short - the goal is customizable, portlet-like, CMS enabled site. Do you see Tapestry (4 or 5) in this picture? Thanks, bob

Re: T4 Help with parameters binding

2007-07-14 Thread Andrea Chiumenti
This can be solved is in jwc definition I put: When you have a scrollable table, this is the index of the first row displayed. This behaviour seems to be changed. Doesn't the default-value create a property by itself if I pass an expression like ognl:0 ? Please let

T4 Help with parameters binding

2007-07-14 Thread Andrea Chiumenti
Hello I'm having a problem with T4.1.2 I' have a component with When you have a scrollable table, this is the index of the first row displayed. and its listener: public void addNewListener(IRequestCycle cycle) { callSubmitBeforeListener(cycle, getAddNewAction(