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 ForumsXMLXMLXML Update TimelineXML Update Timeline
Previous
 
Next
New Post
7/20/2006 4:44 PM
 

The employee list will be a xml generated list too?

So the generic use case will be

  • master - detail
  • and other relationship scenarios?

Should detail views be shown as separate pages? Something like

/tabid/4711/view/emplyeedetail/employee/samkuehnID/default.aspx
or
default.aspx?tabid=4711&view=employeedetail&employee=samkuehnID
?

 

 
New Post
7/21/2006 4:10 PM
 
Stefan Cullmann wrote
 samkuehn wrote

 xsl params should be built into the core module.  There is no good reason for leaving them out.

Your proposed code adds the querystrings as xsl-parameters. Can you please discribe a use case for that?

My use case is at www.vashon.biz (temp url for a site still under development): a bunch of animals at a pet shelter. I have one XSLT file that I would like to pass in parameters to. The parameters  are:
   Species: Cat, Dog, Other, or All
   Status: Lost, Found, Adoptable, Other, or All
   SortBy: Number or Name

Currently I have 1 XML file and 5 different XSLT files that only differ in the top few lines where I hardcode these parameters like so:

<?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  <!-- Value values to sort on are: ID, Name -->
  <!-- BUGBUG: ALSO must set this on line 100 & 101-->
  <xsl:param name="sortBy">Name</xsl:param>

  <!-- Valid values for 'select Species': Cat, Dog, or All-->
  <xsl:param name="selSpecies">Dog</xsl:param>

  <!-- Valid values for 'Status': Adoptable, Lost, Found, or All-->
  <xsl:param name="Status">Adoptable</xsl:param>

  <!-- Number of characters of the Description to display-->
  <xsl:param name="DescLen">1024</xsl:param>

...

 

What would be better would be to have a couple controls at the top of the page that would allow user to select their settings on the same page rather than going to different pages - which is what I force them to do now. 

- John

 
New Post
7/25/2006 11:19 AM
 

Basically I am talking about the same thing as John but instead of having 5 xsl files it would be nice if he could just do:
  <!-- Valid values for 'select Species': Cat, Dog, or All-->
  <xsl:param name="selSpecies">$Species</xsl:param>
Where Species was a query string param.  I have always used it where the detail page is a different page.  So I will have a listings page, in this case a it would have a bunch of species as links.  Those links would embed a query string parameter in the link(I usually create this page using the XML module as well).  Then I have a detail page that gleans the correct species from the query string and displays the info specific to that species.

Hope this makes sense.

 
New Post
7/25/2006 8:11 PM
 

Sam & John, thank you for your input. It all makes sense to me.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsXMLXMLXML Update TimelineXML Update Timeline


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