Re: deployment

2008-10-04 Thread Luther Baker
That was it! It makes sense - but I thought there was likely some translation being done there and so never even considered that this time around ... great! Thanks Robert. -Luther On Oct 5, 2008, at 12:43 AM, Robert Zeigler wrote: Almost guaranteed that you're running into casing issues

Re: deployment

2008-10-04 Thread Luther Baker
This is very strange. I just deployed to Jetty and I am getting the same error. If anyone has a second, please feel free to take a look: http://www.effectiveprogramming.com/effprog-web/ Development works just fine [eclipse + ganymede + m2 plugin]. I can run the application locally via (Tomcat / W

Re: deployment

2008-10-04 Thread Robert Zeigler
Almost guaranteed that you're running into casing issues. Windows is case insensitive with respect to filenames. Linux is not. Check to make sure that your template files and your java files have the same casing for their names. That is: On windows: Index.java and index.tml will work, but on li

deployment

2008-10-04 Thread Luther Baker
I've been developing with the m2 maven plugin. I have both Tomcat via WTP and Jetty via mvn jetty:run working within eclipse. I just built the war from the command line via "mvn install" and deployed it to a tomcat webserver and getting an error on the first page: Page Index did not generate any

Re: Tapestry 5.0.15, NetBeans 6.1 and Hibernate ClassNotFound exception

2008-10-04 Thread Estevam Henrique Portela Mota e Silva
Hi, shymon, [jira] Created: (TAP5-227) Hibernate dependencies are incomplete Hibernate dependencies are incomplete - Key: TAP5-227 URL: https://issues.apache.org/jira/browse/TAP5-227 Project: Tapestry 5 Issu

Re: [T5] How to get to ApplocationGlobals and ServletContext

2008-10-04 Thread Filip S. Adamsen
Hi, Sounds like you tried using @Inject and friends to inject the services? This won't work.* You'll need to use constructor injection instead: public class ServiceImpl implements Service { private final AnotherService anotherService; public ServiceImpl(AnotherService anotherService) {

Re: copying a url

2008-10-04 Thread Filip S. Adamsen
Hi, Yes, that is the correct way to do it. Actually, NOT doing it is a violation of the XHTML spec. -Filip On 2008-10-04 20:29, Luther Baker wrote: I am copying a URL to paste into my application: http://www.microsoft.com/downloads/details.aspx?FamilyID=21eabb90-958f-4b64-b5f1-73d0a413c8ef&

Re: [T5] How to get to ApplocationGlobals and ServletContext

2008-10-04 Thread Eric Ma
Thanks for your reply. Actually, I found I cannot inject anything into RequestFilter, not even Logger or any of my custom services. Looks like injection can only happen to components and pages. Eric ApplicationGlobals cannot be injected into RequestFilter. Inject RequestGlobals into it inste

Re: [T5] How to get to ApplocationGlobals and ServletContext

2008-10-04 Thread kranga
ApplicationGlobals cannot be injected into RequestFilter. Inject RequestGlobals into it instead or inject ApplicationStateManager (?) into it. - Original Message - From: "Eric Ma" <[EMAIL PROTECTED]> To: Sent: Friday, October 03, 2008 9:31 AM Subject: [T5] How to get to ApplocationGlob

Re: jetty

2008-10-04 Thread Luther Baker
Thanks .. that works. I wasn't sure what HAD to be in the webdefault.xml file - and since I didn't explicitly download the jetty.jar - I'm still not sure where the embedded MAVEN puts plugins so I just needed to download jetty and look for a complete webdefault.xml file. Once I did that - it was j

Re: jetty

2008-10-04 Thread Sven Homburg
??? add the webdefault.xml to your context path, where your web.xml resists and change the maven jetty plugin configuration like described here http://docs.codehaus.org/display/JETTY/Maven+Jetty+Plugin and search for the webDefaultXml keyword 2008/10/4 Luther Baker <[EMAIL PROTECTED]> > Thanks!

Re: jetty

2008-10-04 Thread Luther Baker
Thanks! Although .. I'm using the the m2 plugin for Jetty and I'm not sure how easily I can find the pieces referenced in that article. -Luther On Sat, Oct 4, 2008 at 1:43 PM, Sven Homburg <[EMAIL PROTECTED]>wrote: > seems you use jetty under windows, so look here > http://docs.codehaus.org/dis

Re: jetty

2008-10-04 Thread Sven Homburg
seems you use jetty under windows, so look here http://docs.codehaus.org/display/JETTY/Files+locked+on+Windows 2008/10/4 Luther Baker <[EMAIL PROTECTED]> > Per some earlier posts: I successfully configured eclipse to run jetty (mvn > jetty:run) and its is blazing! BMW M5 was no lie. > > But havin

jetty

2008-10-04 Thread Luther Baker
Per some earlier posts: I successfully configured eclipse to run jetty (mvn jetty:run) and its is blazing! BMW M5 was no lie. But having one problem. I cannot edit static files ... like CSS files. When I change a style, eclipse pops up and tells me: *Could not write file: ..\\XXX.css. (The reques

copying a url

2008-10-04 Thread Luther Baker
I am copying a URL to paste into my application: http://www.microsoft.com/downloads/details.aspx?FamilyID=21eabb90-958f-4b64-b5f1-73d0a413c8ef&displaylang=en";>downloads for each Tapestry is complaining: The reference to entity "displaylang" must end with the ';' delimiter. Is it correct to rewr

Re: contributeMetaDataLocator ordering....

2008-10-04 Thread Fernando Padilla
We'll read up on this stuff. Thank you. but I have more comments in line. Filip S. Adamsen wrote: Defaults for Symbols are easy. Just contribute your defaults to FactoryDefaults, and let the user override them in ApplicationDefaults: http://tapestry.apache.org/tapestry5/tapestry-ioc/symbols.ht

Re: Recover broken database connection

2008-10-04 Thread Moritz Gmelin
Hi, thanks. This is exactly what I was looking for. Just to note (since it is not mentioned in most sources), I had to also add the following line to my hibernate.cfg.xml to make it work name = "connection .provider_class">org.hibernate.connection.C3P0ConnectionProviderproperty> One ques

Re: contributeMetaDataLocator ordering....

2008-10-04 Thread Filip S. Adamsen
Hi, Defaults for Symbols are easy. Just contribute your defaults to FactoryDefaults, and let the user override them in ApplicationDefaults: http://tapestry.apache.org/tapestry5/tapestry-ioc/symbols.html Configurations are different, and have caused quite a few people problems. There's been ta

Re: Javascript at the bottom of page

2008-10-04 Thread Onno Scheffers
Hi Howard, including Javascript files at the end of the page may increase page-load times, but for me it introduces an unwanted usability issue. I am rendering a couple of questions on a single page and answering them should work for the user without Javascript. If Javascript is enabled, I want t

Re: java.lang.Verify error

2008-10-04 Thread Massimo Lusetti
On Sat, Oct 4, 2008 at 9:33 AM, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > I suspect its a bug in Javassist. I'm on the road with limited > internet access right now. Well thanks for taking time answer my ping, have a nice trip in Europe, i will reping later. Now i got a workaround... it's s

Re: java.lang.Verify error

2008-10-04 Thread Howard Lewis Ship
I suspect its a bug in Javassist. I'm on the road with limited internet access right now. On Fri, Oct 3, 2008 at 12:39 AM, Massimo Lusetti <[EMAIL PROTECTED]> wrote: > On Mon, Sep 29, 2008 at 1:36 PM, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > >> Which exact version of Tapestry? > > Howard do

Re: beanModelSource.create problem

2008-10-04 Thread Howard Lewis Ship
Please read the Tapestry upgrade notes. They're on the web site. On Fri, Oct 3, 2008 at 2:56 PM, Marinus Maris <[EMAIL PROTECTED]> wrote: > Hi, > > All examples I found to create a new beanModelSource use something like > this: > BeanModel model = beanModelSource.create(User.class, false,