• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

f:ajax does not render in IE 8

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi i'm new at these.

I'm using JSF 2.0. I have a <h:inputText> with a valueChangeListener. It goes to the bean with the blur event and returns the data from a web service and renders 9 more fields.

This works fine on Firefox and Chrome, but on IE it goes to the bean find the data but it's not rendering the 9 other fields.

I have been searching everywhere and reRender with a4j supposedly works but i cant use RichFaces.

Here is the relevant part of the code:



How is this caused and how can I solve it?

Thanks!
 
Ranch Hand
Posts: 218
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Code looks ok, I'd suggest adding an h:messages somewhere on the page (if not already) just to check that there
aren't any validation issues - but of course there shouldn't be if it's working ok on other browsers. So... I'd wipe
the IE browser cache and try again. I've had similar issues where this has helped (for reasons unknown!).

Is it possible to wrap all those render targets in a panelGroup and just render the panelGroup? You're using JSF
1 with which I have little experience but perhaps there's a limit or bug on the number of render targets? check the
JIRA, and try just rendering a single target component and working up from there.


Regards,
Brendan.
 
Ranch Hand
Posts: 171
Spring Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Brendan, its a absolutely great suggestion. Last time I've had the same problem of not submitting the form but no errors, but after added h:messages I seen the validation errors displayed.
 
Gustavo Delgado
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi guys... thanks for the quick answers! i'd added the h:message and nothing... i'd removed the other 8 field to render and also try cleaning the browser cache... with no results...

Thanks for the suggestions! if you find something else please let me know... (Y)

Regards!
 
Brendan Healey
Ranch Hand
Posts: 218
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You'll need h:messages, not h:message, unless you use for=.
 
Gustavo Delgado
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
sorry i meant, h:messages.. but the same result... i also try changing the Mojarra version from 2.04 to 2.0.6 and 2.0.3 and nothing...
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic