Require TableFilter.java for NWDS 04s

Hi,
Please provide me code for TableFilter.java for NWDS 04s.
I tried with the following pdf tutorial
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60d5b593-ba83-2910-28a9-a7a7c7f5996f">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60d5b593-ba83-2910-28a9-a7a7c7f5996f</a>
But then i encounter the following error while running the application:
   java.lang.NullPointerException
    at com.sap.tc.webdynpro.tests.utils.TableFilter.setFiltersForColumns(TableFilter.java:116)
    at com.sap.tc.webdynpro.tests.utils.TableFilter.init(TableFilter.java:73)
    at com.sap.tc.webdynpro.tests.utils.TableFilter.<init>(TableFilter.java:50)
    at com.adobe.prjpeopickerapp.PrjpeopickerView.wdDoModifyView(PrjpeopickerView.java:216)
    at com.adobe.prjpeopickerapp.wdp.InternalPrjpeopickerView.wdDoModifyView(InternalPrjpeopickerView.java:298)
    ... 30 more
Please advice.
Thanks & Regards,
Jyoti

Hi Jyoti,
This Works i have tried in 2004s SP10
public final class TableFilter {
   public TableFilter(IWDTable table, IWDAction filterAction, IWDNode sourceNode, Hashtable hashicons) {
      init(table, filterAction, sourceNode, hashicons);
   private void init(IWDTable table, IWDAction filterAction, IWDNode sourceNode, Hashtable hashicons) {
      this.table = table;
      if (sourceNode == null)
throw new IllegalArgumentException("SourceNode  must be given");
      if (filterAction == null)
throw new IllegalArgumentException("Filter action must be given");
      if (table == null)
throw new IllegalArgumentException("Table must be given");<
      if (table.bindingOfDataSource() == null)
throw new IllegalArgumentException("Data source of table with id '" + table.getId() + "' must be bound");
      this.sourceNode = sourceNode;
      if (hashicons != null) {
         this.hashIcon = new Hashtable();
         this.hashIcon = hashicons;
      String dataSourcePrefix = table.bindingOfDataSource() + ".";
      //works on columns
      setFiltersForColumns(dataSourcePrefix, table.iterateColumns(), sourceNode);
      setFiltersForColumns(dataSourcePrefix, table.iterateGroupedColumns(), sourceNode);
      table.setOnFilter(filterAction);
      filterAction.setEnabled(true);
      this.sourceNode = sourceNode;
   private void setFiltersForColumns(String dataSourcePrefix, Iterator columnIterator, IWDNode sourceNode) {
      attributeSource = new Hashtable();
      for (Iterator iter = sourceNode.getNodeInfo().iterateAttributes(); iter.hasNext();) {
         IWDAttributeInfo attribInfo = (IWDAttributeInfo) iter.next();
         String attribName = attribInfo.getName();
         attributeSource.put(attribName, attribInfo.getSimpleType().getBuiltInType());
        int index = 0;
      for (Iterator it = columnIterator; it.hasNext(); ++index) { // for every column: try to make it bindable
         IWDAbstractTableColumn abstractColumn = (IWDAbstractTableColumn) it.next();
         if (abstractColumn instanceof IWDTableColumn) {
            IWDTableColumn column = (IWDTableColumn) abstractColumn;
            String columnId = column.getId();
            Comparator comparator = null;
            NodeElementByAttributeComparator elementComparator = null;
            String bindingOfPrimaryProperty = bindingOfPrimaryProperty(column.getTableCellEditor());
            String attributeName = null;
            if (bindingOfPrimaryProperty == null || !bindingOfPrimaryProperty.startsWith(dataSourcePrefix)) {
               if (hashIcon == null) {
                  continue;
               } else {
                  if (!hashIcon.containsKey(columnId)) {
                     continue;
                  } else {
                     attributeName = hashIcon.get(columnId).toString();
            } else {
               attributeName = bindingOfPrimaryProperty.substring(dataSourcePrefix.length());
               if (hashIcon.containsKey(columnId))
attributeName = hashIcon.get(columnId).toString();
            String attributeInfo = null;
            if (attributeSource.containsKey(attributeName))
attributeInfo = (String) attributeSource.get(attributeName);
            elementComparator = new NodeElementByAttributeComparator(attributeInfo, column, comparator);
            filterForColumn.put(attributeName, elementComparator);
         } else if (abstractColumn instanceof IWDTableColumnGroup) {
            IWDTableColumnGroup columnGroup = (IWDTableColumnGroup) abstractColumn;
            setFiltersForColumns(dataSourcePrefix, columnGroup.iterateColumns(), sourceNode);
   public void filter( IWDNode allDataNode, IWDNode targetNode) {
      if (allDataNode != null) {
         this.sourceNode = allDataNode;
      HashMap FilterValuesByAttribute = prepareFilterValuesByAttribute();
      ArrayList ar = new ArrayList();
      for (int i = 0; i < sourceNode.size(); i++) {
         IWDNodeElement el = sourceNode.getElementAt(i);
         boolean addelement = true;
         for (Enumeration e = this.attributeSource.keys(); e.hasMoreElements();) {
            String attributeName = e.nextElement().toString();
            Object o1 = el.getAttributeValue(attributeName);
            if (FilterValuesByAttribute.containsKey(attributeName) && filterForColumn.containsKey(attributeName)) {
               NodeElementByAttributeComparator elementComparator = (NodeElementByAttributeComparator) filterForColumn.get(attributeName);
               HashMap valuehash = new HashMap();
               valuehash = (HashMap) FilterValuesByAttribute.get(attributeName);
               String attributetype = elementComparator.attributeInfo;
               Comparator comparator = elementComparator.comparator;
            if (valuehash.size()==0){
                  elementComparator.column.setIsFiltered(false);
                   } else {
               elementComparator.column.setIsFiltered(true);  
               addelement = this.evaluateFilteredAttributeValue(valuehash, attributetype, comparator, o1);
               if (!addelement)
break;
            if (!addelement)
break;
         if (!addelement)
continue;
         IWDNodeElement targetElement = targetNode.createElement();
         WDCopyService.copyCorresponding(el, targetElement);
         ar.add(targetElement);
      targetNode.bind(ar);
   public void deleteAllDataNodeElement(
IWDNode sourceNode,
IWDNode targetNode,
String attributeRowId,
ArrayList idsToDelete) {
      for (int j = sourceNode.size() - 1; j >= 0; --j) {
         IWDNodeElement els = sourceNode.getElementAt(j);
         String elsid = els.getAttributeAsText(attributeRowId);
         if (!idsToDelete.contains(elsid))
continue;
         sourceNode.removeElement(els);
      for (int i = targetNode.size() - 1; i >= 0; --i) {
         IWDNodeElement elt = targetNode.getElementAt(i);
         String eltid = elt.getAttributeAsText(attributeRowId);
         if (!idsToDelete.contains(eltid))
continue;
         targetNode.removeElement(elt);
   /*Update all data node if the table node has been updated
if a row has been added in the table node,
the all data node can also be updated by using the using the flag addRowOnFly
   public void updateAllDataNodeElement(
IWDNode sourceNode,
IWDNode targetNode,
String attributeRowId,
boolean addRowOnFly) {
      HashMap hashs = new HashMap();
      HashMap hasht = new HashMap();
      HashMap hashup = new HashMap();
      IWDNodeElement elt;
      IWDNodeElement els;
      for (int j = sourceNode.size() - 1; j >= 0; --j) {
         els = sourceNode.getElementAt(j);
         String elsid = els.getAttributeAsText(attributeRowId);
         hashs.put(elsid, els);
      for (int i = 0; i < targetNode.size(); i++) {
         elt = targetNode.getElementAt(i);
         String rowid = elt.getAttributeAsText(attributeRowId);
         boolean isInSource = hashs.containsKey(rowid);
         if (isInSource && !elt.isChangedByClient())
continue;
         if (!isInSource) {
            els = sourceNode.createElement();
            WDCopyService.copyCorresponding(elt, els);
            sourceNode.addElement(els);
         } else {
            els = (IWDNodeElement) hashs.get(rowid);
            WDCopyService.copyCorresponding(elt, els);
   /*find if an column has a valid filter
and if so parse the filter and put in a hash table
   private HashMap prepareFilterValuesByAttribute() {
      HashMap hashmap = new HashMap();
      for (Enumeration e = this.attributeSource.keys(); e.hasMoreElements();) {
         String attributeName = e.nextElement().toString();
         if (filterForColumn.containsKey(attributeName)) {
            NodeElementByAttributeComparator elementComparator = (NodeElementByAttributeComparator) filterForColumn.get(attributeName);
            IWDTableColumn column = elementComparator.column;
            column.setIsFiltered(false);
            String filtervalue = column.getFilterValue();
            if (filtervalue == null || filtervalue.trim().length() == 0) {
               continue;
            String attributetype = elementComparator.attributeInfo;
            HashMap valuehash = new HashMap();
            valuehash = this.detectFilterSign(filtervalue);
            hashmap.put(attributeName, valuehash);
      return hashmap;
   /* generate a filter value into the right object */
   private Object generateObject(String filtervalue, String attributetype, String sign) {
      Object o2 = filtervalue;
      try {
      if (filtervalue == null) {
         return o2;
      if (attributetype.equalsIgnoreCase("decimal")) {
         o2 = new BigDecimal(filtervalue);
      if (attributetype.equalsIgnoreCase("double")) {
         o2 = new Double((filtervalue));
      if (attributetype.equalsIgnoreCase("long")) {
         o2 = new Long(filtervalue);
      if (attributetype.equalsIgnoreCase("float")) {
         o2 = new Float(filtervalue);
      if (attributetype.equalsIgnoreCase("short")) {
         o2 = new Short(filtervalue);
      if (attributetype.equalsIgnoreCase("integer")) {
         o2 = new Integer(filtervalue);
      if (attributetype.equalsIgnoreCase("long")) {
         o2 = new Long(filtervalue);
      if (attributetype.equalsIgnoreCase("date")) {
         try {
         java.util.Date dtTmp = new java.util.Date(filtervalue);
         SimpleDateFormat template = new SimpleDateFormat("yyyy-MM-dd");
         o2 = Date.valueOf(template.format(dtTmp));
         } catch (Exception ex) {
                     o2 = filtervalue;
      if (attributetype.equalsIgnoreCase("time")) {
         try {
            SimpleDateFormat timeformater = new SimpleDateFormat("hh:mm:ss", WDResourceHandler.getCurrentSessionLocale());
            o2 = timeformater.parse(filtervalue);
         } catch (ParseException ex) {
            o2 = filtervalue;
      if (attributetype.equalsIgnoreCase("boolean")) {
         if (sign.equalsIgnoreCase(NE)) {
            o2 = new Boolean(true);
         } else {
            o2 = new Boolean(true);
      return o2;
            }catch (Exception ex){
               return filtervalue;
   /*compare object according the filter */
   private boolean evaluateFilteredAttributeValue(HashMap filter, String attributetype, Comparator comparator, Object o1) {
      boolean accept = true;
      try{
      if (filter == null || filter.size() == 0)
return accept;
      if (attributetype == null || attributetype.trim().length() == 0)
return accept;
      Object o2 = filter.get("value1");
      if (filter.get("sign") == null) {
         if (o2 != null) {
            String value1 = filter.get("value1").toString();
            o2 = generateObject(value1, attributetype, null);
         int compared = comparator.compare(o1, o2);
         if (!attributetype.equalsIgnoreCase("string")) {
            if (compared == 0) {
               return accept;
            } else {
               return (!accept);
         } else {
            if (compared >= 0) {
               return accept;
            } else {
               return (!accept);
      String sign = filter.get("sign").toString();
      String place = filter.get("place").toString();
      if (sign.equalsIgnoreCase(EQ) && place.equalsIgnoreCase("S")) {
         if (o2 != null) {
            String value1 = filter.get("value1").toString();
            o2 = generateObject(value1, attributetype, sign);
         } else {
            if (attributetype.equalsIgnoreCase("boolean")) {
               o2 = generateObject("", attributetype, sign);
            if (attributetype.equalsIgnoreCase("string") && o1 != null && o1.toString().trim().length() == 0) {
               o2 = generateObject("", attributetype, sign);
         int compared = comparator.compare(o1, o2);
         if (!attributetype.equalsIgnoreCase("string")) {
            if (compared == 0) {
               return accept;
            } else {
               return (!accept);
         } else {
            if (compared >= 0) {
               return accept;
            } else {
               return (!accept);
      if (sign.equalsIgnoreCase(NE) && place.equalsIgnoreCase("S")) {
         if (o2 != null) {
            String value1 = filter.get("value1").toString();
            o2 = generateObject(value1, attributetype, sign);
         } else {
            if (attributetype.equalsIgnoreCase("boolean")) {
               o2 = generateObject("", attributetype, sign);
            if (attributetype.equalsIgnoreCase("string") && o1 != null && o1.toString().trim().length() == 0) {
               o2 = generateObject("", attributetype, sign);
         int compared = comparator.compare(o1, o2);
         if (!attributetype.equalsIgnoreCase("string")) {
            if (compared == 0) {
               return !accept;
            } else {
               return (accept);
         } else {
            if (compared >= 0) {
               return !accept;
            } else {
               return (accept);
      if (sign.equalsIgnoreCase(R) && place.equalsIgnoreCase("S")) {
         if (o2 != null) {
            String value1 = filter.get("value1").toString();
            o2 = generateObject(value1, attributetype, sign);
         int compared = comparator.compare(o1, o2);
         if (compared > 0) {
            return !accept;
         } else {
            return (accept);
      if (sign.equalsIgnoreCase(R) && place.equalsIgnoreCase("E")) {
         if (o2 != null) {
            String value1 = filter.get("value1").toString();
            o2 = generateObject(value1, attributetype, sign);
         int compared = comparator.compare(o1, o2);
         if (compared >= 0) {
            return accept;
         } else {
            return (!accept);
      Object o3 = filter.get("value2").toString();
      if (sign.equalsIgnoreCase(R) && place.equalsIgnoreCase("M")) {
         boolean accept1 = true;
         boolean accept2 = true;
         if (o2 != null) {
            String value1 = filter.get("value1").toString();
            o2 = generateObject(value1, attributetype, sign);
         if (o3 != null) {
            String value1 = filter.get("value2").toString();
            o3 = generateObject(value1, attributetype, sign);
         int compared = comparator.compare(o1, o2);
         if (compared >= 0) {
            accept1 = accept;
         } else {
            accept1 = !accept;
         int compared2 = comparator.compare(o1, o3);
         if (compared2 > 0) {
            accept2 = !accept;
         } else {
            accept2 = accept;
         if (accept1 && accept2) {
            return accept;
         } else {
            return !accept;
      return accept;
      } catch (Exception ex ){
               return  accept;
   /* parse the filter */
   private HashMap detectFilterSign(String value) {
      HashMap ar = new HashMap();
      String val1 = null;
      String val2 = null;
      String sign = null;
      String place = null;
      if (null == value) {
         ar.put("value1", value);
         ar.put("sign", null);
         return ar;
      if (!value.startsWith(EQ) & !value.startsWith(NE) & value.indexOf(R) < 0) {
         ar.put("value1", value.trim());
         ar.put("sign", null);
         return ar;
      if (value.startsWith(EQ)) {
         if (value.trim().length() > 1) {
            val1 = value.substring(1);
         } else {
            val1 = "";
            val1 = null;
         sign = EQ;
         place = "S";
         ar.put("value1", val1);
         ar.put("sign", EQ);
         ar.put("place", place);
         return ar;
      if (value.startsWith(NE)) {
         if (value.trim().length() > 1) {
            val1 = value.substring(1);
         } else {
            val1 = "";
            val1 = null;
         sign = NE;
         place = "S";
         ar.put("value1", val1);
         ar.put("sign", NE);
         ar.put("place", place);
         return ar;
      if (value.startsWith(R)) {
         if (value.trim().length() > 1) {
            val1 = value.substring(1);
         } else {
            val1 = "";
            val1 = null;
         sign = R;
         place = "S";
         ar.put("value1", val1);
         ar.put("sign", R);
         ar.put("place", place);
         return ar;
      if (value.endsWith(R)) {
         if (value.trim().length() > 1) {
            val1 = value.substring(0, value.length() - 1);
         } else {
            val1 = "";
            val1 = null;
         sign = R;
         place = "E";
         ar.put("value1", val1);
         ar.put("sign", R);
         ar.put("place", place);
         return ar;
      if (value.indexOf(R) > 0) {
         sign = R;
         place = "M";
         val1 = value.substring(0, value.indexOf(R));
         val2 = value.substring(value.indexOf(R) + 1);
         ar.put("value1", val1);
         ar.put("value2", val2);
         ar.put("sign", R);
         ar.put("place", place);
         return ar;
      if (ar.size() == 0)
ar.put("value1", value);
      return ar;
   private static final String bindingOfPrimaryProperty(IWDTableCellEditor editor) {
      return editor instanceof IWDViewElement ? bindingOfPrimaryProperty((IWDViewElement) editor) : null;
   private static final String bindingOfPrimaryProperty(IWDViewElement element) {
      if (element instanceof IWDAbstractDropDownByIndex)
return ((IWDAbstractDropDownByIndex) element).bindingOfTexts();
      if (element instanceof IWDAbstractDropDownByKey)
return ((IWDAbstractDropDownByKey) element).bindingOfSelectedKey();
      if (element instanceof IWDAbstractInputField)
return ((IWDAbstractInputField) element).bindingOfValue();
      if (element instanceof IWDCaption)
return ((IWDCaption) element).bindingOfText();
      if (element instanceof IWDCheckBox)
return ((IWDCheckBox) element).bindingOfChecked();
      if (element instanceof IWDLink)
return ((IWDLink) element).bindingOfText();
      if (element instanceof IWDProgressIndicator)
return ((IWDProgressIndicator) element).bindingOfPercentValue();
      if (element instanceof IWDRadioButton)
return ((IWDRadioButton) element).bindingOfSelectedKey();
      if (element instanceof IWDTextEdit)
return ((IWDTextEdit) element).bindingOfValue();
      if (element instanceof IWDTextView)
return ((IWDTextView) element).bindingOfText();
      return null;
   private static final Comparator DEFAULT = new Comparator() {
      public int compare(Object o1, Object o2) {
         if (o1 == null && o2 == null) {
            return 0;
         if (o1 == null) {
            return -1;
         if (o2 == null) {
            return -1;
         if (o1 instanceof Boolean && o2 instanceof Boolean) {
            return o1.toString().compareTo(o2.toString());
         if (o1 instanceof Date && o2 instanceof Date) {
            return ((java.util.Date) o1).compareTo((java.util.Date) o2);
         if (o1 instanceof String && o2 instanceof String) {
            Collator collate = Collator.getInstance(WDResourceHandler.getCurrentSessionLocale());
            return o1.toString().toUpperCase(WDResourceHandler.getCurrentSessionLocale()).indexOf(
               o2.toString().toUpperCase(WDResourceHandler.getCurrentSessionLocale()));
         return ((Comparable) o1).compareTo((Comparable) o2);
   private Hashtable filterForColumn = new Hashtable();
   private IWDTable table = null;
   private Hashtable attributeSource = null;
   private Hashtable sourceNodeHash = null;
   private Hashtable hashIcon = null;
   private IWDNode sourceNode = null;
   private IWDNode targetNode = null;
   String EQ = "=";
   String NE = "#";
   String R = "~";
   public final class NodeElementByAttributeComparator {
      public NodeElementByAttributeComparator(String attributeInfo, IWDTableColumn column, Comparator comparator) {
         this(attributeInfo, column, comparator, false, new ArrayList());
      private NodeElementByAttributeComparator(
String attributeInfo,IWDTableColumn column,
Comparator comparator,
boolean compareAsText,
Collection subNodes) {
         if (attributeInfo == null)
throw new IllegalArgumentException("attributeInfo must not be null");
         if (column == null)
throw new IllegalArgumentException("Column  must not be null");
         if (comparator == null)
comparator = DEFAULT;
         this.attributeInfo = attributeInfo;
         this.column = column;
         this.comparator = comparator;
         this.compareAsText = compareAsText;
         this.subNodes = subNodes;
      private final Comparator comparator;
      private final boolean compareAsText;
      private IWDTableColumn column;
      private Collection subNodes;
      private String attributeInfo;
Regards
Abhimanyu L

Similar Messages

  • An necessaries requirement of Java for using Khmer Unicode

    Hi Java Architecture or Engineering,
    May you describe me about any specific requirement that Java 1.6 can support Khmer Unicode?
    My Simulation problem:
    Recently, newgenlib (Open source Library) have been launch new version what can support Khmer Unicode.
    But after do the update as their letter, I found that some Clients recognize Khmer Unicode "ធនធានធម្មជាតិ"but some does not recognize and show "⌷⌷⌷⌷⌷⌷⌷⌷⌷⌷⌷⌷".
    Moreover, I have been deleted Arial Unicode MS font.
    And also paste Fontconfig.properties to JAVA_PATH\jre6\lib.
    => How can I solve this issue???
    Edited by: user13119042 on Dec 8, 2010 12:48 AM

    There's nothing Firefox can do about that. You need to contact Command Center.
    Using old, possibly insecure, programs is never a good idea.

  • NWDI Stack requirements for NWDS, ECC CE 7.1 and PI 7.1

    What is the requirement for NWDI 7.0 with respect to other usage types. I think the rule is this:
    NWDI and NWDS (dev studio) should be on the same SP level, whereas NWDI can support simultaneous 7.0 and 7.1 track like Portal BI and PI?
    Anyone care to comment or refute?
    Thanks
    Mikie Brogan

    I am not aware if there is any such requirement other than the compatible java version.
    NWDI doesn't support ABAP content, you will have to configure CTS+ and probably CTS+ with NWDI.
    For NWDS - NWDI, no you do not need same versions, you need same java versions.
    I am using NWDS NW70 SP14 (have used SP8, SP10) with NWDI 7.0 SP18.
    Make sure you ahve the relevant java versions.
    If you plan to use NWDI70 with CE71, you would need to understand how to set dual java versions in NWDI and how to support it in track.
    That is also possible.
    Regards,
    Nitin

  • Which JDK version is required for NWDS v 7.01.07

    Hi,
    Can someone point me in the right direction to find out whcih JDK version is required for NWDS v 7.01.07.
    I currently have j2sdk1.4.2_19 installed but I am getting a build error when creating a new project from ESS of:
    No 'default' JDK defined, will use running VM.
    The TARGET variable for the shortcut and JAVA_HOME env variables are set.
    The JRE_SRCROOT variable in NWDS is empty.
    Regards,
    Rob

    In NWDS set default JDK version.
    Windows - preferences - java Installed JREs
    Select chk box for JRE you want.
    Hope this helps.

  • ...desperating trying to install itunes 10.7, but it asked me to install Mac OS X 10.6.8.  I did, but then it said that I needed to install Java for Mac OS x 10.6.  I did that and now it keeps saying 'this update requires Mac OS X version 10.6??

    ....desperating trying to install itunes 10.7, but it asked me to install Mac OS X 10.6.8.  I did, but then it said that I needed to install Java for Mac OS x 10.6.  I did that and now it keeps saying 'this update requires Mac OS X version 10.6??

    Upgrading to Snow Leopard
    You must purchase Snow Leopard through the Apple Store: Mac OS X 10.6 Snow Leopard - Apple Store (U.S.). The price is $19.99 plus tax. You will be sent physical media by mail after placing your order.
    After you install Snow Leopard you will have to download and install the Mac OS X 10.6.8 Update Combo v1.1 to update Snow Leopard to 10.6.8 and give you access to the App Store. Access to the App Store enables you to download Mountain Lion if your computer meets the requirements.
         Snow Leopard General Requirements
           1. Mac computer with an Intel processor
           2. 1GB of memory
           3. 5GB of available disk space
           4. DVD drive for installation
           5. Some features require a compatible Internet service provider;
               fees may apply.
           6. Some features require Apple’s MobileMe service; fees and
               terms apply.
    Actually, you cannot download Snow Leopard. You downloaded a Snow Leopard updater.

  • HT5243 It says on the "Java for Mac OS X 10.6 Update 8" pg that this download is for all users and supercedes all earlier versions. Yet to the right is says you HAVE to have 10.6.8 as a requirement. WHICH is it?  Is it for all versions of 10.6 or not?

    It says on the "Java for Mac OS X 10.6 Update 8" pg that this download is for all users and supercedes all earlier versions. Yet to the right is says you HAVE to HAVE 10.6.8 as a requirement. WHICH is it?  Is it for all versions of 10.6 or not? Why isnt this made more clear?
    And question is STILL not answered.  WHICH is to be downloaded and used?
    I would like an answer.

    Thank you for the clarification!  It is really kinda circle-speaking to state on an information page to put forth info people need in that manner.  It really does add to the confusion and frustration when you need a simple,
    straight answer, such as you gave, and you dont get one.  Kind of like that . . other... software company....
    This rabbit hole still continues, though.  I'm going to ladder it out, just to see for myself:
    Have: MacBookPro / 2.4 GHz/ Intel Core i5/ running OS X 10.6.3 -
    Need: latest version of Java, so Flash update can be loaded;
                                  (want html5 to be the standard so badly, but client wants Flash)                  
      Attempted:  Tried to find Java for Mac OS X 10.6 Update 2 on Apple website.  No Joy.
            Found:   Update 2 is proper update for Mac OS X 10.6.3.  Could not find download on Apple website;
                           - No Joy.
      Attempted:  Tried to find Java for Mac OS X 10.6 Update 8. Half Joy. Confusing, no straight info.
            Found:   In order to install update for Java, must update OS X from present 10.6.3 to 10.6.8
      Attempted:   Tried to find update to OS X 10.6.3 to 10.6.8. on Apple website.
    how far does the rabbit hole go?

  • Java for OS X 2013-001 system requirements INCORRECT

    The system requirements for Java for OS X 2013-001 ARE WRONG.
    At this page:
    http://support.apple.com/kb/DL1572?viewlocale=en_US&locale=en_US
    The system requirements are listed, in part, as follows:
    System Requirements
    OS X SnowLeopard v10.6 or later
    When you go to install this update, it says "REQUIRED OS 10.7"
    <Edited by Host>

    cmr&xpg wrote:
    As I checked for the new update that apple provides on Feb, 19th : Java for OS X 2013-001
    it is not  listed by the available updates for my Mac.
    Should I install this update after having  downloaded it on Apple support web site, or not?
    If you don't have it already installed, it will not update it.
    Does this update install the Java soft if we do not have it already
    or does it simply disables the famous Java SE 6 applet plug-in?
    It updates it if you already have Java SE 6 installed. It also temporarily disables the plug-in so that it won't run automatically, but will allow you to re-enable it.

  • Reimport model requires server restart for version nw 04s sp15

    Hi All,
      Does reimport of model requires sever restart in NW 04s sp15, Sometimes it works with out restart of server. .Please give your inputs.
    Thanks.

    Hi,
    The J2EE engine holds a cache of deployed model objects that is optimized by technical system.
    Therefore if there are updates in the metadata of a deployed model object, it is necessary to restart the J2EE engine to flush this cache, and make the new interface metadata available to the Web Dynpro application.
    Its not always required to restart the server.Its only required when there are updates in the model object.
    Thanks n Regards,
    Archana

  • Formatting dates in a table in webdynpro java for mutliple entries.

    Hi all,
    I have a requirement to format date values in a table for multiple entries to dd/MM/yyyy format in webdynpro java for mutiple line items in that table.
    Please help me out with the technique for the same.
    Thanks and Regards,
    Soumyadeep.

    Hi,
    here is the code for changing the formatting the date.
    Date currentDate = new Date ();
                DateFormat df =  DateFormat.getDateInstance(DateFormat.SHORT);
                String today = df.format(currentDate);
                SimpleDateFormat sdfInput = new SimpleDateFormat("dd/mm/yyyy");
                SimpleDateFormat sdfOutput = new SimpleDateFormat ("mm/dd/yyyy");
    try {
                      String dateft = sdfOutput.format((Date) sdfInput.parse(df.format(currentDate)));
                } catch (ParseException e) {

  • HT1222 Weird security update Java for OS X 2013-003

    Why is the security update Java for OS X 2013-003 causing my 15" rMBP to start displaying a flashing window asking me if I want to allow the application "java" to accept incoming network connections?
    OS X 10.8.3

    It appears that these errors are arising because:
    Oracle Java has been installed on your system,
    there is some add-on code that is running, and that is using Oracle Java components,
    the add-on code is attempting to initiate network connections,
    and the Oracle Java connections are failing. 
    Basically, there is Oracle Java code running here somewhere — code which is not part of OS X, as OS X 10.7 and later do not include Oracle Java by default — and this (unknown) code is using Oracle Java and the Java Virtual Machine (JVM), and the code is encountering some new "defensive' measures.  Or is encountering an Oracle Java bug, which would be an Oracle issue with their Oracle Java product.
    Y'all have to figure out what code is running here (and that is dependent on Oracle Java and the JVM), and if the code is expected and necessary here, to then work with the vendor to resolve the behavior here and/or upgrade to the provider's current version of the software.
    Based on the DDService64d reference, there appears to be Drobo software here, and some Drobo software apparently requires Java and the JVM.  Here is some information from Drobo.  (There's a recommendation there to disable Gatekeeper, and — while that likely does resolve the issues referenced — I'd prefer to avoid disabling Gatekeeper in general.)
    Again, figure out what's installed and using Java here.  Remove it, upgrade it, or check with the vendor.
    Oracle Java does have a recent history of various serious security issues, and it's common practice to disable the Oracle Java web-start plug-in, or to entirely avoid installing Oracle Java on OS X on 10.7 and later.  If you're not using and don't need Oracle Java, then don't install it.   If you've previously installed Oracle Java and don't need it (as is the case on OS X 10.7 and later), reportedly Oracle has a tool which can remove Oracle Java.
    note: Oracle Java is completely different from JavaScript.

  • How to find and install right java for ECC6 intstallation on AIX5.3

    Hello
    I wander how to find and install right java for ECC6 intstallation on AIX5.3. I went thruroughly thru note 723909 and underlying 716927, 1008311 and 1039948 notes but I still do not understand.
    I guess I should logon to IBM site http://www.ibm.com/developerworks/java/jdk/aix/service.html
    where I can choose :
    " Java 1.4.2 64-bit "
    and then :
    "64-bit SDK 1.4.2 base images (at 1.4.2.0 level; in installp format) "->"Base SDK (required)
    Java14_64.sdk.tar  ((50001920)
    then I assume (on AIX ) I should "tar xvf Java14_64.sdk.tar".
    then I get extracted "Java14_64.sdk"
    Is this ok?
    I know on Linux(
    from IBM site I downloaded "IBMJava2-amd64-142.rpm"
    then I issued
    "rpm -i IBMJava2-amd64-142.rpm "
    and finally issued
    "export JAVA_HOME=/opt/IBMJava2-amd64-142")
    What in case of AIX5.3? Could you help me?

    I was told to use smitty (just I am not familiar with it). furdermore i do not hace read.me file. the ziped files are:
    Java14_64.ext
    -rw-rr 1  202 bin    371712 Mar  2  2010 Java14_64.license
    -rw-rr 1  202 bin      3072 Mar  2  2010 Java14_64.msg.ja_JP
    -rw-rr 1  202 bin      3072 Mar  2  2010 Java14_64.msg.Ja_JP
    -rw-rr 1  202 bin      3072 Mar  2  2010 Java14_64.msg.ko_KR
    -rw-rr 1  202 bin      3072 Mar  2  2010 Java14_64.msg.zh_CN
    -rw-rr 1  202 bin      3072 Mar  2  2010 Java14_64.msg.Zh_CN
    -rw-rr 1  202 bin      3072 Mar  2  2010 Java14_64.msg.zh_TW
    -rw-rr 1  202 bin      3072 Mar  2  2010 Java14_64.msg.Zh_TW
    -rw-rr 1  202 bin   4888576 Mar  2  2010 Java14_64.samples
    -rw-r----- 1 root root 67190784 Oct  4 09:53 Java14_64.sdk
    -rw-rr 1 root root 77370639 Nov 20 19:36 Java14_64.sdk.tar.gz
    -rw-r----- 1 root root 12612608 Oct  4 09:53 Java14_64.source

  • What is similar to Java for a mac?

    What is similar to Java for a Mac?
    I'm running Mac OS X version 10.5.8, can I step up to Mountain Lion??
    Thanks

    Java is similar to Java for a Mac.
    You can upgrade if your computer meets the minimum system requirements:
    Snow Leopard General requirements
    Mac computer with an Intel processor
    1GB of memory
    5GB of available disk space
    DVD drive for installation
    Some features require a compatible Internet service provider; fees may apply.
    Some features require Apple’s MobileMe service; fees and terms apply.
    Lion System Requirements
    Mac computer with an Intel Core 2 Duo, Core i3, Core i5, Core i7, or Xeon processor
    2GB of memory
    OS X v10.6.6 or later (v10.6.8 recommended)
    7GB of available space
    Some features require an Apple ID; terms apply.
    Apple - OS X Mountain Lion - Read the technical specifications.

  • [svn:bz-trunk] 24018: Updates to the message to send across only required message attributes for small message format

    Revision: 24018
    Revision: 24018
    Author:   [email protected]
    Date:     2012-07-11 02:23:31 -0700 (Wed, 11 Jul 2012)
    Log Message:
    Updates to the message to send across only required message attributes for small message format
    Modified Paths:
        blazeds/trunk/modules/core/src/flex/messaging/messages/AbstractMessage.java
        blazeds/trunk/modules/core/src/flex/messaging/messages/AsyncMessage.java
        blazeds/trunk/modules/core/src/flex/messaging/messages/CommandMessage.java
        blazeds/trunk/modules/core/src/flex/messaging/messages/ErrorMessage.java
        blazeds/trunk/modules/core/src/flex/messaging/messages/Message.java
        blazeds/trunk/modules/core/src/flex/messaging/messages/RemotingMessage.java

    Im not sure what's the problem, but let's try to figure it out. First of all explain what do you mean by "it works very bad". Doest it hang, is it slow, is quality unacceptable.
    Myself, I have one problem with JMF. When i run video & audio on my Centrino 1.4 GHz, it just takes 100% CPU! And of course quality becomes degraded. Check if you have something like this.

  • How to query in java for Oracle 10gr2 XMLDB

    Hi,
    I�ve some problems.
    I�ve some search queries which are working on normal relation table, but I don�t know how it works on XMLDB(Oracle 10gR2)
    Structure of XML file
    My xml table structure will be :
    Create table <tablename>
    Person_Id number primary key,
    Person_BankName varchar2,
    DateOfEntry date,
    Xmlcol xmltype
    Xmlcol xmltype will be mapped to a schema for the below xml file.
    XML File
    <Person>
         <Information>
              <firstname>Suchendra</firstname>
              <lastname>Kumar</lastname>
              <middlename>Krishna</middlename>
         </Information>
         <Account>
              <accountno>12212</accountno>
              <balance>42323.89</balance>
              <opendate>12-03-2005</opendate>
         </Account>
         <Transaction>
              <transamount>1000</transamount>
              <balance>41323.89</balance>
              <trandate>14-03-2005</ trandate >
              <trantime>10:40:22</trantime>
         </ Transaction >
    </Person>
    SQL Queries Required
    1.     Query to fetch the records whose transaction has been done from date 12-03-2001 to date 01-01-2005.
    2.     Query to fetch the records whose lastname= �*Kumar�
    3.     Query to fetch the records whose transaction has been done from time 9:09:55 to time12:26:23.
    4.     Query to fetch the records whose balance > 4000 and balance < 5000.
    5.     Regular expression Search in XMLDB. Ex: searching for records whose firstname has �su*� or �*ab� in it.
    How to extract these result set values in java for XMLDB (JDBC)?
    How to fetch these values from the result set?
    Whether Prepared Statement, Execute Query are compatible in XMLDB
    Can anyone help me in this..
    Thanks
    Athar

    Athar,
    You have been busy! You posted this same question to the SQL forum and the XMLDB forum. I see you got some answers regarding the XML part, so I will try to help you with the JDBC part. Have a look at this example:
    http://tinyurl.com/oemd7
    Good Luck,
    Avi.

  • Java For Mac 10.5 Update 4 Ver. 1.0 Can't Install

    Running 10.5.7 on a Intel MacBookPro I get the above message when trying to install the Java update 4 ver 1.0. I quit all other apps including browsers. I have 16.08 GB space available. There is no explanation. It just has a red exclamation point and says "Cannot be Installed", then "An Error Occurred during Installation". Below is the Console log. It appears it downloads but doesn't install.
    Jun 15 15:01:28 Macintosh-3 SoftwareUpdateCheck[109]: Auto-download of "Java for Mac OS X 10.5 Update 4" SUCCESSFUL.
    Jun 15 15:01:28 Macintosh-3 Software Update[178]: arguments=(null)
    Jun 15 15:01:28 Macintosh-3 com.apple.launchd[69] (0x10cbb0.Locum[180]): Exited: Terminated
    Jun 15 15:01:42 Macintosh-3 com.apple.launchd[69] ([0x0-0x12012].SoftwareUpdateCheck[109]): Exited: Killed
    Jun 15 15:02:20 Macintosh-3 SoftwareUpdateCheck[194]: Checking for updates
    Jun 15 15:02:33 Macintosh-3 SoftwareUpdateCheck[194]: Downloading "Java for Mac OS X 10.5 Update 4"
    Jun 15 15:02:43 Macintosh-3 com.apple.launchd[69] ([0x0-0x2b02b].SoftwareUpdateCheck[204]): Exited with exit code: 108
    Jun 15 15:05:55 Macintosh-3 SoftwareUpdateCheck[194]: Auto-download of "Java for Mac OS X 10.5 Update 4" SUCCESSFUL.
    Jun 15 15:05:55 Macintosh-3 Software Update[212]: arguments=(null)
    Jun 15 15:06:40 Macintosh-3 com.apple.launchd[69] ([0x0-0x2a02a].SoftwareUpdateCheck[194]): Exited with exit code: 102
    Jun 15 15:17:33 Macintosh-3 SoftwareUpdateCheck[227]: Checking for updates
    Jun 15 15:17:34 Macintosh-3 /usr/sbin/ocspd[233]: starting
    Jun 15 15:18:02 Macintosh-3 com.apple.launchd[69] ([0x0-0x36036].SoftwareUpdateCheck[241]): Exited with exit code: 108
    Jun 15 15:18:04 Macintosh-3 SoftwareUpdateCheck[227]: Auto-download of "Java for Mac OS X 10.5 Update 4" SUCCESSFUL.
    Jun 15 15:18:04 Macintosh-3 Software Update[243]: arguments=(null)
    Jun 15 15:18:49 Macintosh-3 com.apple.launchd[69] ([0x0-0x33033].SoftwareUpdateCheck[227]): Exited with exit code: 102
    Jun 15 15:32:52 Macintosh-3 SoftwareUpdateCheck[272]: Checking for updates
    Jun 15 15:32:53 Macintosh-3 /usr/sbin/ocspd[277]: starting
    Jun 15 15:33:17 Macintosh-3 SoftwareUpdateCheck[272]: Downloading "Java for Mac OS X 10.5 Update 4"
    Jun 15 15:33:18 Macintosh-3 com.apple.launchd[69] ([0x0-0x41041].SoftwareUpdateCheck[284]): Exited with exit code: 108
    Jun 15 15:36:37 Macintosh-3 SoftwareUpdateCheck[272]: Auto-download of "Java for Mac OS X 10.5 Update 4" SUCCESSFUL.
    Jun 15 15:36:37 Macintosh-3 Software Update[290]: arguments=(null)
    Jun 15 15:37:22 Macintosh-3 com.apple.launchd[69] ([0x0-0x3f03f].SoftwareUpdateCheck[272]): Exited with exit code: 102
    Jun 15 15:42:22 Macintosh-3 /usr/sbin/ocspd[297]: starting
    Jun 15 15:48:08 Macintosh-3 SoftwareUpdateCheck[304]: Checking for updates
    Jun 15 15:48:08 Macintosh-3 /usr/sbin/ocspd[307]: starting
    Jun 15 15:48:34 Macintosh-3 SoftwareUpdateCheck[304]: Auto-download of "Java for Mac OS X 10.5 Update 4" SUCCESSFUL.
    Jun 15 15:48:34 Macintosh-3 Software Update[318]: arguments=(null)
    Jun 15 15:49:19 Macintosh-3 com.apple.launchd[69] ([0x0-0x47047].SoftwareUpdateCheck[304]): Exited with exit code: 102
    Jun 15 15:49:29 Macintosh-3 SoftwareUpdateCheck[323]: Checking for updates
    Jun 15 15:49:44 Macintosh-3 SoftwareUpdateCheck[323]: Auto-download of "Java for Mac OS X 10.5 Update 4" SUCCESSFUL.
    Jun 15 15:50:29 Macintosh-3 com.apple.launchd[69] ([0x0-0x4a04a].SoftwareUpdateCheck[323]): Exited with exit code: 102
    Help! TIA...

    J.Olmstead wrote:
    I have the same problem, 15.4 MacBook Pro unibody.
    After the first error installing I checked software updates again and it's the only update listed as a available (the first go around I had 11 updates to install, Java was the only one to fail)
    I never install more than one update at a time, esp. those requiring a reboot.
    Think I'll not try again until there's some answers.
    Good idea. I am waiting.
    Is it possible it's failing if I've manually disabled Java in Safari ? I disabled it after learning of the vunerability.
    It's very possible. Wouldn't it be funny if this update fixed it?
    I am still waiting for the attack.

Maybe you are looking for

  • Why Won't My Captivate 2 capture all the frames in my webpage?

    When I try to capture a mutliframe webpage, Captivate only captures one frame and leaves blank the other frames. Has anyone else encountered this problem? Is there any solution?

  • Multi Page Doc in OLE Container

    I have a multipage Word Document in an OLE container and I want to be able to scroll through the pages without activating the container by pressing buttons for the next, previous, first and last pages along with knowing that I am on say page 5 of 25

  • NWDS setup for exposing web dynpro as callable object

    Hi I need help in understanding how to set-up my NWDS 7.0 environment, so as to implement and expose a web dynpro as callable object in Guided Procedure. I tried following some of the weblogs in the SDN but I get stuck at the step where depencencies

  • Waveform chart gaps

    Hi, If completed my application for data acquisition, onlyi'mnot that happywithmy waveform chart... It shows gaps, time to time? And i don't know why? Here is an example: Does anyone has a solution for this? Regards, Thijs

  • Saved presentation is smaller on my internal drive than on my external disk

    This is not a big deal and it does not affect the use or effectiveness of Keynote, but I am curious. If I save a presentation on my internal drive it has a smaller file size than if I move it to my external disk. Can someone tell me why? Thank you Mi