The following is the text that shows up in the jsp page created for the AdministrationController:
JSP PAGE TITLE:Start auto repair LIST CREATED FROM CONTROLLER CODE BELOW: [fxPositions-1, fxPositions-2, fxPositions-3, fxPositions-4, fxPositions-5] BUTTON: Repair Zero Value BUTTON: Cancel This is the code from the controller class: // license-header java merge-point package com.bofa.gcib.gfeds.admins.web.main; import org.apache.struts.action.ActionMapping; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; /** * @see com.bofa.gcib.gfeds.admins.web.main.AdministrationController */ public class AdministrationControllerImpl extends AdministrationController { /** * @see com.bofa.gcib.gfeds.admins.web.main.AdministrationController#loadRepairablePositions(org.apache.struts.action.ActionMapping, com.bofa.gcib.gfeds.admins.web.main.LoadRepairablePositionsForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse) */ public final void loadRepairablePositions(ActionMapping mapping, com.bofa.gcib.gfeds.admins.web.main.LoadRepairablePositionsForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { // all properties receive a default value, just to have the application running properly form.setFxPositions(java.util.Arrays.asList(new Object[] {"fxPositions-1", "fxPositions-2", "fxPositions-3", "fxPositions-4", "fxPositions-5"})); form.setFxPositionsValueList(new Object[] {"fxPositions-1", "fxPositions-2", "fxPositions-3", "fxPositions-4", "fxPositions-5"}); form.setFxPositionsLabelList(form.getFxPositionsValueList()); } /** * This dummy variable is used to populate the "fxPositions" table. * You may delete it when you add you own code in this controller. */ private final java.util.Collection fxPositionsDummyList = java.util.Arrays.asList( new Object[] { new FxPositionsDummy("sequenceID-1", "auditVersion-1", "comments-1", "state-1", "lastComments-1", "lastError-1", "repairActionSeq-1", "LastStatusSeq-1", "fxo2RefNum-1", "gtiSpotRateMargin-1", "interbankAllInRate-1", "dealtRate-1", "spotRateDealtCcy-1", "clientSpotRate-1", "InterbankSpotRate-1", "quoteBasis-1", "contraCcy-1", "dealtCcy-1", "newFxRate-1", "fxRate-1", "coverRate-1", "entryDate-1", "dealData-1", "valueDate-1", "clientRate-1", "sellAmt-1", "sellCcy-1", "buyAmt-1", "buyCcy-1", "sendersRef-1", "transactionType-1", "cptyName-1", "sourceSeq-1", "sourceRefNum-1", "auditTimeStamp-1", "auditUser-1", "isAuditCurrent-1", "messageImportSeq-1"), new FxPositionsDummy("sequenceID-2", "auditVersion-2", "comments-2", "state-2", "lastComments-2", "lastError-2", "repairActionSeq-2", "LastStatusSeq-2", "fxo2RefNum-2", "gtiSpotRateMargin-2", "interbankAllInRate-2", "dealtRate-2", "spotRateDealtCcy-2", "clientSpotRate-2", "InterbankSpotRate-2", "quoteBasis-2", "contraCcy-2", "dealtCcy-2", "newFxRate-2", "fxRate-2", "coverRate-2", "entryDate-2", "dealData-2", "valueDate-2", "clientRate-2", "sellAmt-2", "sellCcy-2", "buyAmt-2", "buyCcy-2", "sendersRef-2", "transactionType-2", "cptyName-2", "sourceSeq-2", "sourceRefNum-2", "auditTimeStamp-2", "auditUser-2", "isAuditCurrent-2", "messageImportSeq-2"), new FxPositionsDummy("sequenceID-3", "auditVersion-3", "comments-3", "state-3", "lastComments-3", "lastError-3", "repairActionSeq-3", "LastStatusSeq-3", "fxo2RefNum-3", "gtiSpotRateMargin-3", "interbankAllInRate-3", "dealtRate-3", "spotRateDealtCcy-3", "clientSpotRate-3", "InterbankSpotRate-3", "quoteBasis-3", "contraCcy-3", "dealtCcy-3", "newFxRate-3", "fxRate-3", "coverRate-3", "entryDate-3", "dealData-3", "valueDate-3", "clientRate-3", "sellAmt-3", "sellCcy-3", "buyAmt-3", "buyCcy-3", "sendersRef-3", "transactionType-3", "cptyName-3", "sourceSeq-3", "sourceRefNum-3", "auditTimeStamp-3", "auditUser-3", "isAuditCurrent-3", "messageImportSeq-3"), new FxPositionsDummy("sequenceID-4", "auditVersion-4", "comments-4", "state-4", "lastComments-4", "lastError-4", "repairActionSeq-4", "LastStatusSeq-4", "fxo2RefNum-4", "gtiSpotRateMargin-4", "interbankAllInRate-4", "dealtRate-4", "spotRateDealtCcy-4", "clientSpotRate-4", "InterbankSpotRate-4", "quoteBasis-4", "contraCcy-4", "dealtCcy-4", "newFxRate-4", "fxRate-4", "coverRate-4", "entryDate-4", "dealData-4", "valueDate-4", "clientRate-4", "sellAmt-4", "sellCcy-4", "buyAmt-4", "buyCcy-4", "sendersRef-4", "transactionType-4", "cptyName-4", "sourceSeq-4", "sourceRefNum-4", "auditTimeStamp-4", "auditUser-4", "isAuditCurrent-4", "messageImportSeq-4"), new FxPositionsDummy("sequenceID-5", "auditVersion-5", "comments-5", "state-5", "lastComments-5", "lastError-5", "repairActionSeq-5", "LastStatusSeq-5", "fxo2RefNum-5", "gtiSpotRateMargin-5", "interbankAllInRate-5", "dealtRate-5", "spotRateDealtCcy-5", "clientSpotRate-5", "InterbankSpotRate-5", "quoteBasis-5", "contraCcy-5", "dealtCcy-5", "newFxRate-5", "fxRate-5", "coverRate-5", "entryDate-5", "dealData-5", "valueDate-5", "clientRate-5", "sellAmt-5", "sellCcy-5", "buyAmt-5", "buyCcy-5", "sendersRef-5", "transactionType-5", "cptyName-5", "sourceSeq-5", "sourceRefNum-5", "auditTimeStamp-5", "auditUser-5", "isAuditCurrent-5", "messageImportSeq-5") } ); /** * This inner class is used in the dummy implementation in order to get the web application * running without any manual programming. * You may delete this class when you add you own code in this controller. */ public final class FxPositionsDummy implements java.io.Serializable { private String sequenceID = null; private String auditVersion = null; private String comments = null; private String state = null; private String lastComments = null; private String lastError = null; private String repairActionSeq = null; private String lastStatusSeq = null; private String fxo2RefNum = null; private String gtiSpotRateMargin = null; private String interbankAllInRate = null; private String dealtRate = null; private String spotRateDealtCcy = null; private String clientSpotRate = null; private String interbankSpotRate = null; private String quoteBasis = null; private String contraCcy = null; private String dealtCcy = null; private String newFxRate = null; private String fxRate = null; private String coverRate = null; private String entryDate = null; private String dealData = null; private String valueDate = null; private String clientRate = null; private String sellAmt = null; private String sellCcy = null; private String buyAmt = null; private String buyCcy = null; private String sendersRef = null; private String transactionType = null; private String cptyName = null; private String sourceSeq = null; private String sourceRefNum = null; private String auditTimeStamp = null; private String auditUser = null; private String isAuditCurrent = null; private String messageImportSeq = null; public FxPositionsDummy(String sequenceID, String auditVersion, String comments, String state, String lastComments, String lastError, String repairActionSeq, String lastStatusSeq, String fxo2RefNum, String gtiSpotRateMargin, String interbankAllInRate, String dealtRate, String spotRateDealtCcy, String clientSpotRate, String interbankSpotRate, String quoteBasis, String contraCcy, String dealtCcy, String newFxRate, String fxRate, String coverRate, String entryDate, String dealData, String valueDate, String clientRate, String sellAmt, String sellCcy, String buyAmt, String buyCcy, String sendersRef, String transactionType, String cptyName, String sourceSeq, String sourceRefNum, String auditTimeStamp, String auditUser, String isAuditCurrent, String messageImportSeq) { this.sequenceID = sequenceID; this.auditVersion = auditVersion; this.comments = comments; this.state = state; this.lastComments = lastComments; this.lastError = lastError; this.repairActionSeq = repairActionSeq; this.lastStatusSeq = lastStatusSeq; this.fxo2RefNum = fxo2RefNum; this.gtiSpotRateMargin = gtiSpotRateMargin; this.interbankAllInRate = interbankAllInRate; this.dealtRate = dealtRate; this.spotRateDealtCcy = spotRateDealtCcy; this.clientSpotRate = clientSpotRate; this.interbankSpotRate = interbankSpotRate; this.quoteBasis = quoteBasis; this.contraCcy = contraCcy; this.dealtCcy = dealtCcy; this.newFxRate = newFxRate; this.fxRate = fxRate; this.coverRate = coverRate; this.entryDate = entryDate; this.dealData = dealData; this.valueDate = valueDate; this.clientRate = clientRate; this.sellAmt = sellAmt; this.sellCcy = sellCcy; this.buyAmt = buyAmt; this.buyCcy = buyCcy; this.sendersRef = sendersRef; this.transactionType = transactionType; this.cptyName = cptyName; this.sourceSeq = sourceSeq; this.sourceRefNum = sourceRefNum; this.auditTimeStamp = auditTimeStamp; this.auditUser = auditUser; this.isAuditCurrent = isAuditCurrent; this.messageImportSeq = messageImportSeq; } public void setSequenceID(String sequenceID) { this.sequenceID = sequenceID; } public String getSequenceID() { return this.sequenceID; } public void setAuditVersion(String auditVersion) { this.auditVersion = auditVersion; } public String getAuditVersion() { return this.auditVersion; } public void setComments(String comments) { this.comments = comments; } public String getComments() { return this.comments; } public void setState(String state) { this.state = state; } public String getState() { return this.state; } public void setLastComments(String lastComments) { this.lastComments = lastComments; } public String getLastComments() { return this.lastComments; } public void setLastError(String lastError) { this.lastError = lastError; } public String getLastError() { return this.lastError; } public void setRepairActionSeq(String repairActionSeq) { this.repairActionSeq = repairActionSeq; } public String getRepairActionSeq() { return this.repairActionSeq; } public void setLastStatusSeq(String lastStatusSeq) { this.lastStatusSeq = lastStatusSeq; } public String getLastStatusSeq() { return this.lastStatusSeq; } public void setFxo2RefNum(String fxo2RefNum) { this.fxo2RefNum = fxo2RefNum; } public String getFxo2RefNum() { return this.fxo2RefNum; } public void setGtiSpotRateMargin(String gtiSpotRateMargin) { this.gtiSpotRateMargin = gtiSpotRateMargin; } public String getGtiSpotRateMargin() { return this.gtiSpotRateMargin; } public void setInterbankAllInRate(String interbankAllInRate) { this.interbankAllInRate = interbankAllInRate; } public String getInterbankAllInRate() { return this.interbankAllInRate; } public void setDealtRate(String dealtRate) { this.dealtRate = dealtRate; } public String getDealtRate() { return this.dealtRate; } public void setSpotRateDealtCcy(String spotRateDealtCcy) { this.spotRateDealtCcy = spotRateDealtCcy; } public String getSpotRateDealtCcy() { return this.spotRateDealtCcy; } public void setClientSpotRate(String clientSpotRate) { this.clientSpotRate = clientSpotRate; } public String getClientSpotRate() { return this.clientSpotRate; } public void setInterbankSpotRate(String interbankSpotRate) { this.interbankSpotRate = interbankSpotRate; } public String getInterbankSpotRate() { return this.interbankSpotRate; } public void setQuoteBasis(String quoteBasis) { this.quoteBasis = quoteBasis; } public String getQuoteBasis() { return this.quoteBasis; } public void setContraCcy(String contraCcy) { this.contraCcy = contraCcy; } public String getContraCcy() { return this.contraCcy; } public void setDealtCcy(String dealtCcy) { this.dealtCcy = dealtCcy; } public String getDealtCcy() { return this.dealtCcy; } public void setNewFxRate(String newFxRate) { this.newFxRate = newFxRate; } public String getNewFxRate() { return this.newFxRate; } public void setFxRate(String fxRate) { this.fxRate = fxRate; } public String getFxRate() { return this.fxRate; } public void setCoverRate(String coverRate) { this.coverRate = coverRate; } public String getCoverRate() { return this.coverRate; } public void setEntryDate(String entryDate) { this.entryDate = entryDate; } public String getEntryDate() { return this.entryDate; } public void setDealData(String dealData) { this.dealData = dealData; } public String getDealData() { return this.dealData; } public void setValueDate(String valueDate) { this.valueDate = valueDate; } public String getValueDate() { return this.valueDate; } public void setClientRate(String clientRate) { this.clientRate = clientRate; } public String getClientRate() { return this.clientRate; } public void setSellAmt(String sellAmt) { this.sellAmt = sellAmt; } public String getSellAmt() { return this.sellAmt; } public void setSellCcy(String sellCcy) { this.sellCcy = sellCcy; } public String getSellCcy() { return this.sellCcy; } public void setBuyAmt(String buyAmt) { this.buyAmt = buyAmt; } public String getBuyAmt() { return this.buyAmt; } public void setBuyCcy(String buyCcy) { this.buyCcy = buyCcy; } public String getBuyCcy() { return this.buyCcy; } public void setSendersRef(String sendersRef) { this.sendersRef = sendersRef; } public String getSendersRef() { return this.sendersRef; } public void setTransactionType(String transactionType) { this.transactionType = transactionType; } public String getTransactionType() { return this.transactionType; } public void setCptyName(String cptyName) { this.cptyName = cptyName; } public String getCptyName() { return this.cptyName; } public void setSourceSeq(String sourceSeq) { this.sourceSeq = sourceSeq; } public String getSourceSeq() { return this.sourceSeq; } public void setSourceRefNum(String sourceRefNum) { this.sourceRefNum = sourceRefNum; } public String getSourceRefNum() { return this.sourceRefNum; } public void setAuditTimeStamp(String auditTimeStamp) { this.auditTimeStamp = auditTimeStamp; } public String getAuditTimeStamp() { return this.auditTimeStamp; } public void setAuditUser(String auditUser) { this.auditUser = auditUser; } public String getAuditUser() { return this.auditUser; } public void setIsAuditCurrent(String isAuditCurrent) { this.isAuditCurrent = isAuditCurrent; } public String getIsAuditCurrent() { return this.isAuditCurrent; } public void setMessageImportSeq(String messageImportSeq) { this.messageImportSeq = messageImportSeq; } public String getMessageImportSeq() { return this.messageImportSeq; } } } Can you tell me what this is for and how it got here. I don't remember any parameters that gave 5 choices. There is a fxPositions Collection being past to the <<FrontEndView>> it is tagged "select" Do I need to change a setting or rename fxPostion to fxPositionDummy? _________________________________________________________ Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=1817#1817 Posting to http://forum.andromda.org/ is preferred over posting to the mailing list! ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Andromda-user mailing list Andromda-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/andromda-user