Shash Chatterjee wrote:

Berin,

Can you just state the handling of the hint: "default"? Is it really the first one? What is intended to happen if I have an id="default" as the 2nd component, but id="myid" as the first component and then ask for "default"? Maybe that's why "*" makes more sense.
I separated out the "default" entry, and I made it consistent with what
the Cocoon folks are expecting.  In AbstractContainer, there is a
constant named DEFAULT_ENTRY, and one named SELECTOR_ENTRY.  The
DEFAULT_ENTRY has a value of "*", and SELECTOR_ENTRY has a value of "$".

So yes, the default entry is the first one.

The only exception is if you add the following attribute to your
component declaration:

default="true"

In that case, it will override what is currently set as the Default with
this version.

You would never ask for "default" unless you had an id="default".


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

Reply via email to