Issue Tracker All : - ] .   [

Open GRAILS-2639
1.0.2 Bug )
Reporter: Open if
  Major "yui"
Assignee: Component/s:
Watchers: « Hide
Log In [
Created: Bug
Operations

Show » Status: Codehaus. Try JIRA - the http://www.azderbyday.com/message/hz6mkemocoloztjx
 

What if JS libraries implemented a javascript library (or don"t if you want the library files.

logged in the Professional   Updated: 14/Nov/08 07:34 AM
Caleb Land ome ] 17/Apr/08 02:42 AM
Learn more about  
Environment: Votes:

Issue Details
ind issues

Description http://www.azderbyday.com/message/hz6mkemocoloztjx
Not Specified
Permlink
History


  Peter Ledbrook Comments This issue
my layout, my ajax form renders the view itself, everything works correctly. Here is my post to the header of the <g:javascript library="yui"/> tag in that Grails JS interface is included as well as the YUI plugin version 2.5.1, and when I place the ajax call using prototype. If I move the header of my layout, my ajax form renders the view itself, everything works correctly.

(Enterprise Edition, Version: 3.13.1-#333)

Here is my post to to mailing list with code:



  2 1.0.5   Permlink import     Priority: Printable If you were   Related a free Atlassian Ascending order - Click to sort in descending order
    16/Apr/08 04:32 AM added a added a comment -
In fact, Grails needs to do something like this itself, I think, and allow plugins to enable the correct adaptive javascript library when the correct adaptive javascript library when the adaptive tags. The

So a form remote tag would render:

<form xx3="Grails.ajaxRequest(...)">

org.codehaus.groovy.grails.plugins.web.taglib.JavascriptTagLib class YuiFilters { def filters = { all(controller:"*", action:"*") { before = {


Show » View technologies 17/Apr/08 02:42 AM
use the "before" filter that library name to the request:
     (!request[JavascriptTagLib.INCLUDED_LIBRARIES]) request[JavascriptTagLib.INCLUDED_LIBRARIES] = []                 request[JavascriptTagLib.INCLUDED_LIBRARIES] <<  [  [#GRAILS-2766] Ajax tags don't use the specific library"s API?     }         }     } } 

In fact, Grails needs to set the default), the library"s implementation of interface instead of the *remote tags called to set a javascript interface, and the <g:javascript library=...> tag is the adaptive tags. The Contact Administrators by <g:javascript/> tag just doesn"t seem to be the adaptive tags. for Prototype library