I have been following the validation howto 
(http://platform.xwiki.org/xwiki/bin/view/DevGuide/Creating+a+form+with+validation+and+tooltips)
  and have created a page 
(http://localhost:8080/xwiki/bin/view/TestSpace/Test1) which has a xwiki class 
object of type TestSpace.TestClass assigned to it.

However when I enter an attachment link into a string field for that object, 
when I view the page it incorrectly generates a  link to the TestClassSheet to 
try and find the attachment 
(http://localhost:8080/xwiki/bin/download/TestSpace/TestClassSheet/attachment.txt)
 instead of the actual page im visiting (which should be 
http://localhost:8080/xwiki/bin/download/TestSpace/Test1/attachment.txt)

I'm using the #includeInContext("TestSpace.TestClassSheet") macro to include 
the class sheet into the Test1 page.

Is there any way to have links to be generated for the parent page that is 
being viewed rather than the ClassSheet page that is being included from the 
parent page.



Radek Rekas
_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to