From xap-commits-return-243-apmail-incubator-xap-commits-archive=incubator.apache.org@incubator.apache.org Sat Aug 12 19:05:51 2006 Return-Path: Delivered-To: apmail-incubator-xap-commits-archive@locus.apache.org Received: (qmail 65297 invoked from network); 12 Aug 2006 19:05:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 12 Aug 2006 19:05:51 -0000 Received: (qmail 79566 invoked by uid 500); 12 Aug 2006 19:05:51 -0000 Delivered-To: apmail-incubator-xap-commits-archive@incubator.apache.org Received: (qmail 79547 invoked by uid 500); 12 Aug 2006 19:05:51 -0000 Mailing-List: contact xap-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: xap-dev@incubator.apache.org Delivered-To: mailing list xap-commits@incubator.apache.org Received: (qmail 79531 invoked by uid 99); 12 Aug 2006 19:05:51 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Aug 2006 12:05:50 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [140.211.166.113] (HELO eris.apache.org) (140.211.166.113) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 12 Aug 2006 12:05:50 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 373661A981A; Sat, 12 Aug 2006 12:05:24 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r431072 - /incubator/xap/trunk/WebContent/examples/dojo/xapStatus.js Date: Sat, 12 Aug 2006 19:05:23 -0000 To: xap-commits@incubator.apache.org From: mturyn@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20060812190524.373661A981A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: mturyn Date: Sat Aug 12 12:05:23 2006 New Revision: 431072 URL: http://svn.apache.org/viewvc?rev=431072&view=rev Log: Displays id's of nodes that have them. Modified: incubator/xap/trunk/WebContent/examples/dojo/xapStatus.js Modified: incubator/xap/trunk/WebContent/examples/dojo/xapStatus.js URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/dojo/xapStatus.js?rev=431072&r1=431071&r2=431072&view=diff ============================================================================== --- incubator/xap/trunk/WebContent/examples/dojo/xapStatus.js (original) +++ incubator/xap/trunk/WebContent/examples/dojo/xapStatus.js Sat Aug 12 12:05:23 2006 @@ -36,7 +36,11 @@ ++nodeLikeThisOneNameIndex; } if (siblings[idx] == node) { - path = "" + node.nodeName + "" + "[" + nodeLikeThisOneNameIndex + "]" + path; + var markup= ""+nodeLikeThisOneNameIndex ; + if( node.id && node.id.length>0){ + markup = markup + ", \"" + node.id+"\"" ; + } + path = "" + node.nodeName + "" + "[" + markup + "]" + path; break; } }