Hi,
I was looking for a way to set Parent Value with drop down list when user edit a page... I found this solution:
I modify the forms "Panels: DocumentInformation" (/xwiki/bin/inline/Panels/DocumentInformation) like this:
I replace lines:
****************
<input type="text" id="xwikidocparentinput2" name="parent" value="$!tdoc.parent" size="30"/>
****************
by
****************
<select name="parent" class="panelselect">
<option value="$!tdoc.parent" selected="selected">$!tdoc.parent</option>
<option value="">-Empty \*-</option>
#foreach($subdoc in $xwiki.getSpaceDocsName("$doc.web"))
<option value="$subdoc">$subdoc</option>
#end
</select>
****************
The forms contain:
****************
#set($pages = $tdoc.includedPages)
#largepanelheader("XWiki document information")
<dl><dt><label for="xwikidocparentinput2">$msg.get("parentfield"):</label></dt> <dd>
<select name="parent" class="panelselect">
<option value="$!tdoc.parent" selected="selected">$!tdoc.parent</option>
<option value="">-Vide \*-</option>
#foreach($subdoc in $xwiki.getSpaceDocsName("$doc.web"))
<option value="$subdoc">$subdoc</option>
#end
</select></dd>
#if($pages.size() != 0)
#if($pages.size() == 1)
<dt>$xwiki.parseMessage("editincludepagemsgone"):</dt>
#else
<dt>$xwiki.parseMessage("editincludepagemsgmore"):</dt>
#end
<dd>
<table summary="$msg.get("includeddocumentssummary")" id="xwikiincludeddocuments">
<tbody>
#foreach ($page in $pages)
<tr><td><a href="$xwiki.getURL($page, "view")">$page</a></td>
<td class="xwikibuttonlink"><a href="$xwiki.getURL($page, "edit")">$msg.get("edit")</a></td></tr>
#end
</tbody>
</table></dd>
#end
</dl>
#template("tagedit.vm")
#panelfooter()
I¹m setting up an xwiki for my organization and I¹ve managed to tie it to
our 2003 Domain controller for user authentication. My problem is that with
xwiki 1.0 users could just log in with their domain accounts, registration
of said user was automatic. With 1.1 milestone 2 the user must be registered
first or they don¹t seem to have permissions to view anything, sometimes it
just won¹t accept them at all. I¹m using the same configuration lines in
xwiki.cfg for 1.1 as I did for 1.0. Am I missing something? Or is this
working as intended?
------------------------------------------------------------------
Jacob Bresciani
Systems Analyst, Information Systems Support
Procurement and Supply Services
Phone: (250) 356-7115 Fax: (250) 387-0388
E-mail: jacob.bresciani(a)gov.bc.ca
Visit us online at: http://www.pss.gov.bc.ca/
Committed to our customers ... always working for you!
Hi everyone,
Just wanted to let you know I have completely rewritten the XWiki
Syntax Guide.
It's available at:
http://www.xwiki.org/xwiki/bin/view/UserGuide/XWikiSyntax
Please let me know if you think anything is missing or not correct.
That'll help improve it.
Thanks
-Vincent
Hi,
I am doing a search for all the users whose address is matching a particular pattern. (Suppose there is an "address" property in the UserClass). Also I want the results to be sorted by another property, say, "username".
I found a similar query in this mailing list thread :
http://www.nabble.com/select-objects-by-class-and-sort-by-property-tf710844…
I tried forming the following query but it is wrong.
, BaseObject as obj, StringProperty as prop, StringProperty as otherprop join obj.id=otherprop.id.id and otherprop.id.name='username' where obj.name=doc.fullName and obj.className='Users.UserClass' and obj.id=prop.id.id and prop.id.name='address' and prop.value like '%someaddress%' order by otherprop.value
Can anyone tell me what the correct query should be like.
Thanks in advance
Roopesh
Hi.
I get the xwiki-web-standard-1.1-milestone-3-hsqldb.war and put it in
my tomcat 5.5.23 using Java 1.6.0_01. I change the hibernate file to
use MySQL DB and I import the Default xar file
(xwiki-application-panels-1.1-milestone-3.xar).....
So now i can't ADD a user in my xwiki and the Admin user don't
exist.... so i try the superadmin user but when i click in User&Groups
in the link the users page... don't have a link to ADD a new user.
How can i add a new user?
All,
By using the WYSIWYG editor I have added to my wiki page a link to a text
file. The generated link location is file:///z:/ASF/MyFile.txt. When copying
the link location into Firefox, the file is correctly shown. The problem is
that when I click on the link in XWiki and Firefox, nothing happens. When
using Internet Explorer :o( everything works just fine.
This is clearly an issue linked to the way Firefox handles file links. I
have searched, but have not found a solution. Can someone provide some help
for solving this issue ?
Regards, Stefan Lecho.
--
View this message in context: http://www.nabble.com/File-link-not-working-in-Firefox-tf4067071.html#a1155…
Sent from the XWiki- Users mailing list archive at Nabble.com.