This project is read-only.

Interpreting "Wrappers" in Shape-Tracer

Topics: General
Jan 17, 2012 at 10:18 PM

In the shape-tracer, if I see this:

Wrappers (2)

...I know it means there are at least two wrappers I could define, and two samples will be shown to me.  However, if I see this:

Wrappers (0)

...I'm not sure what that means.  Does it mean that no wrapper is possible at that point?  For example, the shape tree I'm looking at is:

Zone [Content] -> Content -> List

The specific shape there is "Parts_Blogs_BlogPost_List".  The HUD indicates "Wrappers (0)".  Does that mean no wrapper is possible?  And if a wrapper is possible, why are no suggested wrappers shown?

Jan 17, 2012 at 10:51 PM

If it says Wrappers(0) it means that there are zero wrappers... A wrapper is always possible around any shape.

Jan 18, 2012 at 12:02 AM

Ok, but why are wrapper suggestions given in some cases, but not given in others?

Perhaps the answer is that suggestions are given only if there is already an active wrapper?

Jan 18, 2012 at 12:17 AM

They're not "suggestions", a piece of code (typically shape events) has specified the wrapper.