On 02/08/2013 05:40 PM, Vincent Massol wrote:
On Jan 17, 2013, at 11:52 AM, Eugen
Colesnicov<ecolesnicov(a)gmail.com> wrote:
Thanks, but unfortunately this is so hard for me
... (I am not a programmer).
Maybe in the future, will be possible to introduce this in class structure?
Yes,
what I'd like to have is a feature that makes it easy to register event listeners in
wiki pages (similar to wiki macros).
Anca worked on this in a hackathon but I don't know if she's shared her
application on
extensions.xwiki.org
Anca?
No, we didn't share it, it was really a hack, and in any case, we had
only added listeners for the save and edit event. I think app started
event needs to be carefully handled though, because we need to take into
account the possibility of this event being launched before the
registering of the event listeners defined in pages (because those are
registered at the wiki ready event). So it's a bit more to hack to do it.
I should get myself to check that code these days and publish it somewhere.
Anca
Thanks
-Vincent
For example, like how was introduced special type
of a class property -
which calculates from another properties. Right now it is enough only for
easy situations.
For me, XWiki classes and properties looks like tables and fields in
database. In Oracle I can define calculated field, but also existing
possibility to write view - which presents as independent DB-object, but
"linked" according to script, to the base table or tables. Maybe will be
great to make "looks like" functionality to XWiki. This is will give to
XWiki fully-customization possibilities of application creation!
--
Best regards
Eugen Colesnicov
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users