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  |  

$4.95 Windows Hosting at Webhost4life.com
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
OnyakTech
 


  Sponsors  

Meet Our Sponsors

Salaro -- Skins and more
OnyakTech
The best choice for your web site host, email hosting, and domain registration.
CrystalTech Web Hosting™
Webhost4life, specialists in DNN hosting
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  XML Module [Lea...  getting a form list from XSL to post
Previous Previous
 
Next Next
New Post 11/29/2006 10:37 AM
User is offline Tom Van Wynen
28 posts
www.wycliffe.net
10th Ranked


getting a form list from XSL to post 

Hi Colin and all on this forum,

glad to hear of the plans / progress on the XML module. I can hardly wait to be able to use them.

One thing that isn't really XML related, but I can't find any other place on the DNN Forums to post it because it is unique to the output of the XML / XSLT process: how to get a form list element to post to a new page.

A similar problem includes an AJAX call back to get specific data from an XML file that was used for produce a list of items in the first call.

for the first problem:
I read an XML feed with a parameter (using Simon's modified module for now) to get one of several hundred possible lists of items (languages and language codes in this case). Now I want to use the list to pass a language code parameter to another page so that the modified XML modules on that page can request the XML with the parameter to get results limited by that parameter as a filter.

I can't just use a form submit button, since that doesn't function in the DNN environment. So I need a javascript postback. I think that the core API has this, but it doesn't look like I can use it without being able to register it on the server side, and I can't do that since I am not writing the module code. Right now I am using a small postback javascript that I insert into a text module on the page. I can put it into a .js file on the server and just use a script call, and I can have the XSLT write that all out dynamically to avoid the extra text module.

so my question is: is it possible to use the core API postback scripts directly without registering them in the serverside module? After trying to understand the Client API docs the past few days, it looks like it may not be possible, since the scripts only communicate through settings on the serverside.

My AJAX solution is similar, since I could not figure out how to use the DNN Ajax code directly.

I guess if I use my own js code I need to come up with some kind of namespace convention so my variables don't step on any others.

Any thoughts on this topic would be appreciated,

thanks,  tomvw

 
New Post 11/30/2006 7:09 AM
User is offline Tom Van Wynen
28 posts
www.wycliffe.net
10th Ranked


Re: getting a form list from XSL to post 

sorry, got the wrong name at the top of the above post; that's what comes of writing too many emails at once.

so Stefan and possibly Simon, any thoughts on getting a form list box generated by the XSLT to submit? In this case I need to submit to a new page, with parameters.

thanks, tomvw

 
New Post 11/30/2006 11:50 AM
User is offline Stefan Cullmann
1486 posts
6th Ranked








Re: getting a form list from XSL to post 
I don't know, never done this, but this might help: http://www.codeproject.com/aspnet/jsnopostback.asp

Stefan Cullmann - stefan.cullmann [at] dotnetnuke.com

forms & Lists (UDT5.0) will be the next major release of the User Defined Table project.
A first Preview is available, though it requires DotnetNuke 5 (Beta 5).

Need to import external data to a UDT? Try http://www.codeplex.com/Csv2UDTImport

 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  XML Module [Lea...  getting a form list from XSL to post
 


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.

 


UK DotNetNuke CMS installation, hosting & support
UK based installation, branding, customising, integration, hosting, training, support and maintenance services for DotNetNuke
www.deburca.co.uk
Need Help with your DotNetNuke website?
Jango Studios offers exclusive DotNetNuke Skin Design, Module Development, Web Marketing and Web Hosting.
www.jangostudios.net
Where Every Home is an Investment
Where Every Home is an Investment
www.nestbrokers.com

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