On 9/15/06, Jacek Wiślicki <[EMAIL PROTECTED]> wrote:
Wiadomosc od Edgar Poce z 2006-09-15 17:53 brzmiala:

> Unfortunately this code only works when the request is a
> RenderRequest, it seems that in ActionRequests the ContentFragment can
> not be retrieved. Is there any way to get the ContentFragment from an
> ActionRequest?
I afraid not :(


is there any reason for it not being available in ActionRequests?,
shoud I open a JIRA issue?

> Another problem is that I can't navigate the hierarchy from a fragment
> to the parent page. There's no method in ContentFragment that allows
> me to get the parent fragment and thus build a path that includes the
> decorator fragments. Is there any way to build that path that I'm
> missing.
As far as I remember, a Fragment implements a Node interface. This
interface ensures getParent() method.


Well, as far as I can see the inheritance is something like

SecuredResource > BaseElement > Fragment > ContentFragment

and none of those interfaces has a method to get the parent.

br,
edgar

--
pozdrawiam,
     Jacek Wislicki

[EMAIL PROTECTED]
http://www.nauka-biznes.org.pl/jetspeed/portal/
tel.: +48 502 408 444
gg: 2540358
skype: jacek_wislicki

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


Reply via email to