Archive for the ‘General’ Category

WebSphere Portal Theme Optimization & Portal WebDAV

Wednesday, May 23rd, 2012

WebSphere Portal sports new theming features since 7 FixPack 2 and the freshly GA’d 8 release that enable the creation of advanced client side aggregated themes while allow for optimized delivery (that is minimal number of requests / kilobytes transfer required) to client devices : Portal Theme Optimization; here’s links to the docs for portal 7 and portal 8

For one, the theming framework itself is fully javascript library agnostic (the included theme uses dojo 1.6 on portal 7 and dojo 1.7.2 on portal 8 ) and furthermore defines a set of metadata components (modules/profiles) that express dependencies between static/dynamic html, css and javascript resources in such a way that the designer can define what resources are sent to the client by associating a profile with a theme, page or by setting the default profile for an entire Portal environment. One big benefit is you no longer need to touch code to eg. remove a feature from your theme, you just modify the profile metadata or assign a different one to the correct scope, very neat.

As a first step to creating such a theme, the right resources have to be created, primarily by copying & modifying the included theme (Portal7.0.0.2 for 7 FixPack 2).

This involves among others copying the theme directory from the WebDAV themelist mountpoint to a local harddisk for modification and copying it back afterwards to register it in Portal as a new theme.

While WebDAV is great, it did cause me to scratch my head a few times since I was noticing quite a few ‘file could not be found’ exceptions while copying back the new theme to the WebDAV themelist mountpoint and the copy operation itself did not seem to complete successfully.

As it turns out, you need to manually verify every file from your new theme has been copied over correctly and manually correct where/when needed until the entire theme directory has been trasferred to WebDAV successfully.

In my case, the metadata.properties file in the root of the theme directory was present *but* the contents were not as expected, and the localized metadata properties were missing altogether.

This was quite confusing, as a basic best practice when dealing with Portal (or any server/service) is to keep an eye on the logs (aka exceptions == bad), and the manual verification/retry was equally foreign to me (something usually completes successfully or not at all, there is no ‘partial’).

So, when adding directories to the Portal WebDAV:

  • verify everything was copied over properly, completely
  • keep correcting until everything is present

Thanks Apple, I’ll wait for Android

Wednesday, September 24th, 2008

After reading about Apple putting application rejection notices for their App Store under non-disclosure, I can but conclude I’ll have to wait for an Android powered phone.
If you just take a step back and go over the entire NDA story from the start, it’s easy to see you don’t want to be dependent on these people, let alone use their ‘platform’. It’s insane. In an era where open source & free software is gaining foot in the marketplace, they’ve succesfully become on of the biggest antagonists of the ‘free culture’. They’ve lived up to the old standard set by the ‘old’ Microsoft and have actually outdone them in their own field. What they say is true, Apple is the new Microsoft.

Congrats Apple, you did it! I’ve grown up with macs and now you’ve finally gotten me completely turned down on your iPhone product, despite of all it’s features and magnificence. I don’t care anymore. Not as a person, developer, linux user. I was looking forward to the next iteration of the Mac Pro, but I’ll just have to see what gives by 2009.

Maybe someone should send a note reminding them there’s people behind these applications they’re banning for the most ridiculous of reasons. I’ll create whatever software visions I have for a device that runs what I tell it to run.

Integrating MyEclipse 6.5 and IceFaces 1.7.1

Friday, September 19th, 2008

I’ve continued my search after my previous post and got working visual editing support in MyEclipse by:

  • choosing to download MyEclipse as a plugin install on an existing eclipse install, rather than a Pulse driven install (although that might not matter very much, you can enable classic software update support in the Eclipse Preferences under General->Capabilities)
  • Downloading the ICEFaces plugin for Eclipse, extract, add that dir as a local update site by Help->Software updates->Find and install->New features
  • Install from that local update site & restart eclipse
  • Create a new Web Project
  • Add JSF Capabilities from the MyEclipse menu (do not add facelets)
  • Add ICEFaces Capabilities again from the MyEclipse menu
  • Create a new page by New->JSP (advanced templates)->ICEFaces JSP
  • Profit!

I have to add that due to current project needs I got this to work in Windows, rather than Linux which I’ll try as soon as I’m relieved of this burden :-)

Also, I still need to use it some more before being able to comment on the experience but so far so good it seems.

Google Chrome Beta released

Tuesday, September 2nd, 2008

It really is!

If it’s half as good as the comic it’s gonna be nice.

UPDATE: okay, it is nice. 

Google don’t do no evil, literally

Monday, May 19th, 2008

Actually got this through Slashdot (where else!):

Hit Pause On The Evil Button: Google Assists In Arrest Of Indian Man

I can see how the companies need to choose to oppose local governments on this, which granted isn’t a small thing to do, but thinking of why this man was arrested and the role google played any understanding has quickly faded away to make place for a combination of disappointment, injustice, all-they-need-is-money and so on.

I suppose google fears being banned from India, a country which obviously has more than a slight interest in keeping google active there.

I wish acts like these would cost a company more than just some bad PR. Then again I’ve been wishing for the music industry to see the light for years now.

Closing words to google : for shame!!

When does one actually take a decision

Sunday, May 4th, 2008

As I was writing up on my new guitar, it wondered if although (I thought?) I went out yesterday only to get a few guitar related supplies, I had actually already decided I’d get a new guitar?

The question itself is probably a consequence of having watched Malcolm Gladwell’s Blink presentation at SXSW 2005 (mp4) which I got to through the great KnowHR post Top 10 best presentations ever, He asks the question when people actually take a difficult decision when the people themselves think they’re giving it a lot of thought. His research showed that people in that situation very often stick to their first choice, even if a lot of thinking & considering followed after unconsciously making that first choice. By the way don’t take my word for it, the presentation isn’t very long and certainly worth a watch (every presentation listed on the knowhr post in fact).

Since I spent a good amount of money yesterday, the thought of unconsciously going with my first thought is … disconcerting :-)

Slashdot down

Wednesday, April 30th, 2008

So is this what the end of the world looks like?

It certainly is a first to my knowledge. Good luck guys!

Discovering the galaxy on picture a day

Monday, April 14th, 2008

Or at least that’s what I try to do :-)

I doubt the link to NASA’s Astronomy Picture of the Day will ever leave my bookmarks toolbar.
Can help one to put things into perspective at times :-)

37signals workplace experiments

Monday, April 14th, 2008

The people of 37signals have been experimenting with the workplace routines we’ve all come to know and love in our lives. This post from March 5th outlines some of their ideas, while the recently written ‘Urgency is poisonous’ gives a few conclusions after a good month.

I have to admit it did hear the bells of truth (?) when I read these pieces, certainly the latter one. Speaking for myself; although urgency has helped me out in the past (mostly studying things which didn’t really take away my interest), but when I’m doing the work I like (love?) I can’t say ‘urgency’ as such makes the endproduct better as a whole in general, rather the contrary.

I love the pragmatism the author shows when he is talking about these subjects. An imho great oneliner from the author’s reply to a comment to the latter post : ‘You can’t afford to put out crap products, that’s what you can’t afford to do.’

Nuff said.

Interesting article: Instant Messaging for Introverts

Monday, April 7th, 2008

Still need to finish reading it ’cause it’s looooong.

In the author’s own words : “Ultimately, I can’t offer a solution that will magically and perfectly
bridge the gap between IM lovers and IM haters, but I hope I can at
least shed some light on what the situation looks like from both sides.”

TidBITS Opinion: Instant Messaging for Introverts

‘Back in the day’ (some 8 years ago give or take) I helped translate TidBits to Dutch for a while, so this was a surprising encounter (I’ve since moved to generic hardware & Linux, though I’ve been pondering on the MacPro the last few months so that might change yet)