Feed on
Posts
Comments

KSS, client action on server

I’m using KSS in Plone to ajaxify user interface actions. When you’ve got a server-side KSS method and would like to call a client action, here’s how it is done:

self.commands.addCommand(’alert’, ‘.dummy-selector, message=’I'm called from the server!’)

self.commands.addCommand(’myKssAction’, ‘my-selector’, param_1=”, param_n=”)

This way you can do necessary things (like storing data from a form), update the info on the page and using the above to call a Jquery function to do fancy style effects.

Simple as that!

Ow yeah!

Some music from DC and NYC!

HP NC8430 Service/Repair Guide

Here is the service guide for the HP Compaq NC8430 laptop: service manual. Seems there are no copyright restrictions. The guide is perfect for part number reference and disassembly.

Asia

Part of the Wat Phra Kaew Temple in Bangkok and food stalls selling seafood.

Floating market in a small village and a waterfall in the Khanchanburi province.

Pretty flower and a waterfall on the Ko Samui island.

The Petronas towers in Kuala Lumpur and Singapores chinatown (with skyline at night).

« Prev