implemented the "pics in posts" flag globally...it marks the first appearance
of "properties" storage and editing for conferences, communities, users, and the global system. In addition, the "global properties" editing screen got implemented, because it wasn't there yet.
This commit is contained in:
@@ -398,6 +398,30 @@ public class ContentDialog implements Cloneable, ContentRender, ColorSelectors
|
||||
|
||||
} // end setFieldValue
|
||||
|
||||
public Object getFieldObjValue(String fieldname)
|
||||
{
|
||||
String value = (String)(hidden_fields.get(fieldname));
|
||||
if (value!=null)
|
||||
return value;
|
||||
|
||||
CDFormField fld = (CDFormField)(form_fields.get(fieldname));
|
||||
if (fld!=null)
|
||||
return fld.getObjValue();
|
||||
else
|
||||
return null;
|
||||
|
||||
} // end getFieldObjValue
|
||||
|
||||
public void setFieldObjValue(String fieldname, Object value)
|
||||
{
|
||||
CDFormField fld = (CDFormField)(form_fields.get(fieldname));
|
||||
if (fld!=null)
|
||||
fld.setObjValue(value);
|
||||
else if (value!=null)
|
||||
setHiddenField(fieldname,value.toString());
|
||||
|
||||
} // end setFieldObjValue
|
||||
|
||||
public boolean isFieldEnabled(String fieldname)
|
||||
{
|
||||
CDFormField fld = (CDFormField)(form_fields.get(fieldname));
|
||||
|
||||
Reference in New Issue
Block a user