For the Page class in XML-RPC setContent() takes a string? What if I want to
pass it a file so that the contents of a file are uploaded into XWiki? How
or can I do that?
(PS. I'm writing the program in Java)
Thanks.
Hello,
In the Blog.Macros, I would like to test whether the content area ($content)
is empty. If the content is empty, I would like to make the content area
invisible. If it is not empty, I would like to make this area visible.
Is there a way to do this in xwiki?
Thank you for your time and help in advance!
Hande
Hi ,
I have downloaded the latest Xwiki source code and build it using mvn.
I have deployed the .war file (which was generated in xwiki-platform-web/
folder) into weblogic server and i have changed the hibernate-cfg.xml file
in web-inf/ folder, and i placed the oracle driver in lib.
then i stared the server and run the url http://localhost:70001/xwiki/ and
clicked on "Xwiki home page" link then its giving the following error.
Error 500--Internal Server Error
com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main
XWiki context
Wrapped Exception: Error number 3005 in 3: Migration failed
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: Unknown entity:
com.xpn.xwiki.store.migration.XWikiDBVersion
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:250)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:400)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:94)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
at
weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
at
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3212)
at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at
weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1983)
at
weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1890)
at
weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1344)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
please help me out to solve this issue.
Thanks in Advance,
SAi kumar
--
View this message in context: http://www.nabble.com/Xwiki-%2B-Oracle-10g-tf4607796.html#a13157689
Sent from the XWiki- Users mailing list archive at Nabble.com.
I once pasted an article from MS Word to the WYSIWYG editor. I found all the
tab-spaces replaced by some unwanted characters. It was a real pain to
format the page after that.
Can there be a facility to allow formatting like MS Office or create a
plug-in for Open Office or something ?
--
View this message in context: http://www.nabble.com/WYSIWYG-editor-tf4606439.html#a13153345
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi all,
This new 1.1 feature has been largely appreciated for our users! Thank
you so much.
But we are facing a situation I am not able to explain. In the same
XWiki installation (1.1 running on SuSE OES1 Linux and/or Mac OS X
10.4.10) some virtual wikis show the blue button at the top right of the
edition box correctly, thus Full Screen Editing Mode is available, but
other don't. The same is true while working with 1.2M1 installations.
I am not able remember/reproduce the steps causing this problem, but I
am pretty sure that all the wikis have shown this botton correctly when
created.
Please, could you figure out what is going wrong here? Are we changing
something, somewhere, affecting the availability of this button?
Thank you,
--
Ricardo Rodríguez
Your XEN ICT Team
Would anyone have an example of using XML-RPC in Java to create a new page
in XWiki? I found an example that uses swizzle and Confluence shown below
import org.codehaus.swizzle.confluence.Confluence;
import org.codehaus.swizzle.confluence.Page;
import java.util.HashMap;
public class AddPageExample {
public static void main(String[] args) throws Exception {
String username = "david";
String password = "snarf";
String endpoint = "http://docs.codehaus.org/rpc/xmlrpc";
Confluence confluence = new Confluence(endpoint);
confluence.login(username, password);
Page page = new Page(new HashMap());
page.setSpace("SWIZZLE");
page.setTitle("Test Page");
page.setContent("This is a test");
confluence.storePage(page);
confluence.logout();
}
}
How different would the implementation for XWiki be?
Thanks.
Dear XWiki Users,
I'm again experiencing problems saving the preferences! After
reimporting everything, modifying pages and preferences, it works for a
while. At a certain moment the following error (only shown partly!)
appears:
Error number 3201 in 3: Exception while saving document
XWiki.XWikiPreferences
Wrapped Exception: Could not execute JDBC batch update
com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while
saving document XWiki.XWikiPreferences
Wrapped Exception: Could not execute JDBC batch update
at com.xpn.xwiki.store.XWikiHibernate.....
When taking a closer look at the xwikipreferences table of the xwiki
database using the PgAdmin tool I can't find anything wrong!
By the way, I use version 1.0.3342 of XWiki in combination with
PostgreSQL 8.2 DBMS!
I'm quite desperate, because the error seems to be unpredictable,
sorry!
Regards,
Gerard
==========================================
Dit bericht is uitsluitend bestemd voor de geadresseerde.
Het bericht kan vertrouwelijke informatie bevatten.
Als u dit bericht per abuis hebt ontvangen, wordt u
verzocht onmiddellijk de afzender te informeren. Ook
verzoeken wij u het bericht te vernietigen en de inhoud
niet onder derden te verspreiden of te gebruiken.
This message is intended exclusively for the addressee.
It may contain information that is confidential.
If you are not the intended recipient, we request that
you notify the sender immediately. In that case, we
also request that you destroy the message and that
you neither use the contents nor disclose them in any
manner to third parties.
==========================================
Dear XWiki Users,
Currently I'm trying to apply the CaledarEvent application, and would
like to sort the events in the EventList by category, date and title.
I know how to execute the hql query (see below)!
#set($query="select obj.name from BaseObject obj, StringProperty tpro,
StringProperty cpro, DateProperty dpro where
obj.className='XWiki.CalendarEvent' and tpro.id.id=obj.id and
dpro.id.id=obj.id and cpro.id.id=obj.id and tpro.name='title' and
dpro.name='startDate' and cpro.name='category' and
cpro.value='Screening' order by cpro.value, dpro.value,tpro.value asc")
#set($results = $xwiki.search($query))
In a foreach loop the name of the object is displayed, but is there
also a way to access the objects itself? My problem is how to access the
sorted CalendarEvents from the query results?
The idea is to present the sorted eventList after the sort, and not in
the order of insertion like in the default XWiki.CalendarSheet!
Please can anybody give a hint? Thanks!
Regards,
Gerard
==========================================
Dit bericht is uitsluitend bestemd voor de geadresseerde.
Het bericht kan vertrouwelijke informatie bevatten.
Als u dit bericht per abuis hebt ontvangen, wordt u
verzocht onmiddellijk de afzender te informeren. Ook
verzoeken wij u het bericht te vernietigen en de inhoud
niet onder derden te verspreiden of te gebruiken.
This message is intended exclusively for the addressee.
It may contain information that is confidential.
If you are not the intended recipient, we request that
you notify the sender immediately. In that case, we
also request that you destroy the message and that
you neither use the contents nor disclose them in any
manner to third parties.
==========================================
Hi,
The following call
http://mywiki/xwiki/bin/save/MySpace/MyPage?content=mycontent
adds the word 'mycontent' to the page MyPage. What if I want the content to
be a file? How do I do so and does the file have to be stored in a
particular directory and does it have to be in xml format?
Thanks.
Hi,
It appears that an Administrator is the only person that can Import/Export
pages into XWiki. Is there a way I can extend this functionality to other
users as well? If so how?
Your help is much appreciated.