incubator-clerezza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fabian Wabbel <fabian.wab...@getunik.com>
Subject AW: CLEREZZA-362: committed major change to the implementation of ScalaServerPages
Date Mon, 22 Nov 2010 17:00:52 GMT
Hi all,

This is quite critical for us at the very moment, is there a timeline for the fix?


Thanks
Fabian



--getunik ag-------------------------------------------
  fabian wabbel               fabian.wabbel@getunik.com
  hardturmstrasse 101          fon: +41 (0)44 388 55 88
  ch-8005 zuerich              fax: +41 (0)44 388 55 89

i'm on twitter: twitter.com/fabianwabbel 

--latest getunik project-------------------------
   act local! geo marketing for your e-mail campaign: www.geomarketing.com

we make the web a better place - www.getunik.com

*****************************************************************
think before you print - for the sake of nature
*****************************************************************


-----Ursprüngliche Nachricht-----
Von: Tsuyoshi Ito [mailto:tsuy.ito@trialox.org] 
Gesendet: Montag, 22. November 2010 17:51
An: clerezza-dev@incubator.apache.org
Betreff: Re: CLEREZZA-362: committed major change to the implementation of ScalaServerPages

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