Hi,
If you look at node structure in other document examples, then it should
be clearer.
Anyway, because the mirror node is a child node, you should use
#addNode(..) API first to add the mirror node. After that, you can set
properties for the mirror node. And, you can save it.
HTH,
Woonsan
On 1/30/15 12:35 AM, Global Edge Software Ltd wrote:
> I get the below compile time error. I am sure that the method does not
> have an argument like List<HippoMirror>. So how do I set this property?
>
> error: no suitable method found for setProperty(String,List<HippoMirror>)
>
> Thank you
>
> On Thursday, January 29, 2015 at 6:02:01 PM UTC+4, w.borgbarthet wrote:
>
> What's the compile time error? Unhandled exceptions?
>
> On 29 January 2015 at 08:12, Global Edge Software Ltd
> <
ges.ma...@gmail.com <javascript:>> wrote:
>
> Apologize for the typo in node property. It is hippo:mirror
>
>
> On Thursday, January 29, 2015 at 5:10:46 PM UTC+4, Global Edge
> Software Ltd wrote:
>
> Hi All,
>
>
> How to set set node property hippo:mirrro in bind method of
> a persistence bean?
>
> Here are the getters and setters
>
> public List<HippoMirror> getNews() {
> if (null == news) {
> news = getChildBeansByName("estro:__news");
> }
> return news;
> }
>
> public void setNews(List<HippoMirror> news){
> this.news.addAll(news);
> }
>
>
> and the set property of node is below is showing compile
> time error
>
> node.setProperty("estro:news", newsBean.getAbstracts());
>
>
>
> Thank you
>
> --
> 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
> <javascript:>.
> <
http://groups.google.com/group/hippo-community>.
> <
https://groups.google.com/d/optout>.
>
>
>
>
> --
> Amsterdam - Oosteinde 11, 1017 WT Amsterdam
> Boston - 745 Atlantic Avenue, Boston, MA 02111
>
> US
+1 877 414 4776 (toll free)
> Europe
+31(0)20 522 4466
>
www.onehippo.com <
http://www.onehippo.com/>
> <mailto:
hippo-communi...@googlegroups.com>.
w....@onehippo.com www.onehippo.com
Boston - 745 Atlantic Ave, 8th Floor, Boston MA 02111
Amsterdam - Oosteinde 11, 1017 WT Amsterdam