David Sean Taylor wrote: > >>Does anyone know what this would give if PSML docs were >>stored in the database? I can use it, as long as it's a >>unique "key" for the Portal. >> >> > >Nope, its just the name of the page as in "default.psml" > >>I wonder if we could enhance BasePSMLDocument so there's a >>getID() that gives the unique name portion (or key), which >>would not include the common root or extension. It would >>return in the above example something like >>this: >> >>user\aUser\html\default >> >>This would be a simpler key to work with! >> >> > >I agree with that. >I will be adding a unique id for each PSML document and changing the >marshalling. > >Of course you can specify a resource as >"user/aUser/mediaType/html/page/default" and the profiler will locate >it. >But beware that non-default pages currently have two problems: > >- the links are not properly generated in tabs and controls for >non-default pages >- no security at the page level > >Two features very much needed. >Im hoping to address the first this week. > I'm working into this. I have changes modifying JetspeedTemplateLink to work with group and page resources.
I have also changes in the templates to use jlink, and in a lot of classes so that the "jlink" set by turbine at the request level is effectively used throughout the request. I think we should use JetspeedTemplateLink for all URI related generation (after it is fixed), and deprecate URILookup, DynamicURI and other classes. I'm still testing, but I can commit it. I had to work out this while testing/debugging security stuff. Do you want me to commit? Also, for people using jsp, a bean enveloping JetspeedTemplateLink would definitely be useful. > >David > > > >-- >To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
