On the same note, I also have the following questions: The answers will help
implement whichever option we choose:
1) Is there a limit on the number of members that can belong to a group?
2) How can I create a "global" hashmap (xwiki.getHashMap()) that can be
referenced anywhere (any page/space) to retrieve values based on keys?
3) Can I use the $context to add some more values(needed for our project) to
the hashtable?
4) I came across the following code snippet int he Wiki editor of the
PanelWizard:
#set($categoryMap = $xwiki.getHashMap())
#foreach($category in $categoryList)
$!categoryMap.put($category, $xwiki.getArrayList())
#end
I do not understand the use of "!" in the put() method. what do we achieve
with this!
Thanks for all help!
On 5/5/08, Kamna Jain <kammy.scorpi(a)gmail.com> wrote:
>
> 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!
>
>
>
When I'm logged in as a user with all global privilages, and I'm on a
wiki page, the "edit" menu doesn't have any sub-menu items. However,
when I log in as superadmin, I see sub-menu items such as "wiki",
"WYSIWYG", "Inline form" etc. Is there a way to set up a user other
than superadmin with this??
Thanks,
Jeff
Hi all,
I had downloaded the whole setup of xwiki. In beginning
its working fine but
Whenever I restart the tomcat 5.0 the version of the
Xwiki Changed from Version 1.0 to version 9.841.
I m not getting why it happening . Please help me out
from this problem
Regards
pramit
*********************************************************************************************************************************************
This e-mail communication and any attachments may be privileged and confidential to Hexaware and are intended only for the
use of the recipients named above. If you are not the intended recipient, please do not review, disclose, disseminate,
distribute or copy this e-mail and attachments. If you have received this email in error, please delete the same alongwith
all attachments thereto and notify us immediately at mailadmin(a)hexaware.com <mailto:mailadmin@hexaware.com>.
*********************************************************************************************************************************************
Hi XWikiers
There are open question about the new skinx plugin, I'd like to
discuss about the first one :
http://dev.xwiki.org/xwiki/bin/view/Design/SkinExtensions#HUsage
"Should $xwiki.jsx.useFile("filename.js") work for files located on
the disk? This allows the same pull process to be used with files
located in the skin, without requiring SX documents and objects. I'd
say yes. Then, what should the URL look like?
/xwiki/bin/jsx/skins/albatross/somestyle.css is OK?"
We definitely need this to be able to load some libraries
condditionaly, for example usersandgroups.js or lightbox.js.
I don't see the need for some special URLs, would it be a problem that
useFile() adds the result of a xwiki.getSkinFile() to the header ?
Thanks,
--
Jean-Vincent Drean
Devs,
How is the TagClass used?
Does a page contain one object of this class for every Tag that is added to
the page/document.
or
Do, all the tags belong to the same "tags" field of one object.
I tried adding 2 tags (separated by a | ) and then used rthe following code,
it does not seem to work. Please guide:
#set($assetDoc = $xwiki.getDocument($asset))
#set($tagObject=$assetDoc.getObject("XWiki.TagClass"))
#set($tags = $tagObject.get("tags"))
#set($tagList = $tags.split("|")) or #set($tagList =
$tags.toString().split("|")) (even getName() does not work)
#foreach ($tag in $tagList)
#if($tag == "XYZ") ( #if($tag.equals("XYZ")) also does not work
but when I had only one tag in the tags field, I just used :
#if( $tagObject.get("tags") == "XYZ")
and this worked....
Please help - one tag per object or multiple tags per object?
Thanks
Hi,
On Apr 30, 2008, at 1:05 AM, Fabrizio Lamari (TeleJob - WebMaster)
wrote:
> Hello
>
> I was using the XWiki for our company and since yesterday evening it
> doesn’t work anymore.
> I haven’t changed anything on the settings yesterday.
> When I want to go on the XWiki (www.telejob.ch/wiki.html) I get this
> error:
[snip]
> Caused by: java.sql.SQLException: General error:
> java.lang.OutOfMemoryError: Java heap space
> at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
> at org.hsqldb.jdbc.jdbcConnection.<init>(Unknown Source)
> at org.hsqldb.jdbcDriver.getConnection(Unknown Source)
> at org.hsqldb.jdbcDriver.connect(Unknown Source)
> at
> org
> .apache
> .commons
> .dbcp
> .DriverConnectionFactory
> .createConnection(DriverConnectionFactory.java:37)
> at
> org
> .apache
> .commons
> .dbcp
> .PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:
> 290)
> at
> org
> .apache
> .commons
> .dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:
> 877)
> at
> org
> .apache
> .commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:
> 851)
[snip]
As you can see your JVM has no more memory. I don't know why this
happened (it can a lot of reasons) but the way to solve it for now is
just to restart the JVM (i.e. the servlet container).
Thanks
-Vincent
Hi,
I'd like that we review our objectives for 1.4 vs what we've done:
* Bug fixes
o Go from 240 in JIRA for Core down to 180 on XE 1.4
release date
Right now the bug count is at 227. Even though it's lower than 240
it's still a far cry from the 180 target...
* Better performance
o Run XE with a profiler and find bottlenecks
Not done
o Reduce number of database calls
Not done
o Improved page loading (JV)
Not done
o Make Stats usable on xwiki.org (ThomasM)
Done!
* More automated tests
o More selenium tests
We can consider this done although we always need more. We need to
continue adding and even spending some time just adding tests even if
we don't have code at all.
o Add tests on Tomcat 6.x as part of the CI build
Not done
o Add tests on Windows and with IE6 and IE7 as part of the
CI build
Not done
Conclusions:
==========
* We're not too good. I think this is principally due to me, since I
focused on the new rendering component and have delegated XE day to
day management/coaching to JV. Thus JV has not been able to work on
the performance improvements as planned. We really need to get that
going in 1.5 now.
* We have 1 more week to fix as many bugs as possible.
WDYT?
Thanks
-Vincent
Hi,
I've started the page at http://enterprise.xwiki.org/xwiki/bin/view/Main/Roadmap
but let's discuss it here first.
So what are the tasks we want to solve for 1.5. Here's my take:
* More bug fixes
* Better performance
o Run XE with a profiler and find bottlenecks
o Reduce number of database calls
o Improved page loading
* More automated tests
o More selenium tests
o Add tests on Tomcat 6.x as part of the CI build
o Add tests on Windows and with IE6 and IE7 as part of the
CI build
* Overhaul of the Administration
So basically more stability and more usability.
In term of dates, I think 2 milestones followed by a RC works pretty
well. In total that's about 3 weeks for each milestone and then 1 week
for each RC. If we imagine we need 2, then that's 8 weeks, i.e. 2
months, which sounds good to me.
WDYT?
I'll let JV propose precise dates.
Thanks
-Vincent