简体   繁体   中英

How to configure the Fields plugin to filter the domain

I have an Author who has a Book.

class Author {
   String name
   Book book
}

The <f:all bean="Author"/> tag in the edit.gsp will create a html textbox with the Author.name and a html dropdown box with all the books in the html element.

How to setup the Fields plugin to only show just a sub-set of the books (not all the books)?

(from the question...)

How to setup the Fields plugin to only show just a sub-set of the books (not all the books)?

(from a comment...)

So, I want the Fields plugin to fill out the book dropdown with all the books that are published by Penguin only.

The fields plugin does not provide a mechanism to do that filtering.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM