+2005-08-31 Helge Hess <helge.hess@skyrix.com>
+
+ * v4.5.194
+
+ * DynamicElements/WOString.m: minor code cleanups
+
+ * DynamicElements/WOxMiscElemBuilder.m: removed generation of
+ radio-button-matrix (which is part of WOExtensions), added generation
+ of WORadioButtonList (<var:radio-button-list/>)
+
2005-08-27 Helge Hess <helge.hess@opengroupware.org>
* GNUmakefile.preamble: improved dependency handling (v4.5.193)
/* handling of empty and nil values */
- if (self->valueWhenEmpty) {
- if (obj == nil || [obj length] == 0) {
+ if (self->valueWhenEmpty != nil) {
+ if (![obj isNotEmpty]) {
NSString *s;
s = [self->valueWhenEmpty stringValueInComponent:sComponent];
/* Note: the missing escaping is intentional for WO 4.5 compatibility */
if (s != nil) {
- if (styleName) {
+ if (styleName != nil) {
[_response appendContentString:@"<span class=\""];
[_response appendContentHTMLAttributeValue:styleName];
[_response appendContentString:@"\">"];
else if (self->nilString != nil && obj == nil) {
NSString *s;
- if (styleName) {
+ if (styleName != nil) {
[_response appendContentString:@"<span class=\""];
[_response appendContentHTMLAttributeValue:styleName];
[_response appendContentString:@"\">"];
/* handling of non-empty values */
- if (styleName) {
+ if (styleName != nil) {
[_response appendContentString:@"<span class=\""];
[_response appendContentHTMLAttributeValue:styleName];
[_response appendContentString:@"\">"];
<var:popup ../> maps to WOPopUpButton
<var:singleselection ../> maps to WOBrowser
<var:multiselection .../> maps to WOBrowser
- <var:radio-button-matrix .../> maps to WORadioButtonMatrix
+ <var:radio-button-list .../> maps to WORadioButtonList
<var:checkbox-list .../> maps to WOCheckBoxList
*/
if ([tag isEqualToString:@"popup"])
return NSClassFromString(@"WOPopUpButton");
break;
-
+
case 'r':
- if ([tag isEqualToString:@"radio-button-matrix"])
- return NSClassFromString(@"WORadioButtonMatrix");
+ if ([tag isEqualToString:@"radio-button-list"])
+ return NSClassFromString(@"WORadioButtonList");
break;
case 's':