Re: Basic question about URL rewriting and Tapestry 5

2012-05-08 Thread Julien Martin
> "If at first you don't succeed, >so much for skydiving!" > > > > On 8 May 2012 04:23, Julien Martin wrote: > > Thanks Thiago! > > > > > > 2012/5/7 Julien Martin > > > >> Thanks Thiago! > >> I was not aware o

Re: Basic question about URL rewriting and Tapestry 5

2012-05-07 Thread Julien Martin
Thanks Thiago! 2012/5/7 Julien Martin > Thanks Thiago! > I was not aware of that. > J. > > 2012/5/7 Thiago H. de Paula Figueiredo > > On Mon, 07 May 2012 14:19:24 -0300, Julien Martin >> wrote: >> >> Hi all! >>> >> >> Hi! >>

Re: Basic question about URL rewriting and Tapestry 5

2012-05-07 Thread Julien Martin
about LinkTransformer usage? I read Igor's blog entry but I am still not sure how to use the LinkTransformer for my specific use case... Best regards, Julien. 2012/5/7 Thiago H. de Paula Figueiredo > On Mon, 07 May 2012 12:50:16 -0300, Julien Martin > wrote: > > Hello, >&

Basic question about URL rewriting and Tapestry 5

2012-05-07 Thread Julien Martin
action links could directly render as in 3. i.e. avoid the not so pretty URLs such as : (* http://localhost:8080/ume-web/fr/contactus.actionlink_1/en*) Is that possible through URL rewriting? Perhaps using Igor Drobiazko's rewrite module? Can anyone please provide guidelines? Regards, J

Re: Retrieving and displaying the current locale

2012-05-05 Thread Julien Martin
Thanks a lot! It works. :-) 2012/5/4 derkoe > > Julien Martin wrote > > > > Hello, > > What is the best way to retrieve and display the currently used locale's > > language on a page with tapestry? > > Thanks in advance, > > Julien. > > >

Re: Beginner needs help with writing a mixin

2012-05-04 Thread Julien Martin
Thanks anyway to both of you. I wrote my first tapestry mixin today! Regards, Julien. 2012/5/4 Thiago H. de Paula Figueiredo > On Fri, 04 May 2012 15:41:50 -0300, Robert Zeigler < > robert.zeig...@roxanemy.com> wrote: > > Just thinking out loud... not sure why you need a mixin here in the first

Re: Slightly more involved question about creating mixins with Tapestry

2012-05-04 Thread Julien Martin
fterRender(MarkupWriter writer) { String id = clientElement.getClientId();//NEW Element element = writer.getDocument().getElementById(id);//NEW element.attribute("hreflang", lang); } } Regards, Julien. 2012/5/4 Julien Martin > Hello, > I have the following actionLink in a tml pag

Re: Beginner needs help with writing a mixin

2012-05-04 Thread Julien Martin
("hreflang", lang); } Thanks a lot! Will update the other post/question accordingly. Regards, Julien. 2012/5/4 Thiago H. de Paula Figueiredo > On Fri, 04 May 2012 14:23:16 -0300, Julien Martin > wrote: > > Hello Thiago, >> > > Hi! > > > It does display

Re: Beginner needs help with writing a mixin

2012-05-04 Thread Julien Martin
Hello Thiago, It does display a hreflang but in the "body" tag as follows: It now just boils down to locating the right "a" tag. Any idea? Regards, Julien. P.S. Sorry for writing to you directly Thiago. 2012/5/4 Julien Martin > Hi, > It does not display any &

Re: Is is possible to specify an HREFLANG attribute for an ActionLink?

2012-05-04 Thread Julien Martin
Hello Thiago! Thanks. I am going to look for relevant documentation (about mixins) and do as you advised. Regards, Julien. 2012/5/4 Thiago H. de Paula Figueiredo > On Fri, 04 May 2012 09:36:40 -0300, Julien Martin > wrote: > > Hello, >> > > Hi! > > > I need t

Is is possible to specify an HREFLANG attribute for an ActionLink?

2012-05-04 Thread Julien Martin
Hello, I need to be able to specify the anchor's hreflang attribute for a ActionLink. There does not seem to be any such attribute for the tapestry action link. Is there a workaround? Regards, Julien.

Displaying the current locale's language

2012-05-03 Thread Julien Martin
Hello, I need to be able to specify the anchor's hreflang attribute in a T5 action link. 1. There does not seem to be any such attribute for the tapestry action link. Is there a workaround? 2. I want to use the current locale's language such as "fr" or "en". Here is what I tried: @Inject private

Re: Issue with Maven + Eclipse + Tapestry (slightly off-topic)

2012-02-16 Thread Julien Martin
ition > that all of the src/test/* files are available too. > > I use maven with the m2eclipse plugin which keeps eclipse up-to-date with > your pom.xml. > > On Thursday, 16 February 2012, Julien Martin wrote: > > Hello Chris, > > > > Thanks!

Re: Issue with Maven + Eclipse + Tapestry (slightly off-topic)

2012-02-16 Thread Julien Martin
I don't know the answer for you unfortunately, > > HTH, > Chris > > On 16/02/2012, at 7:13 PM, Julien Martin wrote: > > > Hello all, > > I am interested in getting feedback from those of you who use Maven + > > Eclipse in order to develop Tapestry applications.

Issue with Maven + Eclipse + Tapestry (slightly off-topic)

2012-02-16 Thread Julien Martin
Hello all, I am interested in getting feedback from those of you who use Maven + Eclipse in order to develop Tapestry applications. I recently realized that Tapestry templates located in *src/main/resources*also need to be located in *src/test/resources* in order to be picked up during unit tests.

Re: Does unit testing of Tapestry pages make http calls?

2012-02-15 Thread Julien Martin
200, Julien Martin > wrote: > > Hello, >> > > Hi! > > > I am still trying to resolve my unit testing problems. >> In order to make some progress, I would need to know whether page unit >> testing (see >> http://tapestry.apache.org/**unit-testing-pa

Does unit testing of Tapestry pages make http calls?

2012-02-15 Thread Julien Martin
Hello, I am still trying to resolve my unit testing problems. In order to make some progress, I would need to know whether page unit testing (see http://tapestry.apache.org/unit-testing-pages-or-components.html) makes http calls. Can anyone please let me know? Regards, Julien.

Re: Issue with my T5 unit tests

2012-02-15 Thread Julien Martin
gards, Julien. * * Le 15 février 2012 18:53, derkoe a écrit : > > Julien Martin wrote > > > > Hello, > > > > Hi! > > > Julien Martin wrote > > > > I am trying to make sure that if a user has not accepted the terms and > > conditions, then th

Re: Component xxx does not contain embedded component 'yyy'.

2012-02-14 Thread Julien Martin
Ok Thiago. Will do! Le 14 février 2012 21:29, Julien Martin a écrit : > You're right Thiago. > Thanks. > > > Le 14 février 2012 21:08, Thiago H. de Paula Figueiredo < > thiag...@gmail.com> a écrit : > > On Tue, 14 Feb 2012 17:53:42 -0200, Julien Martin >

Re: Component xxx does not contain embedded component 'yyy'.

2012-02-14 Thread Julien Martin
if you copy your tml files from > your src/main/resources to src/test/resources tree? Are they being > picked up at all in testing? > > On Tue, Feb 14, 2012 at 1:12 PM, Julien Martin wrote: > >> > >> Try removing that field and related tml markup and see if you ge

Re: Component xxx does not contain embedded component 'yyy'.

2012-02-14 Thread Julien Martin
> > Try removing that field and related tml markup and see if you get the >> same error on another field. >> > I am going to try that. > *No luck with this either...*

Re: Component xxx does not contain embedded component 'yyy'.

2012-02-14 Thread Julien Martin
'll come back as soon as I have tried point two...[?] Regards, Julien. > > > > On Tue, Feb 14, 2012 at 7:19 AM, Julien Martin wrote: > > Thanks for replying Jonathan, > > > > Here is the java: > > *package com.bignibou.web.pages.account;* > > * &

Strange errors occurring with my unit tests...

2012-02-14 Thread Julien Martin
Hello, I am trying to implement tests for my Tapestry app. First, I noticed that since upgrading to T5.3.2 and Spring 3.1.0 I get the following stacktrace when Tomcat starts: 14 févr. 2012 17:07:50 org.apache.catalina.startup.ContextConfig checkHandlesTypes ATTENTION: Unable to load class [org.a

Re: Component xxx does not contain embedded component 'yyy'.

2012-02-14 Thread Julien Martin
14 février 2012 13:09, Jonathan Barker a écrit : > The error doesn't look like it has anything to do with testing. > > Java and tml files please. > > On Mon, Feb 13, 2012 at 4:17 PM, Julien Martin wrote: > > up please > > > > Le 13 février 2012 13:07, Julien Ma

Re: Component xxx does not contain embedded component 'yyy'.

2012-02-13 Thread Julien Martin
up please Le 13 février 2012 13:07, Julien Martin a écrit : > Hello, > > I am trying to implement some tapestry tests for my pages. Here is the > test method: > > *@Test* > > * public void test() {* > * String appPackage = "com.bignibou.web";* > * String

Re: Contributing to Tapestry...

2012-02-13 Thread Julien Martin
Hi Thiago, Thanks for the info! Regards, Julien. Le 13 février 2012 20:31, Thiago H. de Paula Figueiredo a écrit : > On Mon, 13 Feb 2012 15:48:37 -0200, Julien Martin > wrote: > > Hello, >> > > Hi! > > > I am a Tapestry user and sometime in the remote future (

Contributing to Tapestry...

2012-02-13 Thread Julien Martin
Hello, I am a Tapestry user and sometime in the remote future (when I am more proficient with T5), I might be interested in contibuting ideas/issue reports or patches to Tapestry (if that is possible of course). I feel I need quite a few more months of T5 experience before being able to contribute

Component xxx does not contain embedded component 'yyy'.

2012-02-13 Thread Julien Martin
mbeddedComponent(InternalComponentResourcesImpl.java:186) at org.apache.tapestry5.internal.transform.InjectComponentWorker$InjectedComponentFieldValueConduit.load(InjectComponentWorker.java:68) ... 69 more The field does exist in the form and it it the first one occurring in the form. Can anyone please help? Regards, Julien Martin.

Re: Igor Drobiazko Book

2012-02-06 Thread Julien Martin
@Igor: great! Good luck with the remaining work. 2012/2/6 Igor Drobiazko > The book is already 350 pages thick. Only few chapters to go. I'm working > hard to finish the remaining chapters as soon as possible. > > On Mon, Feb 6, 2012 at 12:02 PM, Koka Kiknadze <226...@gmail.com> wrote: > > > Hi,

Re: Igor Drobiazko Book

2012-02-06 Thread Julien Martin
Check out Igor's twitter here: https://twitter.com/#!/drobiazko You'll find the latest info about the book. Regards, J. 2012/2/6 Koka Kiknadze <226...@gmail.com> > Hi, > > As I recall, after Manning cancelled Drobiazko's book he was going to > publish it on his own. > > Any news out there? > > I'

Re: OptionGroupModel samples?

2012-02-03 Thread Julien Martin
(new OptionGroupModel[0]));* J. 2012/2/3 Thiago H. de Paula Figueiredo > On Fri, 03 Feb 2012 12:04:54 -0200, Julien Martin > wrote: > > Hello, >> > > Hi! > > > I am still exploring the Tapestry components and I noticed >> the OptionGroupModel interface in

OptionGroupModel samples?

2012-02-03 Thread Julien Martin
Hello, I am still exploring the Tapestry components and I noticed the OptionGroupModel interface in the Tapestry API. I was not able to find any code samples using the OptionGroupModel interface. Could anyone please direct me to some code sample using the OptionGroupModel interface please? Regards,

Re: Question regarding the t:delegate tag in the context of t:checklist component

2012-01-31 Thread Julien Martin
Hi Thiago, I understand better now. Thanks, J. 2012/1/31 Thiago H. de Paula Figueiredo > On Tue, 31 Jan 2012 14:30:14 -0200, Julien Martin > wrote: > > Hello, >> > > Hi! > > There's no t:delegate tag: there's a Delegate component. Any component > ins

Question regarding the t:delegate tag in the context of t:checklist component

2012-01-31 Thread Julien Martin
Hello, I noticed that a t:delegate is used in order to render the individual checkboxes of the t:checklist component. See below: http://tapestry.apache.org/schema/tapestry_5_3.xsd";> * * Can anyone please briefly explain the logic behind this? How can a simple t:delegate tag

Question regarding the internals of t:checklist component..

2012-01-31 Thread Julien Martin
Hello all, I am trying to better understand how T5 components work and I would like to know what the difference is between @Environmental and @Inject and when to use which in the context of component developpement of course. For instance having a look under the hood of t:checklist, I noticed that

Re: Referencing the context path from within Javascript?

2012-01-30 Thread Julien Martin
Thiago H. de Paula Figueiredo > On Mon, 30 Jan 2012 10:49:23 -0200, Julien Martin > wrote: > > I tried using the "@Import stack=" in order to include the jquery >> libraries to no avail. >> I get this: >> Render queue error in SetupRender[Index:**childmin

Re: Referencing the context path from within Javascript?

2012-01-30 Thread Julien Martin
I tried using the "@Import stack=" in order to include the jquery libraries to no avail. I get this: Render queue error in SetupRender[Index:childminderlayout.layout]: No JavaScriptStack with name 'context:/js/jquery-1.6.2.js'. Any one has any clue? Regards, Julien. 201

Re: Referencing the context path from within Javascript?

2012-01-30 Thread Julien Martin
@Thiago: ok will do. 2012/1/30 Thiago H. de Paula Figueiredo > On Mon, 30 Jan 2012 08:14:40 -0200, Julien Martin > wrote: > > I have actually. The issue is how to replace a variable within the js >> file with the appropriate value. >> > > You don't. Make

Re: Referencing the context path from within Javascript?

2012-01-30 Thread Julien Martin
You're right François, It is an issue with the inclusion order of my files. I noticed that the files @Import(ed) by my main layout component come after the files @Import(ed) by the pages that use that layout. It should be the other way around. Is there a way to have more control over that? Julien.

Re: Referencing the context path from within Javascript?

2012-01-30 Thread Julien Martin
T5 error: Function Tapestry.Initializer.bignibou_autocomplete() does not exist. Any idea what I am getting wrong? Regards, J. 2012/1/30 Julien Martin > Thanks Lenny, > Is the dependency to "com.flowlogix.web.services.AssetMinimizer" > necessary? > Is there a "pure-T5&q

Re: Referencing the context path from within Javascript?

2012-01-30 Thread Julien Martin
y-services/src/main/java/com/flowlogix/web/mixins/ColorHighlight.java > > http://code.google.com/p/flowlogix/source/browse/tapestry-services/src/main/resources/com/flowlogix/web/mixins/ColorHighlight.js > > On Jan 30, 2012, at 5:14 AM, Julien Martin wrote: > > > Thanks Franço

Re: Referencing the context path from within Javascript?

2012-01-30 Thread Julien Martin
Le 30 janvier 2012 11:04, François Facon a écrit : > Hi Julien, > > did you try the use of @Import to import your js file as explained > http://tapestry.apache.org/javascript.html? > > Regards > François > > 2012/1/30 Julien Martin : > > Hi Thiago! > > > >

Re: Referencing the context path from within Javascript?

2012-01-30 Thread Julien Martin
').observe('click', hideMe());", container.getClientId()); How do I pass my js file to the addScript method or do I use another method? Regards, Julien. 2012/1/30 Thiago H. de Paula Figueiredo > On Sun, 29 Jan 2012 19:22:31 -0200, Julien Martin > wrote: >

Re: Referencing the context path from within Javascript?

2012-01-28 Thread Julien Martin
2012/1/28 Julien Martin > Hello Thiago, > > It is on a page template. The advice you provide does work. However, I am > realizing I need to concatenate the protocol+host+etc. which is a bit > cumbersome. > > The problem I have is that I don't understand how th

Still struggling with templates...

2012-01-27 Thread Julien Martin
Hello, I would like to have a tag defined in my app main/root template (Layout.tml) and ensure that in each of the *.tml files that use that template or one of its sub-templates, the content of the title is replaced by an appropriate value. I have tried using the xmlns:p="tapestry:parameter" to n

Re: Is there a dedicated page in Tapestry for displaying session content?

2012-01-24 Thread Julien Martin
Thanks Sigbjorn! 2012/1/24 Sigbjørn Tvedt > Have a look at the jumpstart examples. > > > http://jumpstart.doublenegative.com.au/jumpstart/examples/state/displaysessioncontents > > > Sigbjørn Tvedt > > > On 24 January 2012 15:37, Julien Martin wrote: > >

Re: Is there a dedicated page in Tapestry for displaying session content?

2012-01-24 Thread Julien Martin
Thanks Thiago. 2012/1/24 Thiago H. de Paula Figueiredo > On Tue, 24 Jan 2012 12:27:17 -0200, Julien Martin > wrote: > > Hello, >> > > Hi! > > Is there a page used to display *session content* in Tapestry? Which >> would work similarly to *servicestatus* f

Is there a dedicated page in Tapestry for displaying session content?

2012-01-24 Thread Julien Martin
Hello, Is there a page used to display *session content* in Tapestry? Which would work similarly to *servicestatus* for instance? Regards, Julien Martin.

Re: Overriding input type = password for T5 Kaptcha component

2012-01-24 Thread Julien Martin
done! 2012/1/24 Igor Drobiazko > Not yet, but you can fill a JIRA issue. > > On Mon, Jan 23, 2012 at 10:49 PM, Julien Martin wrote: > > > Hello, > > I noticed that the input type of the kaptcha field is *of type password*. > > Is there a way to make it of t

Overriding input type = password for T5 Kaptcha component

2012-01-23 Thread Julien Martin
Hello, I noticed that the input type of the kaptcha field is *of type password*. Is there a way to make it of type input* type="text" instead*? Regards, Julien.

Re: Customizing T5 Kaptcha...

2012-01-23 Thread Julien Martin
is cleaner than polluting the web.xml. Regards, J. 2012/1/23 Thiago H. de Paula Figueiredo > On Mon, 23 Jan 2012 15:40:40 -0200, Julien Martin > wrote: > > Thiago, >> >> I meant are the web.xml init params the only way of specifying the config >> params for the Kapt

Re: t:container vs t:content?

2012-01-23 Thread Julien Martin
Josh, Thanks. I'll take a look at it then. Regards, Julien. 2012/1/23 Josh Canfield > I believe the quickstart app has a layout that does exactly this with > the sidebar content. > > > On Mon, Jan 23, 2012 at 2:02 AM, Julien Martin wrote: > > Thanks Josh, > >

Re: Customizing T5 Kaptcha...

2012-01-23 Thread Julien Martin
Thiago, I meant are the web.xml init params the only way of specifying the config params for the Kaptcha? J. 2012/1/23 Julien Martin > I see. The config param you are pointing to are interesting. How then > would I specify them with T5 Kaptcha? Is it what > @SupportsInformalParame

Re: Customizing T5 Kaptcha...

2012-01-23 Thread Julien Martin
iago H. de Paula Figueiredo > On Mon, 23 Jan 2012 11:25:47 -0200, Julien Martin > wrote: > > Thiago, >> Isn't the image a gif or a jpeg? >> > > Oops, I mesread your question. I'm sorry. > > Tapestry-Kaptcha is just a Tapestry wrapper around this

Re: Group of related t:checkboxes bound to a single variable?

2012-01-23 Thread Julien Martin
Thanks for the reply Thiago. I think I'll try and implement my own component. It is going to be a good and interesting exercise. [?] Regards, J. 2012/1/23 Thiago H. de Paula Figueiredo > On Mon, 23 Jan 2012 09:35:42 -0200, Julien Martin > wrote: > > What if I want to display

Re: Customizing T5 Kaptcha...

2012-01-23 Thread Julien Martin
Thiago, Isn't the image a gif or a jpeg? J. 2012/1/23 Thiago H. de Paula Figueiredo > On Mon, 23 Jan 2012 09:49:07 -0200, Julien Martin > wrote: > > Hello, >> I would like to add a T5 Kaptcha to my website but I also need to >> customize >> it (background c

Customizing T5 Kaptcha...

2012-01-23 Thread Julien Martin
Hello, I would like to add a T5 Kaptcha to my website but I also need to customize it (background color, font color, size, readability). Is this possible with t:kaptcha? If so how? Regards, J.

Re: Group of related t:checkboxes bound to a single variable?

2012-01-23 Thread Julien Martin
What if I want to display the checkboxes in a html table? Do I need to implement my own t5 component? Regards, Julien. 2012/1/23 Thiago H. de Paula Figueiredo > On Mon, 23 Jan 2012 08:59:02 -0200, Julien Martin > wrote: > > Hi Igor! >> > > Hi! > > >

Re: Group of related t:checkboxes bound to a single variable?

2012-01-23 Thread Julien Martin
11:26 PM, Julien Martin wrote: > > > Hello, > > > > I need to have a number of t:checkbox bound to an List of one of my > domain > > classes as follows: > > > > @Property > > @Persist > > List theList; > > > > I would then implement a

Re: adding an Open EntityManager In View filter to my T5 app

2012-01-23 Thread Julien Martin
thanks Giulio 2012/1/23 Giulio Micali > I use the hibernate version, but it should be the same. > Here my config(works with tapestry 5.1.0.5 and 5.2.6, i never tried the > newest version): > > > Hibernate Session In View Filter > > > org.springframework.orm.hibernate3.support.OpenS

Re: t:container vs t:content?

2012-01-23 Thread Julien Martin
u could use t:content for the > same purpose, but is also a handy way to write component > templates that are complete html files without including all that html > in your rendered page. > > > >My Search Component > > >Search Component Preview > >

adding an Open EntityManager In View filter to my T5 app

2012-01-23 Thread Julien Martin
Hello, I would like to add a Spring open EntityManager in view filter to my T5 application. I am not sure about the mapping url pattern. Is the code below correct or will it conflict with TapestrySpringFilter? ** *oemInViewFilter org.springframework.orm.jpa.support.OpenEntityMa

Group of related t:checkboxes bound to a single variable?

2012-01-22 Thread Julien Martin
Hello, I need to have a number of t:checkbox bound to an List of one of my domain classes as follows: @Property @Persist List theList; I would then implement a T5 valueEncoder for MyDomainClass. Is this possible? I have this requirement of binding the checkboxes to a List because I need finer

t:container vs t:content?

2012-01-22 Thread Julien Martin
Hello, I have read the documentation and have had a look into code samples and I am still trying to figure out the difference between *t:container* and * t:content*. Can anyone please advise? Regards, Julien.

Customizing the label for a T5 checklist's checkbox

2012-01-20 Thread Julien Martin
Hello, I need to customize the label for a checklist's checkbox. As of now, I have a JPA entity behind each of the checkbox and it appears that the entity's toString method is used to display the label. However, the entity is only a three way join table that only contains three integer fields. I

Re: Problematic frame: J org.apache.tapestry5.internal.plastic.asm.ClassReader.accept(Lorg/apache/tapestry5/internal/plastic/asm/ClassVisitor;[Lorg/apache/tapestry5/internal/plastic/asm/Attribute;I)V

2012-01-17 Thread Julien Martin
enjdk7 to try again. For me it's in the too hard > basket when there is a jvm that works, and the next openjdk promises to be > better :) > > Cheers > Chris > > On 18/01/2012, at 7:24 AM, Julien Martin wrote: > > > Hello all, > > > > I am a novice Tapest

Problematic frame: J org.apache.tapestry5.internal.plastic.asm.ClassReader.accept(Lorg/apache/tapestry5/internal/plastic/asm/ClassVisitor;[Lorg/apache/tapestry5/internal/plastic/asm/Attribute;I)V

2012-01-17 Thread Julien Martin
Hello all, I am a novice Tapestry user coming from a JSF background and I must admit that T5 is highly productive and very enjoyable to work with. During the course of my recent T5 developments, I came across the following error and I wondered what may have caused it: Can anyone please advise.

Re: Novice user of Tapestry needs help with classpath issue

2012-01-10 Thread Julien Martin
Yes it was just that. J. 2012/1/10 Julien Martin > Thanks Jonathan. > I am realizing it is probably a basic mistake on my part on the Spring > configuration side. > The exception I got was misleading. > Julien. > > 2012/1/10 Jonathan Barker > >> I was noticing

Re: Novice user of Tapestry needs help with classpath issue

2012-01-10 Thread Julien Martin
_template.process(data, out); >out.flush(); >htmlEmail = ((StringWriter) out).toString(); >} catch (IOException e) { > throw new RuntimeException(e); >} catch (TemplateException

Re: Novice user of Tapestry needs help with classpath issue

2012-01-10 Thread Julien Martin
de Paula Figueiredo < > thiag...@gmail.com> wrote: > > > On Tue, 10 Jan 2012 14:46:01 -0200, Julien Martin > > wrote: > > > > Hello, > >> > > > > Hi! > > > > > > *org.apache.tapestry5.runtime.**ComponentEventException: Unable

Re: Novice user of Tapestry needs help with classpath issue

2012-01-10 Thread Julien Martin
n 10, 2012 at 2:19 PM, Thiago H. de Paula Figueiredo > wrote: > > On Tue, 10 Jan 2012 16:09:07 -0200, Julien Martin > wrote: > > > >> Caused by: org.apache.velocity.exception.ResourceNotFoundException: > Unable > >> to find resource 'requ

Novice user of Tapestry needs help with classpath issue

2012-01-10 Thread Julien Martin
Hello, I have an app with: -a web layer (Tapestry5) -a service layer (Spring) -a domain layer (Jpa) I have a mail template located a the root of the my-project-service.jar file (service layer) and it seems that Tapestry imposes its own classpath location which causes the velocity template resolu

Re: Which IDE for Tapestry?? [short and medium term]

2011-11-15 Thread Julien Martin
Thanks all for this interesting information. It is a shame no netbeans plugin exists for Tapestry5... Regards, Julien. 2011/11/15 Robert Zeigler > IntelliJ doesn't do compile on save by default. > > Robert > > On Nov 15, 2011, at 11/1510:10 AM , Julien Martin wrote: > &g

Re: Which IDE for Tapestry?? [short and medium term]

2011-11-15 Thread Julien Martin
Thanks Ville Virtanen, Then why doesn't it work with Intellij? Doesn't it do compile on save too? Regards, J. 2011/11/15 9902468 > NetBeans? > > Superior maven integration + ok ide. > http://netbeans.org/downloads/index.html > > Live class reload is not ide dependent, but requires compile on sa

Re: Which IDE for Tapestry?? [short and medium term]

2011-11-15 Thread Julien Martin
ope that can be useful. > Giulio > > > 2011/11/15 Julien Martin > > > Hello, > > I have tried to use IntelliJ for my beginnings with tapestry and I am > > somewhat frustrated with my experience. I have to redeploy everything > each > > time I make a change

Which IDE for Tapestry?? [short and medium term]

2011-11-15 Thread Julien Martin
Hello, I have tried to use IntelliJ for my beginnings with tapestry and I am somewhat frustrated with my experience. I have to redeploy everything each time I make a change. My question is: will intelliJ soon bring the same tapestry experience as eclipse does or do you advise I switch to eclipe in

Re: Render queue error in BeginRender

2011-10-22 Thread Julien Martin
e it's something > do with T5's JSR-303 but I've never used it myself. > > Dunno if anyone else has any ideas? > > Steve. > > > On 22 October 2011 23:50, Julien Martin wrote: > > Steve, > > It works with @SetupRender > > Thanks!! > > &g

Re: Render queue error in BeginRender

2011-10-22 Thread Julien Martin
round this area - I don't know much about JPA but > I'd check stuff like your transaction boundaries to ensure your obj is > fully inflated after it's loaded. > > Steve. > > On 22 October 2011 21:50, Julien Martin wrote: > > Thanks for your reply Steve, > >

Re: Render queue error in BeginRender

2011-10-22 Thread Julien Martin
etupRender() render phase - see if > it's any different. > > Steve. > > > > On 22 October 2011 20:50, Julien Martin wrote: > > ChildminderAccount > > - > To unsubscribe, e-mail: users-unsubscr

Render queue error in BeginRender

2011-10-22 Thread Julien Martin
Hello, I have rephrased my previous post into this new one. I have the following t5 template:

Re: Render queue error in BeginRender: Class cannot be null

2011-10-22 Thread Julien Martin
up please 2011/10/21 Julien Martin > Hello Thiago, > > Tapestry version: T5.2.6 > > Java class: > *public class InscriptionProfessionnelGardeEnfant {* > * > * > *@Property* > *@Persist* > *@Valid* > *private ChildminderAccount childmind

Fwd: Render queue error in BeginRender: Class cannot be null

2011-10-21 Thread Julien Martin
]: Class cannot be null [at classpath:com/bignibou/web/pages/InscriptionProfessionnelGardeEnfant.tml, line 38] J. 2011/10/21 Thiago H. de Paula Figueiredo On Fri, 21 Oct 2011 17:37:40 -0200, Julien Martin wrote: > > Hello, >> > > Hi! > > > I still get this error the first time the fo

Render queue error in BeginRender: Class cannot be null

2011-10-21 Thread Julien Martin
Hello, I have a slight problem with Tapestry. I have a Tapestry form which is as follows: ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** *

Re: Issue with Tapestry, JPA and JSR 303 annotations.

2011-10-21 Thread Julien Martin
Hello again, I sorted the problem thanks to Igor's help as follows: Thanks, Julien. 2011/10/21 Julien Martin > Igor, > Here is the page: > > *public class InscriptionProfessionnelGardeEnfant {* > * > * > *@Property* > *@Persist* > *@Valid* &

Re: Issue with Tapestry, JPA and JSR 303 annotations.

2011-10-21 Thread Julien Martin
annotation is ignored for null objects. Please post the > entire page class and template. You can also pass childminderAccount to the > Form's validate parameter. > > On Thu, Oct 20, 2011 at 9:53 PM, Julien Martin wrote: > > > Hi Igor, > > > >

Re: Issue with Tapestry, JPA and JSR 303 annotations.

2011-10-21 Thread Julien Martin
up 2011/10/20 Julien Martin > Hi Igor, > > Yes I do use the form component as follows: > > From the class: > *@InjectComponent* > *private Form childminderRegistrationForm;* > * > * > From template: > *clientValidation="none">* > >

Re: Issue with Tapestry, JPA and JSR 303 annotations.

2011-10-20 Thread Julien Martin
h to > identify the problem. You are using the Form component, right? Did you use > the Form's validate parameter? > > On Thu, Oct 20, 2011 at 9:30 PM, Julien Martin wrote: > > > Hello, > > > > I have the following property in one of my Tapestry classe

Issue with Tapestry, JPA and JSR 303 annotations.

2011-10-20 Thread Julien Martin
Hello, I have the following property in one of my Tapestry classes: *@Property* *@Persist* *@Valid* *private ChildminderAccount childminderAccount;* The ChildminderAccount entity extends an abstract Account entity class as follows: * public class ChildminderAccount extends Ac

Re: Tapestry failing to inject a service into a Translator with @Inject?

2011-10-16 Thread Julien Martin
Thanks a lot Martin!! It works much better now. [?] Julien. 2011/10/16 Martin Strand > On Sun, 16 Oct 2011 22:09:14 +0200, Julien Martin > wrote: > > It might have to do with the way I contribute my Translator i.e.: >> >> @Contribute(TranslatorSource.**clas

Re: Tapestry failing to inject a service into a Translator with @Inject?

2011-10-16 Thread Julien Martin
PostcodeTranslator... I don't know how to get round this... Can someone please help? Regards, Julien. 2011/10/16 Julien Martin > Hello, > I have the following Translator implementation: > > package com.bignibou.web.services; > > import com.bignibou.do

Tapestry failing to inject a service into a Translator with @Inject?

2011-10-16 Thread Julien Martin
Hello, I have the following Translator implementation: package com.bignibou.web.services; import com.bignibou.domain.Postcode; import com.bignibou.service.BignibouService; import org.apache.tapestry5.Field; import org.apache.tapestry5.MarkupWriter; import org.apache.tapestry5.Translator; import o

Complex use case about JSR-303, Tapestry, and JPA entity inheritance

2011-10-15 Thread Julien Martin
Hello, I have a JPA entity called ParentAccount that extends an abstract Account entity (see JPA inheritance). I have place the JSR-303 validation constraints in the Account entity. Now I have the following Tapestry class and templates and jsr-303 validation does not seem to work: *public class I

Re: Tapestry component for input multiple=multiple

2011-10-02 Thread Julien Martin
a hidden component and update the component using > javascript. > > regards > Taha > > On Oct 2, 2011, at 9:03 PM, Julien Martin wrote: > > > Hello, > > I have the following html generated by a jQuery plugin i.e. FCBKComplete > > (see below). > > &

Tapestry component for input multiple=multiple

2011-10-02 Thread Julien Martin
Hello, I have the following html generated by a jQuery plugin i.e. FCBKComplete (see below). I am relatively new to Tapestry. Can any of you advise as to what Tapestry component will properly map to the code below. * * * 75003 * * 75002* *75006* ** Thanks in advance, Julien Martin.

Re: Tapestry 5.3 and JQuery

2011-09-01 Thread Julien Martin
so want to checkout > > http://docs.jquery.com/Using_jQuery_with_Other_Libraries#Referencing_Magic_-_Shortcuts_for_jQuery > for > how to write blocks of jquery code without using jQuery namespace all of > the > time. > > cheers > Magnus > > On Wed, Aug 31, 2011 at

Re: Tapestry 5.3 and JQuery

2011-08-31 Thread Julien Martin
Hello again, Do I also need to add the jQuery.noConflict() at the end of the JQuery UI file? J. 2011/8/30 Gunnar Eketrapp > I use jQuery without any hazzle. > > Just remember to call jQuery.noConflict() and to use jQuery instead of $ > since prototype has taken that one. > >

Re: Tapestry 5.3 and JQuery

2011-08-30 Thread Julien Martin
y > > On Aug 30, 2011, at 10:35 AM, Julien Martin wrote: > > > Thank you both. > > I think I once read a comment by Howard Lewis Ship stating that JQuery > would > > become the default JS library in Tapestry 5.3. Is this indeed the case or > > will this b

Re: Tapestry 5.3 and JQuery

2011-08-30 Thread Julien Martin
released (5.3 is beta at the moment). > > Tony > > On Aug 30, 2011, at 10:18 AM, Gunnar Eketrapp wrote: > > > I use jQuery without any hazzle. > > > > Just remember to call jQuery.noConflict() and to use jQuery instead of $ > > since prototype has taken that one

Tapestry 5.3 and JQuery

2011-08-30 Thread Julien Martin
Hello all, Can someone please tell me what are the recommended patterns or frameworks - if any - I should rely if I want to use JQuery together with Tapestry 5? For instance, can I just include the JQuery library in my template pages and go ahead and use JQuery features? Are there pitfalls I should

Re: Specifying several event constants for the @OnEvent annotation?

2011-08-03 Thread Julien Martin
Thank you all. I am then going to use a private method invoked by both public methods. Regards, Julien. 2011/8/3 Howard Lewis Ship > -1 > > Thiago had the right solution. Further, the second event > ("fromMyAjaxEvent") will occur after the "activate" event itself > (assuming that the Ajax-reque

  1   2   >