Hi Stepane,
Although the concept of placing the Toucan.css in the Skin of the Wiki
instead of the filesystem makes sense
I'm not sure if this works for us...
Our skin is DefaultSkin
In this I have the field Style.css. I could put the file style.css
into this field (copy the code)
In this stylesheet there is:
@import "microformats.css";
@import "fullscreenEdit.css";
@import "css/table/table.css";
@import "usersandgroups.css";
@import "suggest/ajaxSuggest.css";
@import "rss.css";
@import "toucan.css";
Now we have updated the toucan.css
If I put toucan.css as a attachment to DefaultSkin i'm not sure if it
works
Because we also have a script in the skin stylesheets.vm
that will replace style.css under certain conditions;
#if($cntryCd)
#set($defaultstyle = $cntryCd+$styleExtn)
#set($completeURL = $request.getRequestURL())
##* $completeURL
#if($completeURL.indexOf("/view") > 0)
##* Am I here
#set($viewIndex = $completeURL.indexOf("/view"))
#set($firstPartURL = $completeURL.substring(0, $viewIndex))
#set($newURL = $firstPartURL + '/skin/skins/cdlsskin/'+$defaultstyle)
#set($urlCont = $xwiki.getURLContent($newURL, 1500))
#if($urlCont.contains("@import"))
#else
#set ( $defaultstyle = "style.css" )
#end
#else
#set ( $defaultstyle = "style.css" )
#end
#end
The stylesheets that would be called by this script are all on the
filesystem;
They all have a call to toucan.css (see below for one example)
@import "microformats.css";
@import "fullscreenEdit.css";
@import "css/table/table.css";
@import "usersandgroups.css";
@import "suggest/ajaxSuggest.css";
@import "rss.css";
@import "toucan.css";
@import "css/colors/blue.css";
If you think it can still work putting the toucan in the wikipage; as
a attachment or into a new attributue toucan.css which I should add to
the standard class xwiki.xwikiskins?
Hope you can help. (i will also post this conversation on users)
Gerritjan
On 4 jun 2009, at 17:40, stephane barbey wrote:
> Hi Gerritjan,
>
> There's a way to set your new css file without access on the server.
>
> 1/ Go on your skin page, edit that page in object mode, open the
> Default XWiki Skin property and chose in which field you want to
> overwrite your new css.
>
> 2/ Back up the current toucan.css : I don't personnally have access
> to the server. Nevertheless, there's a way to read the content of
> the toucan.css files typing that url : http://cdlsworld2.xwiki.com/xwiki/skins/toucan/toucan.css
> . Then you can copy/paste the content of that file.
>
> Best regards
>
> Gerritjan Koekkoek a écrit :
>>
>> Hi Stephane,
>>
>> I've received an update of toucan.css,
>> Could i request you one more time to place this file in our webapps/
>> xwiki/skins/cdlsskin.
>> Could you make a backup of the current toucan.css before doing this?
>>
>> I have a question about placing this file into the wiki?
>> As I understand in the tutorial i can create a new skin in the wiki.
>> Could I add a new property to the Skin, by editing the
>> XWiki.XWikiSkins class?
>> name toucan.css, type TextArea?
>>
>> Or will this only work for vm template's
>>
>> Gerritjan Koekkoek
We've configured our XWiki instance to use a custom authentication plugin to
authenticate via a secure logon cookie. When the user signs in, information
pertaining to the user is fetched from Active Directory; note that this is
done as part of the plugin, and does not access A/D via XWiki.
However, the side effect of this change is that a user has to access XWiki
once to get created in the local user space so they can then be added to the
various groups that have been created in the wiki. This is inconvenient at
best, and I would like to fix this.
I found an interesting script in this post:
http://n2.nabble.com/LDAP---importing-users-td506206.html#a506207
that provides a script to query LDAP via XWiki, and populate the local user
store with all A/D users.
My question is: can I configure XWiki to use both the custom authentication
plugin, *and* configure LDAP access so I can use the above script to
populate the database?
If the above doesn't work, I can create a perl script that will generate a
script that I can put into a Wiki page, but that's not as nice as having a
canned script available the wiki that I can run at the click of a mouse.
Thanks!
--
View this message in context: http://n2.nabble.com/Custom-authentication%2C-LDAP-configuration-tp3031494p…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi all,
I have some groovy page generating an image (BufferedImage), and I would
like it to be returned and displayed in browser.
I first tried to save this image as a png file with ImageIO, and it works
pretty well and image can be displayed.
If then I try to return it in http response, it always return "The image
"http://localhost/...." cannot be displayed because it contains errors".
{{velocity}}
{{groovy}}
[...]
$context.response.setContentType("image/png");
OutputStream os = $context.response.getOutputStream();
ImageIO.write(image, "jpg", os);
os.close();
[...]
{{/groovy}}
{{/velocity}}
Strangely, if I remove this previous code from my page to put back the png
file saving, png file is saved but error message still shows up ... (cache
?)
I'm asking this question here because maybe it's not the better way to
achieve this with XWiki ...
Thx for any help
--
View this message in context: http://n2.nabble.com/Return-image-in-http-response-tp3075088p3075088.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi, I just installed 1.9 enterprise and i cannot use the editor to
edit/create pages. Here's the error I get in the browser:
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
java.lang.String.substring(String.java:1938)
java.lang.String.substring(String.java:1905)
com.xpn.xwiki.web.ActionFilter.getTargetURL(ActionFilter.java:147)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:99)
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
Interestingly, the above stacktrace does not appear in my catalina.out (I'm
using tomcat 6 and linux). The only thing in my log are warnings:
Request URI [/xwiki%2Denterprise%2Dweb%2D1.9/bin/view/Main/] should have
matched context path
[/xwiki-enterprise-web-1.9] and servlet path [/bin]
2009-06-13 17:45:34,601
[http://xx.xx.xx.xx/xwiki%2Denterprise%2Dweb%2D1.9/bin/edit/Main/test?templa…]
[http-80-3]
Any ideas? Thx
--
View this message in context: http://n2.nabble.com/editor-permission-rights--tp3074204p3074204.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
I've set up the xwiki user on mysql, with xwiki as a password and I've
granted all rights on the xwiki database. I've tested the access
rights by logging into mysql as xwiki, creating a test table in the
xwiki database and dropping it.
My hibernate.cfg.xml file contains the correct credentials for xwiki:
<property name="connection.username">xwiki</property>
<property name="connection.password">xwiki</property>
And yet when I try to open http://localhost:8080/xwiki (or using
127.0.0.1 instead of localhost), it asks for username and password to
access the XWiki area, and it doesn't like username = xwiki and
password = xwiki.
Tomcat says the http authentication failed.
The Tomcat directory structure is owned by the user I use to launch it
(I'm on a Mac OS 10.4).
Any clue as to what the problem might be?
Thanks,
Vittorio
Hello all
I would like to use the ajaxSuggest feature to help users inputting data in an input field of a form.
I checked in the tagedit.vm how it works but i can't have a result.
I create that :
---
#set($script=$xwiki.getURL("Main.TestXML")+"?xpage=plain")
<input type="text" name="project" value="" class="panelinput" style="margin:auto;" onfocus="new ajaxSuggest(this, {script:'${script}', varname: 'input', seps:'', offsety: 13} );"/><br>
---
The page Main.TestXML is like that :
---
$response.setContentType("text/xml")
<?xml version="1.0" encoding="UTF-8"?>
<results type="1">
<rs id="1" info="info1">valeur1</rs>
<rs id="2" info="info2">valeur2</rs>
<rs id="3" info="info3">valeur3</rs>
</results>
---
So when the user inputs something like "al", i would like to see the popup with the three values.
I just got a javascript error saying "Object required" on the line with the input field
Christophe Périnaud
Windows Server 2003 SP2 in a VMWare instance
Oracle 10g
Java 1.6.0_12
Xwiki 1.8 from the pack Jetty/HSQL
--------------------------------------------------------------------------------
This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies.
While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection.
KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1
I've been struggling for a while with the dilemma of getting a user into a
group. Let me supply some background on what we've been trying to do with
Xwiki.
We're trying to use Xwiki for an internal collaborative site. Management
has decided that users of the wiki must complete proper training. Without
the training, the user cannot add to the wiki pages.
For authentication, we've connected the wiki to our LDAP server via the
xwik.cfg file. Authenticated users are automatically placed into the
XWikiAllGroup by default. In order to accommodate management
requirements, I created a new user group... let's call it
"TrainedUsersGroup".
Once authenticated, users are placed into the Webhome page of the wiki.
I've placed Velocity script on the Webhome page to check if the user is in
the TrainedUsersGroup. If the user is not in the group, the user is
redirected to the NoAccess.WebHome page.
On the NoAccess.Webhome page another check is made to determine if the
user is in the TrainedUsersGroup. If the user is not in the group, a call
is made to a Groovy class (on another page in the Groovy namespace). The
groovy code executes a system call to grep on the Linux system running the
Xwiki against a CSV file pulled from an intranet web report. The passed
user's login (which is the same as the LDAP user id) is checked against
this file. If the returned grep output shows that the training has been
completed, the NoAccess.WebHome page will attempt to add the user to the
TrainedUsersGroup. If the user is added to the TrainedUsersGroup as
determined after another check, the user is redirected back to the
originating WebHome page.
This mechanism works great if the user accessing the pages is an admin.
However, if the user is a regular user everything except the addition to
the group works. Instead, the code to place the user in the group displays
on the page. It does not run and put the user into the TrainedUsersGroup.
This is no good for our needs in which we must restrict Xwiki access for
non-trained users.
(My original goal was to connect to our Oracle database and based upon the
user id determine directly if the user has completed the training. I've
had luck with a simple Groovy script running on my desktop and on the
Linux server. However, from within the Xwiki Groovy console or on a page,
I get no output. Therefore, I have abandoned the Oracle query check via
Groovy.)
I've been researching the Xwiki user list for weeks. I've poured over
xwiki documentation. I've peeked at wiki page source. I've done all this
in an attempt to figure out how to get a user to place himself into a
group. I've found a lot of confusing and contradicting information.
Programming rights are mentioned. The only place I found the ability to
set this right was in the xwiki administration. I can't determine if the
problem is even related to programming rights. I've put a debug statement
on the NoAccess.WebHome page to print whether the user visiting the page
has programming rights. In all cases it display that they do. Yet, only
admins can add themselves to the TrainedUsersGroup. This doesn't work for
me. I need to automatically add the visiting user to the TrainedUsersGroup
once the training has been validated.
What is the problem? Why won't the user go into the group? Is there a
better way of doing this? Any help, code snippets or suggestions would be
appreciated.
Thanks.
Dean Weber
Sr Software Engineer II
Raytheon Technical Services Company LLC
The XWiki development team is pleased to announce the release of XWiki Office 1.0 Milestone RC1.
XWiki Office is a XWiki.org project that provides integration between Microsoft Office and XWiki servers.
Go grab it at:
- http://www.xwiki.org/xwiki/bin/view/Main/Download#HXWikiOffice
For more information about XOffice go at:
- http://xoffice.xwiki.org/xwiki/bin/view/Main/
Main improvements introduces in version 1.0 RC1:
- Faster Word startup
- Fixed page publishing issues
- Better & cleaner output
- Improved html tables
- Better lists and bullets
- Cleaned grammar and spelling output
- Small improvements on UI dialogs.
All active XWord M3 clients and snapshot instances will be automatically updated to the latest version.
For details about this release see the Release Notes at:
- http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXOffice10RC1
You can also view the roadmap here:
- http://xoffice.xwiki.org/xwiki/bin/view/Main/Roadmap
Thanks
-The XWiki dev team
Jonathan --
See http://nielsmayer.com/xwiki/bin/view/Sandbox/Calc and
http://nielsmayer.com/xwiki/bin/view/Sandbox/Calc?viewer=code (
http://nielsmayer.com/xwiki/bin/download/Sandbox/Calc/Sandbox.Calc.xar )
The above took about 1 minute to do, basically cutting and pasting the code
as-is from the article below into a new document, adding one line at the
beginning to get it to include the Javascript I pasted into
XWiki.JavaScriptExtension[0] in the object editor and that's it). Let me
know if you want help getting this example running on
http://jonathanmayer.info (you're going to need to see me do the
JavaScriptExtension trick at least once )... from there, you can add new
functions or whatever to learn about javascript programming on the web.
http://www.maconstateit.net/Tutorials/JSDHTML/JSDHTML09/jsdhtml09-05.htm
A Simple Calculator
Use of buttons to create a simple JavaScript calculator is demonstrated
below. The "Calculator" button opens the calculator in a ModelessDialog
window that remains on top while providing access to the underlying Web
page. The layout below shows the same calculator with a "Formula" textbox
that is normally hidden but is revealed here to show the calculations that
take place behind the scenes.
JavaScript Calculator Formula: *Figure 9-34.* A simple
JavaScript calculator.
The XHTML code and button event handlers are shown below. The calculator is
formatted inside a table to control its layout.
<table border="7">
<tr>
<td colspan="4" style="font-family:comic sans ms; text-align:center;
color:white; background-color:gray; font-size:9pt">
JavaScript Calculator
</td>
</tr>
<tr>
<td colspan="3"><input id="Answer" type="text" style="width:100px;
text-align:right"></td>
<td><input type="button" style="width:30px" value="="
onclick="EnterEqual()"></td>
</tr>
<tr>
<td><input type="button" style="width:30px" value="1"
onclick="EnterNumber(this.value)"></td>
<td><input type="button" style="width:30px" value="2"
onclick="EnterNumber(this.value)"></td>
<td><input type="button" style="width:30px" value="3"
onclick="EnterNumber(this.value)"></td>
<td><input type="button" style="width:30px" value="+"
onclick="EnterOperator(this.value)"></td>
</tr>
<tr>
<td><input type="button" style="width:30px" value="4"
onclick="EnterNumber(this.value)"></td>
<td><input type="button" style="width:30px" value="5"
onclick="EnterNumber(this.value)"></td>
<td><input type="button" style="width:30px" value="6"
onclick="EnterNumber(this.value)"></td>
<td><input type="button" style="width:30px" value="-"
onclick="EnterOperator(this.value)"></td>
</tr>
<tr>
<td><input type="button" style="width:30px" value="7"
onclick="EnterNumber(this.value)"></td>
<td><input type="button" style="width:30px" value="8"
onclick="EnterNumber(this.value)"></td>
<td><input type="button" style="width:30px" value="9"
onclick="EnterNumber(this.value)"></td>
<td><input type="button" style="width:30px" value="*"
onclick="EnterOperator(this.value)"></td>
</tr>
<tr>
<td><input type="button" style="width:30px" value="C"
onclick="EnterClear()"></td>
<td><input type="button" style="width:30px" value="0"
onclick="EnterNumber(this.value)"></td>
<td><input type="button" style="width:30px" value="."
onclick="EnterNumber(this.value)"></td>
<td><input type="button" style="width:30px" value="/"
onclick="EnterOperator(this.value)"></td>
</tr>
</table>
<input id="Formula" type="hidden"/>
*Listing 9-22.* Code to format and style the calculator.
Notice the final <input id="Formula" type="hidden"/> field. The
type="hidden" attribute creates a standard textbox that is hidden from view.
In the example above, this control is given the attribute type="text" in
order to make it visible so you can see the formulas being created by the
button clicks.
Four functions are called by the buttons. All of the number keys call
function EnterNumber(), passing the number value of the button; the
arithmetic operator keys call function EnterOperator(), passing the operator
symbol; the "=" key calls function EnterEqual(); and the "C" key calls
function EnterClear().
<script type="text/javascript">
var op = false;
var eq = false;
function EnterNumber(Number)
{
if (op == false) {
document.getElementById("Formula").value += Number;
document.getElementById("Answer").value += Number; }
else {
document.getElementById("Answer").value = Number;
op = false;
if (eq == true) {
document.getElementById("Formula").value = Number;
eq = false; }
else {
document.getElementById("Formula").value += Number;
}
}
}
function EnterOperator(Operator)
{
if (document.getElementById("Formula").value != "") {
document.getElementById("Answer").value =
eval(document.getElementById("Formula").value);
document.getElementById("Formula").value =
eval(document.getElementById("Formula").value) + Operator;
op = true;
eq = false;
}
}
function EnterEqual()
{
if (document.getElementById("Formula").value != "") {
document.getElementById("Answer").value =
eval(document.getElementById("Formula").value);
document.getElementById("Formula").value =
eval(document.getElementById("Formula").value);
op = true;
eq = true;
}
}
function EnterClear()
{
document.getElementById("Answer").value = "";
document.getElementById("Formula").value = "";
op = false;
eq = false;
}
</script>
*Listing 9-23.* Script for the calculator.
Niels
http://nielsmayer.com
The XWiki development team is pleased to announce the release of XWiki
Enterprise 1.9.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
Final release of the XWiki Enterprise 1.9 version.
Main changes:
* UI improvements
** Quick Jump to any Page navigation
** Faster Save and Continue using AJAX
** Improved Full Screen editing
** New Live Table UI
** Improved comments UI and functionality
** Multiple attachment upload in one request
** New UI for the Class and Object editors
** Improved toolbar in the wiki editor
** Preliminary support for Autosave
* PDF export improvements
* JavaScript improvements
* Switched to UTF-8 as the default encoding
* Mailsender improvements
* New Office Importer feature: document splitting
* XWiki 2.0 Syntax is enabled by default
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise19
Thanks,
The XWiki dev team
Hello:
I am deploy to set up XWiki 1.8.4 war to use a JBoss DataSource in version
4.2.2 GA and have so far been unsuccessful.
I have followed the directions in the Admin Guide but keep getting an error:
10:32:02,237 ERROR [[action]] Servlet.service() for servlet action threw
exception
com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main
XWiki context
Wrapped Exception: Error number 3001 in 3: Cannot load class
com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager from
param xwiki.store.migration.manager.class
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: Could not find datasource: java:/jdbc/XWikiDS
This error was highlighted in another posting from 3rd April regarding XWiki
version 1.6.2:
http://lists.xwiki.org/pipermail/notifications/2009-April/042752.html
Below I have included text from my web.xml, my jboss-web.xml and
hibernate.conf.xml
jboss-web.xml:
<jboss-web>
<resource-ref>
<res-ref-name>XWikiDS</res-ref-name>
<jndi-name>java:XWikiDS</jndi-name>
</resource-ref>
</jboss-web>
web.xml:
<resource-ref>
<description>DB Connection</description>
<res-ref-name>XWikiDS</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
hibernate.conf.xml
<hibernate-configuration>
<session-factory>
<!-- DataSource properties -->
<property name="dialect">org.hibernate.dialect.MySQLDialect</property>
<property name="connection.datasource">java:XWikiDS</property>
<mapping resource="xwiki.hbm.xml"/>
<mapping resource="feeds.hbm.xml"/>
</session-factory>
</hibernate-configuration>
Can anyone please advise me if this is a bug in xwiki or if I have something
wrong with my configuration?
Thanks so much.
David
___________________________________________________________________
STRATEGY · TECHNOLOGY · VIDEO
___________________________________________________________________
phone: +44 (0)20 7580 9488 fax: +44 (0)20 7580 9489
mobile: +44 (0)7533 635 116 email: david.thompson(a)nativ.tv
___________________________________________________________________
web: http://nativ.tv blog: http://nativ.tv/futurevideo
___________________________________________________________________
Hi,
I inserted Text "Text" in the title field of a page. When i edit the page
again the "Text" part disappears.
Tried other special characters (; @) and everything seems to work normal. So
its only the " character that makes problems.
(XWiki 1.8.4, syntax 2.0, language: german)
Is there a way to have heading levels 3 or above also used as titel when the
title field is empty?
Thanks
hel.
-----
hel(a)hel.at
--
View this message in context: http://n2.nabble.com/Special-Characters-in-Titel-tp3024569p3024569.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Will Xwiki 1.9 default new pages to 2.0 syntax?
If not, can someone detail the steps needed to change the Wiki defaults so
new pages are created with 2.0 syntax?
Thanks,
--
Glenn
Hi all,
After migration from XWiki 1.5 to 1.8.4, I also migrated all my existing
blog documents to the new blog system (through page Blog.Migration).
Everything seem to have been well migrated, except that major part of my
existing Blog documents were not visible anymore, though pages and objects
were existing in database.
When publishing a new blog post also, while saved to database (and
visibility and publication checked), it's not visible in Blog.WebHome or
Blog.Archive.
I eventually found that field "XWD_HIDDEN" in table "xwikidoc" was set to
"b'1'" (?) for all my not visible blogs. Setting this field back to "null"
make all this documents suddenly appear normally.
But again, when publishing a new blog post, or after restarting tomcat
container, major part of the flags are set back to "b'1'" value and then
disappear ...
Also, the categories by default (News, ...) are not available, as well as
any category I would create, when creating a new blog post.
Am I missing something ?
Context : xwiki 1.8.4 (war and .xar imported), tomcat 5.5.20, linux redhat
4, mysql 5.1.
Thanks & regards,
Jeremie
--
View this message in context: http://n2.nabble.com/1.8.4-%3A-issues-with-new-blog-post-system-tp3018279p3…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi all,
when I try to go to http://localhost:8080/xwiki/bin/view/Main/, Tomcat
throws an exception:
com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not
initialize main XWiki context
Wrapped Exception: Error number 3001 in 3: Cannot load class
com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager
from param xwiki.store.migration.manager.class
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: could not execute query
Looking at the Tomcat logs, I find 2 errors in Catalina.out:
1)
2009-06-07 10:28:04,363 [http://localhost:8080/xwiki/bin/view/Main/]
[http-8080-1] ERROR store.XWikiHibernateBaseStore - Failed updating
schema while executing query [create table feeds_aggregatorgroup
(agg_id integer not null, agg_name text, primary key (agg_id))]
java.sql.SQLException: Can't create table 'feeds_aggregatorgroup' (errno: 13)
[...]
2)
2009-06-07 10:28:04,420 [http://localhost:8080/xwiki/bin/view/Main/]
[http-8080-1] WARN util.JDBCExceptionReporter - SQL Error: 1017,
SQLState: HY000
2009-06-07 10:28:04,420 [http://localhost:8080/xwiki/bin/view/Main/]
[http-8080-1] ERROR util.JDBCExceptionReporter - Can't find file:
'./xwiki/xwikidbversion.frm' (errno: 13)
com.xpn.xwiki.XWikiException: Error number 3001 in 3: Cannot load
class com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager
from param xwiki.store.migration.manager.class
Thanks.
Hi,
Following the instructions given at http://www.malisphoto.com/tips/tomcatonosx.html
, I was able to get my Tomcat container started
as daemon. I already put the Xwiki WAR file in the 'webapps'
directory. Pointing the browser to http://localhost:8080/xwiki only gave
me a blank page. Nothing on it. However manually starting Tomcat
brings me back the correct behavior (the well known Xwiki starting
page).
In the daemon mode, the others contexts (like 'manager', 'examples')
work. Only the Xwiki one did not. What am I doing wrong? Does
anyone already have some experience with a Xwiki in a daemon started
Tomcat container? Attached, you will find the 'jsvc' processes
started and 'catalina.out'. Tell me if you need more information.
Many thanks for you help,
christian
Hi list,
I am trying to insert some ajax on my wiki, but i am facing an issue
with character escaping :
I'm trying to have this :
<td><p id="1,0,0,0,3status"> Todo </p><script type="text/javascript">
new
Ajax.InPlaceCollectionEditor('1,0,0,0,3status','/xwiki2/bin/edit/Project/plannerv2?xpage=assignStatus&id=1,0,0,0,3',{
collection:['Todo','In progress','Dev done','Done'], ajaxOptions:
{method: 'post'} });</script></td>
What I can get is either replacing the [ character with its html code
(using the escaping character) or having xwiki rendering a link.
No success having what i wanted.
I am using xwiki version 1.5 (so syntax 1.0)
So my question is : is there a way to escape a character without getting
its html code ?
Thanks in advance
Jean
--
----
Jean Couteau
Code Lutin - http://www.codelutin.com
44 Bd des Pas Enchantés - 44230 St-Sébastien/Loire
Tél : 02 40 50 29 28 - Fax : 09 59 92 29 28
Hi guys,
I was just wondering if it is possible to install xwiki on a web host I
am paying for. It basically offers me CPanel.
I've been using xwiki on my home computer and love it, but would really
like to be able to use it where ever I go.
I hope this is possible!
Cheers,
Josh
I've seen references in a number of places for confuence support in xwiki.
I have some confluence pages I'd like to convert to xwiki and wonder how
this can be done. Is there a special plugin or converter needed?
Thanks for any help,
Glenn
These pages make reference to disabling the HTML macro, but I am
struggling to find out exactly how to do this - any pointers? I'm
running 1.8.2.
http://dev.xwiki.org/xwiki/bin/view/Design/NewRenderingArchitecture
"Admins of a XWiki installation will be able to prevent using the XHTML
macro for example (for security reasons) by disabling the macro."
http://massol.myxwiki.org/xwiki/bin/view/Blog/XWiki
"It also provides security control to wiki admins if they want to
prevent users from entering HTML (and thus potentially harmful javascript)."
Thanks,
Chris
First of all, thank you for your answer.
I tried to change the type of Editor to WUSIWYG, but even after the change, the field appears like this one :
(∗) TXProblema:
I have been using public java.lang.String display(java.lang.String fieldname,
java.lang.String mode) with mode = "edit" in order to display the field
I already tried mode = "inline", but nothing happens
My problem is just that I need the embedded html editor.
When I call the page in inline mode, it shows every field in inline mode along with many different buttons, what I do not want, because I want to have only one button(my own button) to save the page content, so this is the reason I want only one field(of the type Text Area) in inline mode.
Thank you in advance.
--- Em qua, 3/6/09, jerem <jeremie.bousquet(a)gmail.com> escreveu:
De: jerem <jeremie.bousquet(a)gmail.com>
Assunto: Re: [xwiki-users] How to display in inline mode, only an specific field from a class
Para: users(a)xwiki.org
Data: Quarta-feira, 3 de Junho de 2009, 11:58
If I understood well, I think you should be able to do it by updating the
characteristics of your text fields in your class : you can choose the
"Editor" to use (Text, PureText or WysiWyg). Choose wysiwyg to have the html
editor, and text or puretext for standard text field.
To display a field have a look to the javadoc (Document.display() methods)
I.E. :
public java.lang.String display(java.lang.String fieldname,
java.lang.String mode,
Object obj)
Here mode can be 'edit' or 'view' ... (I don't know all possible values).
--
View this message in context: http://n2.nabble.com/How-to-display-in-inline-mode%2C-only-an-specific-fiel…
Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com