File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes iceSubmitPartial Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "iceSubmitPartial" Watch "iceSubmitPartial" New topic
Author

iceSubmitPartial

sat kadam
Greenhorn

Joined: Aug 25, 2013
Posts: 2

iceSubmitPartial(newForm, removeActionButton) is not working in chrome. Please suggest alternative to fix


Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15957
    
  19

Welcome to the JavaRanch, Sat!

As a general rule, it's not a good idea to manipulate JSF View Components in JavaScript. The results are almost always disappointing. Plus it's a lot of frustrating and arcane work.

If you simply want to make controls invisible (or visible) dynamically, a better approach is to leverage the "rendered=" attribute on the control, making it reference a backing bean property that can be set or reset as needed. Then use AJAX to re-render the control as needed.

If you do that, you'll have simpler code, far less grief, and it won't be IceFaces dependent. That particular solution works for all JSF platforms.


Customer surveys are for companies who didn't pay proper attention to begin with.
sat kadam
Greenhorn

Joined: Aug 25, 2013
Posts: 2
hi Tim,
Thanks for your reply.

The code i have specified below works perfectly in IE 10 but it does not works for chrome.

Q1) How can i make the iceSubmitPartial working in chrome?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: iceSubmitPartial
 
Similar Threads
Clear arraylist data in jsp using Ajax
How to set timer for select the time am to pm on front end in a jsp page like calender for date?
Nested Tag (in Form of Table ) :: not able to submit masterForm
I want to implement editable autocompleter in struts2 using jquery.
Select All