Re: Replacing templates:surround for webapps
Ralph Corrigan <[email protected]> Thu, 30 May 2024 23:42:40 +0100
| Newsgroups | gmane.text.xml.exist |
|---|---|
| Message-ID | <[email protected]> |
Hi Joe, thanks for getting back to me. Yes, we're currently using shared-resources - noted that this needs updating too! As for the deprecation message it's here: https://exist-db.org/exist/apps/doc/templating#surround Cheers Ralph On 30/05/2024 21:32, Joe Wicentowski wrote: > Hi Ralph, > > Are you using the templating module from the shared-resources package? > Or are you using the newer HTML templating module? > > - shared-resources: https://github.com/eXist-db/shared-resources > - templating: https://github.com/eXist-db/templating > > Also, could you please share the URL to the page you're looking at that > mentions the deprecation? > > Thanks, > Joe > > On Thu, May 30, 2024 at 12:25 PM Ralph Corrigan <[email protected]> > wrote: > >> Hi all, >> >> We've recently updated (long-overdue) our eXist instances, which has >> prompted me to check the latest documentation. I notice that the >> template:surround is deprecated, but I'm not clear about what it >> should be replaced with. >> >> Our current apps use templates:surround with pointers to >> templates/_picktherelevantpage_.html. Templates:surround is still >> declared in the updated shared resources templates.xql (assuming that >> has updated correctly) so there's no problem for now, but as we're >> building a new app at present it would be good to use whatever the new >> preferred method is. Any thoughts? >> >> Thanks >> >> Ralph _______________________________________________ >> Exist-open mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/exist-open _______________________________________________ Exist-open mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/exist-open