Re: [xwiki-users] Problem with code makro in WYSIWYG Editor of XWiki 2.1.1

2010-01-10 Thread Marius Dumitru Florea
Hi Florian,

Florian Rhomberg wrote:
 The new Version 2.1.1 ist working really quiet well!
 
 But there is a small problem with sometimes bad consequences in the WYSIWYG 
 Editor when inserting the code makro.
 
 If I insert a code makro and enter a language which is probably? not 
 supported (in my case it is xml) it can happen that I get an exception an the 
 whole wiki crashes. This may be a bug which can be as I already said, a big 
 problem.

Does this happen also when you inset the code macro from the Wiki 
editor? See http://code.xwiki.org/xwiki/bin/view/Macros/CodeMacro20

It's important to know if this is a bug in the WYSIWYG editor or in the 
code macro. Is the XML code large? What exception do you get?

Thanks,
Marius

 
 Greetings,
 Florian
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Link to a file in local file system

2010-01-10 Thread Ziggy
Hi,

Yes it looks like it does work with IE. I was using Firefox which is my main
browser. I will try storing the files in webapps/xwiki and see if that will
make any difference.

Thanks

On Sat, Jan 9, 2010 at 10:18 PM, Arnaud bourree arnaud.bour...@gmail.comwrote:

 If you limit browser list to IE, you can used URL like
 file://C:/somewehre/somefile.doc
 Or else store your file file in webapps/xwiki but not in WEB-INF folder

 Arnaud

 2010/1/9 Ziggy zigg...@gmail.com:
  Hi,
 
  Isnt there a way to link to a file on the local file system? I tried
 using
  both the WYSIWYG editor and the creole syntax and both dont work. I know
 i
  can link to an attachment but thats not what i want. I want to add a
  hyperlink to a document that links to a file that is somewhere on the C:
  drive. Is this possible?
 
  Im using the latest version of xwiki downloaded yesterday.
 
  Thanks
  ___
  users mailing list
  users@xwiki.org
  http://lists.xwiki.org/mailman/listinfo/users
 
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Link to a file in local file system

2010-01-10 Thread Anca Luca
Hi Ziggy,

Actually that doesn't work on ff because it's a security issue: it cannot let 
web pages just access random files on your computer (see 
http://kb.mozillazine.org/Links_to_local_pages_don%27t_work ). It's a security 
issue in general, not only for firefox, that's why linking to a file on the 
local filesystem does rarely make sense in web applications.

Moving them to the webapps/xwiki will not make things better for the file:// 
links, but instead you'd be able to write links like:

http://yourHost/xwiki/file.ext

and they would work (on IE too).

Happy hacking,
Anca


On 01/10/2010 02:25 PM, Ziggy wrote:
 Hi,

 Yes it looks like it does work with IE. I was using Firefox which is my main
 browser. I will try storing the files in webapps/xwiki and see if that will
 make any difference.

 Thanks

 On Sat, Jan 9, 2010 at 10:18 PM, Arnaud 
 bourreearnaud.bour...@gmail.comwrote:

 If you limit browser list to IE, you can used URL like
 file://C:/somewehre/somefile.doc
 Or else store your file file in webapps/xwiki but not in WEB-INF folder

 Arnaud

 2010/1/9 Ziggyzigg...@gmail.com:
 Hi,

 Isnt there a way to link to a file on the local file system? I tried
 using
 both the WYSIWYG editor and the creole syntax and both dont work. I know
 i
 can link to an attachment but thats not what i want. I want to add a
 hyperlink to a document that links to a file that is somewhere on the C:
 drive. Is this possible?

 Im using the latest version of xwiki downloaded yesterday.

 Thanks
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Livetable filtering format

2010-01-10 Thread Oana Tabaranu
Hi Radek,

Glad I could help.

On 1/8/10 3:13 AM, Radek Rekas wrote:
 Thanks, using firebug to take a look at the reponse of the JSON page helped 
 me to diagnose what the problem was.

 The following blog post helped me with figuring out how to access the JSON 
 used by the livetable: 
 http://www.softwareishard.com/blog/firebug/json-explorer-for-firebug/

 In case anyone else comes accross wondering how to do this it would appear 
 that all of the class properties are stored in seperate tables and the query 
 parameter in the gridresultwithfilter macro is used to filter on these 
 tables. For my example I needed to use the StringProperty table as the title 
 property was set to type string in my xwiki class. Integers appear to go in 
 the IntegerProperty table and so on.

 My example was the below where title was the field name in the xwiki class 
 that I was trying to filter on and test6 was the field value.

 #gridresultwithfilter($request.classname $request.collist.split(,) , 
 StringProperty as stringtable,  and obj.id=stringtable.id.id and 
 stringtable.id.name='title' and stringtable.value='test6')

 Thanks again for pointing me in the right direction.


 Radek Rekas



 - Original Message -
 From: oana.tabaranuoana.tabar...@xwiki.com
 Sent: Thu, 7/1/2010 11:22pm
 To: XWiki Usersusers@xwiki.org
 Subject: Re: [xwiki-users] Livetable filtering format

 Hi Radek,

 When writing custom code for the live table, I suggest you copy the
 content from XWiki.LiveTableResultsMacros and paste it into your own
 wiki page. Create a small example for the livetable that uses your wiki
 page and debug the query and JSON generated by the macro using Firebug
 or the direct URL in your browser.
 This also might help:
 http://platform.xwiki.org/xwiki/bin/view/DevGuide/LiveTable

 Oana

 On 07.01.2010 06:04, Radek Rekas wrote:

 Hi,

 I'm trying to get livetable filtering working however I'm having trouble 
 figuring out what objects/properties are available in the $filterfrom and 
 $filterwhere parameters of the gridresultwithmacro() macro contained in the 
 XWiki.LiveTableResultsMacros document.

 I'm trying to filter the livetable to display only records where the title 
 field is set to test but setting the $filterwhere parameter to  and 
 obj.name='title' and obj.value='test' does not seem to work and I'm having 
 trouble finding any documentation etc to find out what format these where 
 clauses should be in.

 The closest documentation that ive been able to find is at the bottom of the 
 following page 
 http://dev.xwiki.org/xwiki/bin/view/Drafts/XWikiGridComponentTutorial 
 however it doesnt give much clues as to what format the $filterwhere and 
 $filterfrom parameters (3rd and 4th parameter) of the gridresultwithmacro() 
 macro should be in.

 The livetable displays all records correctly if I leave the $filterfrom and 
 $filterwhere parameters blank.

 Can anyone offer any hints or point me to any relevant documentation?

 Thanks,


 Radek Rekas


 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

  
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users



-- 
Oana Tabaranu

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Problem with attachment deletion

2010-01-10 Thread Meng Wu
Hello everyone,

I've been having problems with attachment
deletion. Basically, xwiki allows me to delete the attachment, but
the attachment link that displays the file name doesn't get deleted. 

More
specifically, after I delete the attachment, the file disappears, so it
seems it gets deleted correctly. However, if I refresh the page, the
attachment link reappears. When I click on the attachment, it leads me
to another page that says Error. This template does not exist. What I
assume is happening is that the attachment link, or pointer, points to
the already deleted file that doesn't exist anymore (like a dangling pointer). 

I am the administrator and I am allowed to delete the attachment, so it isn't 
an access control problem. 

Has anyone else been having this problem? Why does this problem happen?

Thanks, 

Felix Wu


  

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Problem with attachment deletion

2010-01-10 Thread Sergiu Dumitriu
On 01/10/2010 09:55 PM, Meng Wu wrote:
 Hello everyone,

 I've been having problems with attachment
 deletion. Basically, xwiki allows me to delete the attachment, but
 the attachment link that displays the file name doesn't get deleted.

 More
 specifically, after I delete the attachment, the file disappears, so it
 seems it gets deleted correctly. However, if I refresh the page, the
 attachment link reappears. When I click on the attachment, it leads me
 to another page that says Error. This template does not exist. What I
 assume is happening is that the attachment link, or pointer, points to
 the already deleted file that doesn't exist anymore (like a dangling pointer).

 I am the administrator and I am allowed to delete the attachment, so it isn't 
 an access control problem.

 Has anyone else been having this problem? Why does this problem happen?


If you're using XWiki 2.1, you should upgrade to 2.1.1, see
http://jira.xwiki.org/jira/browse/XWIKI-4681

-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] How can I integrate XWIKI Blob page in my XWIKI WebHome page ?

2010-01-10 Thread Jean-François Bonbhel
Hello Anyone,
How can I integrate XWIKI Blob page in my XWIKI WebHome page ?
I'm using XWiki 1.0.

Thanks, 
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Observer

2010-01-10 Thread J. Allen Santos

How do I create an observer without adding a groovy code within a page?I saw 
this document: http://dev.xwiki.org/xwiki/bin/view/Drafts/GroovyNotifications 
but it requires code to be added within a page.
Thank you.Allen   
_
New Windows 7: Find the right PC for you. Learn more.
http://windows.microsoft.com/shop
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] How can I include a page in another page ?

2010-01-10 Thread Jean-François Bonbhel
I would like to include blogs in Home page.
This code doesn't works. {{include document=Blog.../}}
I'm using XWIKI 1.0.

Thanks,
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] How can I include a page in another page ?

2010-01-10 Thread Caleb James DeLisle
#includeForm(space.page)
also
#includeTopic(space.page)
you can read about the difference here:
http://code.xwiki.org/xwiki/bin/view/Macros/IncludeFormMacro


Caleb James DeLisle


Jean-François Bonbhel wrote:
 I would like to include blogs in Home page.
 This code doesn't works. {{include document=Blog.../}}
 I'm using XWIKI 1.0.
 
 Thanks,
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users