oups I just found

just need to type the good url
http://pcyy20rnv.pcy.edfgdf.fr:8080/xwiki/bin/edit/Main/WebHome?editor=wiki

thanks

2012/7/3, yann gensollen <[email protected]>:
> I am dummy, thanks for your help now it works. but it is so efficient
> that i cannot edit my main.webhome page. How can i edit my page and
> stop redirection, the time i write the right space
>
> thanks
>
> 2012/7/2, Guillaume Lerouge <[email protected]>:
>> You forgot a closing ")":
>>
>> You're using this:
>>
>> {{velocity}}
>> $response.sendRedirect($xwiki.getURL('Main.Activity')
>> {{/velocity}}
>>
>> instead of this:
>>
>> {{velocity}}
>> $response.sendRedirect($xwiki.getURL('Main.Activity')*) ## added missing
>> parenthese*
>> {{/velocity}}
>>
>> Guillaume
>>
>> On Mon, Jul 2, 2012 at 3:25 PM, yann gensollen <[email protected]>
>> wrote:
>>
>>> i am extremely sorry to annoy you again with my little problem but i
>>> still cannot make it work. I tried to replace my space by standards
>>> page and space. but i am still not redirected on the page after
>>> registration. I stay still on main.Webhome instead of activity in the
>>> example
>>>
>>> my code of main webhome is now
>>>
>>> {{include document="Dashboard.WebHome" context="new"/}}
>>> {{velocity}}
>>> $response.sendRedirect($xwiki.getURL('Main.Activity')
>>> {{/velocity}}
>>>
>>> thanks
>>>
>>>
>>>
>>> 2012/7/2, Marius Dumitru Florea <[email protected]>:
>>> > On Mon, Jul 2, 2012 at 10:56 AM, yann gensollen <[email protected]>
>>> wrote:
>>> >> Hello thanks for your help
>>> >>
>>> >> my code is now  for main WebHome
>>> >>
>>> >> {{include document="Dashboard.WebHome" context="new"/}}
>>> >> {{velocity}}
>>> >
>>> >> $xwiki.getURL("guide utilisateur Alexandhry.WebHome")
>>> >
>>> > Vincent suggested you to use $xwiki.getURL() instead of
>>> > $xwiki.getDocumentURL(), not to drop the $request.sendRedirect() call.
>>> > As you can see, there's no getDocumentURL method in
>>> >
>>> http://nexus.xwiki.org/nexus/service/local/repositories/releases/archive/org/xwiki/platform/xwiki-platform-oldcore/4.1.2/xwiki-platform-oldcore-4.1.2-javadoc.jar/!/com/xpn/xwiki/api/XWiki.html
>>> > .
>>> >
>>> > $response.sendRedirect($xwiki.getURL('guide utilisateur
>>> > Alexandhry.WebHome')
>>> >
>>> > Hope this helps,
>>> > Marius
>>> >
>>> >> {{/velocity}}
>>> >>
>>> >> but it still does not work when a user registers it still goes on
>>> >> main
>>> >> space instead of specific space. I also have changed default page on
>>> >> cfg file but no success either
>>> >>
>>> >> thanks
>>> >>
>>> >> yann
>>> >>
>>> >> 2012/6/29, Vincent Massol <[email protected]>:
>>> >>>
>>> >>> On Jun 29, 2012, at 5:23 PM, yann gensollen wrote:
>>> >>>
>>> >>>> hello thanks for the answer
>>> >>>>
>>> >>>> I have edited the webhome of main space and now i have this
>>> >>>>
>>> >>>> {{include document="Dashboard.WebHome" context="new"/}}
>>> >>>> {{velocity}}
>>> >>>> $response.sendRedirect($xwiki.getDocumentURL('guide utilisateur
>>> >>>
>>> >>> $xwiki.getURL("Space.Page")
>>> >>>
>>> >>>> Alexandhry.WebHome'))
>>> >>>> {{/velocity}}
>>> >>>>
>>> >>>> but it s still wont work
>>> >>>>
>>> >>>> what am i doing wrong?
>>> >>>>
>>> >>>> thanks
>>> >>>>
>>> >>>> 2012/6/29, Guillaume Lerouge <[email protected]>:
>>> >>>>> Hi Yann,
>>> >>>>>
>>> >>>>> IIRC, you can change the default home page for the wiki in
>>> >>>>> xwiki.cfg
>>> >>>>> or
>>> >>>>> in
>>> >>>>> xwiki.properties.
>>> >>>>>
>>> >>>>> You can also add this code in your home page:
>>> >>>>>
>>> >>>>> {{velocity}}
>>> >>>>> $response.sendRedirect($xwiki.getDocumentURL('SPACE.PAGE'))
>>> >>>>> {{/velocity}}
>>> >>>>>
>>> >>>>> Guillaume
>>> >>>>>
>>> >>>>> On Fri, Jun 29, 2012 at 4:57 PM, yann gensollen
>>> >>>>> <[email protected]>
>>> >>>>> wrote:
>>> >>>>>
>>> >>>>>> Hello
>>> >>>>>> Could u please tell me if it is possible when a user registers
>>> >>>>>> not
>>> to
>>> >>>>>> be redirected on main space webhome but a specific space instead.
>>> >>>>>>
>>> >>>>>> thank you
>>> >>>>>> _______________________________________________
>>> >>>>>> users mailing list
>>> >>>>>> [email protected]
>>> >>>>>> http://lists.xwiki.org/mailman/listinfo/users
>>> >>>>> _______________________________________________
>>> >>>>> users mailing list
>>> >>>>> [email protected]
>>> >>>>> http://lists.xwiki.org/mailman/listinfo/users
>>> >>>>>
>>> >>>> _______________________________________________
>>> >>>> users mailing list
>>> >>>> [email protected]
>>> >>>> http://lists.xwiki.org/mailman/listinfo/users
>>> >>>
>>> >>> _______________________________________________
>>> >>> users mailing list
>>> >>> [email protected]
>>> >>> http://lists.xwiki.org/mailman/listinfo/users
>>> >>>
>>> >> _______________________________________________
>>> >> users mailing list
>>> >> [email protected]
>>> >> http://lists.xwiki.org/mailman/listinfo/users
>>> > _______________________________________________
>>> > users mailing list
>>> > [email protected]
>>> > http://lists.xwiki.org/mailman/listinfo/users
>>> >
>>> _______________________________________________
>>> users mailing list
>>> [email protected]
>>> http://lists.xwiki.org/mailman/listinfo/users
>>>
>> _______________________________________________
>> users mailing list
>> [email protected]
>> http://lists.xwiki.org/mailman/listinfo/users
>>
>
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to