When trying to create a new page using the New Page/"Create" panel, it
always displays a message that the the page already exists. Other means of
creating a page work fine, like using the "Create Page" menu item of the
space or typing the new page name in the URL.
I have an XEM 2.3.28624 installation with two XE instances set up using
Path-based resolution. This error is occurring in both XE instances.
Steps Taken
1. visit the wiki
http://server1/xwiki/wiki/mywiki/
2. Type in any value into the Name field on the "Create" panel
3. click the "Create" button
The page with "This document already exists" is shown.
1)
I have a ToolClass with objects: Description (Description: TextArea), Title
(Title: String), URL (URL: String).
Creating a new Tool I have to fill out these objects. "Description" is a
TextArea object (editor: PureText) and it can contain line breaks. In my
Livetable I show these objects and their contents. But if I have a line
break in "Description" my Livetable doesn't show anything.
How can I solve this problem? Does anyone has an idea? Or do I have to
remove "Description" from my Livetable list? Perhaps it is possible to
transform all line breaks to one blank line? Or is this to complex?^^
Ps. What for are "Validation Regular Expression" and "Validation Message" in
the "Description" object made. I tried to put things like [a-zA-Z] in but it
doesnt work. Entering numbers still work.
2)
I want to create a space where I can create pages which are all showen in my
Livetable.
This is my code:
#######################################################################
==== Type the title of your Wiki in the "Page Name" field and click on
create.====
{{velocity}}
{{html}}
#if($hasEdit)
#set($panelId = $util.generateRandomString(4))
<form method="post" action="$doc.getURL('view', 'xpage=create')"
onsubmit="cancelCancelEdit()">
<div class="padded left">
<input type="hidden" name="tocreate" value="page"/>
<dl>
<dt>
#set($pageInputId = "page$!{panelId}")
<label for="$pageInputId">$msg.get('core.create.page')</label>
</dt>
<dd>
#set($pageText = $msg.get('core.create.pageText'))
<input type="text" id="$pageInputId" name="page" value="$pageText"
onfocus="if(this.value=='$pageText') this.value=''"
onblur="if(this.value=='') this.value='$pageText'"/>
</dd>
</dl>
#set($parent = $services.model.serialize($doc.documentReference,
"local"))
<input type="hidden" name="parent" value="$!parent"/>
<input type="submit" class="button" value="$msg.get('create')"/>
</div>
</form>
#end
{{/html}}
{{/velocity}}
==== This table lists all the documents found in Projects-KnowHow.====
{{velocity}}
#set($collist = ["doc.name", "doc.space", "doc.date", "doc.creator",
"doc.author", "_actions"])
#set($colprops = {
"doc.name" : { "type" : "text" , "size" : 30, "link" :
"view"},
"doc.space" : { "type" : "hidden", "link" : "space"},
"doc.date" : { "type" : "date" },
"doc.creator" : { "type" : "text", "link" : "creator",
"displayName" : "Creator"},
"doc.author" : { "type" : "text", "link" : "author"},
"_actions" : {"actions": ["edit","delete","rename"]}
})
#set($options = { "topFilters":'<input type="hidden" size="${colprop.size}"
name="doc.space" value="Projects-KnowHow" />',
"translationPrefix" : "xe.index.",
"rowCount": 10,
"selectedColumn": "doc.date",
"defaultOrder" : "desc"
})
#livetable("projectsKnowHow" $collist $colprops $options)
{{/velocity}}
#######################################################################
With this code I have two problems.
a) The result does not look nice. There is something like an empty Tag
Cloud. (cause of topFilters)
b) "WebPreferences" and "WebHome" is listed in my Livetable
Does anyone know how to solve these two problems or perhaps a better
solution for me?
Ps. I also would like to hide this space (called: Projects-KnowHow) in my
Space Panel. Because I have a space called "Projects" with links in it to
other pages and also one to "Projects-KnowHow". So I don't need it in my
Space Panel. But I think "Projects-KnowHow" must be a space to create pages
in it...and it also makes it easyer to find pages with Lucene by searching
in "Projects-KnowHow"
For easyer to understand:
Space Panel shows:
*Projects
*Page1
*Page2
*Space1 (Projects-KnowHow)
*Sandbox
*Space1 (Projects-KnowHow)
But I wont see the last one....is something like this possible?!
3)
As you can see in the code above I have in my Livetable:
#set($colprops = {
"_actions" : {"actions": ["edit","delete","rename"]}
But "_actions" is "A special column to display a list of actions that can be
performed by administrators on the matched documents."
Is it possible to make it available to all other user who have edit and
delete rights?
4)
I have imported the Photo Album App. The only deficit of this App is, that I
can only add one photo after another before I klick on attach. It would be
better to mark all photos, klick on open to add them and then klick on
attach.
So attaching more files at once would be good. Is something like this
possible or planned?!
---
I am very grateful for any form of assistance
(and I hope this would be my last questions )
--
View this message in context: http://xwiki.475771.n2.nabble.com/4-Questions-Livetable-1-3-Photo-Album-4-t…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I am trying to add a dynamic number of objects (all of the same type) to
a document from the inline-edit page. The workflow that I would like is
for the user to click an "Add Requirement" button and a row is populated
on the page below the edit-list of existing requirements that is blank
and can be added to. The user can do this multiple times, then click the
"Save & View" button and it is all saved.
I have figured out how to create objects during the initial rendering of
the edit page, but not how to do it dynamically.
Any suggestions would be greatly appreciated.
Thanks!
--Matthew
Hello Xwiki users,
I plan to create a new wiki on myxwiki.org for a large comunity of
non-technical users (~1K), so Xwiki is my first choice.
However I will add new features to the wiki, like: OpenId and JForum, so
what I'm asking if there is a possibility to re-deploy my modified webapp
onto myxwiki.org afterwards, OR once the created wiki there is no other
possibility to improve it ...
If the answer would be yes, I would be grateful for a How-To. If not, I
would search for dedicated hosting, and still be grateful for your work!
Best regards!
--
I have two different applications - myProject and Xwiki running on tomcat
server.
I have iframe in myProject that displays the xwiki.I made the look and feel
much similiar so that it feel like same app to the user.
I'm using REST APIs to communicate between two apps.
I've made the application such that if the user is created in myProject, the
same user gets created in XWiki too.
Now, I wanted to make the application such that if the user logs in
myProject, he/she will be automatically logged in the xwiki.
Can this be achieved?
Any help will be greatly appreciated.
Thankyou in advance,
xManish
--
View this message in context: http://xwiki.475771.n2.nabble.com/Single-sign-on-tp5299320p5299320.html
Sent from the XWiki- Users mailing list archive at Nabble.com.