On 04/06/2012 07:19 PM, du du wrote:
Hi, all,

One question, I am trying to look at the source code of XWikiPreferences
class, AdminSheet class, but after I searched Data Type, I got a lot of
classes back, I clicked on these two classes, it always shows the rendering
result, I have no way to look at the velocity code behind the classes, but
other classes like BlogClass, I can go inside the BlogSheet and use Edit
button - Wiki to see the velocty code, why for these two classes I cannot
see the code, any ideas?

There's no "source code" for a class. Do you mean the code of the sheet that displays the administration interface? It's true that trying to access the document itself will always redirect to the administration UI, but you can always use the URL bar to manually change the URL and go into edit mode:

http://localhost:8080/xwiki/bin/edit/XWiki/AdminSheet?editor=wiki

Please don't cross-post user questions to the devs list.
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to