I have the same errors as Oliver in my ssp templates which generate json:
excerpt from a ssp:
"{\"assets\":" +
(for (asset <- (res!!)) yield {
"{" +
"\"mediaType\":\"" +
JSONObject.escape(createValue(asset/dbt("mediaType"))) + "\"," +
"\"uri\":\"" + JSONObject.escape(asset*) + "\"," +
"\"title\":\"" +
JSONObject.escape(createTextValue(asset/dct("title"))) + "\"," +
"\"description\":\"" +
JSONObject.escape(createTextValue(asset/dct("description"))) + "\"," +
"}"
}).mkString("[", ",", "]") +
On Mon, Nov 22, 2010 at 5:31 PM, Oliver Strässer
<[email protected]> wrote:
> since the newest version, I have the following errors:
>
>
> <script>:77: error: type mismatch;
> found : scala.xml.NodeBuffer
> required: scala.xml.Elem<div id="tx-content"> ^ in
> bundle://32.0:1/net/getunik/clerezza/app/clips/gui/clips-search-page.ssp
>
>
>
> org.apache.clerezza.platform.launcher.storageless
> INFO org.apache.clerezza.platform.typerendering.TypeRenderingExceptionMapper
> - <script>:75: error: type mismatch;
> found : java.lang.String
> required: scala.xml.Elem }).mkString("[", ",", "]") +
> ^ in bundle://34.0:1/net/getunik/clerezza/app
>
>
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: [email protected] [mailto:[email protected]] Im Auftrag von Reto
> Bachmann-Gmuer
> Gesendet: Samstag, 20. November 2010 20:11
> An: [email protected]
> Betreff: CLEREZZA-362: committed major change to the implementation of
> ScalaServerPages
>
> Hello,
>
> The resolution of CLEREZZA-362 is a quite major change to the way
> ScalaServerPages are implemented, so let me know if anything is no
> longer working as expected.
>
> Cheers,
> Reto
>