Hi,
I'm failing at getting a logical condition that check if given XWiki
document has an object of a given class.
Please, could you help me with this?
Thanks!
Ricardo
--
Ricardo RodrÃguez
CTO
eBioTIC.
Life Sciences, Data Modeling and Information Management Systems
Hi devs,
According to the roadmap [
http://enterprise.xwiki.org/xwiki/bin/Main/Roadmap ], XE 2.5M2 should be
released today. However, there have been some significant changes
recently, which might need more time to stabilize. So, what's the status on:
- CSRF
- Office Preview
- Extension manager
Can we release M2 ASAP, or are there still things to do for these two?
There are also some features that didn't make it in so far:
- "Email this page" feature
- User directory
- Export UI
- Dashboards
- Recent changes
- Localization
Are any of these close to being committed? Should we wait a few more
days or do we postpone them to the next release?
For me:
- "Email this page" should be ready in two days
- Export UI: Postpone
- Localization: Postpone
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
Hi,
I've read a number of Jira issues and entries both in users and devs
email list but I was not able to answer this question:
Should I be able to include Velocity code in the document's title of a
***XE 1.3.8295*** (XWiki 1.0 syntax) installation?
I've failed so far. All what I get is the uninterpreted Velocity code.
The same code (really simple examples assigning a value to a variable
and reading it) is being correctly interpreted in the body of the document.
Thanks!
Ricardo
--
Ricardo RodrÃguez
CTO
eBioTIC.
Life Sciences, Data Modeling and Information Management Systems
Hi all, hi Caleb!
Clearly I'm not the only one thinking about replacing words with links!
:-) I've found the Replace Words With Links Snippet
(http://tinyurl.com/37f79qu) and would like to know if it is worth to
get it adapted to a different bunch of requirements, if it could be
generalized or if I'm thinking about a different thing that
requires/deserves a different solution.
Having its origin in what I now consider wrong data model design
(http://ftp.ebiotic.net/onPdr/pescaderiasDataModel.png), I now get pages
including an object of User class (representing a given provider), and
pages containing an object of Species class (representing a product
offered by one of several providers).
Doc1.User.species contents a text string like 'species 01, species 04,
species 05'
Doc2.Species.galicianName contents, for instance, 'species 04'
What I need to do is to replace 'species 04' when rendering
Doc1.User.species with a link to Doc2. And the same with the other
strings if it exist a document with a Doc2.Species.galicianName matching
one of the strings in Doc1.User.species.
I've not a clear idea yet about what must be the right implementation to
"assign items to providers, but I've to deal with what I have for now.
Please, is it worth to adapt the Replace Words With Links Snippet to
this use case? Could it be done in some other simpler way? Could you
point me to any other example that could apply to this case? Thanks!
I'm new to Velocity, to Groovy and in most of the senses to XWiki as well!
By the way: the replacement of strings with links must be done on the
fly. Doing it any other way will complicate the way users create new
pages. It could be not the most efficient and cheap way, but I'm forced
to do it this way until we time and resources to modify the whole model.
Thank you so much for your help!
Ricardo
--
Ricardo RodrÃguez
CTO
eBioTIC.
Life Sciences, Data Modeling and Information Management Systems
Hi devs,
I propose to remove the following templates from
web/standard/src/main/webapp/templates/:
* direct.vm
* hiddenobject.vm
* plaincode.vm
* printheader.vm
* rights.vm
* viewobject.vm
These templates have been last modified in 2005-2008 and don't seem to
be used anywhere (any more) - please let me know if I'm wrong. Some of
them also have security issues that are hard to fix.
I'm +1 for removing them in 2.5M2
WDYT?
Thanks,
Alex
Hi,
I'd like to add interwiki support in XWiki Syntax 2.0 and 2.1.
I'm proposing to add the interwiki definitions to xwiki.properties using the format:
rendering.interWikiDefinitions = alias1=http://url1/
rendering.interWikiDefinitions = aliasN=http://urlN/
Then it's used like this for XWiki Syntax 2.1:
[[interwiki:alias1:path]]
For XWiki Syntax 2.0:
[[path@alias1]]
This generates in HTML:
http://url1/path
I have this already implemented, waiting to commit.
Thanks
-Vincent
Hi!
I'm trying to understand the Query Guide available at
http://xpescaderias.environmentalchange.net/xwiki/bin/view/Species/SpeciesC…
but still failing to get an answer to a problem.
I navigate to a document with this query...
#set($query = ", BaseObject as obj, LargeStringProperty as prop where
doc.fullName = obj.name and obj.className='Users.PdrUserClass' and
obj.id=prop.id.id and prop.id.name='Species' and prop.value like '" +
$species + "' order by doc.fullName asc")
I would like to set the value of $species to the value of the property
GalicianName of the class Species.SpeciesClass instantiated in this
document.
Please, could anybody help me to solve this doubt? Thanks!
Ricardo
--
Ricardo RodrÃguez
CTO
eBioTIC.
Life Sciences, Data Modeling and Information Management Systems
On Sep 29, 2010, at 11:36 PM, lucaa (SVN) wrote:
> Author: lucaa
> Date: 2010-09-29 23:36:42 +0200 (Wed, 29 Sep 2010)
> New Revision: 31474
>
> Added:
> platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-rendering-macro-container/
> platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-rendering-macro-container/pom.xml
> platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-rendering-macro-container/src/main/java/org/xwiki/rendering/internal/macro/container/ColumnStyle.java
> platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-rendering-macro-container/src/main/java/org/xwiki/rendering/internal/macro/container/ColumnsLayoutManager.java
> platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-rendering-macro-container/src/main/java/org/xwiki/rendering/internal/macro/container/ContainerMacro.java
> platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-rendering-macro-container/src/main/java/org/xwiki/rendering/macro/container/ContainerMacroParameters.java
> platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-rendering-macro-container/src/main/java/org/xwiki/rendering/macro/container/LayoutManager.java
> platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-rendering-macro-container/src/test/
> platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-rendering-macro-container/src/test/java/org/xwiki/rendering/RenderingTests.java
> platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-rendering-macro-container/src/test/resources/macrocontainer4.test
> platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-rendering-macro-dashboard/
> platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-rendering-macro-dashboard/pom.xml
> platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-rendering-macro-dashboard/src/main/java/org/xwiki/rendering/internal/macro/dashboard/DashboardMacro.java
> platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-rendering-macro-dashboard/src/main/java/org/xwiki/rendering/macro/dashboard/DashboardMacroParameters.java
> platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-rendering-macro-dashboard/src/test/
> Removed:
> platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-rendering-macro-container/pom.xml
> platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-rendering-macro-container/src/main/java/org/xwiki/rendering/internal/macro/container/ColumnStyle.java
> platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-rendering-macro-container/src/main/java/org/xwiki/rendering/internal/macro/container/ColumnsLayoutManager.java
> platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-rendering-macro-container/src/main/java/org/xwiki/rendering/internal/macro/container/ContainerMacro.java
> platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-rendering-macro-container/src/main/java/org/xwiki/rendering/macro/container/ContainerMacroParameters.java
> platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-rendering-macro-container/src/main/java/org/xwiki/rendering/macro/container/LayoutManager.java
> platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-rendering-macro-container/src/test/java/org/xwiki/rendering/RenderingTests.java
> platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-rendering-macro-dashboard/pom.xml
> platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-rendering-macro-dashboard/src/main/java/org/xwiki/rendering/internal/macro/dashboard/DashboardMacro.java
> platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/xwiki-rendering-macro-dashboard/src/main/java/org/xwiki/rendering/macro/dashboard/DashboardMacroParameters.java
> Modified:
> platform/core/trunk/xwiki-rendering/xwiki-rendering-macros/pom.xml
> Log:
> XWIKI-5544: Create container macro that allows various layouts and decoration for contained objects
> XWIKI-5545: Commit initial version of the dashboard macro, that displays the contents on a columns dashboard
> * Moved the container and dashboard implementations from contrib/sandbox to the platform.
Note for the future: Maybe we'll have a platform/core/xwiki-gadget/ top level module in which we could put these macros.
Thanks
-Vincent
Could be interesting for our gadget impl.
Thanks
-Vincent
Begin forwarded message:
> From: Paul Lindner <lindner(a)apache.org>
> Date: September 29, 2010 8:38:56 PM GMT+02:00
> To: announce(a)apache.org
> Cc: dev(a)shindig.apache.org
> Subject: [ANN] Apache Shindig 2.0.0 released
>
> The Apache Shindig team is proud to announce the release of Apache
> Shindig, version 2.0.0
>
> Apache Shindig is an OpenSocial reference implementation in wide use
> by both social networks and enterprise software.
>
> Version 2.0.0 marks a major upgrade over the last previous stable
> release - 1.0.1. This release supports most of the OpenSocial 1.0
> specification. To accomplish this most of the interfaces have been
> extensively refactored and all of the subsystems have been cleaned up
> and revamped.
>
> Major new features include:
> * Support for Opensocial 0.9 and 1.0 features
> * New javascript osapi
> * OpenSocial Templates
> * Data Pipelining
> * Experimental Support in the shindig-extras module for:
> * Activity Streams Support
> * PubSub-2 support
> * Google Wave gadgets support
> * Opensocial Virtual Currency and Payments
> * Opensocial Groups Support
> * and much more.
>
> Developer Improvements include:
> * Much improved Guice extensibility. It's now much easier to layer
> new functionality
> into Shindig.
> * New shindig-extras module that includes features that are not yet
> standardized
> * All dependencies synced to the latest revisions.
>
> The release is available here:
>
> http://www.apache.org/dyn/closer.cgi/shindig/2.0.0
>
> You can find out more information about Apache Shindig including how
> to contribute at the project website at http://shindig.apache.org/
Hi all,
speaking of module reorganization, I would like to commit the following
layout (which is more consistent wrt the current one where everything is
in the toplevel directory)
xwiki-rest-api (toplevel module)
|
+- xwiki-rest-api-server (was xwiki-rest)
|
+- xwiki-rest-api-model (was xwiki-rest-module)
Let me know if you have any concern about this layout
Thanks,
-Fabio