[xwiki-users] set variables on request

2009-12-16 Thread Bubulina
Hello, I know that i can get value from a request like this: #set($name= $request.getParameter('name')) Now, shouldn't i be able to put variables on request so i can use in the html page? something like this: #set($var = $request.setAttribute($name)) and in the html page to use

Re: [xwiki-users] set variables on request

2009-12-16 Thread Anca Luca
Hi Bubulina, On 12/16/2009 11:40 AM, Bubulina wrote: Hello, I know that i can get value from a request like this: #set($name= $request.getParameter('name')) Now, shouldn't i be able to put variables on request so i can use in the html page? something like this: #set($var =

Re: [xwiki-users] [xwiki-devs] [Proposal] Governance for xwiki.org

2009-12-16 Thread Fabio Mancinelli
On Dec 4, 2009, at 3:44 PM, Vincent Massol wrote: Governance Proposal = 1) xwiki.org is controlled by the XWiki committers. This means that important changes brought to it should be discussed/vote on the list, using the same practices as for code commits +1 2)

[xwiki-users] Problem creating a link to a page with custom css. NEWBEE

2009-12-16 Thread AlonsoIR
hi everybody, i have a problem creating links to an internal page in a page created with html and css. this is the code of the page: {{velocity}} $xwiki.ssfx.use(/portal/site/css/estilo.css) {{/velocity}} {{html}} body !--inicio menu-- div id=menu ul li {{/html}} IF I DO THIS, THE layout

Re: [xwiki-users] Problem creating a link to a page with custom css. NEWBEE

2009-12-16 Thread Thomas Mortagne
There is several issues in your content: * all you put in your page content will ends up inside a div unless you are specifically using ?xpage=plain so you cant use body here * by default {{html}} is supposed to contains valid html, li never closed is not valid, if you want to start li in an html

Re: [xwiki-users] set variables on request

2009-12-16 Thread Bubulina
just setting the var on request and reading it afterwards. it worked. thank you lucaa wrote: Hi Bubulina, On 12/16/2009 11:40 AM, Bubulina wrote: Hello, I know that i can get value from a request like this: #set($name= $request.getParameter('name')) Now, shouldn't i be able to put

[xwiki-users] get prop from a class...

2009-12-16 Thread Bubulina
Hello 1. i create a class and add n properties. besides the properties added i have this code: #set( $class = $doc.name.substring(0,$doc.name.indexOf(Class))) #set($defaultparent = XWiki.${class}Class) #set($defaultweb = Test) #includeForm(XWiki.ClassSheet) 2. i create doc where i include the

Re: [xwiki-users] get prop from a class...

2009-12-16 Thread Bubulina
...ah! you were right Anca, i forgot to add the object from that class. Danke lucaa wrote: On 12/16/2009 03:58 PM, Josh wrote: Hello, Bubulina wrote: Hello Sergiu, it was a typo when i wrote by hand the code here. I include the TestClass, that has the properties, but the line

[xwiki-users] distinct select divs from page

2009-12-16 Thread Bubulina
hey My question is purely theoretically. If i create a table and each td from it has an id, can i extract the information from a td by an id? This is in a xwiki page. table tr tdname/td /tr tr td id=testbla bla/td /tr /table Now, in another page i get the content of the page above,

Re: [xwiki-users] distinct select divs from page

2009-12-16 Thread Vincent Massol
Hi Bubulina, You're asking a lot of question and getting lots of answers which is good but I hope you're going to contribute something back to the community in exchange. Thanks -Vincent On Dec 16, 2009, at 4:00 PM, Bubulina wrote: hey My question is purely theoretically. If i create a

Re: [xwiki-users] distinct select divs from page

2009-12-16 Thread Anca Luca
On 12/16/2009 05:00 PM, Bubulina wrote: hey My question is purely theoretically. If i create a table and eachtd from it has an id, can i extract the information from atd by an id? This is in a xwiki page. table tr tdname/td /tr tr td id=testbla bla/td /tr /table

Re: [xwiki-users] extended history view

2009-12-16 Thread Bubulina
Hello I am not sure i understood what u are asking, but: -if u want to divide a page in 2 columns. only that page..so you cannot use the change of layout from xwiki, you can easily edit the page in question in the object mode. (?editor=object) and from the right side you can see that u can add a

[xwiki-users] Open Source Ethics (was Re: distinct select divs from page)

2009-12-16 Thread Vincent Massol
Hi Bubulina, Could it be that you are Gabriela Radu? That Gabriela Radu has asked a lot of questions here in the past in short rapid sequence (see http://bit.ly/5wqbFI) . I've asked that person how she could help the project since she was taking a lot of time (for free!) from the

Re: [xwiki-users] NEWBEE- how do i reset default skin

2009-12-16 Thread Bubulina
Hey, For now, i have backup /skins/colibri into /skins/mades, and i have modified xwiki.cfg file, concretly xwiki.defaultbaseskin=mades -have u tried to follow the info from the link above? for me it worked to change the skin in that way. Other thing, is not possible to center content inside

Re: [xwiki-users] Open Source Ethics (was Re: distinct select divs from page)

2009-12-16 Thread Bubulina
Hello, Well my questions are not about creating new features in xwiki, they are about using it. i posted codes for my questions, and when i found solutions before any answer i posted the solution too(with code). If i know some answers on this forum i answered. if there were stupid questions,

Re: [xwiki-users] Authentication problems with virtual wikis

2009-12-16 Thread Thomas Mortagne
On Wed, Dec 16, 2009 at 15:37, PERINAUD Christophe christophe.perin...@kbl-bank.com wrote: Hello all, Our system has some problems when a user logs in the main wiki and goes to a virtual wiki. It creates the Xwiki.userId page but not like a usual user page. It's just a blank one. Never

[xwiki-users] How To Change Default Appearance Of Code Macro (For Java)

2009-12-16 Thread Carlo Camerino
Hi, I would like to know if there is a way to change the default appearance of the code macro. Can I make it look like the one in confluence or the one in moin? thanks carlo ___ users mailing list users@xwiki.org

Re: [xwiki-users] How To Change Default Appearance Of Code Macro (For Java)

2009-12-16 Thread Vincent Massol
Hi, On Dec 16, 2009, at 7:04 PM, Carlo Camerino wrote: Hi, I would like to know if there is a way to change the default appearance of the code macro. Can I make it look like the one in confluence or the one in moin? Can you give us some links showing what you'd like to have? Thanks

Re: [xwiki-users] How To Change Default Appearance Of Code Macro (For Java)

2009-12-16 Thread Jerome Velociter
Note that it's easy to create a new code macro that would use a client-side library for coloring (or even an external service). Check out http://platform.xwiki.org/xwiki/bin/view/DevGuide/WikiMacroTutorial for more info. Jerome. On 12/16/09 7:04 PM, Carlo Camerino wrote: Hi, I would like

[xwiki-users] How To Change Default Appearance Of Code Macro (For Java)

2009-12-16 Thread Carlo Camerino
Hi, I would like to know if there is a way to change the default appearance of the code macro. Can I make it look like the one in confluence or the one in moin? thanks carlo ___ users mailing list users@xwiki.org

Re: [xwiki-users] How To Change Default Appearance Of Code Macro (For Java)

2009-12-16 Thread Carlo Camerino
hmm, thanks actually was able to edit the css in other parts of the code. anyway i'll try to see what i could do. maybe i could tweak css a bit. although most of the styles are inline as i've noticed. On Thu, Dec 17, 2009 at 2:10 AM, Jerome Velociter jer...@xwiki.com wrote: Note that it's easy

Re: [xwiki-users] How To Change Default Appearance Of Code Macro (For Java)

2009-12-16 Thread Carlo Camerino
Hi, Some thing like this, I took this from a confluence page in apache http://cwiki.apache.org/WICKET/adding-dynamic-field-prompts-or-hints.html thanks On Thu, Dec 17, 2009 at 2:06 AM, Vincent Massol vinc...@massol.net wrote: Hi, On Dec 16, 2009, at 7:04 PM, Carlo Camerino wrote: Hi,

Re: [xwiki-users] How To Change Default Appearance Of Code Macro (For Java)

2009-12-16 Thread Thomas Mortagne
On Wed, Dec 16, 2009 at 19:18, Carlo Camerino carlo.camer...@gmail.com wrote: hmm, thanks actually was able to edit the css in other parts of the code. anyway i'll try to see what i could do. maybe i could tweak css a bit. although most of the styles are inline as i've noticed. Code macro

Re: [xwiki-users] Authentication problems with virtual wikis

2009-12-16 Thread PERINAUD Christophe
Thank you Thomas. We use virtual wikis in the path based mode (set in the xwiki.cfg if i remember good) Ok. I will try that, hoping that it will solve our problem. Because it generates many problems with right permissions to browse virtual wikis by registered users. -Message

Re: [xwiki-users] Authentication problems with virtual wikis

2009-12-16 Thread Thomas Mortagne
On Thu, Dec 17, 2009 at 08:38, PERINAUD Christophe christophe.perin...@kbl-bank.com wrote: Thank you Thomas. We use virtual wikis in the path based mode (set in the xwiki.cfg if i remember good) In that case you should upgrade to 2.0.5 since there is several important issues that as been

Re: [xwiki-users] Problem creating a link to a page with custom css. NEWBEE

2009-12-16 Thread AlonsoIR
Hi Mr Mortagne, thx for reply. There is several issues in your content: * all you put in your page content will ends up inside a div unless you are specifically using ?xpage=plain so you cant use body here Ok, body tags wipe out! * by default {{html}} is supposed to contains valid html, li

Re: [xwiki-users] How To Change Default Appearance Of Code Macro (For Java)

2009-12-16 Thread Vincent Massol
On Dec 17, 2009, at 8:31 AM, Thomas Mortagne wrote: On Wed, Dec 16, 2009 at 19:18, Carlo Camerino carlo.camer...@gmail.com wrote: hmm, thanks actually was able to edit the css in other parts of the code. anyway i'll try to see what i could do. maybe i could tweak css a bit. although

Re: [xwiki-users] Authentication problems with virtual wikis

2009-12-16 Thread PERINAUD Christophe
It's planned but here, when you want to upgrade an application used in production you have to wait many weeks for validations and authorisations. And then the 2.0.5 will be outdated ;) -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de