I was wondering how the current method of configuration came into existence. I googled against the
lists and didn't see anything particularly enlightening.
IMO the promise of component management is "you ask for it and it's there".
The best way I can imagine to ask for a configuration parameter would be:
@Requirement("my-module.param")
private String configParam = "default value";
If no parameter was defined then "default value" would be the value.
Since I imagine making the component manager inject a String and know that it's a configuration
parameter would be horrible, I would have chosen a workaround by creating an interface and class
which is shared among all consumers of configuration. Something like:
public interface ConfigurationString
{
java.lang.String get();
ConfigurationString default(java.lang.String);
}
Then to get the configuration parameter you need:
@Requirement("my-module.param")
private ConfigurationString myParam = ConfigurationString.default("default value");
Since the benefits of writing 2 lines to get a configuration parameter vs. writing 2 classes seem
obvious, I assume that this idea was reviewed and cast aside and I was wondering why it was decided
that something like this was the wrong approach.
If anyone could shed some light on this, I'd appreciate it.
Thanks
Caleb
Hey devs,
I'd like to vote on changing the rule about promotion of contrib
projects out of sandbox (see
http://contrib.xwiki.org/xwiki/bin/view/Main/WebHome#HPromotingaprojectouto…
), in particular skipping the VOTE part.
The main reason is that contrib projects are not managed nor endorsed
by the XWiki Development team, so it should not be their call to
approve project promotion from sandbox/ to projects/
+1 to remove the need to VOTE, and to let project owners decide for
themselves (either as individual developers, or as team decisions)
when their project is ready to go out of the sandbox (usually this
happens when a first release is needed).
Jerome.
The XWiki development team is pleased to announce the release of XWiki
Enterprise 2.5 and XWiki Enterprise Manager 2.5.
Go grab them at http://www.xwiki.org/xwiki/bin/view/Main/Download
The highlights of this release are:
* support for viewing attached office documents in the wiki
* a new User Directory
* an experimental Extension Manager
* improvements to action menus
* further improvements to the edit UI
* support for activating a special accessibility stylesheet
* more consistent use of user avatars
* an experimental xwiki/2.1 wiki syntax
* a mechanism for inserting custom links in the header
* the introduction of cancelable events
* better external search engine indexing support
* experimental CSRF protection
* experimental Cryptographic Module
For more information, see the Release notes at
http://www.xwiki.org/xwiki/bin/Main/ReleaseNotesXWikiEnterprise25 and
http://www.xwiki.org/xwiki/bin/Main/ReleaseNotesXEM25
Thanks
-The XWiki dev team
Hello XWiki devs,
Sorry for postponing this message and about seeing confusing svn commit
messages!
The partenership between XWiki and Loria(http://www.loria.fr) has produced
an integrated editor (prototype still..) that allows real time
collaboration.
It means that it'll allow multiple users to concurrently edit the same xwiki
page without stepping on each other toes... just like in GoogleWave,
GoogleDocs aso.
Thus I invite you to check it out:
http://svn.xwiki.org/svnroot/xwiki/contrib/projects/wiki30/
give it a try (INSTALL.txt) and let me know WDYT.
Feel free to use the mailing list as well as JIRA:
http://jira.xwiki.org/jira/browse/WIKITHREEDOTO/
for bugs, comments, improvements ...
Best regards and looking forward hearing from you!
--
ing. Flueras Bogdan
Hi,
I'm adding sibling information to the Block API in the rendering module. There are 3 reasons for this:
1) It'll make a lot of existing method implementations much faster since right now in order to insert or find blocks we have to traverse the list/tree.
2) There's a bug in the current implementation for SpaceBlock since it's immutable and we have a single instance of it. Thus when there are several SpaceBlock in a list doing a list.indexOf(SpaceBlock) will always return the first space block even if you're looking for a subsequent space block.
3) I'm implementing a generic emoticon Transformation and I need to get the sibling of a block.
Just shout if you think there's a better way of doing it. I'm implementing it now.
Thanks
-Vincent
Hi all!
Please, is possible to include Velocity script in documents' title of a
1.3.8295 installation? Thanks!
Cheers,
Ricardo
--
Ricardo Rodríguez
CTO
eBioTIC.
Life Sciences, Data Modeling and Information Management Systems
The XWiki development team is pleased to announce the release of XWiki
Enterprise and XWiki Enterprise Manager 2.4.4.
Important bug fixed:
* XWIKI-5542 - Different rights in view and rest mode
* XWIKI-5597 - File upload plugin doesn't strip the file path in IE
* XWIKI-5598 - When importing a XAR, ignoring translated documents
does not work
* XWIKI-5309 - rest api query called by XE JumpToPage causes
performance problem and even deadlock
* XWIKI-5387 - Apache commons URIUtil is potentially unsafe
* XWIKI-4366 - Blockquote is badly parsed when multiple lines are
styled together
* XWIKI-5525 - DBList request level cache is ignored
* XWIKI-5591 - HTML to Wiki Syntax 2 looses color in certain cases
* XWIKI-5599 - In the XAR importer UI, the initial space document
count is wrong whenever that space has translated documents
* XWIKI-5530 - LDAP module: Impossible to login with the same UID
if your DN changes
* XWIKI-5523 - NPE during parsing of a sequence
table/style/paragraphe/paragraphe
* XAANNOTATIONS-32 - Highlight does not disappear after deleting
the last annotation from a page
For more information see the Releases notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise244
and http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXEM244
Thanks
-The XWiki dev team
Hi devs,
I'd like to start releasing 2.5 this Friday, so that users can test the
build until Monday.
Are there still blocking issues that you'd like to fix?
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
Hello guys !
I am starting working on converting the documents in space Panels.
In case anybody is working on it right now, please let me know :)
Stefan