incubator-clerezza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reto Bachmann-Gmuer <reto.bachm...@trialox.org>
Subject Re: CLEREZZA-362: committed major change to the implementation of ScalaServerPages
Date Tue, 23 Nov 2010 09:39:07 GMT
Hi

I've fixed the problem regarding non xml output yesterday with Oli.
I'll add support for uriInfo now very soon.

Cheers,
Reto

On Tue, Nov 23, 2010 at 10:12 AM, Tsuyoshi Ito <tsuy.ito@trialox.org> wrote:
> Hi Oli
>
> Daniel has already mentioned this error
>
> btw:
> the dashboard service you are using is not part of apache clerezza.
>
> Cheers
> tsuy
>
>
>  Tue, Nov 23, 2010 at 9:44 AM, Oliver Strässer
> <oliver.straesser@getunik.com> wrote:
>> @ the dashboard is an error too:
>>
>>
>>
>> Error Rendering Page
>>
>>
>>
>>
>>                File: bundle://139.0:1/org/clerezza/cms/dashboard/cms-dashboard.ssp
>>
>>                        Line: 0
>>
>>
>>                        Column: 0
>>
>>
>>
>>
>> Description:
>>
>>
>>
>> <script>:74: error: not found: value uriInfo    <h1>Welcome to the
administration section of the Site <span>{uriInfo.getBaseUri.getAuthority}</span></h1>
                                                           
        ^ in bundle://139.0:1/org/clerezza/cms/dashboard/cms-dashboard.ssp
>>
>>
>>
>>
>>
>>
>>
>> -----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