File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Grails Application, remoteFunction with Effects

 
vijaya bacina
Ranch Hand
Posts: 155
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I am refreshing a Div with remoteFunction like this

The previous content goes away and refreshes quickly .
can i Effect.Fade the previous div content and Effect.Appear the next content of Div with remoteFunction?
[ April 25, 2008: Message edited by: vijaya bacina ]
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You might want to mention in your thread title that this is a Grails question.

<g:remoteFunction /> has both a before and an after attribute in which you can add your desired effects.
 
vijaya bacina
Ranch Hand
Posts: 155
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried this and the fading and appear not working well together. fading occurs after Appear and the content is blank
 
vijaya bacina
Ranch Hand
Posts: 155
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Worked better like this
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic