A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Arduino in Action
this week in the
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
tag attributes shortcut
Joined: Feb 15, 2003
Oct 30, 2003 13:20:00
Is there a way to do some kind of shortcut attribute passing? Let me give you an HTML example:
<TD nowrap>nowrap must be some kind of implicit attribute.</TD>
So if I wanted to pass along a boolean value in this way, is it possible?
<my :-P anel minimizable="true" />
could I do
<my :-P anel minimizable/>
Author and ninkuma
Joined: Jan 10, 2002
Oct 30, 2003 13:27:00
custom tags must follow strict XML rules. That means no "shortcuts".
In fact, in xhtml your td tag would need to be written as <td nowrap="true">. I code this way for completeness even when coding the page as HTML4.
Books by Bear
I agree. Here's the link:
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: tag attributes shortcut
nbsp in .xsl?
headache with validation framework
Cannot retrieve mapping for action /content/AddLinks
Linebreak in HTML/CSS within a table
When Validation Error I Lose My Bean Value-Struts 2
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013