Components and sub packages, how to reference within templates?

2010-08-07 Thread Christian Koller
Hi Josh Many thanks, I'm sure i tried the dot notation several time yesterday and it wasn't working. Today after a fresh system restart a tried again and it works without any problems. On 07.08.2010, at 05:16, Josh Canfield wrote: t:subpackage.myComponent t:id=myComponent startTime='08h 00m'

Re: how to contribute a 'component context' service

2010-08-07 Thread Christophe Cordenier
Hi ! As Howard suggested, you may have a look into TapestryModule, you will see how RenderSupportImpl is built and pushed into the environment (cf. contributeMarkupRenderer) Also as Thiago mentioned it, ComponentResources is not a service, it can be injected into pages because Tapestry 'shadows'

Re: Classloader problem, loader constraint violation

2010-08-07 Thread Christophe Cordenier
Hi ! A few questions Why do wrapped Upload component instance ? What is the complete package of UploadFileWrapper ? 2010/8/6 LLTYK ll...@mailinator.com Any ideas? A search says don't put the wrong things in the base package, but UploadFileWrapper isn't in any tapestry packages.

Re: how to contribute a 'component context' service

2010-08-07 Thread Igor Drobiazko
The exception message is telling you that ComponentResources is not available in the registry. This service is only available for injection in components and pages. On Fri, Aug 6, 2010 at 10:38 PM, Paul Stanton p...@mapshed.com.au wrote: Thiago, By declare your class as a service do you mean

Re: how to contribute a 'component context' service

2010-08-07 Thread Thiago H. de Paula Figueiredo
On Fri, 06 Aug 2010 23:11:52 -0300, Paul Stanton p...@mapshed.com.au wrote: That doesn't seem to work Thiago, or maybe I'm missing something: public class TapestryExtensionImpl implements TapestryExtension { @Inject private Environment environment; @SuppressWarnings(unchecked)

DISCUSSION: Time zones and date selection

2010-08-07 Thread Howard Lewis Ship
This is something that's been nagging me. Although there's a bunch of good options for selecting a date (or date/time) as JavaScript components bult into Tapestry, or available elsewhere ... none of them address the issue of the client and the server operating in different time zones. At the very

Re: Upgrading from 5.1 to 5.2

2010-08-07 Thread Guerin Laurent
Hi Andreas, Thank you for your random choice :-) With Katia (co-author) we are planning to upgrade this little Tapestry demo to 5.2 version soon and add some enhanced components. Thank you for your advices and your pull request on GitHub. Regards, Laurent Guerin Envoyé de mon iPhone Le 7

Re: DISCUSSION: Time zones and date selection

2010-08-07 Thread Christophe Cordenier
Hi Just an add, related issue was reported there https://issues.apache.org/jira/browse/TAP5-841 2010/8/7 Howard Lewis Ship hls...@gmail.com This is something that's been nagging me. Although there's a bunch of good options for selecting a date (or date/time) as JavaScript components bult

Embedded Form component becomes null in Tap 5.2.0-Snapshot

2010-08-07 Thread Shing Hing Man
Hi, I have an embedded form component that is null inside a onSubmit method. It was not the case in Tap 5.1. In .tml : t:form t:id=myForm /t:form In Java page @Component(id = myForm) private Form form; @OnEvent(component = myForm, value = submit) public void submit() { // form

RE : Upgrading from 5.1 to 5.2

2010-08-07 Thread Laurent Guerin
Hi Andreas, With Katia (co-author) we are planning to upgrade this little Tapestry demo to 5.2 version soon and add some enhanced components. Thank you for your advices. Regards, Laurent Guerin Message d'origine De: Andreas Andreou [mailto:andre...@gmail.com] Date: sam.

Re: Upgrading from 5.1 to 5.2

2010-08-07 Thread Laurent Guerin
Hi Andreas, Thank you for your random choice :-) With Katia (co-author) we are planning to upgrade this little Tapestry demo to 5.2 version soon and add some enhanced components. Thank you for your advices and your pull request. Regards, Laurent Guerin Envoyé de mon iPhone Le 7 août 2010

Re: Embedded Form component becomes null in Tap 5.2.0-Snapshot

2010-08-07 Thread Shing Hing Man
Hi, In fact, in ValidationTracker validationTracker = form.getDefaultTracker(); form is not null. It was form.getDefaultTracker() that is returning null (which is not expected). Instead of trying to check and record errors using ValidationTracker, I follow the advice in

T5: How to have .tml/.properties files in the same directory as the .java files

2010-08-07 Thread Patrick Moore
Hi there -- I am working to move our project from T4 to T5. In T4 we are using the tacos component resolver that allows the templates and properties files to be in the same directory. In T5 how can we do the same thing? In T4, I have found that having all 3 files .java, .properties, .tml in the

Re: T5: How to have .tml/.properties files in the same directory as the .java files

2010-08-07 Thread Josh Canfield
I am working to move our project from T4 to T5. In T4 we are using the tacos component resolver that allows the templates and properties files to be in the same directory.  In T5 how can we do the same thing? Hmm... Just do it. The .tml and properties can be in the same package structure as