Archive for the ‘Cocoon’ Category

I’m still alive…

Wednesday, March 21st, 2007

Yes, I know, I don’t blog from a lot of time, but in the last months I don’t have much time…
From 15th January I was in Lugano for follow an interesting project based on Cocoon framework with a very nice AJAX client.
During this project I tried to port some flowscript to Javaflow, but in Cocoon 2.1 the Javaflow implementation is not complete and the are some boring issues. So the porting was put in pause, waiting for a official 2.2 release.
In the meanwhile we need some features like the possibility to load some selectionlist values into CForms widgets during the bind (not at declaration time). For this I wrote two components that during the bindLoad() phase load into the widget the model’s collection

<fb:selectionlist-value id=”l-country” path=”detail/country/id”>
<fb:selection-list path=”allCountries” value=”id” label=”name”/>

I think that this can be a common issue, so I will clean the code and contribute it.


CocoonGT 2006

Friday, October 6th, 2006


I came back from the annual edition of Cocoon GetTogether in Amsterdam.
Saturday 30 I left for Amsterdam, I wait Maurizio at the Schipol airport for go at home. Sunday we wake not so later, only at 11am :D , in the afternoon Gabriele was arrived in Amsterdam, so we wait for him and me e Gabriele are gone to our hostel; the night also Simone join with us. At the end of day we make arrangements for meet us before of conference.
Monday and tuesday there was the hackaton days, I tried to resolve some bug and start the integration of Dojo widgets into Forms, the last day of conference there was some talks; a relevant applause go to

      Gianugo‘s talk about REST (I was involved in development of the site)
      Simone‘s talk about Cocoon Blueprint (hey guy, good idea)
      Andrew‘s talks (surely the funniest)
      Bertrand‘s talk about Solr (powerful and interesting)

Yesterday I came back to Italy, after all the Holland experience was good; meet the cocoon guys is a pleasure, I’m displeased because my english is not so well, so I cannot be able to have a long discussion with them. But inside me the light of “hacking” was revamped and I hope to keep it alive.

The photo of the event are published here.


Back from vacations…

Monday, September 4th, 2006

Yep, I came back to the office :(
My vacations in the Rodi Island are ended, I’m very tired but very happy.
Some news:
- finally this morning Fastweb bring me the internet connection after 3 months of call to customer care.
- I’m looking for partecipate to this Cocoon GetTogheter.
- I hope to upload the vacation’s photo soon, we made also a video, but probably I’ll upload only some parts of it.


Guilder HomePage

Friday, November 25th, 2005

From today Guilder has a new homepage, with news, changelog, screenshot and download.
Stay tuned ;) .


Guilder… TODO list

Thursday, November 17th, 2005

in the last days I haven’t much time to spent on Guilder’s development, so I reduce it on some fixes (waitin for the commit). But the idea are many.
An interesting PointOfView are on the Adrew’s blog. I’d like to implements a simple wizard for blocks selection, in which a user choose only what he want to do, so a simple webapp include only forms and ajax block and so on.
Another tool that I want to add (LF5 factory for log was added) is the possibility to enable flowscript debug, this feature is not known to all user, and probably have a easy way to do it is not so bad.

If you have another idea or hint, contact me.



Global variable and session

Tuesday, November 8th, 2005

When you write your flowscript in cocoon, if you declare a global variable, this was stored in session (implicit creation of session).

var i;
function count() {
    cocoon.sendPage("view-count", {"counter": ++i});

This work propertly but

var i=0;
function count() {
    cocoon.sendPage("view-count", {"counter": ++i});

doesn’t, this set ‘i’ to 0 each time that the script was executed. So if you need to initialize it one time only, you must check the status

var i;
function init() {
    if (i == undefined) {
        i = 0;
function count() {
    cocoon.sendPage("view-count", {"counter": ++i});


Guilder was born

Thursday, October 6th, 2005

Hi folks,
today CBuilder was death, and Guilder was born.
Ugo Cei has committed the source here, and presented it during the Cocoon GetTogheter with a mail to dev@ and users@ lists.

The devel go ahead…


Developing CocoonBuilder

Friday, September 23rd, 2005

After the post on dev@, I received some consents and some hints.
So I must add this features:
1) a better and more explicit dependencies selection;
2) add some properties from (like samples, javadoc, sources in jars, etc);
3) call ant task for build the project;
4) start/stop of jetty;
5) better UI’s look&feel;

For the point number 5 I’m searching for a volunteer, anyone? :D


First Release of CocoonBuilder

Thursday, September 22nd, 2005

Today I annunced the first release on

I hope that this little application go ahead and it will be useful for all people that want to begin to devel with cocoon.



Thursday, September 22nd, 2005

I’m working on a little builder for Cocoon. It’s based on SWING and this is my first SWING application, so probably it won’t be the best SWING application :D .

This application (formally called Cocoon Builder) reads the [local.] and gump.xml for blocks, their hierarchy and their descriptions; it permits to select the single block with all dependencies and writes the

In the future it will permit to select the main properties of and probably the execution of build process too.

Stay tuned ;)