1 Reply Latest reply on Jul 23, 2009 10:16 AM by Piergiorgio Lucidi

    about portlet preference

    kl KI Newbie

      I have a question.
      I am a new of Jboss portal. Before that, i use liferay portal. I want to move a portlet to jboss portal. But the portlet preference does't work.

      in java code is:
      FacesContext fc = FacesContext.getCurrentInstance();
      ActionRequest req = (ActionRequest) fc.getExternalContext().getRequest();
      PortletPreferences p=req.getPreferences();
      String url="******";
      p.setValue("URL", url);

      Can I save some data in portlet with PortletPreferences object? And how?
      I use Jboss AS 4.2.3, jboss portal 2.7.2.