You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Justin Edelson (JIRA)" <ji...@apache.org> on 2010/09/01 17:18:54 UTC
[jira] Commented: (SLING-1718) text/html property rendering of
multi-valued properties doesn't work
[ https://issues.apache.org/jira/browse/SLING-1718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12905048#action_12905048 ]
Justin Edelson commented on SLING-1718:
---------------------------------------
done in r991565
> text/html property rendering of multi-valued properties doesn't work
> --------------------------------------------------------------------
>
> Key: SLING-1718
> URL: https://issues.apache.org/jira/browse/SLING-1718
> Project: Sling
> Issue Type: Bug
> Components: Servlets
> Reporter: Justin Edelson
> Fix For: Servlets Get 2.0.10
>
>
> $ curl -u admin:admin -F a=b -F "a@TypeHint=String[]" http://localhost:8888/test/node1
> $ curl http://localhost:8888/test/node1.html
> <?xml version="1.0" encoding="utf-8"?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
> "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /></head>
> <body>
> <h1>Resource dumped by HtmlRendererServlet</h1>
> <p>Resource path: <b>/test/node1</b></p>
> <p>Resource metadata: <b>{sling.resolutionPathInfo=.html, sling.resolutionPath=/test/node1}</b></p>
> <p>Resource type: <b>nt:unstructured</b></p>
> <p>Resource super type: <b>-</b></p>
> <h2>Resource properties</h2>
> <p>
> a: <b>[b]</b><br />
> jcr:primaryType: <b>nt:unstructured</b><br />
> </p>
> </body></html>
> $ curl http://localhost:8888/test/node1/a.html
> returns a 204 No Content message
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.