Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * @author Alidad Soleimani
- */
- VIEWS (GSP):
- ...
- <g:javascript src="jquery/jquery-1.6.2.min.js" />
- ...
- <style type="text/css">
- .ui-autocomplete-loading {
- background: white url(${ resource(dir : 'images', file : 'ajax-loader.gif')}) right center no-repeat }
- </style>
- ...
- <label>Author Name:</label>
- <g:autoComplete id="authorId"
- action='autocompleteAction'
- controller='AnyController '
- domain='Author'
- searchField='name'
- value=''
- />
- <label>Book ISBN:</label>
- <g:autoComplete id="bookId"
- action='autocompleteAction'
- controller='AnyController'
- domain='Book'
- searchField='isbn'
- value=''
- />
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement