跳至內容
選單
此問題已被標幟
2 回覆
5624 瀏覽次數

I want to add a page to a model that originally doesn´t have a notebook

I´ve tried using:

<xpath expr="/form/sheet/" position="inside">
<xpath expr="/form/sheet/" position="append">

But neither of them worked, how should it be done?

頭像
捨棄

See inheritance in model and views: https://goo.gl/4Zyc9d

最佳答案

Hi,

Try with this xpath,

<xpath expr="//sheet" position="inside">
<notebook>
<page string="aaa"></page>
</notebook>
</xpath>

Thanks

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
3
4月 21
8362
1
10月 19
4595
1
3月 15
13804
8
1月 18
43892
2
2月 16
8818