Re: [T5] component packs? libraries?

2007-09-16 Thread Otry Itrch
I am trying to repeat what Ted has done in his FCKEditor and DatePicker to package my own custom components: 1. I created a couple of components, they work fine in the project where they are created. 2. I packaged everything used by these components into a JAR with structure like com.myserver.mya

Re: t:type="loop" problem

2007-09-16 Thread Martin Grotzke
On Mon, 2007-09-17 at 10:23 +0900, Nick Westgate wrote: > It's mentioned somewhere (maybe in the source) that expansions are > treated as literals, and therefore cached and never re-evaluated. I'd think this is fixed with https://issues.apache.org/jira/browse/TAPESTRY-1667, isn't it? Cheers, Marti

Re: t:type="loop" problem

2007-09-16 Thread Davor Hrg
I had no problem using expansions in a loop, (T5.0.5) ${value}, Davor Hrg On 9/17/07, Nick Westgate <[EMAIL PROTECTED]> wrote: > > It's mentioned somewhere (maybe in the source) that expansions are > treated as literals, and therefore cached and never re-evaluated. > > The result

Re: [T5] component packs? libraries?

2007-09-16 Thread Fernando Padilla
Cool. So how would I go about creating a component library and including its use in my app? Thiago H. de Paula Figueiredo wrote: Em Sun, 16 Sep 2007 21:41:53 -0300, Fernando Padilla <[EMAIL PROTECTED]> escreveu: I thought I meant Component Libraries.. as in user or third party generated co

Re: T5: outputRaw and how to display html formated data?

2007-09-16 Thread Angelo Chen
Hi Nick, Thanks, it works!, I tried to avoid asking question first so I have been reading outputraw doc for a long time, but can't understand it, here is: NameTypeFlags Default Default Prefix Description value String RequiredpropThe value to to render. If unbou

Re: How to init T5 pages on deployment? - 1st few hits would be faster

2007-09-16 Thread Martin_S
Oh yeah, you obviously don't need the Hibernate code there. Angelo Chen wrote: > > Hi Martin, > > Can you share some portion of the code ? I'd like to test it if I can > speed up my app? Thanks. > > A.C. > > > Martin_S wrote: >> >> I have chosen quick-and-dirty for now. like >> http://www.

Re: [T5] component packs? libraries?

2007-09-16 Thread Thiago H. de Paula Figueiredo
Em Sun, 16 Sep 2007 21:41:53 -0300, Fernando Padilla <[EMAIL PROTECTED]> escreveu: I thought I meant Component Libraries.. as in user or third party generated component libraries.. any other ideas? Tapestry 5 is very young yet (it's not even beta!), so developers hadn't had much time to w

Re: How to init T5 pages on deployment? - 1st few hits would be faster

2007-09-16 Thread Martin_S
Add this to web.xml as well: com..tc.util.TapestryListener The attached Java code needs cleanup, but it works. Angelo Chen wrote: > > Hi Martin, > > Can you share some portion of the code ? I'd like to test it if I

Re: T5: outputRaw and how to display html formated data?

2007-09-16 Thread Nick Westgate
Attributes default to the prop binding, so there's no need to use expansions: See the current "loop problem" thread. Cheers, Nick. Angelo Chen wrote: Hi Erik, To make things easier, i use this: public Date getCurrentTime() { return new Date(); } the

Re: t:type="loop" problem

2007-09-16 Thread Nick Westgate
It's mentioned somewhere (maybe in the source) that expansions are treated as literals, and therefore cached and never re-evaluated. The result is quite non-intuitive in a loop, which has irked me for some time, and I'm beginning to consider it a bug. It's also one reason I still value the Any co

Re: How to init T5 pages on deployment? - 1st few hits would be faster

2007-09-16 Thread Angelo Chen
Hi Martin, Can you share some portion of the code ? I'd like to test it if I can speed up my app? Thanks. A.C. Martin_S wrote: > > I have chosen quick-and-dirty for now. like > http://www.hibernate.org/114.html, I used a ServletContextListener to > detect deployment. For our particular object

Re: T5: outputRaw and how to display html formated data?

2007-09-16 Thread Angelo Chen
Hi Erik, To make things easier, i use this: public Date getCurrentTime() { return new Date(); } then in my html file I use: when the page is displayed second time, the time does not change, you have to restart the program to have the time updated,

Re: [T5] component packs? libraries?

2007-09-16 Thread Fernando Padilla
I thought I meant Component Libraries.. as in user or third party generated component libraries.. any other ideas? SergeEby wrote: Hi, T5 components are listed here: http://tapestry.apache.org/tapestry5/tapestry-core/component-parameters.html /Serge Fernando Padilla wrote: So I think I've r

In T4.1.2 How to LinkTo NonTapestry URIs(link to my jsp page)

2007-09-16 Thread Doublel
Hello In t5 can redirect login and logouts to Acegi's special URIs.In t 4.1.2. I want to Redirect to my some old jsp pages?How to do it ?? -- 得与失都是生活

Re: [T5] component packs? libraries?

2007-09-16 Thread SergeEby
Hi, T5 components are listed here: http://tapestry.apache.org/tapestry5/tapestry-core/component-parameters.html /Serge Fernando Padilla wrote: > > So I think I've read most if not all of the T5 documentation, and I > don't see any mention of the old Component Libraries.. Could someone > giv

Packaging custom components

2007-09-16 Thread Otry Itrch
I am trying to repeat what Ted has done in his FCKEditor and DatePicker to package my own custom components: 1. I created a couple of components, they work fine in the project where they are created. 2. I packaged everything used by these components into a JAR with structure like com.myserver.mya

Re: t:type="loop" problem

2007-09-16 Thread Michael Gottschalk
Hi Leon, On Sunday 16 September 2007 18:41:07 Leon Derks wrote: > I have a problem with the t:type="loop" component in my Menu Component > > [...] > Every categoryId is 1. (and it generates to much tags). > [...] > This is what is in Menu.html > > > >context="${category.id}">${catego

t:type="loop" problem

2007-09-16 Thread Leon Derks
I have a problem with the t:type="loop" component in my Menu Component Every link that is generated gets the id of the first Category. So the html source looks like this: CategoryA | 1 CategoryB | 70 CategoryC | 110 Every categoryId is 1. (an

[T5] component packs? libraries?

2007-09-16 Thread Fernando Padilla
So I think I've read most if not all of the T5 documentation, and I don't see any mention of the old Component Libraries.. Could someone give me some insight? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: Tapestry 5 Roadmap

2007-09-16 Thread Fernando Padilla
Is there any other developer working on T5 yet? Is there anything we can do to help? (we're working on using T5 for facebook production app, so we can devote time to helping). (I would like to see the TAPESTRY-1600 in there. :) Howard Lewis Ship wrote: I'll have a better idea about the roadm

Re: Tapestry 5 Roadmap

2007-09-16 Thread Howard Lewis Ship
I'll have a better idea about the roadmap at the end of this week. I've been working for a new consulting company, and the Big Project is not a web app (it's in Swing). This has slowed down progress on Tapestry 5, alas. On 9/13/07, petros <[EMAIL PROTECTED]> wrote: > > > The tapestry 5 website s

Re: T5: outputRaw

2007-09-16 Thread Erik Vullings
Hi Angelo, And how did you define currentuser? Any annotations? Cheers, Erik On 9/16/07, Angelo Chen <[EMAIL PROTECTED]> wrote: > > > Hi, > I use following code to output a html text, but it works first time, when > I > switch to other users, the page will never be updated, remain the contents >