Re: [very OT] jetty6:run running slow?

2006-05-12 Thread Howard Lewis Ship
I was under the impression that the Jetty 6 plugin for maven monitored deployed files and performed a redepoy when they changed. Perhaps it is this monitoring that is slowing it down? More a question of maven or jetty folks, I think. On 5/12/06, Dan Adams <[EMAIL PROTECTED]> wrote: I used to ru

RE: Tapernate-Example HiveMindAutowireWorker Problem

2006-05-12 Thread James Carman
Autowiring is a feature of HiveMind. HiveMind will autowire your constructor params and properties if it can. -Original Message- From: Tat leung [mailto:[EMAIL PROTECTED] Sent: Friday, May 12, 2006 8:55 PM To: Tapestry users Subject: Re: Tapernate-Example HiveMindAutowireWorker Problem

Re: Tapernate-Example HiveMindAutowireWorker Problem

2006-05-12 Thread Tat leung
I am just wondering. Should the autowiring be part of HiveMind? It seems very useful feature for case where Tapestry is no there (not that anyone should). James Carman wrote: It's already integrated into Tapestry 4.1 (due out soon). So, everyone can enjoy auto-wiring! -Original Messag

Validation BEFORE submit

2006-05-12 Thread Theo vN
Hi Our project requires multiple stages of validation of data editable in a form. At first there is a draft stage - all submitted fields should be validated but not all required fields have to be filled in - all submitted fields must be persisted to database. Second stage requires more in depth

Section 508 Compliance

2006-05-12 Thread Mark Stang
All, Has anyone had any experience with using Tapestry in a Section 508 complicant application? thanks, Mark

RE: JCaptcha Integration...

2006-05-12 Thread James Carman
Sure thing: http://www.javaforge.com/proj/summary.do?proj_id=220 -Original Message- From: Paul Cantrell [mailto:[EMAIL PROTECTED] Sent: Friday, May 12, 2006 3:52 PM To: Tapestry users Subject: Re: JCaptcha Integration... Cool! Can you post a link? http://tapestry.javaforge.com/ is comi

Re: JCaptcha Integration...

2006-05-12 Thread Paul Cantrell
Cool! Can you post a link? http://tapestry.javaforge.com/ is coming up blank from here. On May 12, 2006, at 1:22 PM, James Carman wrote: The application has changed a bit. I've now made the JCaptcha stuff a component library. The example application uses it as a component library. The cod

RE: JCaptcha Integration...

2006-05-12 Thread James Carman
The application has changed a bit. I've now made the JCaptcha stuff a component library. The example application uses it as a component library. The code is available in the tapestry-javaforge project as a submodule. -Original Message- From: James Carman [mailto:[EMAIL PROTECTED] Sent:

Re: Creating a custom component

2006-05-12 Thread Bryan Lewis
It looks like something unrelated to your custom component or to Tapestry at all. The stack trace is entirely inside the Tomcat code. I'd try a clean rebuild of the app and restarting Tomcat, deleting the old webapps and work trees to make sure it's starting with a clean slate. If that didn't fi

RE: Does my "dynamic" component violate Tapestry's static structure?

2006-05-12 Thread Mark Stang
No, this is fine. This is what Howard recommended when we asked him. However, now he calls our app "mutant". It is possible to have only one page with all of your components and another to swap them in and out. One issue is that we have 130 "components" and I think when we create a new sess

Re: [very OT] jetty6:run running slow?

2006-05-12 Thread Martin Strand
It sure is. I use it all the time for development since Tomcat startup is twice as fast with Mustang. On Fri, 12 May 2006 18:37:01 +0300, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: Not advisable because of the very beta status of course, but the latest 1.6jre beta is leaps and bounds faster

Re: Creating a custom component

2006-05-12 Thread Rui Pacheco
Tomcat prints this: May 12, 2006 5:03:52 PM org.apache.catalina.startup.HostConfigcheckResources INFO: Undeploying context [/universal-agc] May 12, 2006 5:03:52 PM org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessorprocessChildren SEVERE: Exception invoking periodic operation: jav

Testing pages

2006-05-12 Thread Rob Dennett
First of all, thanks to everyone for helping answer all my stupid newbie questions about testing. I have been trying to formulate a testing strategy to enable TDD with Tapestry. I try to decouple anything that is not directly view-related from the page class and the resulting components are ea

Re: Creating a custom component

2006-05-12 Thread Paul Cantrell
A complete stack track trace might help; "NullPointerException" by itself doesn't say much On May 12, 2006, at 10:31 AM, Rui Pacheco wrote: Hi all again I am trying to create a custom component for my menu, header and footer. I created a Menu.html whose content is a simple html table.

JCaptcha Integration...

2006-05-12 Thread James Carman
Just for fun (man I need a life), I tried out integrating JCaptcha (jcaptcha.sourceforge.net) into my "tapernate-example" application. If anyone's interested in the code, it's available via SVN at: www.carmanconsulting.com/svn/public/tapernate-example It defines a new validator type for input fi

Does my "dynamic" component violate Tapestry's static structure?

2006-05-12 Thread Marcus Matèrn
I've created a dynamic component which renders other components based on a "wiki" format. This works in a similar way as Block and RenderBlock and I have not experienced any problems with it. Is this dynamic rendering allowed in Tapestry or does it violate Tapestry's static structure? The core fu

Re: [very OT] jetty6:run running slow?

2006-05-12 Thread Jesse Kuhnert
Not advisable because of the very beta status of course, but the latest 1.6jre beta is leaps and bounds faster than any current <= 1.5 jre I've used. On 5/12/06, Dan Adams <[EMAIL PROTECTED]> wrote: I used to run my add in jetty 5 using the jettylauncher plugin. Now that my project is in maven

Creating a custom component

2006-05-12 Thread Rui Pacheco
Hi all again I am trying to create a custom component for my menu, header and footer. I created a Menu.html whose content is a simple html table. I created a .jwc file in my WEB-INF directory with the following content: But when I deploy my application, Tomcat starts dumping this error in an

[very OT] jetty6:run running slow?

2006-05-12 Thread Dan Adams
I used to run my add in jetty 5 using the jettylauncher plugin. Now that my project is in maven I'm using jetty6:run to run the app and it's noticably slower. I think that the plugin is running in debug mode or something. Anyone know a way to speed this up? -- Dan Adams Software Engineer Interact

Outlook conversation threading

2006-05-12 Thread Robert Walker
I had my Outlook folder for the Tapestry list grouped by conversation, which used to work fine, but starting about 5 days ago, most emails now come in under "Conversation: (none)". Anyone else noticing this problem? Any ideas what to do about it? Robert J. Walker -

Re: Testing pages

2006-05-12 Thread Kent Tong
Rob Dennett tmit1.org> writes: > Property bugService > should be read-only; remove method public abstract void > view.Browse.setBugService(model.services.BugService). > > How do you get around this? Sorry that I've using this approach to unit test T3 pages only. I don't know why @InjectObject

Re: Named parameters in DirectLink

2006-05-12 Thread Paul Field
According to the documenation, Ognl allows you to create maps. The syntax is: #{ "foo" : "foo value", "bar" : "bar value" } So you could construct a Map for the direct link parameter. Then you could write a SqueezeAdaptor for Maps. It could use the DataSqueezer to squeeze the values (and keys?

Re: Strange situation with ognl

2006-05-12 Thread Brian K. Wallace
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'll open up an issue on it to go to WARN. Possibly change the message to add that it'll continue without it so users don't get concerned if they really don't have one. James Carman wrote: > Good call. But, I'd vote for WARN. In tapestry 4.0, it's n

RE: Strange situation with ognl

2006-05-12 Thread James Carman
Good call. But, I'd vote for WARN. In tapestry 4.0, it's never going to find your page classes without a .application file to tell it what package they're in right? Not many applications can go without creating at least one custom page class. So, I'd say 99% of all "real" applications should ha

Re: Strange situation with ognl

2006-05-12 Thread Brian K. Wallace
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 When Tapestry can't find the application specification, it currently outputs a DEBUG message indicating as much ("Could not find an application specification for application servlet "). Given the ramifications (in a lot of situations) of not finding th

Re: Strange situation with ognl

2006-05-12 Thread Rui Pacheco
Many thanks for the help! On 5/12/06, James Carman <[EMAIL PROTECTED]> wrote: I told you it would be something simple. Happy Tapestrying! :-) -Original Message- From: Rui Pacheco [mailto:[EMAIL PROTECTED] Sent: Friday, May 12, 2006 9:09 AM To: Tapestry users Subject: Re: Strange situ

RE: Strange situation with ognl

2006-05-12 Thread James Carman
I told you it would be something simple. Happy Tapestrying! :-) -Original Message- From: Rui Pacheco [mailto:[EMAIL PROTECTED] Sent: Friday, May 12, 2006 9:09 AM To: Tapestry users Subject: Re: Strange situation with ognl The name of the .application file was wrong. I changed it, redep

Re: Strange situation with ognl

2006-05-12 Thread Rui Pacheco
The name of the .application file was wrong. I changed it, redeployed the application and now everything works like a charm. On 5/12/06, James Carman <[EMAIL PROTECTED]> wrote: Is the page template called Abreviatura.html? Sorry for the silly questions, but this is going to turn out to be some

RE: Strange situation with ognl

2006-05-12 Thread James Carman
Is the page template called Abreviatura.html? Sorry for the silly questions, but this is going to turn out to be something simple. I'm sure of it. Is the .application file named the same thing as your servlet in your web.xml file? -Original Message- From: Rui Pacheco [mailto:[EMAIL P

Re: Strange situation with ognl

2006-05-12 Thread Rui Pacheco
The class name is pt.textoeditores.universal.agc.pages.Abreviaturas The content of the file is http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd";> On 5/12/06, James Carman <[EMAIL PROTECTED]> wrote: What's the fully-qualified name of the class and can you paste in your .applicat

Named parameters in DirectLink

2006-05-12 Thread Oscar Picasso
Hi, Is there a way to dynamically use named parameters in a Direct Link? Let's say that sometimes I can have the parameters name=..., age=... other times name=..., city=..., country=... or even state=..., gender=... and so on. We can have many combinaisons like the above so I cannot simply rel

RE: Strange situation with ognl

2006-05-12 Thread James Carman
What's the fully-qualified name of the class and can you paste in your .application file contents? -Original Message- From: Rui Pacheco [mailto:[EMAIL PROTECTED] Sent: Friday, May 12, 2006 8:57 AM To: Tapestry users Subject: Re: Strange situation with ognl The .html is at the root of th

Re: Strange situation with ognl

2006-05-12 Thread Rui Pacheco
The .html is at the root of the web application where it usually is. I renamed the package that holds all the classes, but I've changed the path on the .application file. How can I make it see the new classes? On 5/12/06, James Carman <[EMAIL PROTECTED]> wrote: Tapestry is generating a subclas

RE: Strange situation with ognl

2006-05-12 Thread James Carman
Tapestry is generating a subclass of BasePage for your page. It's not using your page with the getters/setters. Did you move your .html file? -Original Message- From: Rui Pacheco [mailto:[EMAIL PROTECTED] Sent: Friday, May 12, 2006 8:32 AM To: Tapestry users Subject: Re: Strange situati

Re: Strange situation with ognl

2006-05-12 Thread Rui Pacheco
Ok, but I dont know how the whole page will look like. Here it goes: An exception has occurred. You may continue by *restarting * the session. org.apache.tapestry.BindingException Unable to read OGNL expression '' of [EMAIL PROTECTED]: $BasePage_2.model binding: ExpressionBinding[Abreviatura

RE: Strange situation with ognl

2006-05-12 Thread James Carman
I don't think attachments will make it through to the list. Can you just paste it in? _ From: Rui Pacheco [mailto:[EMAIL PROTECTED] Sent: Friday, May 12, 2006 8:07 AM To: Tapestry users Subject: Re: Strange situation with ognl I attached the page. On 5/12/06, Schulte Marcus <[EM

Re: Strange situation with ognl

2006-05-12 Thread Rui Pacheco
I attached the page.On 5/12/06, Schulte Marcus <[EMAIL PROTECTED]> wrote: can you post the exception-stack you're getting?> -Original Message-> From: Rui Pacheco [mailto:[EMAIL PROTECTED]]> Sent: Friday, May 12, 2006 12:51 PM > To: Tapestry users> Subject: Strange situation with ognl>>> Hi

RE: Tapernate-Example HiveMindAutowireWorker Problem

2006-05-12 Thread James Carman
It's already integrated into Tapestry 4.1 (due out soon). So, everyone can enjoy auto-wiring! -Original Message- From: Mark Lehmacher [mailto:[EMAIL PROTECTED] Sent: Friday, May 12, 2006 7:46 AM To: Tapestry users Subject: RE: Tapernate-Example HiveMindAutowireWorker Problem My answer

RE: Strange situation with ognl

2006-05-12 Thread Schulte Marcus
can you post the exception-stack you're getting? > -Original Message- > From: Rui Pacheco [mailto:[EMAIL PROTECTED] > Sent: Friday, May 12, 2006 12:51 PM > To: Tapestry users > Subject: Strange situation with ognl > > > Hi all > > I have a class extending BasePage. That class declares a

RE: Tapernate-Example HiveMindAutowireWorker Problem

2006-05-12 Thread Mark Lehmacher
My answer might be a little late in coming but I thought I'd let you know that the fix changed my problem as well! Thanks! The autowire-worker sure is *very* useful because it reduces xml clutter, which in my book is a good thing. It would probably make sense to move it into a seperate project, l

Strange situation with ognl

2006-05-12 Thread Rui Pacheco
Hi all I have a class extending BasePage. That class declares a get/set for Model, Model being the name of my value object. I also have a private instance of Model on that class to use with pageBeginRender and to handle data received by the form. On my html I have a normal TextField named "greas