Methods Summary |
---|
public java.lang.String | execute()
ActionRequest req = PortletActionContext.getActionRequest();
PortletPreferences prefs = req.getPreferences();
prefs.setValue("preferenceOne", preferenceOne);
prefs.setValue("preferenceTwo", preferenceTwo);
prefs.store();
return SUCCESS;
|
public java.lang.String | getPreferenceOne()
return preferenceOne;
|
public java.lang.String | getPreferenceTwo()
return preferenceTwo;
|
public void | setPreferenceOne(java.lang.String preferenceOne)
this.preferenceOne = preferenceOne;
|
public void | setPreferenceTwo(java.lang.String preferenceTwo)
this.preferenceTwo = preferenceTwo;
|
public java.lang.String | showForm()
PortletPreferences prefs = PortletActionContext.getRequest().getPreferences();
preferenceOne = prefs.getValue("preferenceOne", "not set");
preferenceTwo = prefs.getValue("preferenceTwo", "not set");
return SUCCESS;
|