[xwiki-users] Macro within code macro

2009-05-05 Thread Lewis Denizen
Hi xwiki-users, Just wondering if it's possible to add a macro inside a code macro? What I want to do is something like this: {{code language="sql"}} select * from xyz where from_date = '{{date-macro date="-1b" format="MMdd"/}}' -- The date-macro returns the last business date in MMdd fo

Re: [xwiki-users] Macro within code macro

2009-05-05 Thread Vincent Massol
Hi Lewis, On May 5, 2009, at 9:11 AM, Lewis Denizen wrote: > Hi xwiki-users, > > Just wondering if it's possible to add a macro inside a code macro? > What I > want to do is something like this: > > {{code language="sql"}} > select * > from xyz > where from_date = '{{date-macro date="-1b" form

[xwiki-users] Proposal: box macro with show/hide parameter

2009-05-05 Thread Lewis Denizen
Hi xwiki-users, Quick proposal - would it be possible to enhance the box macro so that it includes two extra (optional) parameters: "hideable"=[true/false] "initial"=[show/hide] It would be useful to have a show/hide button on box macros (and all its children) using JavaScript (possibly based

Re: [xwiki-users] Macro within code macro

2009-05-05 Thread Lewis Denizen
Thanks Vincent. One more question - is it possible to execute an XWiki 2.0 macro from Velocity context? On Tue, May 5, 2009 at 4:46 PM, Vincent Massol wrote: > Hi Lewis, > > On May 5, 2009, at 9:11 AM, Lewis Denizen wrote: > > > Hi xwiki-users, > > > > Just wondering if it's possible to add a m

Re: [xwiki-users] Proposal: box macro with show/hide parameter

2009-05-05 Thread Vincent Massol
On May 5, 2009, at 11:55 AM, Lewis Denizen wrote: > Hi xwiki-users, > > Quick proposal - would it be possible to enhance the box macro so > that it > includes two extra (optional) parameters: > "hideable"=[true/false] > "initial"=[show/hide] > > It would be useful to have a show/hide button o

Re: [xwiki-users] Macro within code macro

2009-05-05 Thread Vincent Massol
On May 5, 2009, at 11:57 AM, Lewis Denizen wrote: > Thanks Vincent. One more question - is it possible to execute an > XWiki 2.0 > macro from Velocity context? yes the velocity macro does this: 1) executes velocity on the full macro content which is considered as text 2) run the wiki parser

Re: [xwiki-users] Proposal: box macro with show/hide parameter

2009-05-05 Thread Lewis Denizen
Possible, wondering if that would look strange if there was a right under it. Would be possible to remove the first , though (if that's the only element under it). On Tue, May 5, 2009 at 7:00 PM, Vincent Massol wrote: > > On May 5, 2009, at 11:55 AM, Lewis Denizen wrote: > > > Hi xwiki-users,

Re: [xwiki-users] Macro within code macro

2009-05-05 Thread Thomas Mortagne
On Tue, May 5, 2009 at 12:01, Vincent Massol wrote: > > On May 5, 2009, at 11:57 AM, Lewis Denizen wrote: > >> Thanks Vincent.  One more question - is it possible to execute an >> XWiki 2.0 >> macro from Velocity context? > > yes the velocity macro does this: > 1) executes velocity on the full mac

[xwiki-users] Problem with HSQLDB Database please Help!!

2009-05-05 Thread Remi
Hi, 3 days ago, we took this following error at xwiki 1.8 startup. The install is the standalone "Stable: xwiki-enterprise-installer-windows-1.8.2.exe " with the hdsqldb database by default. We use xwiki since 2 or 3 months and the database is large of 82Mo. - I tried to use files of the databas

Re: [xwiki-users] Proposal: box macro with show/hide parameter

2009-05-05 Thread Vincent Massol
On May 5, 2009, at 12:00 PM, Vincent Massol wrote: > > On May 5, 2009, at 11:55 AM, Lewis Denizen wrote: > >> Hi xwiki-users, >> >> Quick proposal - would it be possible to enhance the box macro so >> that it >> includes two extra (optional) parameters: >> "hideable"=[true/false] >> "initial"=[

Re: [xwiki-users] Macro within code macro

2009-05-05 Thread Vincent Massol
On May 5, 2009, at 12:32 PM, Thomas Mortagne wrote: > On Tue, May 5, 2009 at 12:01, Vincent Massol > wrote: >> >> On May 5, 2009, at 11:57 AM, Lewis Denizen wrote: >> >>> Thanks Vincent. One more question - is it possible to execute an >>> XWiki 2.0 >>> macro from Velocity context? >> >> yes

Re: [xwiki-users] Links, WYSIWYG 2.0 (1.8.2)

2009-05-05 Thread hel-o
One remark to the link dialog. Having 3 steps to make, to create a new wiki link looks good in the design but not when you work with it. I know that its late, but i would suggest that you always have only one step, when you create a link. hel. - h...@hel.at -- View this message in contex

Re: [xwiki-users] It's translation time again :-)

2009-05-05 Thread hel-o
I'd like to remove the dead translations for the german translation but i can't figure out how to do it. Thanks hel. - h...@hel.at -- View this message in context: http://n2.nabble.com/It%27s-translation-time-again-%3A-%29-tp2739827p2798351.html Sent from the XWiki- Users mailing list ar

Re: [xwiki-users] Macro within code macro

2009-05-05 Thread Lewis Denizen
Thanks Vincent/Thomas, Just like Thomas mentioned, my intention was to execute a macro within another macro so that I could "generate" the arguments for a macro on the fly. We're using XWiki as a knowledge base/support tool at work, and we encounter situations like this where we'd like to dynamic

Re: [xwiki-users] It's translation time again :-)

2009-05-05 Thread Guillaume Lerouge
Hi, On Tue, May 5, 2009 at 5:49 PM, hel-o wrote: > > I'd like to remove the dead translations for the german translation but i > can't figure out how to do it. > You cannot remove them for now. The best thing to do is to leave them as they are. A deletion mechanism will be implemented in the fu

Re: [xwiki-users] It's translation time again :-)

2009-05-05 Thread hel-o
Is it possible then to remove them from the translations to be reviewed? (Mayby also empty translations) That would be great :) hel. Guillaume Lerouge wrote: > > Hi, > > On Tue, May 5, 2009 at 5:49 PM, hel-o wrote: > >> >> I'd like to remove the dead translations for the german translatio

Re: [xwiki-users] Problem with HSQLDB Database please Help!!

2009-05-05 Thread Niels Mayer
On Tue, May 5, 2009 at 3:40 AM, Remi wrote: > see in error message several lines with "Cannot create > PoolableConnectionFactory (Out of Memory)" or "Caused by: > java.sql.SQLException: Out of Memory", but i need real help to understand > and fix my problem. > (0) Restart your container. And re

Re: [xwiki-users] Proposal: box macro with show/hide parameter

2009-05-05 Thread Niels Mayer
> > Quick proposal - would it be possible to enhance the box macro so that it > includes two extra (optional) parameters: > "hideable"=[true/false] > "initial"=[show/hide] How about the "Foobar" collapsible titlebar, morphed from Curriki: http://nielsmayer.com/xwiki/bin/view/Macros/Foobar?view