Hi,
So, you have already tried two different approaches:
(a) how to determine if a child catalog item component has rendered
content by attributes somehow,
(b) the new feature (
https://issues.onehippo.com/browse/HSTTWO-2183)
available only in 10.
Regarding the approach (a), I initially thought that you could achieve
your goal easily with that, but it seems hard or almost impossible.
For example, if the child catalog item component was able to check the
status of contentBean and set hstRequestContext attribute to a flag
value with the its own componentWindow name as attribute name, then the
parent component could have been able to check the flag attributes by
iterated key from HstResponse#getChildContentNames().
HstResponse, unfortunately, doesn't have a method like
HstResponse#getContentName() as compared to
HstResponse#getChildContentNames() for child windows.
So, it seems hard or impossible to set a flag attribute by its own
window name.
I think it would be a simple/good improvement to add
HstResponse#getContentName() to return its own window name for this kind
of use case.
What do others think?
Regarding the approach (b), according to the SVN log, it doesn't seem to
be trivial to backport the feature to 7.8.
Therefore, personally, I would ask for a simple improvement with the
approach (a). So, if the child component could set a flag attribute by
HstResponse#getContentName() and the parent component can check the flag
to render or not, then you could have achieved the goal very easily.
Regards,
Woonsan
> <
http://groups.google.com/group/hippo-community>.
> <
https://groups.google.com/d/optout>.
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>> --
> >>>>>>> Hippo Netherlands, Oosteinde 11, 1017 WT Amsterdam, Netherlands
> >>>>>>> Hippo USA, Inc.- 745 Atlantic Ave, Eight Floor, Boston MA
> 02111,
> >>>>>>> United states of America.
> >>>>>>>
> >>>>>>> US
+1 877 414 4776 (toll free)
> >>>>>>> Europe
+31(0)20 522 4466
> >>>>>>>
www.onehippo.com <
http://www.onehippo.com>
> <
http://groups.google.com/group/hippo-community>.
> <
https://groups.google.com/d/optout>.
> >>>>>
> >>>>>
> >>>>>
> >>>>> --
> >>>>> Hippo Netherlands, Oosteinde 11, 1017 WT Amsterdam, Netherlands
> >>>>> Hippo USA, Inc.- 745 Atlantic Ave, Eight Floor, Boston MA 02111,
> >>>>> United states of America.
> >>>>>
> >>>>> US
+1 877 414 4776 (toll free)
> >>>>> Europe
+31(0)20 522 4466
> >>>>>
www.onehippo.com <
http://www.onehippo.com>
> >>>>
> >>>> --
> >>>> Hippo Community Group: The place for all discussions and
> announcements
> >>>> about
> >>>> Hippo CMS (and HST, repository etc. etc.)
> >>>>
> >>>> To post to this group, send email to
>
hippo-c...@googlegroups.com <javascript:>
> >>>> RSS:
> >>>>
> >>>>
>
https://groups.google.com/group/hippo-community/feed/rss_v2_0_msgs.xml?num=50
> >>>> email to
hippo-communi...@googlegroups.com <javascript:>.
> <
http://groups.google.com/group/hippo-community>.
> <
https://groups.google.com/d/optout>.
> >>>
> >>>
> >>>
> >>> --
> >>> Hippo Netherlands, Oosteinde 11, 1017 WT Amsterdam, Netherlands
> >>> Hippo USA, Inc.- 745 Atlantic Ave, Eight Floor, Boston MA 02111,
> >>> United states of America.
> >>>
> >>> US
+1 877 414 4776 (toll free)
> >>> Europe
+31(0)20 522 4466
> >>>
www.onehippo.com <
http://www.onehippo.com>
> >>>
> >>> --
> >>> Hippo Community Group: The place for all discussions and
> announcements
> >>> about Hippo CMS (and HST, repository etc. etc.)
> >>>
> >>> To post to this group, send email to
hippo-c...@googlegroups.com
> <javascript:>
> >>> RSS:
> >>>
>
https://groups.google.com/group/hippo-community/feed/rss_v2_0_msgs.xml?num=50
> >>> email to
hippo-communi...@googlegroups.com <javascript:>.
> <
http://groups.google.com/group/hippo-community>.
> <
https://groups.google.com/d/optout>.
> >>
> >> --
> >> Hippo Community Group: The place for all discussions and
> announcements about
> >> Hippo CMS (and HST, repository etc. etc.)
> >>
> >> To post to this group, send email to
hippo-c...@googlegroups.com
> <javascript:>
> >> RSS:
> >>
>
https://groups.google.com/group/hippo-community/feed/rss_v2_0_msgs.xml?num=50
> >> email to
hippo-communi...@googlegroups.com <javascript:>.
> <
http://groups.google.com/group/hippo-community>.
> <
https://groups.google.com/d/optout>.
> >
> >
> >
>
>
> --
>
w....@onehippo.com <javascript:>
www.onehippo.com
> <
http://www.onehippo.com>
> Boston - 745 Atlantic Ave, 8th Floor, Boston MA 02111
> Amsterdam - Oosteinde 11, 1017 WT Amsterdam
> US
+1 877 414 4776 (toll free)
> Europe
+31(0)20 522 4466
>
> <mailto:
hippo-communi...@googlegroups.com>.