Facing new challenges everyday

Back button issues with JSF and server side state saving

October 27th, 2008

For several months I tried to avoid this problem that only happens with server side state saving, but now I can’t run away anymore. Really sad.

I have a page that contains a dataList used to render a list of commandLinks, when I click on one of these commandLinks, the attached ActionListener gets called, but if I click on back button and then click on any other commandLink, the ActionListener attached to this component isn’t called, after several hours of debugging I discovered JSF are always trying to restore the current viewstate and not the viewstate related with the original version of my view.

JSF helped a lot on development of many projects, but now I’m really considering the use of Wicket on development of some search frontends that requires good back button support.

Post to Twitter

How to setup windows domain authentication on mercurial repositories

October 15th, 2008

After few days searching for something about how to setup a mercurial repository with Windows domain authentication, I finally found a way to do it.

In order to get all this stuff running you must download the following softwares:

  • Python 2.5
  • Apache 2.2
  • Mercurial 1.0.2 (Windows installer)
  • mod_wsgi
  • mod_auth_sspi

The first software to be installed is Python 2.5, please install it on c:python25, once the instalation finishes you can install Apache 2.2 too.
(more…)

Post to Twitter

Compressing css and js files with yuicompressor-maven-plugin

October 13th, 2008

Today I started to be worried about the size of css and js files used by my current project, so I searched for some maven plugins that can do some compression on these resources for me, hopefully I found a nice one called yuicompressor-maven-plugin.

This plugin allows to compress both css and js files, you can compress all of js files into one big file and you can do the same for css files, you can also specify which files should be added as well ignored on compression step.
(more…)

Post to Twitter

Visitors Around the World

Polls

How Is My Site?

View Results

Loading ... Loading ...

Categories

Meta

Links

hosted by easy2use.net