Re: [T5] Strange Error: Component xxx does not contain an embedded component with id 'yyy' BUT only outside eclipse/jetty launcher

2008-06-29 Thread Howard Lewis Ship
Most likely, at some point, your IDE moved the first component's .tml file from src/main/java to target/classes. That's just a guess. When things start to act strangely, I start by doing a "jar tf myapp.war" to see what actually got packaged. On Sun, Jun 29, 2008 at 5:31 AM, Michael Zehender <[E

Re: [T5] Strange Error: Component xxx does not contain an embedded component with id 'yyy' BUT only outside eclipse/jetty launcher

2008-06-29 Thread Michael Zehender
Hi, I finally found a solution! After digging into tapestry code to find out why some components aren't transformed at startup I found the source for the problem. Basically this strange error message means: "I can't find the template file for the component xxx". Not that easy to trace the e

Re: [T5] Strange Error: Component xxx does not contain an embedded component with id 'yyy' BUT only outside eclipse/jetty launcher

2008-06-29 Thread Michael Zehender
Hi, I've just created a test case with PageTester and running the test gives the same exception as running the application via maven (I guess, because it uses the same jetty configuration as mvn jetty:run does ...) Is there a way to configure eager class transformations? or how does eclips

Re: [T5] Strange Error: Component xxx does not contain an embedded component with id 'yyy' BUT only outside eclipse/jetty launcher

2008-06-29 Thread Christian Riedel
Hi, I have a similar problem with the same error when I try to develop on Ubuntu Linux. The same code in the same environment (eclipse, tomcat5.5) works fine when I use Windows or OS X... Michael Zehender schrieb: Hi, I've just finished the development of a t5 application, my environment i

[T5] Strange Error: Component xxx does not contain an embedded component with id 'yyy' BUT only outside eclipse/jetty launcher

2008-06-28 Thread Michael Zehender
Hi, I've just finished the development of a t5 application, my environment is maven/eclipse/jetty launcher and inside this environment everything works just fine. However there are some problems outside this environment, especially outside launching jetty via eclipse. If I run mvn jetty:r

Re: T5: strange error

2008-04-09 Thread Angelo Chen
hi, Sometimes an error will drive you crazy and this is the one, finally found the problem, in a package I use 'Register' and its related webapps I use 'register', this works without any problem in OS X, but failed in ubuntu linux, it is obvious error but since OS X did not reject it, it was ther

Re: T5: strange error(form components can't be found if inside a package)

2008-04-09 Thread Angelo Chen
Hi, I found out a little more about this problem, _mm2 is a page that contains the form t:id="import_form", and it is placed inside a package called 'admin', so we have to refer to it "admin/_mm2", this cause the said error in ubuntu but not OS X, if I move _mm2 out to 'pages' package, the error

Re: [T5] strange error

2008-04-09 Thread Joost Schouten (ml)
Salamon, The exception seems to indicate you have a component variable annotated with @Component(id = "itm") in your EditForm.java without declaring t:id="itm" in one of your tags in you template? But it would be helpful to see the whole source with links and action methods. Cheers, Joost

Re: T5: strange error

2008-04-09 Thread Josh Canfield
I don't have any answers for you, but I do have some questions. What version of Tapestry? Are you using the same version of tomcat on your mac and other machines? What are you deploying on the other machines? The war you built on your mac, or rebuilt locally? Is _mm2 the name of your component? Do

Re: T5: strange error

2008-04-09 Thread Angelo Chen
Hi, to be more specific: This error is a little strange, say in OS X, everything works, I can re produce this error only if i change the form ID to id="import_form" but in Ubuntu linux, even the t:id="import_form" will have that error. @Component private Form import_form; < t:form t:id="impo

T5: strange error

2008-04-09 Thread Angelo Chen
Hi, My app works in my development machine, a Mac, but when upload to a ubuntu server i started to get errors like this in some pages: Render queue error in BeginRender[admin/Main:adminlayout.pagelink_2]: Component register/_mm2 does not contain an embedded component with id 'import_form'. i tri

Re: [T5] strange error

2007-12-13 Thread Josh Canfield
Initially I thought that you were a troll, but the company you work for is advertising for developers on this list so maybe you are just ignorant of basic etiquette? I'd like to point out that the list is for people of all skill levels. Occasionally someone new will inadvertently reply to a message

Re: [T5] strange error

2007-12-13 Thread Tapestry240
Uncalled for ? The first reply to this post is uncalled for. Doesn't make any sense here. Howard Lewis Ship wrote: > > That is a completely uncalled-for comment. > > On Dec 13, 2007 10:45 AM, Tapestry240 <[EMAIL PROTECTED]> wrote: >> >> You guys retarded or something? >> >> >> >> >> Zsolt Salam

Re: [T5] strange error

2007-12-13 Thread Howard Lewis Ship
That is a completely uncalled-for comment. On Dec 13, 2007 10:45 AM, Tapestry240 <[EMAIL PROTECTED]> wrote: > > You guys retarded or something? > > > > > Zsolt Salamon wrote: > > > > I't works. thx. > > > > But this is appear another problem: > > > > If I use this html code: > > > > >

Re: [T5] strange error

2007-12-13 Thread Tapestry240
You guys retarded or something? Zsolt Salamon wrote: > > I't works. thx. > > But this is appear another problem: > > If I use this html code: > > t:id="itm_id" >t:translate="stringTrs" >t:value="itm.id" >/> > > In the local properties file I definied th

Re: [T5] strange error

2007-12-13 Thread Zsolt Salamon
Ok. I found how can I validate that field. On Dec 12, 2007, at 18:41, Josh Canfield wrote: Look at your template, you are assigning an id to the TextField component that has a period in it: Try making the t:id="itm_id" Josh On Dec 12, 2007 5:29 AM, Zsolt Salamon <[EMAIL PROTECTED]> wrote:

Re: [T5] strange error

2007-12-12 Thread Zsolt Salamon
I't works. thx. But this is appear another problem: If I use this html code: In the local properties file I definied thoose properties: itm_id-label=ID: itm_id-regexp=\\d{8}-\\d{4}-\\d{3}-\\d{2} itm_id-regexp-message=The given ID is not correct! itm_id-required-message=The ID is missing!

Re: [T5] strange error

2007-12-12 Thread Josh Canfield
Look at your template, you are assigning an id to the TextField component that has a period in it: Try making the t:id="itm_id" Josh On Dec 12, 2007 5:29 AM, Zsolt Salamon <[EMAIL PROTECTED]> wrote: > It's ok. But I don't use any Component with period. > > The > > @Persist > private Tezm itm >

Re: [T5] strange error

2007-12-12 Thread Zsolt Salamon
It's ok. But I don't use any Component with period. The @Persist private Tezm itm is not a Component. It's a simple variable. Or do I know wrong? On Dec 12, 2007, at 14:04, Howard Lewis Ship wrote: Component ids should not have periods in their name. The fact that the parser even allows it

Re: [T5] strange error

2007-12-12 Thread Howard Lewis Ship
Component ids should not have periods in their name. The fact that the parser even allows it is an error. On Dec 12, 2007 1:02 AM, Salamon Zsolt <[EMAIL PROTECTED]> wrote: > Hi I got this error and I don't know why. > > I use 5.0.5 Tapestry. > > Intez is a page object. > EditForm is a Component o

[T5] strange error

2007-12-12 Thread Salamon Zsolt
Hi I got this error and I don't know why. I use 5.0.5 Tapestry. Intez is a page object. EditForm is a Component object. I include a simplified sources: EditForm.java === private StringTranslator stringTrs; public StringTranslator getStringTrs() { if( stringTrs == null ) string