Re: [xwiki-users] Drag and drop from PanelWizard

2008-05-08 Thread Kamna Jain
Hi Ricardo,
I got it back by adding Panels.QuickLinks in the Skin Preferences
(modifiable by admins)
I am using 1.3.2.9174
Dont know why it disappeared though, when I added the Panels.RecentlyVisited
below it.

Thanks


On 5/7/08, Kamna Jain [EMAIL PROTECTED] wrote:

 Hello,
 I dropped the Recently viewed Panels from the PanelWizard to my xwiki,
 just below the Quicklinks Panel.
 And now, I don't see the Quicklinks panel. It disappeared. How do I can
 restore it and Why did this happen?

 Thanks for all help.
 Thanks

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


[xwiki-users] Drag and drop from PanelWizard

2008-05-07 Thread Kamna Jain
Hello,
I dropped the Recently viewed Panels from the PanelWizard to my xwiki,
just below the Quicklinks Panel.
And now, I don't see the Quicklinks panel. It disappeared. How do I can
restore it and Why did this happen?

Thanks for all help.
Thanks
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Hashmap vs. Objects (theoretical question about a data model)

2008-05-05 Thread Kamna Jain
Hi All,

This question might be related to the thread that has been active in the
past couple of days about the data  model.
We have a similar situation with the only difference  being that we want to
create lists or collections (like Groups) of certain pre- created Objects.
The Object as a whole may/will belong to more than one such collection -
which means that if we were to use a Document to link a Collection and its
contents, then every document will have a COPY of the same object and this
is definitely not desirable for good performance - Right?

So, in that case, we have 2 alternatives:
1) Use the techiniques used in XWiki to create Groups: each group has
objects of class XWikiGroup with just one field that refers to the Member
name.  OR
2) Use XWiki.getHashmap() and add the Collection and its members to the
hashmap (as the Key and Value resp.)

The XWiki API indicates that the option #2 must be used in xwiki when
Objects can not be created.
My Question is:
- Even though I could use option #1 and create objects and add them to the
document that would represent the Collection, can I still use option #2
because I think that it will provide better performance. Am I right in my
assumption? What should I do?

Thanks a lot for all help!
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Migrating pages from one XWiki instance to another

2008-04-29 Thread Kamna Jain
Cool. That worked Vincent, except for a few Documents with Errors. The
Import report says that few documents were with error and 1 document was
skipped. Is it possible for me to find out why this might have happened?
Some Classes have not been imported and some users have not been imported.
Also .WebPreferences did not get imported. In my wiki, this file does not
belong to any space. even in the tree view of the Index, it shows up without
any root (space). Is that how it is supposed to be?

I tried re-importing but gives the same error.
Do, you think re-exporting and re-importing might help!

also, as I understand it, in this case, if we make any changes or add new
template files, we will have to copy and paste them into the Templates
folder of the new wiki. Am I right?

Thanks

On Mon, Apr 28, 2008 at 8:29 PM, Kamna Jain [EMAIL PROTECTED] wrote:

 Thanks Vincent, for that pointer.
 I forgot to mention in my earlier mail that I want to move from the
 standalone wiki (Jetty and HSQLDB) to the one that uses Tomcat and Oracle
 DB. Will, import/export still work or would I have to change/modify
 something or use a special script?

 Thanks again



 On Mon, Apr 28, 2008 at 2:00 PM, Kamna Jain [EMAIL PROTECTED]
 wrote:

  Hello all,
 
  So far I had been working on my standalone wiki installation and created
  some pages, preferences, groups etc.
  Now, we want to start using a (x)wiki set up on a server and want to
  move all my changes to that.
  Is there a short, elegant way to do this? (I know we can import
  stuff..but I don't know what can be imported? (or would I just have to
  copy/repeat all the changes manually)
 
  Thanks
 


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


Re: [xwiki-users] Migrating pages from one XWiki instance to another

2008-04-29 Thread Kamna Jain
ok. so, I see the log now.
the errors I get are:

[.../xwiki/bin/import/XWiki/Import?editor=importspace=XWiki]
[http-80-Processor15] ERROR packaging.Package   - Failed to save
document XWiki.ClassTemplate

java.sql.SQLException: ORA-01400: cannot insert NULL into
(XWIKI.XWIKIOBJECTS.XWO_CLASSNAME)

I don't know what these mean?

Thanks

On Tue, Apr 29, 2008 at 10:41 AM, Kamna Jain [EMAIL PROTECTED] wrote:

 Hmmm..I checked for the xwiki.log file but, it does not show that it was
 modified today. the file was last modified yesterday (local time) but, I did
 the import today. also, there is no indication of export in the xwiki.log of
 my standalone wiki.
 We have log4j.properties file set up with Monitor enabled (for the new
 wiki). Does that dump the log messages in some other location?

 Thanks



 On Tue, Apr 29, 2008 at 9:51 AM, Kamna Jain [EMAIL PROTECTED]
 wrote:

  Cool. That worked Vincent, except for a few Documents with Errors. The
  Import report says that few documents were with error and 1 document was
  skipped. Is it possible for me to find out why this might have happened?
  Some Classes have not been imported and some users have not been imported.
  Also .WebPreferences did not get imported. In my wiki, this file does not
  belong to any space. even in the tree view of the Index, it shows up without
  any root (space). Is that how it is supposed to be?
 
  I tried re-importing but gives the same error.
  Do, you think re-exporting and re-importing might help!
 
  also, as I understand it, in this case, if we make any changes or add
  new template files, we will have to copy and paste them into the Templates
  folder of the new wiki. Am I right?
 
  Thanks
 
 
  On Mon, Apr 28, 2008 at 8:29 PM, Kamna Jain [EMAIL PROTECTED]
  wrote:
 
   Thanks Vincent, for that pointer.
   I forgot to mention in my earlier mail that I want to move from the
   standalone wiki (Jetty and HSQLDB) to the one that uses Tomcat and Oracle
   DB. Will, import/export still work or would I have to change/modify
   something or use a special script?
  
   Thanks again
  
  
  
   On Mon, Apr 28, 2008 at 2:00 PM, Kamna Jain [EMAIL PROTECTED]
   wrote:
  
Hello all,
   
So far I had been working on my standalone wiki installation and
created some pages, preferences, groups etc.
Now, we want to start using a (x)wiki set up on a server and want to
move all my changes to that.
Is there a short, elegant way to do this? (I know we can import
stuff..but I don't know what can be imported? (or would I just have to
copy/repeat all the changes manually)
   
Thanks
   
  
  
 

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


[xwiki-users] Errors during migration from standalone xwiki to Oracle-tomcat Xwiki

2008-04-29 Thread Kamna Jain
Hello All,

With Vincent's help I have migrated from the standalone wiki to the xwiki on
a remote server.
But, I am not able to import

· Main.LuceneSearch

· Panels.SyntaxHelp

· Photos.NewAlbum
pages, alongwith some other pages that I created and also my ow user
profile.
I also tried to import the above mentioned 3 pages from 
xwiki-enterprise-wiki-1.3~.xar javascript:void() but it still gives
error: (for all 3 of these)

12:04:17,007 [
http://crntsbox01/xwiki/bin/import/XWiki/Import?editor=importspace=XWiki]
[http-80-Processor20] ERROR packaging.Package   - Failed to save
document Photos.NewAlbum
12:04:17,304 [
http://crntsbox01/xwiki/bin/import/XWiki/Import?editor=importspace=XWiki]
[http-80-Processor20] ERROR .AbstractFlushingEventListener  - Could not
synchronize database state with session
org.hibernate.StaleStateException: Batch update returned unexpected row
count from update [0]; actual row count: 0; expected: 1

Also, another weird thing that is happening is that all my groups show the
number of members - 1 more than the actual number of members in the group. I
know that each group has the blank XWiki.XwikiGroups object and one each for
a particular member. But, this was not a problem for me in my standalone
version (1.4-SNAPSHOT). In the new setup (which is 1.3.2.9174), it seems
like it is counting that blank object also as a member! Do I need to change
something for it to show the correct number of members in every group?

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


Re: [xwiki-users] Migrating pages from one XWiki instance to another

2008-04-28 Thread Kamna Jain
Thanks Vincent, for that pointer.
I forgot to mention in my earlier mail that I want to move from the
standalone wiki (Jetty and HSQLDB) to the one that uses Tomcat and Oracle
DB. Will, import/export still work or would I have to change/modify
something or use a special script?

Thanks again



On Mon, Apr 28, 2008 at 2:00 PM, Kamna Jain [EMAIL PROTECTED] wrote:

 Hello all,

 So far I had been working on my standalone wiki installation and created
 some pages, preferences, groups etc.
 Now, we want to start using a (x)wiki set up on a server and want to move
 all my changes to that.
 Is there a short, elegant way to do this? (I know we can import stuff..but
 I don't know what can be imported? (or would I just have to copy/repeat all
 the changes manually)

 Thanks

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


[xwiki-users] XWiki Vs. MediaWiki

2008-01-25 Thread Kamna Jain
Hello again,

Thanks a lot for the reply to my request Vincent.
I am further encouraged to start using XWiki because of such good
participation from all.

Since, I have just started looking at it, I am also concerned about the
issues llike how is XWiki different from MediaWiki.
Why should one choose to use XWiki if there exists a wiki that has been
around for a while- like the mediawiki.

No offense meant. I know that this is a second generation wiki and is
possibly the best among all of its kind, but, I am just trying to justify
myself for choosing XWiki over others :)

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


[xwiki-users] Help needed to start with XWiki ...

2008-01-24 Thread Kamna Jain
Hello All,
I am a newbie in XWiki.
I installed the standalone version of XWiki and also downloaded the source
code for the platform (core) and for the Enterprise (Product).

Can anyone guide me as to what should I do next if I wanted to play a little
with the Enterprise code and add some features to it.

I am using Eclipse IDE.

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