Hi all!
I'm a programmer in an educational association called “Snunit” which located
in Jerusalem, Israel.
We want to create multi-wikies environment, such that every teacher can
create his class's wiki.
I want to build it, in one db. I think to add column of "wiki_id" to each
relevant table,
and in that way to hold the data about all the wikies.
Is XWiki database support many wikies? (Without creating db for each
specific wiki)
Thank you!
Miriam N.
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
Good morning!
I copied the contents of an excel (11 columns and 132 rows) to the wysiwyg
editor of a new document and it pasted the data... but when I clicked on
"Preview" the browser stalled for a while and then displayed the following
message:
«HTTP ERROR: 500
Form too large
RequestURI=/xwiki/bin/preview/AGR/DocTabelaRegulacaoDT
*Powered by Jetty:// <http://jetty.mortbay.org/>**»*
**
In the console was printed the following message:
*09:23:07.715 WARN!! [P1-18] org.mortbay.jetty.servlet.ServletHandler.handle
(Serv
letHandler.java:589) >11> /xwiki/bin/preview/AGR/DocTabelaRegulacaoDT:
java.lang.IllegalStateException: Form too large
at org.mortbay.http.HttpRequest.extractParameters(HttpRequest.java
:840)
at org.mortbay.http.HttpRequest.getParameter(HttpRequest.java:908)
at org.mortbay.jetty.servlet.ServletHttpRequest.getParameter
(ServletHttp
Request.java:650)
at com.xpn.xwiki.web.XWikiServletRequest.getParameter
(XWikiServletReques
t.java:193)
at com.xpn.xwiki.web.EditForm.readRequest(EditForm.java:54)
at com.xpn.xwiki.web.XWikiForm.reset(XWikiForm.java:59)
at org.apache.struts.action.RequestProcessor.processPopulate
(RequestProc
essor.java:809)
at org.apache.struts.action.RequestProcessor.process(
RequestProcessor.ja
va:203)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java
:119
6)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java
:432)*
* at javax.servlet.http.HttpServlet.service(HttpServlet.java:616)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java
:428
)
at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(
WebApplicationHandler.java:830)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter
(SetCharacterEnc
odingFilter.java:118)
at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(
WebApplicationHandler.java:821)
at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch
(WebApplicati
onHandler.java:471)
at org.mortbay.jetty.servlet.ServletHandler.handle(
ServletHandler.java:5
68)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
at org.mortbay.jetty.servlet.WebApplicationContext.handle
(WebApplication
Context.java:633)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
at org.mortbay.http.HttpServer.service(HttpServer.java:954)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java
:983)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
at org.mortbay.http.SocketListener.handleConnection(
SocketListener.java:
244)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)*
Is there any known limit to the amount of information a form can handle?
Thanks for your tips,
Ricardo.
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
Hello!
How can I pass some arguments to a wiki page?
I'd like to have a page with a list of objects of the ApplicationClass (with
some properties like Name, Description, Version, Type, Url/Path, etc.). Then
there will be a button for each one that will redirect to a new page,
passing the name and url/path of the chosen app. In this new page I'll have
an iframe, for instance, that will show the web app according to the passed
url (for local apps it could somehow launch the app), as well as a
"AppFinding" ClassTemplate form for create new objects.
What do you think? Again a plugin could be the better way of doing this...
Thanks in advance for your help :)
Best regards,
Ricardo.
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
Hi Sergiu,
On Sep 2, 2007, at 3:37 AM, Sergiu Dumitriu wrote:
[snip]
> catch (Exception e) {
> - if ( log.isErrorEnabled() ) log.error("Failed updating
> schema: " + e.getMessage());
> + if ( log.isErrorEnabled() ) {
> + log.error("While executing query: " + sql);
> + log.error("Failed updating schema: " + e.getMessage
> ());
> + }
> }
> finally {
> try {
I have 2 comments:
* I think a single line is better as having the same sentence on 2
differents log statements is strange. Something like:
"Failed updating schema while executing query [" + sql + "]"
* I think we need to pass "e" and not "e.getMessage()" so that we log
the wrapped exceptions if any and get to the root of the problem.
Especially as this is an error and I think we need to have stack
traces for errors.
So I propose something like:
log.error("Failed updating schema while executing query [" + sql +
"]", e);
WDYT?
Note: I had meant to improve storage errors in the past, see http://
jira.xwiki.org/jira/browse/XWIKI-466
Thanks
-Vincent
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
Hi,
The current default profile, when building trunks-devs or
trunks-users, is to build all components, including curriki, XEM,
multiwiki. There is a profile defined for building only XE, but it is
not the default one.
Given the fact that most users only want to build XE, this should be
the default profile. So I'd like to:
- make the default profile = 'xe'
- add an 'all' profile, which builds all the modules
WDYT?
Sergiu
--
http://purl.org/net/sergiu