Wednesday, January 14, 2009

Check Tagnames/Namespaces within actionURL/renderURL When Portlet Rendering is Messed Up

We were having an issue where a new portlet wasn't rendering properly. In fact, it was messing up everything in the UI, like it had too many close div ("</div>") tags, but it didn't. The issue with the portlet UI turned out to be that we were using "<param>" instead of "<portlet:param>" tags within the "<portlet:actionURL>". This causes serious problems in the rendering if you don't get it right, which would seem to be a bug, and possibly an error should be logged that isn't.

No comments: