hmm, let me take a step back. Overall what I am trying to do is write a portlet, but be able for it to do some AJAXy stuff. For instance run a custom search with parameter the user inputs on the portlet, and then the results would display in the portlet.