Re: Diazo overhead?
Steve McMahon <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.user |
|---|---|
| Message-ID | <CAOqzbgi-0GKvBPoLf8CK4qX+aOTz9nLdQX6LdwY2Pub5C54gTQ@mail.gmail.com> |
Don't those get changed into something like "//*[@id='portal-searchbox']"? Is xpath faster at resolving that than "//*[@class='LSBox']"? On Thu, Nov 6, 2014 at 11:30 AM, David Glick (Plone) <david.glick-z4DKO/[email protected]> wrote: > On 11/6/14, 11:27 AM, Steve McMahon wrote: > > I completely agree with Johannes. The trick to avoiding misery is > > being versatile and fixing things in the right places. The ability to > > fix a view or viewlet template via jbot can save a lot of tedious > > rulemaking in Diazo. > > > > By the way, folks, those "css:..." selectors usually get translated to > > "//..." XPath expressions. > > id-based CSS selectors are okay, though. > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Plone-Users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/plone-users > ------------------------------------------------------------------------------ _______________________________________________ Plone-Users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/plone-users