Re: [xwiki-users] XWiki and Ozone widgets

2011-06-09 Thread Ludovic Dubost
As I said, we cannot help if you don't give us more information (javascript
error from firebug for instance)

Ludovic

2011/6/8 afrey af...@modusoperandi.com

 I changed the wysiwyginput.vm as suggested, and the problem with the
 ModalBox
 was fixed. So now I'm able to get the DropBox in the wysiwyg mode.

 Thank you both for the info.

 Now the problem that I have is how do I make the results from the query
 widget show up in the map widget. As a reminder, this is possible if not in
 the wysiwyg mode.

 Alina.

 -
 - Alina.
 --
 View this message in context:
 http://xwiki.475771.n2.nabble.com/XWiki-and-Ozone-widgets-tp6427000p6454704.html
 Sent from the XWiki- Users mailing list archive at Nabble.com.
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users




-- 
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Add Progress info on document

2011-06-09 Thread MAI QUOC, Phuong-Tram
Thank you Luca
I'll try this

But i might need help because i'm new to XWiki + velocity... and although what 
you said does sound very simple and basic... i just don't know how to get it... 
- defining the class that hold the status property : done
- find out the tutorial for creating simple application : not yet
- the way to apply the content of the tutorial to my need : not yet (but 
somehow frightening)
- finding a way to make sure that every doc has one object of type status : 
i'm not there yet :p but your advices should be very useful.

Thank you anyway.


Cordialement
Best Regards

MAI Phương Trâm
Nouvelles Frontières Informatique
=
NOUVELLES FRONTIERES
74, rue de Lagny
API 4A10
93107 MONTREUIL CEDEX
+33(0)1 48 51 81 21





-Original Message-
From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of 
Luca Anca
Sent: Wednesday, June 08, 2011 6:53 PM
To: XWiki Users
Subject: Re: [xwiki-users] Add Progress info on document

And I think you'll need these functions at some point:
http://nexus.xwiki.org/nexus/service/local/repositories/releases/archive/com/xpn/xwiki/platform/xwiki-core/3.0/xwiki-core-3.0-javadoc.jar/!/com/xpn/xwiki/api/Document.html#createNewObject%28java.lang.String%29
 
(If I understood correctly the first mail, this was the problem).

On Wed, 2011-06-08 at 18:43 +0200, Luca Anca wrote:
 On Wed, 2011-06-08 at 16:55 +0200, MAI QUOC, Phuong-Tram wrote:
  i can't access to .vm templates
  are they on the server or are they available through XWiki front ?
 
 No, you don't need access to the .vm templates, you just need to be able
 to write a piece of velocity code in the Document information panel, for
 example.
 
 The idea is this: 
 
 1/ you define your class that holds the status property. You don't need
 to create template for it or class sheet
 2/ in the document information panel, you write a little piece of
 velocity to get the status object from the current document and allow
 you to edit it (look at the tutorial for creating a simple application,
 you should have there code samples about how to get an object of a
 specific type from a document)
 3/ you need a way to make sure that every document that you create has
 one object of type status in it. For this, for example, you can 
 a) in the code that displays the status (I assume you display it
 somewhere, right?) if the current document does not have a status
 object, create one and save the document
 b) create a template status document using the templates mechanism
 (see the template administration section) and then create new documents
 with that template
 
 That's how I would do it, and I can't see a reason why it won't work, if
 I understood correctly your requirements.
 
 Have fun,
 Anca
 
  
  -Original Message-
  From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf
  Of Guillaume Lerouge
  Sent: Wednesday, June 08, 2011 3:48 PM
  To: XWiki Users
  Subject: Re: [xwiki-users] Add Progress info on document
  
  Hi,
  
  using objects is the right way to go.
  
  Then you can edit the edit panels through .vm templates in order to
  display
  a field that would allow your users to edit the value of the status
  field.
  
  Guillaume
  
  On Tue, Jun 7, 2011 at 18:32, MAI QUOC, Phuong-Tram 
  ptmaiq...@nouvelles-frontieres.fr wrote:
  
   Hello
  
  
  
   I'd like to add for each page a way to track down if the page is a
   ongoing status, is a completed status or is a needFeedBack
  status
   for example.
  
   Of course, the list of statuses should be configurable so i can put
   mine.
  
  
  
   My first idea was to create a class and add this object to each page
  but
  
  
   - i have created the class + classSheet + classTemplate but i see
  then
   that i can create new documents.
  
  
  
   Actually, I want the status to be embedded in the page edit mode, in a
   panel for example, and that would be better if it is embedded in the
   Document Information panel, just as the Tag field
  
  
  
   So I try to add raw html in this but i don't know how to create a new
   status property to the document.
  
  
  
   If i use the tag property, i'm worrying about mixing two tag
  fields...
  
  
  
   anyway, i've read and re-read the XWiki online documentation but i
  can't
   find anything just like this.
  
  
  
   PS - of course, i'll have later a page per status with the list of
  all
   documents in each statuses... (just like tag pages)
  
  
  
   thank you for your help
  
   ___
   users mailing list
   users@xwiki.org
   http://lists.xwiki.org/mailman/listinfo/users
  ___
  users mailing list
  users@xwiki.org
  http://lists.xwiki.org/mailman/listinfo/users
  ___
  users mailing list
  users@xwiki.org
  http://lists.xwiki.org/mailman/listinfo/users
 
 
 ___
 users 

[xwiki-users] Upgrading from (ancient) XWiki Enterprise 1.9.4 to ... what?

2011-06-09 Thread Ari
Hi.

Is there any hope to upgrade the ancient version (XWiki Enterprise)
1.9.4 to a newer, say 2.7.x or even to 3.0.x ?

I found the archived release notes, but what steps are required? I mean
that should I upgrade from

1.94 - 2.0 Milestone 1
2.0 Milestone 1 - 2.0 Milestone 2
.
.
2.0.4 - 2.0.5
.
.
2.7.1 - 2.7.2

or could I just upgrade to 1.9.4 - 2.7.x ?

Any help would be highly appreciated!

With Kind Regards,
Ari Takku
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Upgrading from (ancient) XWiki Enterprise 1.9.4 to ... what?

2011-06-09 Thread Sergiu Dumitriu
On 06/09/2011 12:36 PM, Ari wrote:
 Hi.

 Is there any hope to upgrade the ancient version (XWiki Enterprise)
 1.9.4 to a newer, say 2.7.x or even to 3.0.x ?

 I found the archived release notes, but what steps are required? I mean
 that should I upgrade from

 1.94 -  2.0 Milestone 1
 2.0 Milestone 1 -  2.0 Milestone 2
 .
 .
 2.0.4 -  2.0.5
 .
 .
 2.7.1 -  2.7.2

 or could I just upgrade to 1.9.4 -  2.7.x ?

You should upgrade directly to the most recent version, but be careful 
to read the release notes for all major versions, paying attention to 
the upgrade notes.

One possible problem is with 3.0 and the change to Velocity 1.7, be sure 
to read the dedicated section in the release notes:

http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWikiEnterprise30#HTheVelocityenginewasupdatedtoversion1.7

 Any help would be highly appreciated!



-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Problem with WYSIWYG-Editor

2011-06-09 Thread Felix van Wasen
Hi,

here are som further informations:

What version of XWiki Enterprise are you using?
I think it is: XWiki Enterprise 3.1-20110604.073851-203-NODE2; I'm using 
kinderchirurgie.myxwiki.org

Is it a fresh install or did you upgrade recently?
The install ist nearly fresh. I did not upgrade recently

Was the WYSIWYG editor working before?
Yes

What browser are you 
using? Does it happen on other browsers?
I'm using a mac. The browsers are safari, chrome, firefox. Every browser has 
the same problem. Clearing the cache does not solve the problem

On Firefox, do you see any 
JavaScript exception logged in the Firebug console? I don't think so

Thank You for your help,

Felix 
-- 
Felix van Wasen
Buchenstr. 15f
28211 Bremen
Tel.: 0421-8980688
Mobil: 0163-4834923
Email: felixvanwa...@me.com


Am Mittwoch, 8. Juni 2011 um 21:47 schrieb Marius Dumitru Florea:

 Hi Felix,
 
 On 06/08/2011 09:32 PM, Felix van Wasen wrote:
  
  Hi,
 
  is there a problem with the wysiswg-editor. I only see this spinning wheel.
 
 You need to tell us more about your problem. What version of XWiki 
 Enterprise are you using? Is it a fresh install or did you upgrade 
 recently? Was the WYSIWYG editor working before? What browser are you 
 using? Does it happen on other browsers? On Firefox, do you see any 
 JavaScript exception logged in the Firebug console?
 
 Hope this helps,
 Marius
 
  
  Thanks,
  
  Felix
  ___
  users mailing list
  users@xwiki.org (mailto:users@xwiki.org)
  http://lists.xwiki.org/mailman/listinfo/users
 ___
 users mailing list
 users@xwiki.org (mailto:users@xwiki.org)
 http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users