Menu

#9 Default tag values

open
nobody
None
5
2005-04-26
2005-04-26
No

Add a "default" attribute to the DataView tag expander
code so that when a tag cannot be expanded a default
value gets inserted. This will be useful for such
things as putting parameters in templates that can be
overridden by DataView applications. For example
imagine a <#PAGEWIDTH> tag that could be used in a
template to define the page with. Without a default
the applications would be forced to supply a page
width. With a default value they could supply the
width only when they want to by using the syntax
<#PAGEWIDTH default=550>. This could of course be
inserted into a number of places in a template such as
tables.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.