Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ajax is not workin via EI 9

 
chen young
Ranch Hand
Posts: 197
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

The following code is working via FireFox but not via EI 9:


Any ideas why ?

Thanks
 
Tim Holloway
Saloon Keeper
Posts: 18303
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, the dirty work seems to be being done by a javascript function named "uploadFile", and considering the notorious compatibility issues between different javascript containers, that's the first place I'd look.

BTW, the EL expression rendered="#{user.rendered == false}" is doing things the hard way. Try coding it as rendered="#{not user.rendered}"
 
chen young
Ranch Hand
Posts: 197
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Thanks for the fast replay
I delete the IE cache and now it’s working ok.

regarding the rendered what do you mean by "doing things the hard way" ?
 
Tim Holloway
Saloon Keeper
Posts: 18303
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
chen young wrote:Hi,

Thanks for the fast replay
I delete the IE cache and now it’s working ok.

regarding the rendered what do you mean by "doing things the hard way" ?


Testing a logical variable for a logical value is redundant. "If X == TRUE THEN..." has the exact behavior as "IF X THEN ..." and "IF X <> TRUE" or "IF X == FALSE" are both the same way as saying "IF NOT X".
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic