Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsXMLXMLgetting a form list from XSL to postgetting a form list from XSL to post
Previous
 
Next
New Post
11/29/2006 2:37 PM
 

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 11:09 AM
 

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 3:50 PM
 
I don't know, never done this, but this might help: http://www.codeproject.com/aspnet/jsnopostback.asp
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsXMLXMLgetting a form list from XSL to postgetting a form list from XSL to post


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out