Author: aschnell Date: Mon Jul 18 16:33:43 2011 New Revision: 64878 URL: http://svn.opensuse.org/viewcvs/yast?rev=64878&view=rev Log: - include all devices in summary Modified: branches/SuSE-Code-11-SP2-Branch/s390/src/clients/dasd_auto.ycp branches/SuSE-Code-11-SP2-Branch/s390/src/clients/zfcp_auto.ycp branches/SuSE-Code-11-SP2-Branch/s390/src/modules/DASDController.ycp branches/SuSE-Code-11-SP2-Branch/s390/src/modules/ZFCPController.ycp Modified: branches/SuSE-Code-11-SP2-Branch/s390/src/clients/dasd_auto.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/s390/s... ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/s390/src/clients/dasd_auto.ycp (original) +++ branches/SuSE-Code-11-SP2-Branch/s390/src/clients/dasd_auto.ycp Mon Jul 18 16:33:43 2011 @@ -27,6 +27,7 @@ y2milestone("DADS auto started"); import "DASDController"; + import "HTML"; include "s390/dasd/wizards.ycp"; any ret = nil; @@ -44,7 +45,7 @@ /* Create a summary*/ if(func == "Summary") { - ret = select(DASDController::Summary(), 0, ""); + ret = HTML::List(DASDController::Summary()); } /* Reset configuration */ else if (func == "Reset") { Modified: branches/SuSE-Code-11-SP2-Branch/s390/src/clients/zfcp_auto.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/s390/s... ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/s390/src/clients/zfcp_auto.ycp (original) +++ branches/SuSE-Code-11-SP2-Branch/s390/src/clients/zfcp_auto.ycp Mon Jul 18 16:33:43 2011 @@ -27,6 +27,7 @@ y2milestone("DADS auto started"); import "ZFCPController"; + import "HTML"; include "s390/zfcp/wizards.ycp"; any ret = nil; @@ -44,7 +45,7 @@ /* Create a summary*/ if(func == "Summary") { - ret = select(ZFCPController::Summary(), 0, ""); + ret = HTML::List(ZFCPController::Summary()); } /* Reset configuration */ else if (func == "Reset") { Modified: branches/SuSE-Code-11-SP2-Branch/s390/src/modules/DASDController.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/s390/s... ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/s390/src/modules/DASDController.ycp (original) +++ branches/SuSE-Code-11-SP2-Branch/s390/src/modules/DASDController.ycp Mon Jul 18 16:33:43 2011 @@ -225,7 +225,8 @@ * Create a textual summary and a list of unconfigured cards * @return summary of the current configuration */ -global list Summary() { +global list<string> Summary() +{ list<string> ret = maplist (integer index, map<string,any> d, devices, { string s = ""; // summary text, %1 is channel ID (number), Modified: branches/SuSE-Code-11-SP2-Branch/s390/src/modules/ZFCPController.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/s390/s... ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/s390/src/modules/ZFCPController.ycp (original) +++ branches/SuSE-Code-11-SP2-Branch/s390/src/modules/ZFCPController.ycp Mon Jul 18 16:33:43 2011 @@ -205,7 +205,8 @@ * Create a textual summary and a list of unconfigured cards * @return summary of the current configuration */ -global list<string> Summary() { +global list<string> Summary() +{ list<string> ret = maplist (integer index, map<string,any> d, devices, { // summary text, %1 is channel ID, %1 is WWPN, %3 is LUN // (all of them are numbers) -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org