On Fri, Aug 30, 2013 at 5:35 PM, thadc <tclotworthy(a)bluestonelogic.com> wrote:
Hello,
I have an App Within Minutes app that I am trying to
add a page to.
You mean a plain wiki page? Did you try the Add > Page top level menu
from your application home page? What's the purpose of this page?
I am attempting to add the page directly to the class
using the class wizard.
The class defines a data type, i.e. the type of data your application
works with. The class doesn't specify any value for its fields. The
field values are specified by instances of that class, i.e. by objects
of the type defined by that class. So adding a page to a class doesn't
make any sense.
I am assuming that by using the property type
"Page", that I add the page that
way (please see example from image).
By adding a property of type Page to the class you're making sure that
all instances of that class (i.e. objects of that type) have a Page
property whose value is a reference to a wiki page. Of course,
different objects can have different values for that Page property.
<http://xwiki.475771.n2.nabble.com/file/n7586855/Screen_Shot_2013-08-30_at_10.29.15_AM.png>
I do not understand which of these fields under my
"testPage" will be used
to provide a path to the page. I put the page name in the XWiki Class Name
field, but that did not work.
Again, the field value is not stored in the class but in the objects,
i.e. instances of that class.
You should probably read
http://platform.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorialManual .
Hope this helps,
Marius
I was expecting the actual page to show up embedded in an entry I am editing
or creating (as do other property I use from this wizard like Static Lists,
String, and Database Lists), but it is not show up.
I hope I have been coherent in communicating what I am trying to do. Any
help is greatly appreciated. Thanks!
--
View this message in context:
http://xwiki.475771.n2.nabble.com/Class-Wizard-Problem-Trying-to-Add-a-Pageā¦
Sent from the XWiki- Users mailing list archive at
Nabble.com.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users