2
我有一個RelationList領域敏捷Info
類型與另一種類型Venue
到有關從/info folder
,而不是從/ folder
?敏捷RelationChoice源路徑定製
我的實例現在運行在Plone的4.2.4和1.2.1 plone.app.dexterity。
我有一個RelationList領域敏捷Info
類型與另一種類型Venue
到有關從/info folder
,而不是從/ folder
?敏捷RelationChoice源路徑定製
我的實例現在運行在Plone的4.2.4和1.2.1 plone.app.dexterity。
爲了限制ObjPathSourceBinder
一個路徑可以做到以下幾點:
[...]
source=ObjPathSourceBinder(navigtion_tree_query = {
"object_provides":"IVenue.__identifier__",
"path": {"query":"/my/path" }
}
),
,或者你可以只添加一個「路徑」參數代碼:
[...]
source=ObjPathSourceBinder(
object_provides,IVenue.__identifier__,
path={"query":"/mysite/media"},
),
的navigation_tree_query
參數IST描述here:
3年前我找到相關的討論:https://groups.google.com/forum/?fromgroups=#!msg/dexterity-development/AU4BXIHttao/AtFdNvO71lsJ 但任何人都可以暗示什麼是這個要求的最佳做法? – marr 2013-04-11 04:02:12