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 Thomas Mortagne
> Envoyé : jeudi 17 décembre 2009 08:46
> À : XWiki Users
> Objet : Re: [xwiki-users] Authentication problems with virtual wikis
> 
> On Thu, Dec 17, 2009 at 08:38, PERINAUD Christophe
>  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 fixed around the switch between wikis.
> 
> >
> > 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 d'origine-
> >> De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org]
> >> De la part de Thomas Mortagne
> >> Envoyé : mercredi 16 décembre 2009 17:31
> >> À : XWiki Users
> >> Objet : Re: [xwiki-users] Authentication problems with 
> virtual wikis
> >>
> >> On Wed, Dec 16, 2009 at 15:37, PERINAUD Christophe
> >>  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. page but not like a usual
> >> user page. It's just a blank one.
> >>
> >> Never heard of something like that, do you have anything in the log
> >> when you try to log in ?
> >>
> >> What multiwiki mode are you using ? domain name
> >> (http://wiki1.host/xwiki/bin/view/) based or path based
> >> (http://host/xwiki/wiki/wik1i/view/) ?
> >>
> >> >
> >> > The authentication process is done using LDAP process.
> >> >
> >> > Also is there a way to disable the login function only on
> >> the main wiki ? If yes, what will happen if a user tries to
> >> connect on a virtual wiki and it fails ? Because when this
> >> situation occured, the user is redirected to the login page
> >> of the main wiki and not the virtual one.
> >>
> >> I you want all your LDAP user profiles to be 
> created/updated only on
> >> the main wiki see
> >> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/LDAPAuthen
> >> ticationUseCases#HI27minmultiwikienvironmentandIwantmyLDAPuser
> >> storegisteredonlyonmainwiki
> >>
> >> >
> >> > Thank you
> >> >
> >> > Christophe Périnaud
> >> > Windows Server 2003 SP2 in a VMWare instance
> >> > Oracle 10g
> >> > Java 1.6.0_12
> >> > Xwiki 2.0.3 from the pack Jetty/HSQL
> >> >
> >> >
> >> >
> >> --
> >> --
> >> >
> >> > This e-mail is intended only for the addressee named above.
> >> It does not bind the sender, except in the case of an
> >> existing written convention with the addressee. This e-mail
> >> may contain material that is confidential and privileged for
> >> the sole use of the intended recipient. Any review, reliance
> >> or distribution by others or forwarding without express
> >> permission is strictly prohibited and may be unlawful. If you
> >> are not the intended recipient, please contact the sender and
> >> delete all copies.
> >> >
> >> > While reasonable precautions have been taken to ensure that
> >> this e-mail and any attachments are free from any computer
> >> virus or similar defect, no liability will be accepted in
> >> that respect. Anyone accessing this e-mail must take their
> >> own precautions as to security and virus protection.
> >> >
> >> > KBL European Private Bankers S.A., 43 boulevard Royal
> >> L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1
> >> > ___
> >> > users mailing list
> >> > users@xwiki.org
> >> > http://lists.xwiki.org/mailman/listinfo/users
> >> >
> >>
> >>
> >>
> >> --
> >> Thomas Mortagne
> >> ___
> >> users mailing list
> >> users@xwiki.org
> >> http://lists.xwiki.org/mailman/listinfo/users
> >>
> > 
> --
> --
> >
> > This e-mail is intended only for the addressee named above. 
> It does not bind the sender, except in the case of an 
> existing written convention with the addressee. This e-mail 
> may contain material that is confidential and privileged for 
> the sole use of the intended recipient. Any review, reliance 
> or distribution by others or forwarding without express 
> permission is strictly prohibited and may be unlawful. If you 
> are not the intended recipient, please contact the sender and 
> delete all copies.
> >
> > While reasonable precautions have been taken to ensure that 
> this e-mail and any attachments are free from any computer 
> virus or similar defect, no liability will be accepted in 
> that respect. Anyone accessing this e-

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  > 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 use inline style for syntax colors only, if you want to
> change the general style of the box you are supposed to do it at .code
> and .box css classes level.

That said I agree we should make our default style nicer and I like  
the style pointed out by Carlo. We could even propose several default  
styles. At the very minimum we should provide the CSS configurations  
in the doc for the code macro.

Carlo, when you succeed in writing the correct CSS could you post it  
on http://code.xwiki.org/xwiki/bin/view/Macros/CodeMacro20 ?

Thanks
-Vincent

> If what you want is to changes the colors there is not yet any
> configuration for it yet in code macro (see
> http://jira.xwiki.org/jira/browse/XWIKI-3866) but you can still change
> the default style of pygments as it explained in
> http://jira.xwiki.org/jira/browse/XWIKI-3866
>
>>
>> On Thu, Dec 17, 2009 at 2:10 AM, Jerome Velociter  
>>  wrote:
>>
>>> 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 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
http://lists.xwiki.org/mailman/listinfo/users


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  unless
you are specifically using ?xpage=plain so you cant use  here

Ok, body tags wipe out!

* by default {{html}} is supposed to contains valid html,  never
closed is not valid, if you want to start  in an html block and
close it in another html block you have to use {{html clean="false"}}
(i guess that's your main issue here)

If i put this into the code, dont work, now it renders like plain text
instead of a link.

[CODE]

{{velocity}}
$xwiki.ssfx.use("/portal/site/css/estilo.css")
{{/velocity}}

{{html}}





   
{{html clean="false"}} 
   [[Introduccion>>Main.Introduccion]]
{{/html}}
   

# Guía Rápida 
# Objetivos 
# Descripción 
# Noticias 
# RSS 







 

  

   

 MADES (Marco de Desarrollo y Mantenimiento de Aplicaciones)

 es una referencia para los actores implicados en el desarrollo de
aplicaciones software en el ámbito de la Consejería de Sanidad y Dependencia
de la Junta de Extremadura. Ofrece un punto de partida para el uso de
tecnologías probadas bajo directrices que marcan criterios de calidad y
homogeneización en los desarrollos y proponiendo un marco metodológico en la
operativa de los proyectos.

 # >> leer más 

 

   

   



 Arquitectura MADES

 Marco Tecnológico

 

   # Infraestructura 

   # Librerías 

   # Área de entrega 

   # Criterios de Desarrollo   

 

 







 Políticas y procedimientos

 Marco Metodológico

 

   # Metodología 

   # Plantillas de documentación 

   # Material de referencia   

 



 

   

 

 



 

   

   



Zona de descargas



 # Entorno de Desarrollo 

 # Plantillas de Documentación 

 # Manuales 

 # Ejemplos 

 # Guía rápida a MADES 

 # Proyecto Piloto 

   # Repositorio de Código Fuente 



 # Bibliografía 

 # Herramienta de Verificación 

 # Actualización de reglas 







   



   



 Gestión de Proyectos

  

  

  

  

 

Usuario









Login











  

  





  



   







 













(c) Junta de Extremadura 2009




{{/html}}

[/CODE]

Why don't you use wiki syntax instead of html ? It would be much easier IMO

The main reason is that i m part of the team, design team has make the html
and css files, so i have to integrate it into xwiki. 

Could you help me a bit more?

regards
-- 
View this message in context: 
http://n2.nabble.com/Problem-creating-a-link-to-a-page-with-custom-css-NEWBEE-tp4174746p4180066.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


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

2009-12-16 Thread Thomas Mortagne
On Thu, Dec 17, 2009 at 08:38, PERINAUD Christophe
 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 fixed around the switch between wikis.

>
> 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 d'origine-
>> De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org]
>> De la part de Thomas Mortagne
>> Envoyé : mercredi 16 décembre 2009 17:31
>> À : XWiki Users
>> Objet : Re: [xwiki-users] Authentication problems with virtual wikis
>>
>> On Wed, Dec 16, 2009 at 15:37, PERINAUD Christophe
>>  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. page but not like a usual
>> user page. It's just a blank one.
>>
>> Never heard of something like that, do you have anything in the log
>> when you try to log in ?
>>
>> What multiwiki mode are you using ? domain name
>> (http://wiki1.host/xwiki/bin/view/) based or path based
>> (http://host/xwiki/wiki/wik1i/view/) ?
>>
>> >
>> > The authentication process is done using LDAP process.
>> >
>> > Also is there a way to disable the login function only on
>> the main wiki ? If yes, what will happen if a user tries to
>> connect on a virtual wiki and it fails ? Because when this
>> situation occured, the user is redirected to the login page
>> of the main wiki and not the virtual one.
>>
>> I you want all your LDAP user profiles to be created/updated only on
>> the main wiki see
>> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/LDAPAuthen
>> ticationUseCases#HI27minmultiwikienvironmentandIwantmyLDAPuser
>> storegisteredonlyonmainwiki
>>
>> >
>> > Thank you
>> >
>> > Christophe Périnaud
>> > Windows Server 2003 SP2 in a VMWare instance
>> > Oracle 10g
>> > Java 1.6.0_12
>> > Xwiki 2.0.3 from the pack Jetty/HSQL
>> >
>> >
>> >
>> --
>> --
>> >
>> > This e-mail is intended only for the addressee named above.
>> It does not bind the sender, except in the case of an
>> existing written convention with the addressee. This e-mail
>> may contain material that is confidential and privileged for
>> the sole use of the intended recipient. Any review, reliance
>> or distribution by others or forwarding without express
>> permission is strictly prohibited and may be unlawful. If you
>> are not the intended recipient, please contact the sender and
>> delete all copies.
>> >
>> > While reasonable precautions have been taken to ensure that
>> this e-mail and any attachments are free from any computer
>> virus or similar defect, no liability will be accepted in
>> that respect. Anyone accessing this e-mail must take their
>> own precautions as to security and virus protection.
>> >
>> > KBL European Private Bankers S.A., 43 boulevard Royal
>> L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1
>> > ___
>> > users mailing list
>> > users@xwiki.org
>> > http://lists.xwiki.org/mailman/listinfo/users
>> >
>>
>>
>>
>> --
>> Thomas Mortagne
>> ___
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
> 
>
> This e-mail is intended only for the addressee named above. It does not bind 
> the sender, except in the case of an existing written convention with the 
> addressee. This e-mail may contain material that is confidential and 
> privileged for the sole use of the intended recipient. Any review, reliance 
> or distribution by others or forwarding without express permission is 
> strictly prohibited and may be unlawful. If you are not the intended 
> recipient, please contact the sender and delete all copies.
>
> While reasonable precautions have been taken to ensure that this e-mail and 
> any attachments are free from any computer virus or similar defect, no 
> liability will be accepted in that respect. Anyone accessing this e-mail must 
> take their own precautions as to security and virus protection.
>
> KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, 
> R.C.S. Luxembourg B 6395, T (352) 47 97 1
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>



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


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 d'origine-
> De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] 
> De la part de Thomas Mortagne
> Envoyé : mercredi 16 décembre 2009 17:31
> À : XWiki Users
> Objet : Re: [xwiki-users] Authentication problems with virtual wikis
> 
> On Wed, Dec 16, 2009 at 15:37, PERINAUD Christophe
>  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. page but not like a usual 
> user page. It's just a blank one.
> 
> Never heard of something like that, do you have anything in the log
> when you try to log in ?
> 
> What multiwiki mode are you using ? domain name
> (http://wiki1.host/xwiki/bin/view/) based or path based
> (http://host/xwiki/wiki/wik1i/view/) ?
> 
> >
> > The authentication process is done using LDAP process.
> >
> > Also is there a way to disable the login function only on 
> the main wiki ? If yes, what will happen if a user tries to 
> connect on a virtual wiki and it fails ? Because when this 
> situation occured, the user is redirected to the login page 
> of the main wiki and not the virtual one.
> 
> I you want all your LDAP user profiles to be created/updated only on
> the main wiki see
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/LDAPAuthen
> ticationUseCases#HI27minmultiwikienvironmentandIwantmyLDAPuser
> storegisteredonlyonmainwiki
> 
> >
> > Thank you
> >
> > Christophe Périnaud
> > Windows Server 2003 SP2 in a VMWare instance
> > Oracle 10g
> > Java 1.6.0_12
> > Xwiki 2.0.3 from the pack Jetty/HSQL
> >
> >
> > 
> --
> --
> >
> > This e-mail is intended only for the addressee named above. 
> It does not bind the sender, except in the case of an 
> existing written convention with the addressee. This e-mail 
> may contain material that is confidential and privileged for 
> the sole use of the intended recipient. Any review, reliance 
> or distribution by others or forwarding without express 
> permission is strictly prohibited and may be unlawful. If you 
> are not the intended recipient, please contact the sender and 
> delete all copies.
> >
> > While reasonable precautions have been taken to ensure that 
> this e-mail and any attachments are free from any computer 
> virus or similar defect, no liability will be accepted in 
> that respect. Anyone accessing this e-mail must take their 
> own precautions as to security and virus protection.
> >
> > KBL European Private Bankers S.A., 43 boulevard Royal 
> L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1
> > ___
> > users mailing list
> > users@xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> >
> 
> 
> 
> -- 
> Thomas Mortagne
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
> 


This e-mail is intended only for the addressee named above. It does not bind 
the sender, except in the case of an existing written convention with the 
addressee. This e-mail may contain material that is confidential and privileged 
for the sole use of the intended recipient. Any review, reliance or 
distribution by others or forwarding without express permission is strictly 
prohibited and may be unlawful. If you are not the intended recipient, please 
contact the sender and delete all copies.

While reasonable precautions have been taken to ensure that this e-mail and any 
attachments are free from any computer virus or similar defect, no liability 
will be accepted in that respect. Anyone accessing this e-mail must take their 
own precautions as to security and virus protection.

KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. 
Luxembourg B 6395, T (352) 47 97 1
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


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  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 use inline style for syntax colors only, if you want to
change the general style of the box you are supposed to do it at .code
and .box css classes level.

If what you want is to changes the colors there is not yet any
configuration for it yet in code macro (see
http://jira.xwiki.org/jira/browse/XWIKI-3866) but you can still change
the default style of pygments as it explained in
http://jira.xwiki.org/jira/browse/XWIKI-3866

>
> On Thu, Dec 17, 2009 at 2:10 AM, Jerome Velociter  wrote:
>
>> 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 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
>> > 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
>



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


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  wrote:

> 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
> -Vincent
>
> ___
> 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] 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  wrote:

> 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 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
> > 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


[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
http://lists.xwiki.org/mailman/listinfo/users


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 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
> http://lists.xwiki.org/mailman/listinfo/users
>

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


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
-Vincent

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


[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
http://lists.xwiki.org/mailman/listinfo/users


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

2009-12-16 Thread Thomas Mortagne
On Wed, Dec 16, 2009 at 15:37, PERINAUD Christophe
 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. page but not like a usual user page. It's just 
> a blank one.

Never heard of something like that, do you have anything in the log
when you try to log in ?

What multiwiki mode are you using ? domain name
(http://wiki1.host/xwiki/bin/view/) based or path based
(http://host/xwiki/wiki/wik1i/view/) ?

>
> The authentication process is done using LDAP process.
>
> Also is there a way to disable the login function only on the main wiki ? If 
> yes, what will happen if a user tries to connect on a virtual wiki and it 
> fails ? Because when this situation occured, the user is redirected to the 
> login page of the main wiki and not the virtual one.

I you want all your LDAP user profiles to be created/updated only on
the main wiki see
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/LDAPAuthenticationUseCases#HI27minmultiwikienvironmentandIwantmyLDAPuserstoregisteredonlyonmainwiki

>
> Thank you
>
> Christophe Périnaud
> Windows Server 2003 SP2 in a VMWare instance
> Oracle 10g
> Java 1.6.0_12
> Xwiki 2.0.3 from the pack Jetty/HSQL
>
>
> 
>
> This e-mail is intended only for the addressee named above. It does not bind 
> the sender, except in the case of an existing written convention with the 
> addressee. This e-mail may contain material that is confidential and 
> privileged for the sole use of the intended recipient. Any review, reliance 
> or distribution by others or forwarding without express permission is 
> strictly prohibited and may be unlawful. If you are not the intended 
> recipient, please contact the sender and delete all copies.
>
> While reasonable precautions have been taken to ensure that this e-mail and 
> any attachments are free from any computer virus or similar defect, no 
> liability will be accepted in that respect. Anyone accessing this e-mail must 
> take their own precautions as to security and virus protection.
>
> KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, 
> R.C.S. Luxembourg B 6395, T (352) 47 97 1
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>



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


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, then i am
sorry. 



vmassol wrote:
> 
> 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 community. See:
> - http://markmail.org/message/5l5dspa6yjowvyyk
> - http://markmail.org/thread/xhjiiqhjgas6deey
> 
> It looks like you are this same person but you are now posting under a  
> different name
> (see
> http://blog.ropardo.ro/2009/12/09/xeclipse-xwiki-issues-with-sollutions/)
> 
> If this is the case you should really consider paying back. You must  
> have learnt a lot with all the answers that were provided to you. You  
> could easily contribute something back.
> For ideas about contributing, please see
> http://dev.xwiki.org/xwiki/bin/view/Community/Contributing
> You'll see there are lots of ways to contribute, including making  
> donations or paying for some professional support (you could contact
> http://xwiki.com 
>   for this, we even have support in Romanian ;)).
> 
> Nothing is free in this world and what you got for free isn't free,  
> someone has paid for it.
> 
> Right now it seems you're again asking lots of questions in short  
> amount of time and not contributing much.
> 
> Thanks
> -Vincent
> 
> PS: If you're not Gabriela Radu then I apologize in advance. However  
> the message stays the same since you've already posted 37 mails asking  
> questions in about a month
> 
> On Dec 16, 2009, at 4:07 PM, Vincent Massol wrote:
> 
>> 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 table and each  
>>>  from
>>> it has an id, can i extract the information from a  by an id?
>>> This is in a xwiki page.
>>> "
>>> 
>>>  name
>>> 
>>> 
>>> bla bla
>>> 
>>>
>>> 
>>> "
>>>
>>> Now, in another page i get the content of the page above, and i  
>>> want to take
>>> the info from the td with the "id". is it possible?
>>> :confused:
>>
> 
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/distinct-select-divs-from-page-tp4175922p4176170.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Contributed macro column for syntax 2.0

2009-12-16 Thread Jerome Velociter
Hello dear all,

I've contributed a {{column}} macro for syntax 2.0 on code.xwiki.org.

You can check it out at 
http://code.xwiki.org/xwiki/bin/view/Macros/Column20Macro

Please report any issue you would have with it as well as feature 
requests on http://jira.xwiki.org/jira/browse/XCONTRIB under the "Column 
Macro 2.0" component. (Doing this will help making the macro better and 
possibly integrating it later as a bundled macro with XE).

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


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 cells?

how do i change the color of the links? or whetever text?
"

- try using text. maybe it can help you


AlonsoIR wrote:
> 
> Hi Vincent, thx for the help.
> 
> 
> Finally i have drop the entire database because some links does not work
> and i dont have enough time.
> 
> For now, i have backup /skins/colibri into /skins/mades, and i have
> modified xwiki.cfg file, concretly xwiki.defaultbaseskin=mades
> 
> now i restarted the server and voila!
> 
> Now i need to make a page like the attachment, and more or less i have
> something slightly similar, but, i dont know how to do login/pass part
> (botton-right), how do i link with the xwiki's proper login page?
> 
> Other thing, is not possible to center content inside cells?
> 
> how do i change the color of the links? or whetever text?
> 
> sorry if the questions are not from this forum, but i need help!
> 
> regards
> 
> 
>  http://n2.nabble.com/file/n4139582/portada_mix2.jpg 
> 
> 
> 
> 
> 
> vmassol wrote:
>> 
>> Hi Alonso,
>> 
>> On Dec 9, 2009, at 11:12 AM, AlonsoIR wrote:
>> 
>>>
>>> hi everybody, first at all, i m totally newbee with this software. I  
>>> ve tried
>>> to change the default skin with my own skin, and of course i have  
>>> bothered.
>>>
>>> How do i reset to the original default?
>>>
>>> i hope that someone could help me
>> 
>> Maybe this will help:
>> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Skins
>> 
>> Thanks
>> -Vincent
>> 
>> ___
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>> 
>> 
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/NEWBEE-how-do-i-reset-default-skin-tp4138496p4176105.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[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 community. See:
- http://markmail.org/message/5l5dspa6yjowvyyk
- http://markmail.org/thread/xhjiiqhjgas6deey

It looks like you are this same person but you are now posting under a  
different name
(see http://blog.ropardo.ro/2009/12/09/xeclipse-xwiki-issues-with-sollutions/)

If this is the case you should really consider paying back. You must  
have learnt a lot with all the answers that were provided to you. You  
could easily contribute something back.
For ideas about contributing, please see 
http://dev.xwiki.org/xwiki/bin/view/Community/Contributing
You'll see there are lots of ways to contribute, including making  
donations or paying for some professional support (you could contact 
http://xwiki.com 
  for this, we even have support in Romanian ;)).

Nothing is free in this world and what you got for free isn't free,  
someone has paid for it.

Right now it seems you're again asking lots of questions in short  
amount of time and not contributing much.

Thanks
-Vincent

PS: If you're not Gabriela Radu then I apologize in advance. However  
the message stays the same since you've already posted 37 mails asking  
questions in about a month

On Dec 16, 2009, at 4:07 PM, Vincent Massol wrote:

> 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 table and each  
>>  from
>> it has an id, can i extract the information from a  by an id?
>> This is in a xwiki page.
>> "
>> 
>>  name
>> 
>> 
>> bla bla
>> 
>>
>> 
>> "
>>
>> Now, in another page i get the content of the page above, and i  
>> want to take
>> the info from the td with the "id". is it possible?
>> :confused:
>

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


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 "stylesheetclass" and there u can add .css . here in you declare
your 2 columns and everything else u want to have in page, just like u are
creating a simple html file that uses a css file. Next: Save

-

John Bober wrote:
> 
> Hi, 
> 
> I'm a Newbe and courrently working with an xwiki. I really like the look
> and gadgets, I'm only a little disapointed from the history.
> Currently it shows only the deletet and the added Text. Is there any
> posibility to generaly show the rest of the content? 
> It would really help, I didn't get what is actually changed and what not.
> 
> - to see the author and dates and pages that were modified, use the xwiki:
> "#includeInContext("Main.RecentChanges")". it's something like this:
> {{velocity}}
> {{html}}
> 
> ## Set variables to limit recent changes to the current space and 10
> items.
> #set($rcSpace = [$doc.space])
> #set($rcChangesNb = 10)
> #includeInContext("Main.RecentChanges")
> 
> {{/html}}
> {{/velocity}}
> 
> - if you want to get the contents of a page, you can use this:
> #set($docContent = $xwiki.getDocument($pageName).content) 
> (http://n2.nabble.com/get-content-of-page-td3992676.html#a3992676)
> 
> Hope this helps
> 
> By the way, a colleague of mine thought of special view:
> A Table-Style with the content on the left and the autor on the right. So
> one can easly get who is responsible for some very brilliant content =^D .
> 
> Thanks in advance.
> John Bober
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/extended-history-view-tp4169050p4176059.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


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 each  from
> it has an id, can i extract the information from a  by an id?
> This is in a xwiki page.
> "
>   
> name
>   
>   
>bla bla
>   
>
> 
> "
>
> Now, in another page i get the content of the page above, and i want to take
> the info from the td with the "id". is it possible?

For this particular one, the answer is 'javascript', to manipulate the HTML.

But you need to understand that is is a web programming general culture 
question, not a single bit particular to xwiki, which is not the purpose of 
this 
mailing list, so we cannot help you with that one, you'd need to find your way 
alone.

For your interest in XWiki however,
Thank you.

Anca

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


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 table and each  
>  from
> it has an id, can i extract the information from a  by an id?
> This is in a xwiki page.
> "
> 
>   name
> 
> 
>  bla bla
> 
>
> 
> "
>
> Now, in another page i get the content of the page above, and i want  
> to take
> the info from the td with the "id". is it possible?
> :confused:

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


[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  from
it has an id, can i extract the information from a  by an id?
This is in a xwiki page.
"
 
   name
 
 
  bla bla
 


"

Now, in another page i get the content of the page above, and i want to take
the info from the td with the "id". is it possible?
:confused:

-- 
View this message in context: 
http://n2.nabble.com/distinct-select-divs-from-page-tp4175922p4175922.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Authentication problems with virtual wikis

2009-12-16 Thread PERINAUD Christophe
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. page but not like a usual user page. It's just a 
blank one.

The authentication process is done using LDAP process.

Also is there a way to disable the login function only on the main wiki ? If 
yes, what will happen if a user tries to connect on a virtual wiki and it fails 
? Because when this situation occured, the user is redirected to the login page 
of the main wiki and not the virtual one.

Thank you

Christophe Périnaud
Windows Server 2003 SP2 in a VMWare instance
Oracle 10g
Java 1.6.0_12
Xwiki 2.0.3 from the pack Jetty/HSQL




This e-mail is intended only for the addressee named above. It does not bind 
the sender, except in the case of an existing written convention with the 
addressee. This e-mail may contain material that is confidential and privileged 
for the sole use of the intended recipient. Any review, reliance or 
distribution by others or forwarding without express permission is strictly 
prohibited and may be unlawful. If you are not the intended recipient, please 
contact the sender and delete all copies.

While reasonable precautions have been taken to ensure that this e-mail and any 
attachments are free from any computer virus or similar defect, no liability 
will be accepted in that respect. Anyone accessing this e-mail must take their 
own precautions as to security and virus protection.

KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. 
Luxembourg B 6395, T (352) 47 97 1
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


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 that
>>> should
>>> give me the object from it:
>>> #set($object = $document.getObject("spaceName.TestClass").xWikiClass)
>>> returns nothing...
>>>
>>
>> You don't need the .xWikiClass. Try just:
>> #set($object = $document.getObject("spaceName.TestClass")
> 
> 
> Unless you set the $document variable yourself (which you don't do in the 
> initial snippet I see), you should use $doc for that which is the name of
> the 
> variable holding the current document by default in the velocity context:
> 
> #set($object = $doc.getObject("spaceName.TestClass")
> 
> if it _still_ does not work, check if there is an object in there indeed
> by doing
> Edit -> Objects in the menu and looking for an object of class
> spaceName.TestClass .
> 
> Have fun!
> Anca
> 
>>
>> -Joshua
>>
>>>
>>> Sergiu Dumitriu-2 wrote:
 On 12/16/2009 02:08 PM, Bubulina wrote:
> 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 class:
> #includeForm("$space.TestClass")
> because I wanna get those prop:
>
> #includeForm("$space.TestClass")
> #set($object = $doc.getObject("$space.TestCkass").xWikiClass)
 $space.TestCkass is wrong, not just because it's Ckass instead of
 Class,
 but because the dot is part of the Velocity syntax. So $space.TestClass
 is not expanded as ($space).TestClass, but as $space.get("TestClass"),
 which is the value of the "TestClass" property of that object. Try
 ${space}.TestClass. Even better, you know where the class is, you could
 just use 'Test.TestClass'.

> object - $object
>#foreach($prop in $object.properties)
>-- ${prop.prettyName}
>  : $doc.display($prop.getName())
> #end
>
> and my $object shows nothing. probably my favourite questionwhat
> am i
> missing here?
> Thanks
 --
 Sergiu Dumitriu
 http://purl.org/net/sergiu/
 ___
 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
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/get-prop-from-a-class-tp4175285p4175668.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


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

2009-12-16 Thread Anca Luca


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 that should
>> give me the object from it:
>> #set($object = $document.getObject("spaceName.TestClass").xWikiClass)
>> returns nothing...
>>
>
> You don't need the .xWikiClass. Try just:
> #set($object = $document.getObject("spaceName.TestClass")


Unless you set the $document variable yourself (which you don't do in the 
initial snippet I see), you should use $doc for that which is the name of the 
variable holding the current document by default in the velocity context:

#set($object = $doc.getObject("spaceName.TestClass")

if it _still_ does not work, check if there is an object in there indeed by 
doing
Edit -> Objects in the menu and looking for an object of class 
spaceName.TestClass .

Have fun!
Anca

>
> -Joshua
>
>>
>> Sergiu Dumitriu-2 wrote:
>>> On 12/16/2009 02:08 PM, Bubulina wrote:
 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 class:
 #includeForm("$space.TestClass")
 because I wanna get those prop:

 #includeForm("$space.TestClass")
 #set($object = $doc.getObject("$space.TestCkass").xWikiClass)
>>> $space.TestCkass is wrong, not just because it's Ckass instead of Class,
>>> but because the dot is part of the Velocity syntax. So $space.TestClass
>>> is not expanded as ($space).TestClass, but as $space.get("TestClass"),
>>> which is the value of the "TestClass" property of that object. Try
>>> ${space}.TestClass. Even better, you know where the class is, you could
>>> just use 'Test.TestClass'.
>>>
 object - $object
#foreach($prop in $object.properties)
-- ${prop.prettyName}
  : $doc.display($prop.getName())
 #end

 and my $object shows nothing. probably my favourite questionwhat am i
 missing here?
 Thanks
>>> --
>>> Sergiu Dumitriu
>>> http://purl.org/net/sergiu/
>>> ___
>>> 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] get prop from a class...

2009-12-16 Thread Josh
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 that should
> give me the object from it:
> #set($object = $document.getObject("spaceName.TestClass").xWikiClass)
> returns nothing...
> 

You don't need the .xWikiClass. Try just:
#set($object = $document.getObject("spaceName.TestClass")

-Joshua

> 
> Sergiu Dumitriu-2 wrote:
>> On 12/16/2009 02:08 PM, Bubulina wrote:
>>> 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 class:
>>> #includeForm("$space.TestClass")
>>> because I wanna get those prop:
>>>
>>> #includeForm("$space.TestClass")
>>> #set($object = $doc.getObject("$space.TestCkass").xWikiClass)
>> $space.TestCkass is wrong, not just because it's Ckass instead of Class, 
>> but because the dot is part of the Velocity syntax. So $space.TestClass 
>> is not expanded as ($space).TestClass, but as $space.get("TestClass"), 
>> which is the value of the "TestClass" property of that object. Try 
>> ${space}.TestClass. Even better, you know where the class is, you could 
>> just use 'Test.TestClass'.
>>
>>> object - $object
>>>   #foreach($prop in $object.properties)
>>>   -- ${prop.prettyName}
>>> : $doc.display($prop.getName())
>>> #end
>>>
>>> and my $object shows nothing. probably my favourite questionwhat am i
>>> missing here?
>>> Thanks
>> -- 
>> Sergiu Dumitriu
>> http://purl.org/net/sergiu/
>> ___
>> 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] get prop from a class...

2009-12-16 Thread Bubulina

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 that should
give me the object from it:
#set($object = $document.getObject("spaceName.TestClass").xWikiClass)
returns nothing...


Sergiu Dumitriu-2 wrote:
> 
> On 12/16/2009 02:08 PM, Bubulina wrote:
>>
>> 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 class:
>> #includeForm("$space.TestClass")
>> because I wanna get those prop:
>>
>> #includeForm("$space.TestClass")
>> #set($object = $doc.getObject("$space.TestCkass").xWikiClass)
> 
> $space.TestCkass is wrong, not just because it's Ckass instead of Class, 
> but because the dot is part of the Velocity syntax. So $space.TestClass 
> is not expanded as ($space).TestClass, but as $space.get("TestClass"), 
> which is the value of the "TestClass" property of that object. Try 
> ${space}.TestClass. Even better, you know where the class is, you could 
> just use 'Test.TestClass'.
> 
>> object - $object
>>   #foreach($prop in $object.properties)
>>   -- ${prop.prettyName}
>> : $doc.display($prop.getName())
>> #end
>>
>> and my $object shows nothing. probably my favourite questionwhat am i
>> missing here?
>> Thanks
> 
> -- 
> Sergiu Dumitriu
> http://purl.org/net/sergiu/
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/get-prop-from-a-class-tp4175285p4175536.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


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

2009-12-16 Thread Sergiu Dumitriu
On 12/16/2009 02:08 PM, Bubulina wrote:
>
> 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 class: #includeForm("$space.TestClass")
> because I wanna get those prop:
>
> #includeForm("$space.TestClass")
> #set($object = $doc.getObject("$space.TestCkass").xWikiClass)

$space.TestCkass is wrong, not just because it's Ckass instead of Class, 
but because the dot is part of the Velocity syntax. So $space.TestClass 
is not expanded as ($space).TestClass, but as $space.get("TestClass"), 
which is the value of the "TestClass" property of that object. Try 
${space}.TestClass. Even better, you know where the class is, you could 
just use 'Test.TestClass'.

> object - $object
>   #foreach($prop in $object.properties)
>   -- ${prop.prettyName}
> : $doc.display($prop.getName())
> #end
>
> and my $object shows nothing. probably my favourite questionwhat am i
> missing here?
> Thanks

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


[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 class: #includeForm("$space.TestClass")
because I wanna get those prop:

#includeForm("$space.TestClass")
#set($object = $doc.getObject("$space.TestCkass").xWikiClass)
object - $object
 #foreach($prop in $object.properties)
 -- ${prop.prettyName} 
   : $doc.display($prop.getName())
#end

and my $object shows nothing. probably my favourite questionwhat am i
missing here? 
Thanks
-- 
View this message in context: 
http://n2.nabble.com/get-prop-from-a-class-tp4175285p4175285.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


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 variables on request so i can use in the
>> html page? something like this:
>> "#set($var = $request.setAttribute($name))"
> 
> yes, normally yes, but you also have to pass a value, the setAttribute() 
> function gets 2 params:
> 
> $request.setAttribute($name, $value)
> 
>>
>> and in the html page to use $request.getAttribute($name) ?
> 
> I confess I don't really understand which HTML page this is about, but
> yes, it 
> should work. However, keep in mind that parameters and attributes are not
> really 
> the same thing (see the spec here 
> http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/ServletRequest.html
> ).
> 
> Happy hacking,
> Anca
> 
>> :blush:
>> Thank you
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/set-variables-on-request-tp4174575p4174967.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


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  unless
you are specifically using ?xpage=plain so you cant use  here
* by default {{html}} is supposed to contains valid html,  never
closed is not valid, if you want to start  in an html block and
close it in another html block you have to use {{html clean="false"}}
(i guess that's your main issue here)

Why don't you use wiki syntax instead of html ? It would be much easier IMO

2009/12/16 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}}
> 
>
> 
>
> 
> 
>   
> {{/html}}
> IF I DO THIS, THE layout GONE HELL
> [[Introduccion>>Main.Introduccion]]
>
> {{html}}
>    # Introducción
> 
>    # Guía Rápida 
>    # Objetivos 
>    # Descripción 
>    # Noticias 
>    # RSS 
> 
> 
>
> 
>
>
>
>  
>
>
>
>   
>
>     MADES (Marco de Desarrollo y Mantenimiento de Aplicaciones)
>
>     es una referencia para los actores implicados en el desarrollo de
> aplicaciones software en el ámbito de la Consejería de Sanidad y Dependencia
> de la Junta de Extremadura. Ofrece un punto de partida para el uso de
> tecnologías probadas bajo directrices que marcan criterios de calidad y
> homogeneización en los desarrollos y proponiendo un marco metodológico en la
> operativa de los proyectos.
>
>  # >> leer más 
>
>
>
>   
>
>   
>
>    
>
>     Arquitectura MADES
>
>     Marco Tecnológico
>
>     
>
>       # Infraestructura 
>
>       # Librerías 
>
>       # Área de entrega 
>
>       # Criterios de Desarrollo 
>
>     
>
>
>
>
>
>    
>
>    
>
>     Políticas y procedimientos
>
>     Marco Metodológico
>
>     
>
>       # Metodología 
>
>       # Plantillas de documentación 
>
>       # Material de referencia 
>
>     
>
>    
>
>
>
>   
>
>
>
>  
>
>
>
>  
>
>
>
>   
>
>
>
>    Zona de descargas
>
>    
>
>     # Entorno de Desarrollo 
>
>     # Plantillas de Documentación 
>
>     # Manuales 
>
>     # Ejemplos 
>
>     # Guía rápida a MADES 
>
>     # Proyecto Piloto
>
>       # Repositorio de Código Fuente 
>
>    
>
>     # Bibliografía 
>
>     # Herramienta de Verificación 
>
>     # Actualización de reglas 
>
>    
>
>
>
>
>
>   
>
>
>
>   
>
>
>
>     Gestión de Proyectos
>
>
>
>      
>
>      
>
>      
>
>
>
>        Usuario
>
>        
>
>
>
>        
>
>
>
>        Login
>
>        
>
>         class="boton" alt="Enviar" title=  "Enviar">
>
>
>
>        
>
>
>
>      
>
>      
>
>
>
>
>
>      
>
>
>
>   
>
>
>
>
>
>
>
>  
>
>
>
>
>
> 
>
>
>
> 
>
>
>
> (c) Junta de Extremadura 2009
>
>
>
> 
> {{/html}}
> --
> View this message in context: 
> http://n2.nabble.com/Problem-creating-a-link-to-a-page-with-custom-css-NEWBEE-tp4174746p4174746.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>



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


[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}}






   
{{/html}}
IF I DO THIS, THE layout GONE HELL
[[Introduccion>>Main.Introduccion]]

{{html}}
# Introducción 

# Guía Rápida 
# Objetivos 
# Descripción 
# Noticias 
# RSS 







 

  

   

 MADES (Marco de Desarrollo y Mantenimiento de Aplicaciones)

 es una referencia para los actores implicados en el desarrollo de
aplicaciones software en el ámbito de la Consejería de Sanidad y Dependencia
de la Junta de Extremadura. Ofrece un punto de partida para el uso de
tecnologías probadas bajo directrices que marcan criterios de calidad y
homogeneización en los desarrollos y proponiendo un marco metodológico en la
operativa de los proyectos.

 # >> leer más 

 

   

   



 Arquitectura MADES

 Marco Tecnológico

 

   # Infraestructura 

   # Librerías 

   # Área de entrega 

   # Criterios de Desarrollo   

 

 







 Políticas y procedimientos

 Marco Metodológico

 

   # Metodología 

   # Plantillas de documentación 

   # Material de referencia   

 



 

   

 

 



 

   

   



Zona de descargas



 # Entorno de Desarrollo 

 # Plantillas de Documentación 

 # Manuales 

 # Ejemplos 

 # Guía rápida a MADES 

 # Proyecto Piloto 

   # Repositorio de Código Fuente 



 # Bibliografía 

 # Herramienta de Verificación 

 # Actualización de reglas 







   



   



 Gestión de Proyectos

  

  

  

  

 

Usuario









Login











  

  





  



   







 













(c) Junta de Extremadura 2009




{{/html}}
-- 
View this message in context: 
http://n2.nabble.com/Problem-creating-a-link-to-a-page-with-custom-css-NEWBEE-tp4174746p4174746.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


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.org stays open in edit mode to all external contributors (and  
> XWiki committers continue to monitor it to remove spam, etc)

+1

> 3) we agree to start with 3 zones where companies can advertise their  
> commercial offers on top of the XWiki open source product:
> -- On the download page (for business packages, subscriptions, hosting)
> -- On the support page (for services: support, consulting)
> -- (still to be defined) Possibly on a "Products" tab in the new  
> horizontal navigation. The idea would be to do as jboss.org is doing.  
> Projects are open source and community and Products are commercial

+1
And I agree with Marius' remark about the fact that only products that are 
built on top of XWiki could be advertised

> 4) the company offerings are listed by their amount of contributions  
> to the XWiki open source project. The company that contributes most  
> (XWiki SAS today) gets the best spots (top of the list, bigger space)

+1
This however is tricky...
In order to define what "contribute most" means we need a metric, and that's 
not an easy thing to do.

Maybe we could use a linear combination of weights assigned to the priority an 
issue has and an index for its "perceived" difficulty (I saw people tagging 
issues with their difficulty when handling the backlog in a Scrum-oriented 
process). Maybe LOC-count could go into the mix (the less the better :)) And 
maybe also time should influence the result (company that had a punctual 
high-quality contribution should not be listed forever if it stops contributing)

The ranking is calculated wrt to this combination and a minimum threshold 
should be reached in order to be ranked.

I don't really know how to handle this, but if we propose a ranking we need 
also to propose a policy about how it is calculated.

> 5) Companies who want to be listed should provide some proof of their  
> contributions to the XWiki open source project

+1

> 6) XWiki SAS gets some acknowledgment for paying for the xwiki.org  
> server/maintenance of it. Probably somewhere in the footer of the site  
> or on side panel somewhere

+1

> 7) xwiki.org should always remain a site for the xwiki open source  
> community
> 
+1

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


Re: [xwiki-users] set variables on request

2009-12-16 Thread Marius Dumitru Florea
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 = $request.setAttribute($name))"
> 
> and in the html page to use $request.getAttribute($name) ?

Have you read 
http://java.sun.com/javaee/5/docs/api/javax/servlet/ServletRequest.html#setAttribute%28java.lang.String,%20java.lang.Object%29

It clearly states "Attributes are reset between requests". Also, please 
note that attributes and parameters have a different meaning when you 
talk about servlet requests.

Isn't an input hidden (HTML element) what you are looking for? Or maybe 
http://java.sun.com/javaee/5/docs/api/javax/servlet/http/HttpSession.html#setAttribute%28java.lang.String,%20java.lang.Object%29

Hope this helps,
Marius

> :blush:
> Thank you
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


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 = $request.setAttribute($name))"

yes, normally yes, but you also have to pass a value, the setAttribute() 
function gets 2 params:

$request.setAttribute($name, $value)

>
> and in the html page to use $request.getAttribute($name) ?

I confess I don't really understand which HTML page this is about, but yes, it 
should work. However, keep in mind that parameters and attributes are not 
really 
the same thing (see the spec here 
http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/ServletRequest.html 
).

Happy hacking,
Anca

> :blush:
> Thank you
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[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 $request.getAttribute($name) ?
:blush:
Thank you
-- 
View this message in context: 
http://n2.nabble.com/set-variables-on-request-tp4174575p4174575.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users