Hi,
If a visitor reports that, after registration, he/she never got the e-
mail with the registration-confirmation link? (probably due to spam
filters of his/her organisation)
What can/should a administrator do to enable the account anyway?
Is there a object setting that can be set to "confirmed"? (or anything
alike)
Gerritjan
Hello,
This is just a quick question regarding the functionality of tags, and
searching by tags.
Currently, when you go to the 'Tags' page, where a list of all tags being
used is displayed, when you click on one of the tags, it transfers you to a
page containing a table of all the pages that are using this tag, with some
other information.
My question is regarding how, or if it is at all possible to utilize this
search functionality with multiple tags. For instance, instead of just
searching for tag 'abc', to be able to search for all documents that contain
two tags, 'abc, and 'def'.
I know in confluence this is possibly simply by selecting another tag, or
appending the tag name with a '+' in the address bar (.../tag_a+tag_b).
Can anyone provide me with a bit of information regarding this? Thanks very
much to the community.
Cheers
--
View this message in context: http://n2.nabble.com/Search-by-multiple-tags--tp1466829p1466829.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello again,
So my next dilema is structuring the 'All Tags' page. Currently, there is a
list of all tags on all pages on all spaces, in alphabetical order. All
good here.
However, the way I'm utilizing the tags, there are certain groups of tags
that all have the same prefix, for example a group of tags that all start
with 'xyz-', or another group that all starts with 'zyx-'.
So, I'm trying to build an HQL statement that just selects those tags that
contain the prefix 'xyz-', for example. The HQL I'm using to select ALL
tags is as follows:
select distinct elements(prop.list) from BaseObject as obj,
DBStringListProperty as prop where obj.className='XWiki.TagClass' and
obj.id=prop.id.id and prop.id.name='tags' order by 1 asc
I've tried appending additional where clauses trying to just selec the tags
with the 'xyz-' prefix wihtout any luck. I've tried such things as:
... and prop.value LIKE 'xyz-%' ...
and prop.id.value LIKE 'xyz-%' ...
and obj.value LIKE 'xyz-%' ...
and obj.id.value LIKE 'xyz-%' ...
None of these seem to work however. Does anyone have any suggestions or a
workaround? Any and all input is greatly appreciated. Thank you in advance
community!
Cheers
--
View this message in context: http://n2.nabble.com/How-to-select-a-subset-of-tags-with-HQL-tp1466640p1466…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello together,
I have installed XWiki 1.6.1 and when I set the Title in Title2 or 3 and
put first \#toc ("2" "3" "false") it generates no table of contents.
Besides it genarates html tags.
How can I genarate now with the new 1.6.1 version the table of contents?
Is there any changes?
Thanks!
--
View this message in context: http://n2.nabble.com/table-of-contents-in-version-1.6.1-tp1469582p1469582.h…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello ,
I have downloaded the XSL Plugin and configured the xwiki.cfg.
Then I have created a new xwiki document and attached the xsl:
rss2xhtml.xsl . After that I have put the command
$xwiki.xslURITransformer.cachedTransformURI( SOURCEID,XSLID,900);
SOURCEID is the URL of my rss and XSLID is the URL of my xsl,like
http://localhost:8080/xwiki/bin/download/Main/XSLDokument/rss2xhtml.xsl
he shows the following error:
Error number 4001 in 4: Error while parsing velocity page Main.XSLDokument
Wrapped Exception: Failed to evaluate content with id XSLDokument
Please help! What can I do?
Thanks!
--
View this message in context: http://n2.nabble.com/XSL-Plugin-shows-error-4001-in-4-tp1403279p1403279.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Sometime ago I was given this code to add to attachmentsinline.vm
#set($attachmentsMap = $util.hashMap)
#foreach($a in $attachments)
#set($discard = $attachmentsMap.put($a.date, $a))
#end
#set($dates = $util.arrayList)
#foreach($date in $attachmentsMap.keySet())
#set($discard = $dates.add($date))
#end
#set($dates = $util.sort($dates))
#set($dates = $util.reverseList($dates))
#set($attachments = $util.arrayList)
#foreach($date in $dates)
#set($discard = $attachments.add($attachmentsMap.get($date)))
#end
this works fine, putting the attachments in order on my local server
However, my client (running XWiki Enterprise 1.5.1.12494) reports that it
doesn't show all the attachments. He has one page with about 10 attachments,
only 5 of which show. If he takes the code out all the attachments are
there, but not in date order which he wants.
can anyone please help.
I need to edit the registration form. I have altered the class XWikiUsers to
add the extra fields
I have altered the registration page to show the extra fields.
However, the values are not being saved - when you create test users, log in
and go to their profiles or edit/profiles the fields are blank
HOw do I get the values to actually save?
Here is some of the code from the registration page that I have used
function doAction(){
document.getElementById('register_firstName').value =
document.getElementById('first_name').value;
document.getElementById('register_lastName').value =
document.getElementById('last_name').value;
}
<dl id="xwikiuserprofile">
:
:
<dt class="label"><label>Title:</label></dt>
<dd><input size='30' id='title2' name='title2' type='text'/></dd>
:
:
the name for the property is title2
Hello,
I created a FAQ application, pretty much like the template, but with an
added "Category" field.
This "Category" is stored in a DBTreeList property, and contains classified
categories, sub-categories, sub-sub categories ...
When in the context of an FAQ object, this list displays well, and lets the
user choose to which category belongs the FAQ entry.
To build the "WebHome" for this FAQ, I would like to give users opportunity
to filter FAQ entries depending on this same Category. To do so, IMO what
would be logical would be to display this same field based on property
"Category", in edit mode (to have the drop-down list), but here there is no
contextual object.
Is there a way to do this easily ? I workarounded it by creating a fake
object in my WebHome with same property definition as "Category", but then
if I want to keep track of what is selected the object value has to be
updated each time the user filters the view, and it will be updated for
everyone, I think it's a quite ugly solution and I'm looking for something
better ...
I think this subject might already have been discussed, but could not find
anything in the mailing-list,
Any ideas welcome ... ;)
Best regards,
Jeremie
--
View this message in context: http://n2.nabble.com/Display-a-property-edit-field-out-of-an-object-context…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Sergiu Dumitriu,
Using this tip, i had print the className and got this result :
System.out.println("search return (" + searchResult.getClass() + ")");
[stdout] search return (class [Ljava.lang.Object;)
I was wrong because i was thinking that this was a basic Object but
it's an array of Object (not a List)...
So proceeding this way i got my array of results (Map []) with
confluence "SearchResult" attributes)
Here is a sample wich display the first result title (assume that
there is one result) :
Object searchResult = client.execute("confluence1.search",
new Object[] { p_token, p_query, new Integer(p_maxResults) });
// System.out.println("search return (" + searchResult.getClass() + ")");
// searchResult != null
Object[] searchResults = (Object[]) searchResult;
// searchResult != null && searchResults.length > 0
String firstObjectTitle = (String) ((Map)searchResults[0]).get("title");
System.out.println("firstObjectTitle =" + firstObjectTitle);
Relevant (confluence) SearchResult attributes :
Key Type Value
title String the feed's title
url String the remote URL needed to view this search result online
excerpt String a short excerpt of this result if it makes sense
type String the type of this result - page, comment, spacedesc,
attachment, userinfo, blogpost
id String the long ID of this result (if the type has one)
FYI, here is a test result :
[stdout] search return (class [Ljava.lang.Object;)
[stdout] firstObjectTitle=Main.WebHome
[stdout] firstObjectUrl=
[stdout] firstObjectExcerpt=
[stdout] firstObjectType=pageid
[stdout] firstObjectId=Main.WebHome
Thanks :)
Regards
Brice Vandeputte
-----Message d'origine-----
De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] De la
part de Sergiu Dumitriu
Envoyé : jeudi 6 novembre 2008 04:53
À : XWiki Users
Objet : Re: [xwiki-users] [XML/RPC] trying execute
"confluence1.search"without success
VANDEPUTTE Brice ITLABS wrote:
> Hi all,
>
> i'm trying to create a Java XML-RPC Client of my Xwiki instance
> (for now i'm using xwikie1_6m2)
>
> Documentation used :
> - Xwiki XML/RPC doc :
> http://platform.xwiki.org/xwiki/bin/view/Features/XMLRPC
> - Confluence API Specification :
> http://confluence.atlassian.com/display/DOC/Remote+API+Specification
>
> I success with this methods : confluence1.login,
> confluence1.logout, confluence1.getPage, confluence1.storePage,
> confluence1.renderContent
>
> but i got a problem with this one : confluence1.search
>
> Confluence API talk about two ways to use search :
> 1) Vector search(String token, String query, int maxResults) -
> return a list of SearchResults which match a given search query
> (including pages and other content types). This is the same as a
> performing a parameterised search (see below) with an empty
> parameter map.
>
> 2) Vector search(String token, String query, Map parameters, int
> maxResults) - (since 1.3) like the previous search, but you can
> optionally limit your search by adding parameters to the parameter
> map. If you do not include a parameter, the default is used instead.
>
> The second way (with parameters) is not implemented on Xwiki (cf.
> http://jira.xwiki.org/jira/browse/XWIKI-1559 )
>
> So how must we use the first search method (without Map parameters) ?
>
> I'm trying this :
> Vector searchResult = (Vector) client.execute("confluence1.search",
> new Object[] { p_token, p_query,new Integer(p_maxResults) });
> This code return a "ClassCastException" : it's like the returned
> object were not a "Vector".. If then what is it ?
>
I don't know what it is. In Java, the method returns List<String>. To
see what you have there, just use reflection:
Object searchResult = client.execute...
System.out.println(searchResult.getClass())
// Or whatever logging method you use
This will print the exact classname, and from there you can procede further.
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Hi,
trying to get the Excel-Plugin to work. I followed the intructions (hope so)
but I it doesn't seem to work.
XWiki-Enterprises 1.6.1
Java-Version 1.6.0-b09
Excel Plugin 1.0-jdk16
Java Excel API 2.6.9
The Excel file was created with Office 2007 and saved
http://n2.nabble.com/file/n1449684/error.txt error.txt
The error code is:
Error number 4001 in 4: Error while parsing velocity page
Main.WikiHelpInsertExcel Wrapped Exception: Failed to evaluate content with
id Wiki Help Insert Excel
The whole error message is attached.
--
View this message in context: http://n2.nabble.com/Excel-Plugin-not-working-tp1449684p1449684.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi all,
i'm trying to create a Java XML-RPC Client of my Xwiki instance (for
now i'm using xwikie1_6m2)
Documentation used :
- Xwiki XML/RPC doc :
http://platform.xwiki.org/xwiki/bin/view/Features/XMLRPC
- Confluence API Specification :
http://confluence.atlassian.com/display/DOC/Remote+API+Specification
I success with this methods : confluence1.login, confluence1.logout,
confluence1.getPage, confluence1.storePage, confluence1.renderContent
but i got a problem with this one : confluence1.search
Confluence API talk about two ways to use search :
1) Vector search(String token, String query, int maxResults) - return
a list of SearchResults which match a given search query (including
pages and other content types). This is the same as a performing a
parameterised search (see below) with an empty parameter map.
2) Vector search(String token, String query, Map parameters, int
maxResults) - (since 1.3) like the previous search, but you can
optionally limit your search by adding parameters to the parameter
map. If you do not include a parameter, the default is used instead.
The second way (with parameters) is not implemented on Xwiki (cf.
http://jira.xwiki.org/jira/browse/XWIKI-1559 )
So how must we use the first search method (without Map parameters) ?
I'm trying this :
Vector searchResult = (Vector) client.execute("confluence1.search",
new Object[] { p_token, p_query,new Integer(p_maxResults) });
This code return a "ClassCastException" : it's like the returned
object were not a "Vector".. If then what is it ?
Could you help me ?
It's a great feature !
Regards
Brice Vandeputte
Tried looking for ApplicationResources
Where would I find it please
PS sorry I emailed you Sergiu - was supposed to go ti xwikiUsers, not you!
>These are localizable resources, which are defined in
>ApplicationResources.properties. You could just write the text, without
>using $msg.get.
Hello again,
Quick question, regarding the built-in 'Tags' page, that builds a list of
all the tags being used in the XWiki instance.
I would like to have this list being rendered in alphabetical order, instead
of in a random order (or by creation date), but all the 'order by' clauses
I've tried have either not worked at all, not worked in the desired mannor,
or thrown exceptions.
The HQL statement provided by XWiki is as follows:
#set($sql = "select distinct elements(prop.list) from BaseObject as obj,
DBStringListProperty as prop where obj.className='XWiki.TagClass' and
obj.id=prop.id.id and prop.id.name='tags' order by obj asc")
And I've tried the following 'order by' clauses:
order by obj.name asc
order by obj.fullName asc
order by obj asc
order by doc.name asc
order by doc.fullName asc
order by doc asc
order by prop asc
order by prop.value asc
None of these seem to produce the list in alphabetical order, although some
of them do change the order in which the tags are displayed. Any ideas on
how to get this order by clause working to produce the tag list in
alphabetical order?
I have a feeling my difficulty lies in that the property is a
DBStringListProperty in the database, but I'm not sure how to work with
these.
Thanks ahead of time guys.
--
View this message in context: http://n2.nabble.com/Help-with-%27order-by%27-clause-in-HQL-tp1455693p14556…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
I'm trying to work with the content of wiki page in my plugin Api. I can
access the content through method getContent() called with XWikiDocument.
However I have an object added to the page and I'm using
#includeForm("XWiki.PersonClassSheet")
and this is the problem, because with method getContent() I get literally
"#includeForm("XWiki.PersonClassSheet")"...
Is there any way to get exactly what I see on the page? For example instead
of
#includeForm("XWiki.PersonClassSheet")
I want to see "John Smith" (or whatever I will define in the ClassSheet)?
--
View this message in context: http://n2.nabble.com/How-to-get-%22real%22-content-of-wiki-page-in-plugin-A…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi
I have installed the windows standard xwiki with jetty and a HSQLDB
database. I have to edit the user registration to collect some different
info. THis will mean editing the database, probably adding some fields. I
have used mysql and phpmyadmin quite a lot.
Could somebody please point me somewhere that will tell me how to get
started on using the adding fields, etc to the database?
Hi all,
I'm having trouble using Velocity to analyze the boolean value of a property
of a class.
For example, I have class X, with a property Y (I'll call this property
'example_bool' in the lower example code) which is of type 'Boolean'. I've
configured this property to use radio buttons so the user is only able to
choose one value. I've created several objects of this class, making sure
to utilize both the 'Yes' and 'No' values for some of these objects (to
ensure for testing purposes I have some of both).
This class also has another property, a static list, of location strings,
such as 'Location X', 'Location Y', etc.
Now, on a page, I am trying to calculate how many of each location have the
boolean value of Yes and no with the following velocity/HQL statement:
#set ($results = $xwiki.search("select obj.name from BaseObject obj,
StringProperty prop where obj.className='Example.ExampleClass' and
obj.name<>'Example.ExampleClassTemplate' and prop.id.id=obj.id and
prop.name='location' and prop.value='Location X' order by obj.name asc"))
#set ($numTrue = 0)
#set ($numFalse = 0)
#foreach ($item in $results)
#set ($object = $xwiki.getDocument(${item}))
#if (!$object.get("example_bool"))
#set ($numFalse = $numFalse + 1)
#else
#set ($numTrue = $numTrue + 1)
#end
#end
This code is being executed without error, however, the 'True' count is
always being evaluated as the total number of objects, while the 'False'
count always stays at 0, even though I KNOW there are objects in this group
that have the value of 'No' for the 'example_bool' property.
Does anyone know what I'm doing wrong, or have any ideas that might help me
out? Thanks in advance gang.
On a side note, I've also noted that when using the Boolean property, the
user has the choice of 'Yes', 'No' and '---'. What is this later value
('---') and why is it always included? To me, the meaning of Boolean means
'True OR False' and nothing else. Does this third value have a purpose?
And is there a way of excluding it from the choices the user sees?
Thanks again everyone!
--
View this message in context: http://n2.nabble.com/Trouble-assessing-boolean-property-value-of-an-object-…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi
We are getting data from external system on to a database, we want to show
that in the form of a list (with pagination), what is the right approach to
do this?
1. HQL with Velocity?
2. Any other options?
--
View this message in context: http://n2.nabble.com/Best-Practise%3A-Showing-the-data-from-DB-tp1453768p14…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
i'm working with xwiki 1.5 and i always used the ajax drop down menu to edit
access rights on a photo album page (i found no other way to get to the rights
editor).
after i changed some rights (but to a different user) the drop down menu
disappeared. I reverted my changes but i could not manage to get the edit drop
down menu back. i'm in the admin group and have all rights there are. i also
could not find any hints in the net.
maybe you can help me.
thanks alot for your time.
eike
Hi,
I need a copy of the ApplicationResources.properties file used in
Xwiki 1.6
I need to create several English languages; Canada, USA, Australian,
etcetera...
How can I get it?
thx
Gerritjan
Hi!
How can I prevent a list-item from being breaked? I mean, if I want
to place some text, then an image and, finally, some message (#info(),
#alert() etc.) in a list-time, all would appear as the whole
list-item.
For now, I can only get text + image or text + message. I do use a
macro for an image, like #image(src title). So, the problem seems to
be in the two following macros: #image()#info().
I've also tried #image()\
#info().
That doesn't do the job too.
Best regards, Mike
Hi friends,
I'm running xwiki 1.6 last snapshot, on Jboss and Postgres. I've activated
on xwiki.cfg the SpaceManager plugin, simple adding the spacemanager
implementation on the plugins section of config file:
xwiki.plugins=[...],com.xpn.xwiki.plugin.spacemanager.impl.SpaceManagerImpl
I've not downloaded anything more. But I could not notice any other
application on admin page on xwiki - is this plugin useless or there is no
application that uses this plugin? Does anyone knows how to use this plugin,
or where I can find any documentation about that, except the javadoc
available on the plugin's page? I need to manage (create, delete, edit) a
lot of spaces, and I could not figure out how to do that with this plugin.
Hope someone can help,
--
Ramon Gomes Brandão
(62) 8117 8649
MSN: ramongb(a)terra.com.br
skype: ramongb
Hi,
I have xWiki installed using xwiki-enterprise-installer-windows-1.6.exe
on a windows XP machine. I have enabled a watch on a space and a page.
When I receive the email I get the following error within the email:
Error number 4001 in 4: Error while parsing velocity page
XWiki.WatchListMessage Wrapped Exception: Failed to evaluate content
with id [XWiki.WatchListMessage]
I found the same problem on the archives that was apparently part fixed
by removing references to the getExternalURL() call.
http://xwiki.markmail.org/message/koz2szfrvt5gsuqd?q=WatchListMessage
I have done this but am still getting the same error. Is there an
official explanation of this problem and fix, or any help on
implementing this patch so that I can get it to work?
Thanks
Mark
Hello,
I have a simple question, although I could not find the answer in the
archives or google.
Is it possible to use a [0-9] pattern in the where clause of a HQL
query. Something like:
where doc.title like '[0-9]%'
Hope someone can help me with this.
Thanks,
Henk
==
Henk F. Schouten, ICT-architect, Dienst ICT
room: SL 2.32, phone (31) 70 4457611, email: H.F.Schouten(a)hhs.nl
De Haagse Hogeschool, Johanna Westerdijkplein 75, 2521 EN the Hague (NL)