[UPDATE]
In der Klasse ccm-core/src/com/arsdigita/formbuilder/ui/editors/WidgetForm.java die FormProcessException in den Zeilen 339 und 363 umgebaut und die keys cannot_find_form und cannot_find_persistent_widget den Properties hinzugefügt. git-svn-id: https://svn.libreccm.org/ccm/trunk@3237 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
fd0be3abb4
commit
ec51f52848
|
|
@ -67,3 +67,5 @@ formbuilder.ui.delete_confirm=Are you sure you wish to delete this widget?
|
||||||
formbuilder.ui.cancel=Cancel
|
formbuilder.ui.cancel=Cancel
|
||||||
formbuilder.ui.cancel_msg=Submission Cancelled
|
formbuilder.ui.cancel_msg=Submission Cancelled
|
||||||
formbuilder.ui.no_widgetLabel_found=Cannot find WidgetLabel for
|
formbuilder.ui.no_widgetLabel_found=Cannot find WidgetLabel for
|
||||||
|
formbuilder.ui.editors.cannot_find_form=Cannot find form
|
||||||
|
formbuilder.ui.editors.cannot_find_persistent_widget=Cannot find persistent widget {0}
|
||||||
|
|
|
||||||
|
|
@ -67,3 +67,5 @@ formbuilder.ui.delete_confirm=Sind Sie sicher, dieses Element zu l\u00f6schen?
|
||||||
formbuilder.ui.cancel=Abbrechen
|
formbuilder.ui.cancel=Abbrechen
|
||||||
formbuilder.ui.cancel_msg=Bearbeitung abgebrochen
|
formbuilder.ui.cancel_msg=Bearbeitung abgebrochen
|
||||||
formbuilder.ui.no_widgetLabel_found=Finde kein Label f\u00fcr Widget
|
formbuilder.ui.no_widgetLabel_found=Finde kein Label f\u00fcr Widget
|
||||||
|
formbuilder.ui.editors.cannot_find_form=Kann die Form nicht finden
|
||||||
|
formbuilder.ui.editors.cannot_find_persistent_widget=Kann nicht das persistente Widget {0} finden
|
||||||
|
|
|
||||||
|
|
@ -59,3 +59,5 @@ formbuilder.ui.delete_confirm=Are you sure you wish to delete this widget?
|
||||||
formbuilder.ui.cancel=Cancel
|
formbuilder.ui.cancel=Cancel
|
||||||
formbuilder.ui.cancel_msg=Submission Cancelled
|
formbuilder.ui.cancel_msg=Submission Cancelled
|
||||||
formbuilder.ui.no_widgetLabel_found=Cannot find WidgetLabel for
|
formbuilder.ui.no_widgetLabel_found=Cannot find WidgetLabel for
|
||||||
|
formbuilder.ui.editors.cannot_find_form=Ne peut pas trouver la forme
|
||||||
|
formbuilder.ui.editors.cannot_find_persistent_widget=Ne peut pas trouver le widget persistente {0}
|
||||||
|
|
|
||||||
|
|
@ -336,7 +336,8 @@ public abstract class WidgetForm extends PropertiesForm {
|
||||||
try {
|
try {
|
||||||
form = new PersistentFormSection(form_id);
|
form = new PersistentFormSection(form_id);
|
||||||
} catch (DataObjectNotFoundException ex) {
|
} catch (DataObjectNotFoundException ex) {
|
||||||
throw new FormProcessException("cannot find form", ex);
|
throw new FormProcessException(GlobalizationUtil.globalize(
|
||||||
|
"formbuilder.ui.editors.cannot_find_form"));
|
||||||
}
|
}
|
||||||
|
|
||||||
form.addComponent(widget);
|
form.addComponent(widget);
|
||||||
|
|
@ -359,8 +360,8 @@ public abstract class WidgetForm extends PropertiesForm {
|
||||||
try {
|
try {
|
||||||
widget = getWidget(action);
|
widget = getWidget(action);
|
||||||
} catch (DataObjectNotFoundException ex) {
|
} catch (DataObjectNotFoundException ex) {
|
||||||
throw new FormProcessException("cannot find persistent widget "
|
throw new FormProcessException(GlobalizationUtil.globalize(
|
||||||
+ action, ex);
|
"formbuilder.ui.editors.cannot_find_persistent_widget", new Object[]{action}));
|
||||||
}
|
}
|
||||||
initWidgets(e, widget);
|
initWidgets(e, widget);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue