Well I'm giving up on this...
RenderBody renders the body of a component right? Well here's what
I've been trying to do:

<span jwcid="@Border">
      <span jwcid="@TabPanel" blockNames="ognl:user.groupList">
                
      </span>
</span>


if I put "a" inside the TabPanel component it's displayed. but what if
I'd like to have diferent pages inside the component?
My TabPanel renderComponent method:

protected void renderComponent(IMarkupWriter writer, IRequestCycle cycle) {
                super.renderComponent(writer, cycle);
                Categories c = (Categories)cycle.getPage("Categories");
                Visit visit = (Visit)getPage().getVisit();
                User user = visit.getUser();
                Group group = (Group) user.getGroupList().get(0);
                c.setCategoryList(getUserService().getCategories(group));
                cycle.activate(c);
        }

What I was expecting is the Categories page be rendered inside my
component. Which does not occur.

I'm really having a big headache with this component. I'm not a new
developer so I guess it's not an easy to deal component.

How could something so simple as having nested ("tiles") be so problematic.

Any ideas please???

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

Reply via email to