Return-Path: X-Original-To: apmail-tapestry-users-archive@www.apache.org Delivered-To: apmail-tapestry-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6A71B938C for ; Wed, 2 Nov 2011 13:57:54 +0000 (UTC) Received: (qmail 7134 invoked by uid 500); 2 Nov 2011 13:57:53 -0000 Delivered-To: apmail-tapestry-users-archive@tapestry.apache.org Received: (qmail 7115 invoked by uid 500); 2 Nov 2011 13:57:53 -0000 Mailing-List: contact users-help@tapestry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tapestry users" Delivered-To: mailing list users@tapestry.apache.org Received: (qmail 7105 invoked by uid 99); 2 Nov 2011 13:57:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Nov 2011 13:57:53 +0000 X-ASF-Spam-Status: No, hits=2.5 required=5.0 tests=HTML_FONT_FACE_BAD,HTML_MESSAGE,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of tnelson@starpoint.com designates 64.190.10.4 as permitted sender) Received: from [64.190.10.4] (HELO mail.starpoint.com) (64.190.10.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Nov 2011 13:57:49 +0000 X-Virus-Scanned: amavisd-new at starpoint.com Received: from mail.starpoint.com ([127.0.0.1]) by localhost (mail.starpoint.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ejsWKMISKERx for ; Wed, 2 Nov 2011 09:57:27 -0400 (EDT) Received: from tnelson-imac.starpoint.com (tnelson-imac.starpoint.com [192.168.38.68]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.starpoint.com (Postfix) with ESMTPSA id 271233023435 for ; Wed, 2 Nov 2011 09:57:27 -0400 (EDT) From: Tony Nelson Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: multipart/alternative; boundary="Apple-Mail=_78B4D4CC-FB72-4205-A6BB-3FFEB46EBA4A" Subject: Re: pagecatalog and servicestatus Date: Wed, 2 Nov 2011 09:57:27 -0400 In-Reply-To: <23253436-F4D9-4C18-868C-EC0E1F92043E@me.com> To: "Tapestry users" References: <23253436-F4D9-4C18-868C-EC0E1F92043E@me.com> Message-Id: X-Mailer: Apple Mail (2.1251.1) --Apple-Mail=_78B4D4CC-FB72-4205-A6BB-3FFEB46EBA4A Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii For what it's worth, I seem to be having the same problem. I assumed it = was something in my authentication filter redirecting the browser back = to my Index page, until I happened to read this ( = http://tapestry.apache.org/error-page-recipe.html ) yesterday: An issue with an application that has a root Index page is that any = invalid path, which would normally generate a 404 error, is instead = routed to the Index page (because the invalid path looks like page's = activation context). I see PageCatalog and ServiceStatus as well.. [INFO] TapestryModule.ComponentClassResolver Available pages (106): (blank): = com.starpoint.instihire.pages.Index ExceptionReport: = org.apache.tapestry5.corelib.pages.ExceptionReport Index: = com.starpoint.instihire.pages.Index Logout: = com.starpoint.instihire.pages.Logout PageCatalog: = org.apache.tapestry5.corelib.pages.PageCatalog PropertyDisplayBlocks: = org.apache.tapestry5.corelib.pages.PropertyDisplayBlocks PropertyEditBlocks: = org.apache.tapestry5.corelib.pages.PropertyEditBlocks ServiceStatus: = org.apache.tapestry5.corelib.pages.ServiceStatus Tony On Nov 2, 2011, at 12:52 AM, Chris Collins wrote: > Just to add to this (which I am sure points to the fact I am doing = something really stupid) I want to give a bit of a background and a = validation (or an attempt at a validation). >=20 > My process embeds jetty and adds the tapestry filter through web.xml = (but I am not using a standard tomcat or jetty "runner"). >=20 > I have a few of my own T5 pages that render fine though they are = pretty basic (components and pages). >=20 > just to take my code out of the equation I took recent project Barry = Books posted for twitter-bootstrap earlier this week. I added to his = little project's web.xml: >=20 > > tapestry.production-mode > false > >=20 > Then I tried the demo and this particular path: >=20 > http://localhost:8080/tapestry-bootstrap/servicestatus >=20 > not much exciting happened.=20 >=20 > Thanks for your help and sorry this is probably described in large = bold text on some main page under "read this first" :-} >=20 > Best >=20 > C >=20 > On Nov 1, 2011, at 9:24 PM, Chris Collins wrote: >=20 >> PageCatalog: org.apache.tapestry5.corelib.pages.PageCatalog >> PropertyDisplayBlocks: = org.apache.tapestry5.corelib.pages.PropertyDisplayBlocks >> PropertyEditBlocks: = org.apache.tapestry5.corelib.pages.PropertyEditBlocks >> ServiceStatus: org.apache.tapestry5.corelib.pages.ServiceStatus >>=20 >> package-info: org.apache.tapestry5.corelib.pages.package-info >>=20 >>=20 >> dont know if all these are supposed to be addressable in a meaningful = way. =20 >> package-info blows a classformaterror >> propertyeditblocks gives me "
" >> propertydisplayblocks gives me a runtimeexception because a file = coudlnt be found during render time >> pagecatalog gives me a 404 >> servicestatus gives me a 404 >>=20 >>=20 >>=20 >>=20 >> On Nov 1, 2011, at 8:57 PM, Steve Eynon wrote: >>=20 >>> When you start up T5 it lists all the available page class files = with >>> their corresponding URLs, e.g: >>>=20 >>> ComponentClassResolver - Available pages: >>> ServiceStatus: org.apache.tapestry5.corelib.pages.ServiceStatus >>> PageCatalog: org.apache.tapestry5.corelib.pages.PageCatalog >>>=20 >>> Do you see the pages listed? >>>=20 >>> Steve. >>>=20 >>>=20 >>>=20 >>>=20 >>> On 2 November 2011 11:21, Chris Collins wrote: >>>> I dont think that is the case. I had already verified that = exception reporting was working. >>>>=20 >>>> I programmatically set tapestry.production-mode=3Dfalse in one of = my AppModule's (I didnt do it via the web.xml): >>>>=20 >>>> .... >>>> configuration.add(SymbolConstants.PRODUCTION_MODE, "false"); >>>> ..... >>>>=20 >>>>=20 >>>> I have a page I test to see if this property is set: >>>>=20 >>>> @Inject >>>> @Symbol(SymbolConstants.PRODUCTION_MODE) >>>> @Property(write =3D false) >>>> private boolean productionMode; >>>>=20 >>>> ..... >>>>=20 >>>> >>>> Production Mode >>>> >>>> Not production mode still >>>> >>>> >>>>=20 >>>>=20 >>>> it says it is in production mode or not (it says not production = mode). >>>>=20 >>>> Further I have in a test page something that forces the exception = reporting: >>>>=20 >>>> void onActionFromFail () >>>> { >>>> throw new RuntimeException("Failure inside action event = handler."); >>>> } >>>>=20 >>>> It blows a lovely exception report page (I love it!!!!). >>>>=20 >>>> C >>>>=20 >>>> On Nov 1, 2011, at 4:26 PM, Howard Lewis Ship wrote: >>>>=20 >>>>> The pages are "invisible" when not in development mode, so the = most >>>>> likely case is that you are not actually running in development = mode. >>>>>=20 >>>>> On Tue, Nov 1, 2011 at 12:29 PM, Chris Collins >>>>> wrote: >>>>>> I am a novice at T5 so apologize for what is surely a stupid = question. >>>>>>=20 >>>>>> I am trying out 5.3-rc-1. >>>>>>=20 >>>>>> I am trying to get either the pagecatalog or servicestatus pages = such: >>>>>>=20 >>>>>> http://localhost:/ >>>>>=20 >>>>> By default, the pages are only accessible from localhost. This = should >>>>> work ... but possibly something else is going on. What is your dev >>>>> environment (OS, etc.)? >>>>>=20 >>>>>>=20 >>>>>> I can render any of my pages but neither of these pages seem to = be found. I am running in developer mode. Any clues on my stupidity? >>>>>=20 >>>>> I'd phrase it as "Any idea what I'm missing." There's a lot going = on >>>>> in Tapestry (almost, too much) , and in all the tiers of client = web >>>>> browser and HTTP between you and it, so don't jump to the = conclusion >>>>> that it's you ... or that it's Tapestry. >>>>>=20 >>>>>>=20 >>>>>>=20 >>>>>> Best >>>>>>=20 >>>>>> C >>>>>> = --------------------------------------------------------------------- >>>>>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org >>>>>> For additional commands, e-mail: users-help@tapestry.apache.org >>>>>>=20 >>>>>>=20 >>>>>=20 >>>>>=20 >>>>>=20 >>>>> -- >>>>> Howard M. Lewis Ship >>>>>=20 >>>>> Creator of Apache Tapestry >>>>>=20 >>>>> The source for Tapestry training, mentoring and support. Contact = me to >>>>> learn how I can get you up and productive in Tapestry fast! >>>>>=20 >>>>> (971) 678-5210 >>>>> http://howardlewisship.com >>>>>=20 >>>>> = --------------------------------------------------------------------- >>>>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org >>>>> For additional commands, e-mail: users-help@tapestry.apache.org >>>>>=20 >>>>=20 >>>>=20 >>>> = --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org >>>> For additional commands, e-mail: users-help@tapestry.apache.org >>>>=20 >>>>=20 >>>=20 >>> = --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org >>> For additional commands, e-mail: users-help@tapestry.apache.org >>>=20 >>=20 >>=20 >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org >> For additional commands, e-mail: users-help@tapestry.apache.org >>=20 >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org > For additional commands, e-mail: users-help@tapestry.apache.org >=20 --Apple-Mail=_78B4D4CC-FB72-4205-A6BB-3FFEB46EBA4A--