Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
5461 Lượt xem

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?

Ảnh đại diện
Huỷ bỏ

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

Câu trả lời hay nhất

Hi,

Try with this xpath,

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

Thanks

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 4 21
8137
1
thg 10 19
4433
1
thg 3 15
13633
8
thg 1 18
43604
2
thg 2 16
8687