Now I have more tricky question -- how to add custom object using Xwiki
REST service.
By browsing existing ones I assume, I can create linked custom object
using POST before, and get object id.
Then I add wiki document using PUT and set relation to previously
created object.
Is it right approach to test?
Are there more recommendations beside
http://platform.xwiki.org/xwiki/bin/view/Features/XWikiRESTfulAPI
Thanks,
Valdis
Hello,
I have problem with editing documents with the new WYSIWYG editor (page
syntax – XWiki 2.0) - on attempt to create a link to existing documents I
get a message “There was an error loading the data” – it looks like the
select from the xwikidoc table doesn’t work properly.
Log file: “Exception while searching documents with sql select distinct doc
from XWikiDocument doc where 1=1 and doc.author='XWiki.Admin' order by
doc.date desc” and
Oracle error “ORA-00932 inconsistent datatypes”. The full log files
attached.
Even so, if I switch to tab “All pages”, I can see the list of all existing
pages, but cannot select any of them.
Links creation with XWiki 1.0 syntax works fine.
Are there Oracle-specific workarounds or is it just a bug?
Our environment: XE 2.1.1 + JBoss 5 ( jdk 1.6 ) + Oracle 10g.
http://n2.nabble.com/file/n4556042/wysiwyg_editor.jpg wysiwyg_editor.jpg
http://n2.nabble.com/file/n4556042/server.log server.log
http://n2.nabble.com/file/n4556042/xwiki.log xwiki.log
Thanks,
Alla
--
View this message in context: http://n2.nabble.com/ORA-00932-inconsistent-datatypes-expected-got-clob-tp4…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi everyone,
The Google Summer of Code 2010 is on and we'd like to propose some projects for XWiki.
Some of us have started with some ideas at http://dev.xwiki.org/xwiki/bin/view/GoogleSummerOfCode/
Please join us in proposing ideas.
Then once we have enough we'll decide which ones we keep and students will apply on the projects we'll have kept.
Thanks
-Vincent
Hi,
for a glossar I would like to create documents for each letter automatically.
I tried to use
#set ($newDoc = $xwiki.createDocument())
However, the var $newDoc will not assigned
What is wrong with that?
Stefan Bachert
__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails.
http://mail.yahoo.com
Hi there,
I,ve installed the XWIKI on my machine and started the webapp.
Then went to Sandbox's test page 1:
http://localhost:8080/xwiki/bin/view/Sandbox/TestPage1
There it is written that i have to click on the 'Edit' button but I
DONT SEE ANY BUTTON at all. Why is that? What's the problem?
Thank you!
Hi,
I have installed XOffice 1.1 M1 to edit files on my XWiki 2.1.1.
My previous XOffice tests were done against a stand alone jetty setup.
The Server URL was just a simple http://localhost:8090. Now that I
have deployed XWiki on Tomcat 6.0 I can't seem to figure out the
Server URL to enter in XWord. For now I use the URL
http://localhost:8090/xwiki-enterprise-web-2.1.1 in my browser to
login.
What am I missing ?
Thanks
Simon Glet
Hello,
I am rewriting the "todo" example list to be suitable for my company. I would like to show in the list the date of creation of the documents. How can i get it?
The code is something like:
<table id="todoTable" class="grid sortable filterable doOddEven" cellpadding="0" cellspacing="0" border="0">
<tr class="sortHeader">
<th class="unsortable selectFilter">Fecha</th>
<th>Resumen</th>
<th>Status</th>
<th>Persona</th>
<th>Pestaña</th>
<th class="unsortable selectFilter">Descripcion</th>
</tr>
#foreach ($todo in $todos)
<tr>
#set ($todoDoc = $xwiki.getDocument($todo))
#set ($todoObj = $todoDoc.getObject("XWiki.TodoClass"))
<td>[$todoObj.TargetDate>$todo]</td>
<td>[$todoObj.Resumen>$todo]</td>
<td>[$todoObj.Status>$todo]</td>
<td>[$todoObj.Persona>$todo]</td>
<td>[$todoObj.Pestana>$todo]</td>
<td>$todoObj.Descripcion</td>
</tr>
#end
</table>
So get from the todoobj the creation date.
Regards,
Francisco
--
Francisco Hernández Cuchí
Jefe de Servicios Sistemas de Información
OFICINA ESPAÑOLA DE PATENTES Y MARCAS
C\ Paseo de la Castella 75
tlf: 913496844
mail: francisco.hernandez(a)oepm.es <mailto:francisco.hernandez@oepm.es>
**********************************************************************************************
IMPORTANTE: El contenido de este correo y ficheros adjuntos es confidencial y está dirigido únicamente
para el destinatario/s.
Si Ud recibe este correo por error, por favor póngase en contacto con su administrador de correo o con el
emisor immediatamente y no difunda su contenido a nadie ni haga copias.
*** Este correo ha sido escaneado de virus y contenido malicioso ***
**********************************************************************************************
Hi Stefan,
Yes you can. In my case, based on a user, its group and its rights, i display different links and pictures.
It's easy to do in the source of the panel that you want to customize
Ex:
#if($xwiki.exists("BankingLexicon.WebHome"))
<div style="margin-bottom: ${marginbottom}px">{image:lexicon.png|align=absmiddle|document=Panels.QuickLinks} [Banking lexicon>BankingLexicon.WebHome]</div>
#end
#if($xwiki.getUser().isUserInGroup("XWiki.GlobusAstreintes") && $xwiki.exists("Astreintes.WebHome"))
<div style="margin-bottom: ${marginbottom}px">{image:astreintes.png|align=absmiddle|document=Panels.QuickLinks} [Astreintes>Astreintes.WebHome]</div>
#end
You can also display or not a panel based on test :
#if ($xwiki.hasAdminRights())
#panelheader('Administrate')
#set($marginbottom=3)
<div style="margin-bottom: ${marginbottom}px">{image:new.png|align=absmiddle|document=Panels.Administrate} [Create new page/space>Panels.NewPage]</div>
#panelfooter()
#end
If the user does not have admin rights, nothing will be displayed
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
> -----Message d'origine-----
> De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]
> De la part de stefan bachert
> Envoyé : mercredi 17 février 2010 10:05
> À : users(a)xwiki.org
> Objet : [xwiki-users] Panels
>
> Is there a way to set panels different per user capability?
>
> Stefan Bachert
>
>
> __________________________________________________
> Do You Yahoo!?
> Sie sind Spam leid? Yahoo! Mail verfügt über einen
> herausragenden Schutz gegen Massenmails.
> http://mail.yahoo.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
Some of the transaction were very poor, ungrammatically and wrong
in panel wizard
e.g "WIEDERRUFEN" means "call again"
very likely the intent was to offer "cancel" which can be translated as "WIDERRUFEN" (means revoke, "what i have done was wrong")
(a better and more usual translation is "Abbrechen")
(WIEDER = again, WIDER = against, anti, contra, RUFEN = call, shout)
Is there a possibility to propose translations?
Stefan Bachert
__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails.
http://mail.yahoo.com
The XWiki development team is pleased to announce the release of XWiki
Enterprise and XWiki Enterprise Manager 2.2.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
This release contains many important UI improvements of existing
features (xar import, user registration, comments, etc.), and
introduces the new Model API starting with a new EntityReference and
related tools to remove all String manipulations around documents and
attachment names.
Changes from XWiki Enterprise 2.1.2:
* New XAR Import UI
* UI for Deleted documents & attachments
* New Profile & WatchList UI
* New Registration page, new CAPTCHA implementation
* New Menu in Edit mode
* Comments UI improvements
o Preview comment
o Edit comment
* WYSIWYG and Rendering improvements
* General UI improvements
* Contextual wiki macros
* New Model module with Reference implementation
* Development improvements
* Office import improvements
* Blog improvement
* Dependencies upgrade
o Upgraded to Groovy 1.7
o Upgrade to GWT 2.0.0
* New zh_TW translation
* New user profile pages are created in XWiki Syntax 2.0
* Many bugfixes
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise22
and http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXEM22
Thanks
-The XWiki dev team
Is there a way to set panels different per user capability?
Stefan Bachert
__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails.
http://mail.yahoo.com
Hey all,
I am trying to find a method that can return a list of groups that have a given access right to a given page. Is there a method(s) that allow me to do that? I'm aware that you can create an object of AccessRights onto a given page and filter in groups and users that have access rights to a given page, but only admins can see that. I need to generate a list of groups that have granted access so that when an unregistered user tries to log onto a page that he doesn't have access to, a list will be generated so that he can ask for membership to those groups.
Thank you,
Felix Wu
I checked my code and my problem now is that all is displayed well except carriage returns
So if i have some text in bold it's well displayed but all lines are displayed in only one string. Do i have to add/remove an option somewhere to not removed them ?
Also when i click on the Edit menu in the top bar, it opens the WYSIWYG editor. Is it possible with velocity to force the inline form editor ? (iT worked before but i guess i changed something somewhere ...)
Thanks
> -----Message d'origine-----
> De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]
> De la part de Valdis Vitolinš
> Envoyé : lundi 15 février 2010 14:32
> À : XWiki Users
> Objet : Re: [xwiki-users] Display a well rendered field
>
> Standard ClassSheet template has simpler syntax:
> $doc.display("propertyname")
>
> e.g.
> {{velocity}}
> ## You can modify this page to customize the presentation of your
> object.
> ## At first you should keep the default presentation and just save the
> document.
> = Īsziņa $doc.name =
>
> #set($class = $doc.getObject('Custom.IszinaClass').xWikiClass)
> #foreach($prop in $class.properties)
> |$prop.prettyName| $doc.display($prop.getName())
> #end
> {{/velocity}}
>
> and it works seamlessly.
> Valdis
>
> > Thanks Valdis.
> >
> > >
> > > I check the class in the class editor and for this
> textarea, i don't see how to change the rendering. Is it in
> the class or in the call to display the field ? (i use
> $doc.display($fieldName, "view") )
> > >
> > > I use Xwiki 2.0.3
> > >
> > > > -----Message d'origine-----
> > > > De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]
> > > > De la part de Valdis Vitolinš
> > > > Envoyé : lundi 15 février 2010 13:03
> > > > À : XWiki Users
> > > > Objet : Re: [xwiki-users] Display a well rendered field
> > > >
> > > > It seems your default editor is WYSIWYG, but text field is
> > > > simple text.
> > > > You need to set textarea field to FullyRenderedText (Xwiki
> > > > 1.x version)
> > > > or WYSIWYG (2.x version) mode.
> > > >
> > > > Valdis
> > > >
> > > >
> > > > > Hello all,
> > > > >
> > > > > I have a class with text fields. When i want to display the
> > > > value of one of them, i only have a very long string.
> > > > > How can i display it with nice rendering (bold, colors,
> > > > etc) ? (In edit mode i have the WYSIWYG editor)
> > > > >
> > > > > Thank you
> > > > >
> > > > > 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
>
> ...
> _______________________________________________
> 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
1. How the change a color on a ColorTheme (stefan bachert)
2. Readable only (stefan bachert)
3. How to put a user into a certain group (stefan bachert)
1. and 3. is resolved. My confussion was not to call "inline form" which means "execute this 'document'".
It is confussion to the beginners only to talk about view and edit mode.
There is at least an execute mode, too.
2. is considered to be a bug.
Thank you answering.
How can I reply answers from the digest list without ask a new question?
Stefan Bachert
__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails.
http://mail.yahoo.com
Hello,
I have a problem with XWiki pages, which contains pictures.
The problem occurs with small and large sites.
Some images are not displayed.
Each page load shows another result.
An explicit loading of images with the contextmenu is possible.
When working with the Internet Explorer 7, the problem occurs much more
frequently than in Firefox 3.5
Best wishes
Norbert
[Germany]
--
View this message in context: http://n2.nabble.com/Lost-Pictures-on-XWIKI-Sites-tp4578892p4578892.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
How to put a user into a certain group?
I do not have any idea how tzo manage this (I downloaded XE 2.1.2)
Stefan Bachert
__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails.
http://mail.yahoo.com
I would like to have a wiki, which is readable only for unregistered users.
How can I get rid of the edit button (section) of headers?
Stefan Bachert
__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails.
http://mail.yahoo.com
Hi XWiki Users,
Please help the dev team solve a UI design dilemma. Your feedback is
very important, we really need the point of view of all categories of users.
The context:
We wish to get rid of the editor panels and integrate their
corresponding functionality in the editor itself. There are several
reasons for doing this (having all the editor functions in one place,
without depending on the panels that might or might not be in the
database, having the possibility to integrate the editors in view mode
without functionality loss, etc).
The proposals:
A) http://dev.xwiki.org/xwiki/bin/Design/ImprovedEdit#HVariantA
All the information from the side panels is inserted in the main editor
in semantically related places
- the language/translation can be chosen from the content menu
- the user can change the parent document by editing the hierarchy
- the included documents are listed above the content
- the document syntax can be selected from a field placed near the
content textarea; a link to the syntax help page is provided in the same
place. Note that the included documents and the page syntax are only
visible in the wiki editing mode. Users editing pages in wysiwyg are not
bothered with such details.
B) http://dev.xwiki.org/xwiki/bin/Design/ImprovedEdit#HVariantB
All the information from the side panels is grouped in an "Advanced
options" zone, hidden by default and displayable on the right. This
variant is highly similar to what we currently have in edit mode, with
the additional possibility to hide it to gain more horizontal space.
Please comment on these proposals, telling us which works better for
you. New ideas are also welcome.
Thanks in advance for your feedback, which will help us move forward.
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
How the change a color on a ColorTheme?
I opened one of the ColorTheme. I dont have any idea to chance the color value.
In the XWiki doc is a screen dump of the ColorTheme with a button and some kind of color selector.
However, I never see this in my XWiki in life?
Stefan Bachert
__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails.
http://mail.yahoo.com
Hi everyone,
We're about to release XE 2.2 final tomorrow.
If you know of any critical/blocking issue that remains please let us know quickly so that we can fix it before the release.
Thanks a lot
-Vincent
Standard ClassSheet template has simpler syntax:
$doc.display("propertyname")
e.g.
{{velocity}}
## You can modify this page to customize the presentation of your
object.
## At first you should keep the default presentation and just save the
document.
= Īsziņa $doc.name =
#set($class = $doc.getObject('Custom.IszinaClass').xWikiClass)
#foreach($prop in $class.properties)
|$prop.prettyName| $doc.display($prop.getName())
#end
{{/velocity}}
and it works seamlessly.
Valdis
> Thanks Valdis.
>
> >
> > I check the class in the class editor and for this textarea, i don't see how to change the rendering. Is it in the class or in the call to display the field ? (i use $doc.display($fieldName, "view") )
> >
> > I use Xwiki 2.0.3
> >
> > > -----Message d'origine-----
> > > De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]
> > > De la part de Valdis Vitolinš
> > > Envoyé : lundi 15 février 2010 13:03
> > > À : XWiki Users
> > > Objet : Re: [xwiki-users] Display a well rendered field
> > >
> > > It seems your default editor is WYSIWYG, but text field is
> > > simple text.
> > > You need to set textarea field to FullyRenderedText (Xwiki
> > > 1.x version)
> > > or WYSIWYG (2.x version) mode.
> > >
> > > Valdis
> > >
> > >
> > > > Hello all,
> > > >
> > > > I have a class with text fields. When i want to display the
> > > value of one of them, i only have a very long string.
> > > > How can i display it with nice rendering (bold, colors,
> > > etc) ? (In edit mode i have the WYSIWYG editor)
> > > >
> > > > Thank you
> > > >
> > > > 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
...