2014-03-19 21:22 GMT+01:00 DeHaynes <[email protected]>:

> Maybe if I explain in better detail.  I am creating 3 forms.
> 1. Person
> 2. Department
> 3. Company
>
> The idea is that there is a Person document for each company.
>
> In the Company Form, there is a Department TextArea section.  In that
> section would be links to various Department Forms.
>
> In the Department Form, there is a Personnel TextArea section.  In that
> section would be links to various Person Forms for people who work in that
> department.
>
> I would like to standardize the forms to have a consistent document name
> and
> title.  They would be:
> 1. Person - FirstName and LastName
>

In the title of your sheet:
#set($obj = $doc.getObject('myClass'))$obj.display('firstName', 'view')
$obj.display('lastName', 'view')


> 2. Department - Department Name
>

In the title of your sheet:
#set($obj = $doc.getObject('myClass'))Department:
$obj.display('departmentName', 'view')


> 3. Company - Company Name
>

In the title of your sheet:
#set($obj = $doc.getObject('myClass'))Company: $obj.display('companyName',
'view')

And please see:
http://extensions.xwiki.org/xwiki/bin/view/Extension/Sheet+Module for more
informations about the Sheet system.

I hope it helps,
Louis-Marie
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to