By "core" Edy mean pretty much only the WAR in an empty database from what I understood. AWM is a fully XAR extension technically on which nobody depends except applications created with it AWM.
On Wed, Oct 15, 2014 at 9:58 AM, Jean SIMARD <[email protected]> wrote: > I only have one point for the discussion. > > AppWithinMinute create a page that uses livetable if I recall well. If AWM is > in the core then livetable should be too (but I don't know if AWM is in the > core). > > Thanks, > On Tue, Oct 14, 2014 at 10:52:39PM +0300, Eduard Moraru wrote: >> Hi devs, >> >> While looking into the delete space UI issue [1], we first thought about >> directly using the livetable macro to list the documents to be deleted from >> the space. >> >> Now the problem, as state by Vincent: Can/should we use the livetable >> inside templates? Is the livetable part of xwiki-platform-web or is a >> removable extension (xwiki-platform-livetable)? >> >> Currently, xwiki-platform-livetable only contains the 2 pages that generate >> the JSON for the livetable, but the html markup is generated by the >> #livetable macro (macros.vm) and the livetable.css and livetable.js files >> are all in xwiki-platform-web. >> >> The only case of it being used in templates right now is in rightsUI.vm [2] >> where the macro is not directly called, but the html markup is created by >> hand and the javascript and css is included. >> >> IMO, we should decide on a single approach for the livetable and use it all >> the way. What we do currently can be confusing even for us. >> >> I currently see two directions: >> >> 1) Move the content of xwiki-platform-livetable in a xwiki-platform-web as >> templates so that the livetable is a core feature and that it also works in >> the UI when the database is empty. >> >> 2) Move the livetable macro (as wiki macro?), js (as JSX) and css (as SSX) >> from xwiki-platform-web to xwiki-platform-livetable and see the livetable >> as just another extension/feature that is only present when installed. The >> rightsUI would need a change as well, since it can no longer rely on the >> livetable and probbaly we would also need to find a way to allow extenions >> to contribute filesystem resources. >> >> I thought it would be a good idea to open a discussion on this topic since >> it's currently, AFAIK, a grey area. >> >> WDYT? >> >> Thanks, >> Eduard >> >> ---------- >> [1] http://jira.xwiki.org/browse/XWIKI-8320 >> [2] >> https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-flamingo/xwiki-platform-flamingo-skin/src/main/resources/flamingo/rightsUI.vm >> _______________________________________________ >> devs mailing list >> [email protected] >> http://lists.xwiki.org/mailman/listinfo/devs > > -- > Jean Simard > [email protected] > Research engineer at XWiki SAS > http://www.xwiki.com > Committer on the XWiki.org project > http://www.xwiki.org > _______________________________________________ > devs mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/devs -- Thomas Mortagne _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

