Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

DotNetNuke Marketplace
  Ads  
OnyakTech
 


  Sponsors  

Meet Our Sponsors

.: CounterSoft :.
telerik
ExactTarget email software solutions
Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  ClientAPI Compo...  findNode without attribute and value?
Previous Previous
 
Next Next
New Post 2/6/2006 12:49 PM
User is offline Stefan Kamphuis
319 posts
www.superska.net
8th Ranked






findNode without attribute and value? 
Hi,
After reading the answer to this post. I came to think that it's currently not possible to use findNode to find an element that doesn't contain any attributes. I went through the findNode funcctions in both dnn.xml.js and dnn.xml.jsparser.js before, and came to the same conclusion. But is it correct that you need your elements to have attributes to find them using findNode?


Greetz,
Stefan Kamphuis
 
New Post 2/8/2006 11:42 AM
User is offline Jon Henning
1622 posts
www.codeendeavors.com
5th Ranked










Re: findNode without attribute and value? 

I believe you are correct.  findNode assumes you are looking for a particular node with a particular attribute.  It wouldn't be too hard to update the code to handle your use case though...  I will consider it next time I get the time to work on the xml portion of the ClientAPI.

For now I guess you are stuck with a recursive lookup of the childNodes collections.


 
New Post 2/8/2006 12:36 PM
User is offline Stefan Kamphuis
319 posts
www.superska.net
8th Ranked






Re: findNode without attribute and value? 
 Jon Henning wrote

It wouldn't be too hard to update the code to handle your use case though... 


I'' certainly let you know if and when I get it working myself...

Thanks for your answer.

Greetz,
Stefan Kamphuis
 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  ClientAPI Compo...  findNode without attribute and value?
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Windsor Management Group
Fund Accounting Software for K12 Education.
Infinitevisions.com
Convert Visitors to Customers
In order to bring value to your users, we must first understand them. VIVIDSITES will help you build a custom web application and interactive marketing tools that your users will thank you for. We marry high-end creative with head banging technology to entertain and convert visitors into paying customers. Call 314.514.0505 or visit us at http://www.vividsites.com to find out how.
- V I V I D S I T E S -
Gearworx Web Hosting
As a premier provider of Web Hosting, Private/White Label hosting, Server Colocation, Dedicated Server, and other Managed Services, Gearworx offers an array of services designed to more effectively manage strategies driving businesses on the Web. Headquartered in Fremont, California our state of the art tier one data centers and distributed managed services environment enables Gearworx to offer your business enterprise level solutions through simplified processes.
Gearworx Web Hosting

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP