You always have to tell the xml parser the namespace of an attribute if two attributes with the same name collide. In this case Tapestrys id attribute would collide with the (X)HTML id attribute, therefore you have to distinguish it with t:id.

Cheers,

Uli

Luther Baker schrieb:
I have what I hope is a simple question.

Sometimes, the attributes in a Tapestry specific component tag require the
tapestry namespace. Sometimes they do not.

            <t:parameter name="file">
                <p><t:label for="file"/>: <t:upload *t:id*="file"
validate="required"/></p>
            </t:parameter>

Here, "t" is required for t:id ... does ID always required the "t"
namespace? Other attributes do not need "t".

Thanks,

-Luther



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to