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  |  

Maximum ASP
  Ads  
 


  Sponsors  

Meet Our Sponsors

WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
Salaro -- Skins and more
OnyakTech
The best choice for your web site host, email hosting, and domain registration.
CrystalTech Web Hosting™
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  User Defined Ta...  UDT 3.4.0 beta
Previous Previous
 
Next Next
New Post 8/21/2007 11:07 AM
User is offline lefnire
30 posts
10th Ranked


UDT 3.4.0 beta 
Wow. Everything is awesome--search, column filter, SQL filter. I especially love the custom xsl generator!!
quick question. the default "grid table settings" allows the user to define a "filter statement" wherein can be used a TON of tokens, which is a boon. However, when defining a custom xsl, only a few context variables (which is what I'm assuming to be the xsl equivalent of the grid table "filter statement" tokens) can be used. any plans to make all the grid table filter tokens available in the custom xsl generator?
also, if you haven't already, you might provide a small "filter statement" example either in the documentation or the (?) button.
 
New Post 8/22/2007 9:22 AM
User is offline Stefan Cullmann
1551 posts
5th Ranked








Re: UDT 3.4.0 beta 

As you already noticed, XSL filtering differs from Grid based filtering. Currently I have no idea how to provide all grid table filter tokens also for XSL. I don't like the idea of working with dynamic XSL scripts, where the tokens inside the XSL script would get replaced on runtime before transformation.

The grid based filtering  syntax is described inside the new (unreleased) documentation.


Stefan Cullmann - stefan.cullmann [at] dotnetnuke.com
form and List will be the successor of the User Defined Table module.
----------------------------------------------------------------------
Do you want to import external data to form and List /User Defined Table?
Check out http://www.codeplex.com/Csv2UDTImport
 
New Post 8/22/2007 11:40 AM
User is offline lefnire
30 posts
10th Ranked


Re: UDT 3.4.0 beta 

here are the exported module xml and the modified xsl file that i was discussing on gemini. 

these were my steps:
1) manage user defined table -> display settings (for current page) -> rendering method -> predefined xsl transformation -> show xsl source code
2) I saved that source onto my desktop and modifed it using stylus studio.  I added the google maps div tag and script block in the "detailview" xsl:template element.  I didnt' modify anythin to do with the search form (and i didnt' remove anything, only added that block of code).
3) uploaded the xsl under "user defined xsl transformation".  now the search is jank, sometimes workin on certain columns but not others, and sometimes not workin at all.

 

another thing i noticed.  only when i upload a custom xslt to the XslStylesheets/ directory do they work properly.  if I use an xslt uploaded to the portal root directory, i get "null reference" errors with the red triangle above my UDT.

 
New Post 8/22/2007 6:18 PM
User is offline lefnire
30 posts
10th Ranked


Re: UDT 3.4.0 beta 

 Stefan Cullmann wrote

As you already noticed, XSL filtering differs from Grid based filtering. Currently I have no idea how to provide all grid table filter tokens also for XSL. I don't like the idea of working with dynamic XSL scripts, where the tokens inside the XSL script would get replaced on runtime before transformation.

The grid based filtering  syntax is described inside the new (unreleased) documentation.

Here's what I'm currently doing.  I need [Tab:TabName] (which is an available "filter statement" token, but not in xsl).  So I've created an invisible text column whose default value is [Tab:TabName].  totally jank, but it works.. maybe you could do something similar maintained in the database and completely invisible.

 
New Post 8/23/2007 12:52 AM
User is offline lefnire
30 posts
10th Ranked


Re: UDT 3.4.0 beta 

don't know if this was intentional
when a Page Copy is performed, including a reference to the UDT on the copied page, all custom xsl is lost in the copy.  This applies as well when "Add Existing Module" is used to add a reference to the UDT existing on another page.  The new UDT is rendered using the default grid view.

I can think of situations where this would be preferable, but in my current situation i'd like it to be rendered using the same xsl on all pages.  there should be an option, somethin like "copy over custom xsl?" / "revert copy to default xsl settings?"

 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  User Defined Ta...  UDT 3.4.0 beta
 


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.

 


Powered by Adcuent®.Com
Adcuent® Consulting & Technology offers custom development web applications and hosting projects under the brand of Powered by Adcuent®.Com
www.adcuent.com
Easily Build DNN Solutions with XMod
XMod makes it easy to build news articles, house listings, custom feedback forms, product reviews and much more - without programming
www.DNNDev.com
Software Development and Integration with DNN
HNP Solutions focuses on the pragmatic use of technology and process to meet an organization's business objectives. HNP Solutions employs seasoned Enterprise and Solution Architects, Delivery Managers and QA & Business Leads. Our capabilities range from project assessments & recommendations, design & code reviews, to full program implementations. We also work with organizations in need of senior staff augmentation purposes in the areas of Enterprise and Solution architecture.
www.hnpsolutions.com

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