incubator-clerezza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tsuyoshi Ito <tsuy....@trialox.org>
Subject Re: CLEREZZA-362: committed major change to the implementation of ScalaServerPages
Date Mon, 22 Nov 2010 16:50:54 GMT
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
<oliver.straesser@getunik.com> 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: reto@trialox.org [mailto:reto@trialox.org] Im Auftrag von Reto Bachmann-Gmuer
> Gesendet: Samstag, 20. November 2010 20:11
> An: clerezza-dev@incubator.apache.org
> 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
>

Mime
View raw message