0
def preconfigure_record_window(c)
super
c.header = true
c.width = 600
c.draggable = false
c.title = "New Title"
end
在此代碼中,我想更改表單標題。不管我想它顯示的是默認的標題Add
Netzke更改表單標題標題
def preconfigure_record_window(c)
super
c.header = true
c.width = 600
c.draggable = false
c.title = "New Title"
end
在此代碼中,我想更改表單標題。不管我想它顯示的是默認的標題Add
Netzke更改表單標題標題
你需要單獨定義它的添加和編輯操作:
component :add_window do |c|
super(c)
c.title = "New title - add"
...
end
component :edit_window do |c|
super(c)
c.title = "New title - edit"
...
end
感謝,它的工作原理... – ejo