Hi everyone,
I have a little problem (not really a problem, but it's been two weeks since
I can't find how to do).
I have a basic button :
<form id="survey"
action="${xwiki.getURL('MySpace.AppCreation')}"
method="get">
<div>
<input type="hidden" name="appSpace"
value="MySpace"/>
<input type="hidden" name="appTemplate"
value="MySpace.ApplicationClassTemplate"/>
<input type="hidden" name="appId" id="appId"
value="SURVEY" />
<input type="hidden" name="appId2" id="appId2"
value="$datetool.get('yyyyMMdd-HHmmss')" />
<input type="submit" class="button"
value="${msg.get('AppCreation.form.submit')}"/>
</div>
</form>
The page just show a button "Start the survey"
Pressing the button creates a new page with this intermediate code :
#set($appId = $request.get('appId'))
#set($appId2 = $request.get('appId2'))
#set($appName = "$appId$appId2")
I store the space and other information too. And after I redirect to my new
page :
$response.sendRedirect($xwiki.getURL($targetDocName, 'inline',
"template=${appTemplate}&parent=${targetDocParent}"))
After that my survey appears (it's just a basic form), and the name of my
page is for example : SURVEY20111013-165324
My problem is that the title of my page is also the name of my page. And I
think it's not very beautiful for people who will answer my survey to see
"SURVEY20111013-165324". I prefer them to see a title like "Survey".
Is there a solution to change the title of my page and where do I exactly
need to change this title ?
Thank for your response,
Stéphanie
--
View this message in context:
http://xwiki.475771.n2.nabble.com/Don-t-see-how-to-change-the-title-of-my-p…
Sent from the XWiki- Users mailing list archive at
Nabble.com.