Yes. I do have that hidden field oldName. I tried with the downloaded prj too. Didn't work for me. I'm not sure what I'm missing. Thx. for the reply.
Sam On Feb 9, 2008 12:26 PM, Nils-Helge Garli Hegvik <[EMAIL PROTECTED]> wrote: > Have you remembered the "oldName" hidden field in the edit form? And > have you tried downloading the source for the tutorial and see if you > get the same behaviour with it? > > Nils-H > > On Feb 8, 2008 8:28 PM, Sam Karl <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I'm new to struts and portlets. I tried out the this tutorial as > a > > start. > > > > > http://struts.apache.org/2.x/docs/struts-2-portlet-tutorial.html > > > > After implementing all functionalities described in that tutorial, the > > "editBookMark" option doesn't work. I get the following exception when > I > > try to edit the newly added link > > > > javax.portlet.PortletException: Error executing action editBookmark > > > > Caused by: java.lang.IllegalArgumentException: Null object: Preference > key > > > > > > > > My EditBookmarkAction class does implement PortletPreferencesAware and > has a > > setter for the preference and everything. So I'm guessing the reason is > the > > edit action class gets called before it loads the jsp if that makes > sense. > > But I'm not sure how to fix it :) Or is it a different issue? Could any > one > > shed some light on that? > > > > > > Thanks, > > Sam > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >