Re: Help needed for persistent properties initialization in components (4.1.2)

2007-05-28 Thread Alexander Lamb
Hello, So if I understand correctly the two answers I received, I should NOT use the initial-value attribute since I will not yet have session information (and probably component parameters). If I need a place to initialize some persistent properties which will be called after the

Re: T5 IoC kickstart tutorial

2007-05-28 Thread Davor Hrg
to get started, you could use tapestry quickstart first, and then try to build a small app using tapestry-ioc and tapestry-hibernate only Davor Hrg On 5/28/07, Joshua Jackson [EMAIL PROTECTED] wrote: Davor and Howard, Thanks for the reply. I have went over through the tapestry-ioc docs, but

Re: Developing Tapestry applications in IntelliJ IDEA

2007-05-28 Thread Hugo Palma
Yeah, i saw it in the release notes. Have you tried it ? On 5/26/07, Jesse Kuhnert [EMAIL PROTECTED] wrote: The latest selena dev build release has maven2 support built in now. . On 5/23/07, Hugo Palma [EMAIL PROTECTED] wrote: There's also great work going on here

Re: @OnEvent not inherited in T5?

2007-05-28 Thread Jun Tsai
2007/5/28, Howard Lewis Ship [EMAIL PROTECTED]: That's very odd; based on how Tapestry instruments the code, that should automatically happen, even if @OnEvent is not inherited (which it isn't, only type annotation, not method annotations, can be inherited).

Re: @OnEvent not inherited in T5?

2007-05-28 Thread Jun Tsai
2007/5/28, Howard Lewis Ship [EMAIL PROTECTED]: That's very odd; based on how Tapestry instruments the code, that should automatically happen, even if @OnEvent is not inherited (which it isn't, only type annotation, not method annotations, can be inherited). In javassist javadoc pages:

Re: @OnEvent not inherited in T5?

2007-05-28 Thread Alexandru Dragomir
You are using Any component. To trigger the event onActionFromDosmthng you should use the component ActionLink. a t:type=actionlink t:id=dosmthng Do something/a On 5/28/07, Eugene Lozovan [EMAIL PROTECTED] wrote: Actually, I've got similar issue: HTML- template contains input

Re: @OnEvent not inherited in T5?

2007-05-28 Thread Howard Lewis Ship
Very good. Also in terms of the choice of Javassist methods: super-class event handler methods are recognized when the super-class itself is enhanced. That's why there's a com.foo.example.app.base package ... for base classes to pages and components. On 5/28/07, Alexandru Dragomir [EMAIL

Re: T5 application wide message catalog

2007-05-28 Thread Howard Lewis Ship
The name exactly matches the filter name ... thus app.properties not App.properties. On 5/27/07, petros [EMAIL PROTECTED] wrote: Do you know if it works for this snapshot tapestry-core-5.0.5-20070522.184451-1.jar It doesn't work for me. The properties in

Re: T4.1.1 - ComponentClass and Component annotation question

2007-05-28 Thread Jan Vissers
Anybody have a clue for me? -J. First... I had some components specified in a directory (ctxroot/components). A couple of components had an empty component specification file (.jwc) - so I tried to use @ComponentClass on the component so I don't need the .jwc file any longer. A page

Re: @OnEvent not inherited in T5?

2007-05-28 Thread Jun Tsai
2007/5/28, Howard Lewis Ship [EMAIL PROTECTED]: Very good. Also in terms of the choice of Javassist methods: super-class event handler methods are recognized when the super-class itself is enhanced. That's why there's a com.foo.example.app.base package ... for base classes to pages and

@EventListener Question

2007-05-28 Thread Janos Mucsi
Hi Thanks, Jesse, for your answer. What if I want to return values from the listener method? Instead of @EventListener(elements = myFavoriteDiv, events = onmouseover) public void watchText(BrowserEvent event) { System.out.println(watch text entered+event); } I want something

Re: Developing Tapestry applications in IntelliJ IDEA

2007-05-28 Thread Jesse Kuhnert
Yeah, but I had to revert to an older build because testng was broken in it. Seemed to work pretty well. On 5/28/07, Hugo Palma [EMAIL PROTECTED] wrote: Yeah, i saw it in the release notes. Have you tried it ? On 5/26/07, Jesse Kuhnert [EMAIL PROTECTED] wrote: The latest selena dev build

Re: T4.1.1 - ComponentClass and Component annotation question

2007-05-28 Thread Jesse Kuhnert
Use 4.1.2-SNAPSHOT. On 5/28/07, Jan Vissers [EMAIL PROTECTED] wrote: Anybody have a clue for me? -J. First... I had some components specified in a directory (ctxroot/components). A couple of components had an empty component specification file (.jwc) - so I tried to use @ComponentClass

Re: T4.1.1 - ComponentClass and Component annotation question

2007-05-28 Thread Jan Vissers
Ok, thanks But what does this mean exactly, in terms of how I specify the @Component? Should I (still) use: @Component(type=components/Feedback) or something different? Suppose I would have bundled these components into a Tapestry library - would that have changed something, or is this not

Re: T4.1.1 - ComponentClass and Component annotation question

2007-05-28 Thread Jan Vissers
And... any idea when T4.1.2 will be released. I'm currently (re)evaluating T4.1+ as one of our predominant (web)frameworks - currently we already use T3/T4.0.2 quite frequently. -J. Ok, thanks But what does this mean exactly, in terms of how I specify the @Component? Should I (still)

Re: T4.1.1 - ComponentClass and Component annotation question

2007-05-28 Thread Jesse Kuhnert
I think I'm going to start a vote to release it this week, so if that goes well possibly this week. On 5/28/07, Jan Vissers [EMAIL PROTECTED] wrote: And... any idea when T4.1.2 will be released. I'm currently (re)evaluating T4.1+ as one of our predominant (web)frameworks - currently we

EventListener is not working in 4.1.2 [UPDATED]

2007-05-28 Thread Eric BIANCHI
Hello list, On Friday the 18th of May, I wrote : --- CUT HERE --- I've been happily using the EventListener Annotation in Tapestry 4.1.1 and everything works fine. Using the latest snapshot (4.1.2), my EventListener doesn't work anymore. Here's my code : form jwcid=[EMAIL PROTECTED]

Re: @OnEvent not inherited in T5?

2007-05-28 Thread Howard Lewis Ship
Classes that will be transformed must be segregated by package, otherwise the class loader will attempt to transform non-components, such as JDK classes and such. Tapestry is under some constraints to do the transformation at runtime (so as not to complicate the build/deploy process) and to do

Re: EventListener is not working in 4.1.2 [UPDATED]

2007-05-28 Thread Jesse Kuhnert
Yeah it sounds like a bug of some sort to me. On 5/28/07, Eric BIANCHI [EMAIL PROTECTED] wrote: Hello list, On Friday the 18th of May, I wrote : --- CUT HERE --- I've been happily using the EventListener Annotation in Tapestry 4.1.1 and everything works fine. Using the latest snapshot

Re: Redirect Question

2007-05-28 Thread Howard Lewis Ship
It's easy if you do it from activate event handler method (onActivate()), just return the page name or page instance to redirect to. Once you progress as far as the SetupRender phase, you are committed to rendering a response. On 5/27/07, Hilco Wijbenga [EMAIL PROTECTED] wrote: On 5/27/07,

Re: Redirect Question

2007-05-28 Thread Hilco Wijbenga
On 5/28/07, Howard Lewis Ship [EMAIL PROTECTED] wrote: It's easy if you do it from activate event handler method (onActivate()), just return the page name or page instance to redirect to. Once you progress as far as the SetupRender phase, you are committed to rendering a response. Yes, that's

Re: Problem on creating generic SharedCrudPage using BeanEditForm

2007-05-28 Thread Howard Lewis Ship
Tapestry has excellent error reporting ... use it. Don't vaguely tell us about an exeption, cut and paste it. And tell us exactly what you were doing and what you expected to happen. On 5/27/07, Eko S.W. [EMAIL PROTECTED] wrote: Hi all, I have a problem on using BeanEditForm. I create a

Re: Redirect Question

2007-05-28 Thread Howard Lewis Ship
What is /app? Is it a page? Tapestry 5 doesn't use a mapping to a servlet named /app. T5 should see that URL, identify it as a page render request and see that there's no such page, and let the servlet container send a normal 404 error result. On 5/28/07, Hilco Wijbenga [EMAIL PROTECTED]

Re: Redirect Question

2007-05-28 Thread Hilco Wijbenga
Ok, you managed to confuse me now. :-) On 5/28/07, Howard Lewis Ship [EMAIL PROTECTED] wrote: What is /app? Is it a page? Tapestry 5 doesn't use a mapping to a servlet named /app. T5 should see that URL, identify it as a page render request and see that there's no such page, and let the

Re: updateComponent breaks rendering

2007-05-28 Thread Paul Stanton
just curious, did you get two images attached to my original post or doesn't the message board allow attachments? Jesse Kuhnert wrote: Yes tapestry is aware of component containing logic and yes whatever problem you are having (attachments aren't allowed on the apache mailing lists so no one

Re: T4.1.1 - ComponentClass and Component annotation question

2007-05-28 Thread Paul Stanton
where do i vote, i need it released desperately. Jesse Kuhnert wrote: I think I'm going to start a vote to release it this week, so if that goes well possibly this week. - To unsubscribe, e-mail: [EMAIL PROTECTED] For

tapestry job I created on odesk... can't afford a lot but if you know someone who wants some pocket money...

2007-05-28 Thread Patrick Moore
Hi there, I created a odesk job for someone to help me finish a xml translator that will be contributed back to tapestry. I have done a lot of design and a fair amount of code as well, but I don't have the time to finish it off. But if you know someone who does the job is here:

Re: XML translator/validator

2007-05-28 Thread Paul Stanton
digester? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[ANN] Tapestry 4 Quick Start Tutorial for Netbeans

2007-05-28 Thread Andreas Andreou
Well, looks like there's another introductory tutorial, this time focusing on how to quickly setup your NB environment for working with Tapestry... here's the link: http://www.netbeans.org/kb/55/quickstart-tapestry-in-netbeans.html -- Andreas Andreou - [EMAIL PROTECTED] -

Re: updateComponent breaks rendering

2007-05-28 Thread Jesse Kuhnert
I'm not sure what message board you are talking about - I'm on the apache users mailing list. Either way no - I don't think apache allows attachments on their mailing lists. On 5/28/07, Paul Stanton [EMAIL PROTECTED] wrote: just curious, did you get two images attached to my original post or

Re: T5 migration from T4

2007-05-28 Thread Howard Lewis Ship
Not using the built-in services, since there's not been a call for it. Yes, there's a call here, but that's mostly represents missing functionality in the exposed Request interface, rather than a real need to inject HttpServletRequest. On 5/28/07, Paul Stanton [EMAIL PROTECTED] wrote: You

[T5] Form, and lot of questions

2007-05-28 Thread Marcell Manfrin Barbacena
Hi, I'm starting learning tapestry then please go easy :-) I've done all the quick start things and looks good, but now I'm trying to get things for my project. 1st - I need to change the Validate annotation for Hibernate Validation. Looking the properties of Form component and doesn't appear

Re: tapestry job I created on odesk... can't afford a lot but if you know someone who wants some pocket money...

2007-05-28 Thread Andreas Andreou
dojo.dom.createDocumentFromText can help for client-side validation On 5/29/07, Patrick Moore [EMAIL PROTECTED] wrote: Hi there, I created a odesk job for someone to help me finish a xml translator that will be contributed back to tapestry. I have done a lot of design and a fair amount of

Re: @OnEvent not inherited in T5?

2007-05-28 Thread Jun Tsai
2007/5/28, Howard Lewis Ship [EMAIL PROTECTED]: Classes that will be transformed must be segregated by package, otherwise the class loader will attempt to transform non-components, such as JDK classes and such. Tapestry is under some constraints to do the transformation at runtime (so as not

Re: tapestry job I created on odesk... can't afford a lot but if you know someone who wants some pocket money...

2007-05-28 Thread Patrick Moore
Thanks! -Pat On 5/28/07, Andreas Andreou [EMAIL PROTECTED] wrote: dojo.dom.createDocumentFromText can help for client-side validation On 5/29/07, Patrick Moore [EMAIL PROTECTED] wrote: Hi there, I created a odesk job for someone to help me finish a xml translator that will be

Trigger different behavior by clicking the different button in Tapestry5.0.4

2007-05-28 Thread Allen Guo
Hi All, There are two submit button on html template below. input type=submit t:id=update value=UPDATE/ input type=submit t:id=back value=BACK/ I would like to trigger a defferent method in Page class when clicking each button. So the page class looks like . public void

T5 JSON Output

2007-05-28 Thread Jonathan Glanz
All, I'm working on several async Dojo widgets and I can't seem to figure out how I can have a page that does not need to return any element, I can obviously write straight to a MarkupWriter, but when it goes to render there is no parent element, any ideas? Thoughts? Many thx, Jon

RE: T5 JSON Output

2007-05-28 Thread Jonathan Glanz
Got itjust created a JavaScriptStreamResponse and returned it from onActivate.simple enough -Jon -Original Message- From: Jonathan Glanz [mailto:[EMAIL PROTECTED] Sent: Monday, May 28, 2007 7:52 PM To: Tapestry users Subject: T5 JSON Output All, I'm working on several async

RE: Trigger different behavior by clicking the different button in Tapestry5.0.4

2007-05-28 Thread Ben Sommerville
Hi Allen, You can use public void onSelectedFromUpdate(){...} public void onSelectedFromBack(){...} A couple of things to note: - all the standard form events (prepare, submit, validate, etc) will also be invoked. I believe that selected events will be invoked between prepare and validate -

Re: [T5] Form, and lot of questions

2007-05-28 Thread 蝈蝈龙
Answer 2st, It seems that you have to implement the translator youself Tapestry5.0.4 only support several translators : double,long,integer,string. I just implemented a translator for Date Answer 3rd, Maybe you have to implment it yourself. 2007/5/29, Marcell Manfrin Barbacena [EMAIL

Re: @OnEvent not inherited in T5?

2007-05-28 Thread Howard Lewis Ship
You need to define them as a library, by making a contribution to the ComponentClassResolver service configuration. You can model your contribution on the one for the core library: public static void contributeComponentClassResolver(ConfigurationLibraryMapping configuration) {