Featured Posts

Introducing Portlet Generator 1.0 I've just added the portlet generator utility to this site.  This utility replaces the "create.bat" and "create.sh" scripts that come with Liferay's PluginSDK.  It offers...

Readmore

Hello Struts Portlet I've placed a very simple Hello Struts portlet in the downloads section. It doesn't do nearly enough to show the power of Struts in Liferay. Look for a future Struts portlets...

Readmore

Hello jQuery Portlet I was recently asked: "What is jQuery?". By now, most Javascript enthusiasts understand the advantages of jQuery's power. To demonstrate one of those advantages, I've added...

Readmore

Hello Spring Portlet I've placed a simple, Hello World type Spring portlet in the downloads section. Check it out. It uses the Spring ParameterizableViewController to forward to the view JSP.

Readmore

Using jQuery with Liferay, Part 2 Four more core effects are Show, Toggle, Fade In, and Animate.   This week's portlet and the screencast below gives a demonstration of these four effects in a Liferay Portlet....

Readmore

RobiSoft.com Rss

Validator Class

Posted on : 28-08-2008 | By : Jeff Robinson | In : General

0

Liferay comes with a built-in Validator class (com.liferay.portal.kernel.util.Validator) that you can access from your plugin portlets.

It features some basic static validation methods useable in your code like checks for Null and email address which are just two among many others. Check it Out.

 

Markup Coding Tip

Posted on : 27-08-2008 | By : Jeff Robinson | In : General

0

Never place tags like <html> and <body> in your view markup (JSP, PHP, etc). Its the job of the portlet container to aggregate the final html code for all portlets and to pass that to the portal for rendering. So, using those tags can result in Done, with Errors on Page messages by your browser.

 

Extending javascript in the Ext environment

Posted on : 26-08-2008 | By : Jeff Robinson | In : General

0

The extension environment can also be used to replace existing Liferay javascripts. Just recreate the directory structure where the original javascript resides under the extension folder. Liferay will substitute your scripts for its own when its needed during runtime.

Page 1 of 41234»