Package it.eng.spagobi.behaviouralmodel.lov.bo

Examples of it.eng.spagobi.behaviouralmodel.lov.bo.FixedListItemDetail


    */
  private FixedListDetail changeFixLovValue (FixedListDetail lovDetList, int itemToChange,
                                         String newName, String newValue)  {
    List lovs = lovDetList.getItems();
    lovs.remove(itemToChange);
    FixedListItemDetail lovdet = new FixedListItemDetail();
    lovdet.setValue(newValue);
    lovdet.setDescription(newName);
    lovs.add(itemToChange, lovdet);
    lovDetList.setLovs(lovs);
    return lovDetList;
  }   
View Full Code Here


        output.append("    <input type='hidden' id='indexOfItemToDown' name='' value=''/>\n");
        output.append("    <input type='hidden' id='indexOfItemToUp' name='' value=''/>\n");
        boolean alternate = false;
            String rowClass;
        for (int i = 0; i < lovs.size(); i++) {
          FixedListItemDetail lovDet = (FixedListItemDetail) lovs.get(i);
          String name = lovDet.getValue();
          String description = lovDet.getDescription();
         
          //before sending name and description to the hidden input,
          //substitute single and double quotes with their html encoding
          name = GeneralUtilities.substituteQuotesIntoString(name);
          description= GeneralUtilities.substituteQuotesIntoString(description);
View Full Code Here

TOP

Related Classes of it.eng.spagobi.behaviouralmodel.lov.bo.FixedListItemDetail

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.