Has anyone successfully created a second blog in a single wiki? If so, please give me some guidence on how to do this task. Also, what could be a source of a velocity parsing error while creating a class sheet? Please respond to help progress my research.
Thanks in advance,
Tim
Thanks Thomas
I created the issue http://jira.xwiki.org/jira/browse/XE-568
> -----Message d'origine-----
> De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]
> De la part de Thomas Mortagne
> Envoyé : lundi 14 décembre 2009 12:07
> À : XWiki Users
> Objet : Re: [xwiki-users] Switching from 1.0 to 2.0 syntax
>
> On Mon, Dec 14, 2009 at 10:55, PERINAUD Christophe
> <Christophe.PERINAUD(a)kbl-bank.com> wrote:
> > Hello all,
> >
> > I currently have a page in the xwiki/1.0 syntax :
> > ----------
> > #includeMacros("WikiCode.KBLMacros")
> > <div style="text-align:center">
> > #displayAllProjectsTable()
> > </div>
> > ----------
> >
> > When switching to xwiki/2.0 syntax, it generates this :
> > ----------
> > {{velocity filter="none"}}
> > {{html clean="false" wiki="true"}}
> > {{include document="WikiCode.KBLMacros"/}}
> > <p/>
> >
> > (% style="text-align:center" %)(((
> > #displayAllProjectsTable()
> > )))
> >
> > {{/html}}
> > {{/velocity}}
> > ----------
> >
> > The problem is that in the page called WikiCode.KBLMacros,
> i have a variable called mainDocumentTitle and in the syntax
> 2.0 generated, i can't read it from the macro displayAllProjectsTable.
> >
> > But if i move the line
> > {{include document="WikiCode.KBLMacros"/}}
> >
> > before the line
> > {{velocity filter="none"}}
> >
> > then it works again.
> >
> > Do all include have to be set outside the velocity code ?
>
> Not exactly. In your case the problem is that you have:
> - velocity is executed inside {{velocity macro}}
> - then the result of velocity execution is parser with wiki
> syntax parser
>
> {{include}} is wiki syntax so when it's executed you already did
> interpreted the velocity code that is supposed to use the variable
> coming from WikiCode.KBLMacros. When you put it outside of
> {{velocity}} macro it's executed before the velocity macro itself you
> your use case is working.
>
> Sorry for that it's a converter bug but it's not very easy to handle
> in a generic way. Could you create a jira issue about {{include}} and
> {{velocity}} in converter to at least have it explained somewhere ?
>
> >
> > Christophe Périnaud
> > Windows Server 2003 SP2 in a VMWare instance
> > Oracle 10g
> > Java 1.6.0_12
> > Xwiki 2.0.3 from the pack Jetty/HSQL
> >
> >
> >
> --------------------------------------------------------------
> ------------------
> >
> > This e-mail is intended only for the addressee named above.
> It does not bind the sender, except in the case of an
> existing written convention with the addressee. This e-mail
> may contain material that is confidential and privileged for
> the sole use of the intended recipient. Any review, reliance
> or distribution by others or forwarding without express
> permission is strictly prohibited and may be unlawful. If you
> are not the intended recipient, please contact the sender and
> delete all copies.
> >
> > While reasonable precautions have been taken to ensure that
> this e-mail and any attachments are free from any computer
> virus or similar defect, no liability will be accepted in
> that respect. Anyone accessing this e-mail must take their
> own precautions as to security and virus protection.
> >
> > KBL European Private Bankers S.A., 43 boulevard Royal
> L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1
> > _______________________________________________
> > users mailing list
> > users(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> >
>
>
>
> --
> Thomas Mortagne
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
--------------------------------------------------------------------------------
This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies.
While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection.
KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1
Hello all,
I currently have a page in the xwiki/1.0 syntax :
----------
#includeMacros("WikiCode.KBLMacros")
<div style="text-align:center">
#displayAllProjectsTable()
</div>
----------
When switching to xwiki/2.0 syntax, it generates this :
----------
{{velocity filter="none"}}
{{html clean="false" wiki="true"}}
{{include document="WikiCode.KBLMacros"/}}
<p/>
(% style="text-align:center" %)(((
#displayAllProjectsTable()
)))
{{/html}}
{{/velocity}}
----------
The problem is that in the page called WikiCode.KBLMacros, i have a variable called mainDocumentTitle and in the syntax 2.0 generated, i can't read it from the macro displayAllProjectsTable.
But if i move the line
{{include document="WikiCode.KBLMacros"/}}
before the line
{{velocity filter="none"}}
then it works again.
Do all include have to be set outside the velocity code ?
Christophe Périnaud
Windows Server 2003 SP2 in a VMWare instance
Oracle 10g
Java 1.6.0_12
Xwiki 2.0.3 from the pack Jetty/HSQL
--------------------------------------------------------------------------------
This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies.
While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection.
KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1
Thank you Guillaume.
I put it outside and now all works great. I was just wondering why the automatic switch put it in the velocity code.
Anyway, now my migration from 1.0 to 2.0 is finished successfully ;-)
> -----Message d'origine-----
> De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]
> De la part de Guillaume Lerouge
> Envoyé : lundi 14 décembre 2009 11:03
> À : XWiki Users
> Objet : Re: [xwiki-users] Switching from 1.0 to 2.0 syntax
>
> Hi Christophe,
>
> On Mon, Dec 14, 2009 at 10:55 AM, PERINAUD Christophe <
> Christophe.PERINAUD(a)kbl-bank.com> wrote:
>
> > Hello all,
> >
> > I currently have a page in the xwiki/1.0 syntax :
> > ----------
> > #includeMacros("WikiCode.KBLMacros")
> > <div style="text-align:center">
> > #displayAllProjectsTable()
> > </div>
> > ----------
> >
> > When switching to xwiki/2.0 syntax, it generates this :
> > ----------
> > {{velocity filter="none"}}
> > {{html clean="false" wiki="true"}}
> > {{include document="WikiCode.KBLMacros"/}}
> > <p/>
> >
> > (% style="text-align:center" %)(((
> > #displayAllProjectsTable()
> > )))
> >
> > {{/html}}
> > {{/velocity}}
> > ----------
> >
> > The problem is that in the page called WikiCode.KBLMacros, i have a
> > variable called mainDocumentTitle and in the syntax 2.0
> generated, i can't
> > read it from the macro displayAllProjectsTable.
> >
> > But if i move the line
> > {{include document="WikiCode.KBLMacros"/}}
> >
> > before the line
> > {{velocity filter="none"}}
> >
> > then it works again.
> >
> > Do all include have to be set outside the velocity code ?
> >
>
> Yes. I'm not sure what the reason was but it has something to
> do with the
> order in which the macros are executed in syntax 2.0. You
> need to put the
> include outside so that its contents get included fine and
> become available
> to the following velocity macro.
>
> Again, I'm not sure exactly what the technical reason is but
> it's better if
> your include macros are outside velocity macros.
>
> Guillaume
>
>
> > Christophe Périnaud
> > Windows Server 2003 SP2 in a VMWare instance
> > Oracle 10g
> > Java 1.6.0_12
> > Xwiki 2.0.3 from the pack Jetty/HSQL
> >
> >
> >
> >
> --------------------------------------------------------------
> ------------------
> >
> > This e-mail is intended only for the addressee named above.
> It does not
> > bind the sender, except in the case of an existing written
> convention with
> > the addressee. This e-mail may contain material that is
> confidential and
> > privileged for the sole use of the intended recipient. Any
> review, reliance
> > or distribution by others or forwarding without express
> permission is
> > strictly prohibited and may be unlawful. If you are not the intended
> > recipient, please contact the sender and delete all copies.
> >
> > While reasonable precautions have been taken to ensure that
> this e-mail and
> > any attachments are free from any computer virus or similar
> defect, no
> > liability will be accepted in that respect. Anyone
> accessing this e-mail
> > must take their own precautions as to security and virus protection.
> >
> > KBL European Private Bankers S.A., 43 boulevard Royal
> L-2955 Luxembourg,
> > R.C.S. Luxembourg B 6395, T (352) 47 97 1
> > _______________________________________________
> > users mailing list
> > users(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> >
>
>
>
> --
> Guillaume Lerouge
> Product Manager - XWiki SAS
> Skype: wikibc
> Twitter: glerouge
> http://guillaumelerouge.com/
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
--------------------------------------------------------------------------------
This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies.
While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection.
KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1
Hi Thomas,
I followed your instructions & checked the XWikiServerXWiki file. Changed
the settings for domain name/alias, etc.
And I am able to access the main wiki now. Thank you for guiding me in this
direction.
However, two questions did come up:
1. Do the virtual wikis share the same user groups?
2. Can the readers, writers & administrators of individual virtual wikis be
modified after creation of the virtual wiki?
Thanks once again Thomas...
hi folks
i am having lots of trouble importing documents with graphics in them.
even a doc with 1 or 2 small graphics is running past the timeout period
(even though i've set timeout to 300,000 msec - 5min).
system is:
- xwiki 2.0.3 standalone
- openoffice 3.1
- centos 5.4 linux on vmware
- java heap set to 300MB (JAVA_OPTS=-Xmx300m)
is this a known problem and/or can anyone suggest a fix?
is office importer even supposed to be able to handle graphics?
p
Hello,
We are a non-profit community magazine called Gandhi and Pineapple, who have recieved Princes Trust funding for a first issue. We are looking to set up a web page where members can register and contribute journalistic articles, creative writing and origional artwork on different blog/wiki style pages, hopefully developing the site into a vibrant community. We would also like to be able to select the 'best of the blogs', and condense them onto a homepage. The inclusion of static RSS feeds from various news sources is also a feature we would like to see included.
Having looked at various solutions, the XWiki project seems to me to be the most versitile, exciting, and sutible for our needs. I would be greatful if we would be able to take advantage of the free hosting offered on the XWiki.org webpage. My XWiki.org username is JackLangley, and would like 'gandhiandpineapple' as the server name.
Many thanks for any help you can offer, and I hope to hear from you soon.
Jack Langley
P.R. Manager
Gandhi and Pineapple Magazine
_________________________________________________________________
Use Hotmail to send and receive mail from your different email accounts
http://clk.atdmt.com/UKM/go/186394592/direct/01/
The XWiki development team is pleased to announce the release of XWiki
Enterprise and XWiki Enterprise Manager 2.1
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
Main changes from 2.0.x:
* Re-design of the actions menus
* The Blog application is now using the xwiki/2.0 syntax and the new
WYSIWYG editor
* Allow XWiki.XWikiAllGroup to be an implicit group, containing all
the users without explicitly listing them as objects
* When renaming a page, also update the "parent" field of subpages
(Patch from Caleb James De Lisle)
* Updated translations : de (including WYSIWYG), es, fr (including
WYSIWYG), gl, lv, nl, pl, ro, sv, zh
* New renderer for mathematical formulae based on the Google Chart APIs.
* Lots of improvements and bugfixes in order to conform to the Web
Content Accessibility Guidelines (WCAG).
* Macro parameter pretty names are now displayed in the WYSIWYG
* WYSIWYG editor performance improvement (Minimize and aggregate
WYSIWYG editor stylesheets at build time to reduce the number of HTTP
requests)
* Ability to register a component for the current user or for the
current wiki instead of globally. Note that this will be used in the
near future to allow registering Wiki Macros in multiwiki mode without
the macros being visible in other wikis.
* Upgraded to JbossCache 3.2.1GA version
* Upgraded to Groovy 1.7 Beta 2
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise21http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXEM21
Thanks
-The XWiki dev team
The XWiki development team is pleased to announce the release of XWiki
Office 1.0.
Go grab it at:
http://www.xwiki.org/xwiki/bin/view/Main/Download#HXWikiOffice
Summary of features for XOffice 1.0:
- Create new wiki pages
- Open and edit existing wiki pages in Word
- Download and edit attachments
- Upload attachments
- Export Word documents to the wiki
- Wiki Explorer
Main changes since XOffice 1.0 RC1:
- Supported XWiki versions are now: 2.0.4, 2.1 and above
- fixed saving issue for XWiki 2.0 syntax
- faster startup
- fixed focus issues
View detailed release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXOffice10
For more information about XOffice visit:
http://xoffice.xwiki.org/xwiki/bin/view/Main/WebHome
Thanks,
-The XWiki dev team
Hello,
I'm using the (fantastic) new live tables to display components of a certain
class.
Everything works well, except for one thing - but functionality may be
discutable...
One of the fields of my class is of type Static List, is displayed as
checkboxes and has multi-select activated.
This field is correctly displayed in live table, with "type" : "list", and
all checked values are displayed separated by a space character (not that
good though, if some of the values contain spaces...).
Problem is for sorting and filtering :
- filtering on a value just leaves the table as it is (displays all entries)
[Note : it seems in 2.0-RC2, filtering this kind of field removes all
entries]
- sorting table on this field just changes order, but with no link to values
(no link I could infer).
I believe sorting a multi-valued field is not really a good idea, and I
wonder what to expect. As order of values is kept, it might have a sense
maybe. But filtering would be helpful though. I think a line should be
retained if one of the values matches the filter.
Except for this case, the live table works perfectly well.
WDYT ? (did not find any jira about that, maybe missed it).
Regards,
Jeremie