Sharing new technologies and best practices

 
alt

Chris Connor

 
Follow ChrisJConnor on Twitter
Chat with me

Websphere portal 7.0 / RAD 8.0.4 and file uploads with <hx:fileUpload>

Chris Connor  August 7 2012 02:02:46 AM

Been working on a rather interesting proof of concept application with Websphere Portal 7 and RAD 8.0. All going well connecting MS SQL Server 2008 via JPA and building JSF based portlets. Once major concern though is the use of the . At the moment something strange occurs if you simply add it to the page - no content in the portlet is displayed on the screen!

Basic control - blank screen is rendered in all main browsers (IE, Firefox and Chrome). The error in Firefox is as follows

this.eventService is undefined
com.ibm.pb is undefined
com.ibm.data is undefined
com.ibm.pb is undefined
dojo.byId("ibm-menu-links") is null
<%@taglib
uri="http://www.ibm.com/xmlns/prod/websphere/portal/v6.1/portlet-client-model"
prefix="portlet-client-model"%>
I know there are some issues around 8.0.4 and fileUploads - this is fundamental though!!
 
Code is attached in a text file below.
 
Appreciate any comments or feedback if you have similar experience.

About Me

Java / Web Development consultant with 17 years experience. Focus on XPages, Java / JSF / J2EE, Websphere Portal, Spring / Hibernate, RCP, jQuery, Dojo, RCP, Eclipse, RAD, Phonegap and general Mobile development. Experienced public speaker at several global events.

My day job is building Web applications for my customers using the best technologies for the job. This blog discusses the issues in delivering these modern collaborative solutions.

I am available for hire through my business BSS IT Solutions. We are an IBM Business Partner based in Scotland serving the UK and beyond!