That's what I thought. There's a bug in the Spindle 1.1 alpha's that allows one to pick pages from libraries.
ie. in Foo.library <page name="FooPage" specification-path="/my/pack/FooPage.page"/> So if I add Foo.library to MyApplication.application and go its Pages tab, then click "Add", the list will show FooPage - /my/pack/FooPage.page as a valid choice. If you choose it this is added to MyApplication: <page name="FooPage" specification-path="/my/pack/FooPage.page"/> which is bad. I need to change the PageChooser dialog to filter out pages defined in Libraries. But, it can only filter out pages in the libraries defined in MyApplication. Pages defined in other libraries that are on the classpath but not yet added to MyApplication will still show up. As always, if you change MyApplication (say add a Library) but don't save it, Spindle will not see the changes. Geoff ----- Original Message ----- From: "Howard M. Lewis Ship" <[EMAIL PROTECTED]> To: "Geoff Longman" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, October 02, 2002 6:51 AM Subject: Re: [Tapestry-developer] How in the world do you use a library > Nope, that is not valid syntax. > > It means the application can have <library id="CULibrary" ... > > And a parameter to IRequestCycle.getPage() can be "CULibrary:LowRes". > > Or the application could use a PageLink can specify CULibrary:LowRes as the > page name. > > ----- Original Message ----- > From: "Geoff Longman" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Sent: Wednesday, October 02, 2002 6:34 AM > Subject: Re: [Tapestry-developer] How in the world do you use a library > > > > Howard, does this mean that > > > > <page name="X" specification-path="CULibrary:LowRes"/> > > > > is valid in the application spec? > > > > If so, I missed this one. > > > > Upon confirmation, I will put that in for Spindle 1.1beta1 > > > > Geoff > > > > >The id you provide, CULibrary, is a prefix. > > > > >You need to use "CULibrary:LowRes" instead of > > >just "LowReas". Bare names are expected to be directly > > >in the application, or provided by the framework. > > >Qualified names come from a library. > > > > Geoffrey Longman > > Intelligent Works Inc. > > > > > > > > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Tapestry-developer mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/tapestry-developer
