My bad, I should of read your question a bit more thoroughly. This is by far
the an elegant solution, but would accomplish your goals. Use
request.getParameter("User-Agent") to get your browser type and surround
javaScriptSupport with a conditional statement. 

  @Inject @Path("${tapestry.scriptaculous}/dragdrop.js")
  private Asset dragDropLibrary;

  @Environmental
  private JavaScriptSupport javaScriptSupport;

  @Inject 
  private Request request;

  void setupRender() {    
     if(browserCondition) {
         javaScriptSupport.addScriptLink(dragDropLibrary);
     }
  }
 

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Conditionally-IE-including-javascript-tp5714506p5714578.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to