{"action":"closed","issue":{"url":"https://api.github.com/repos/plomino/Plomino/issues/640","labels_url":"https://api.github.com/repos/plomino/Plomino/issues/640/labels{/name}","comments_url":"https://api.github.com/repos/plomino/Plomino/issues/640/comments","events_url":"https://api.github.com/repos/plomino/Plomino/issues/640/events","html_url":"https://github.com/plomino/Plomino/issues/640","id":92070532,"number":640,"title":"Displaying submitted data on a page form","user":{"login":"instification","id":2558052,"avatar_url":"https://avatars.githubusercontent.com/u/2558052?v=3","gravatar_id":"","url":"https://api.github.com/users/instification","html_url":"https://github.com/instification","followers_url":"https://api.github.com/users/instification/followers","following_url":"https://api.github.com/users/instification/following{/other_user}","gists_url":"https://api.github.com/users/instification/gists{/gist_id}","starred_url":"https://api.github.com/users/instification/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/instification/subscriptions","organizations_url":"https://api.github.com/users/instification/orgs","repos_url":"https://api.github.com/users/instification/repos","events_url":"https://api.github.com/users/instification/events{/privacy}","received_events_url":"https://api.github.com/users/instification/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-06-30T11:41:40Z","updated_at":"2015-06-30T12:09:34Z","closed_at":"2015-06-30T12:09:34Z","body":"# User Problem\r\nWhen a user submits to a page form, it is displayed using OpenForm to render the form with the request values that were submitted.\r\n\r\nThere is no option to display the values, in a similar manner to the way a document is displayed after it is created.\r\n\r\nThe particular use case here is trying to generate a pdf from the submitted values via plone.subrequest.\r\n\r\n# Options\r\n1. Create a new view (DisplayForm) that renders the form in display mode, using the request values.\r\n\r\nDisplayForm.pt:\r\n```\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\"\r\nxmlns:tal=\"http://xml.zope.org/namespaces/tal\"\r\n      xmlns:metal=\"http://xml.zope.org/namespaces/metal\"\r\n      xmlns:i18n=\"http://xml.zope.org/namespaces/i18n\" lang=\"en\"\r\n      metal:use-macro=\"here/main_template/macros/master\" i18n:domain=\"plone\"\r\n    >\r\n<body>\r\n    <metal:main fill-slot=\"main\"><span tal:content=\"structure python:here.displayDocument(None,request=request)\" /></metal:main>\r\n</body>\r\n</html>\r\n```"}}