We have an application developed using Struts 1.2 and it has been in the production from past 5 years. Application works only in IE not a cross browser application now we have permission to make cross browser application.
I am stuck with id attribute in other browsers. How can I make application to generate id? I know I can use styleId but there are lots of pages which needs to updated. I am just looking is there a doc type which I can use to generate id's?
I am developing an application using JSF2, Primefaces and Hibernate. I have lot of Ajax calls. Can any one advice me how to handle the situation when there is any run time exception like null pointer exceptions, array index out of bound exceptions...?
And also I have a problem to make generic exception handling. Can any body give example for this?
I have a textarea when the user submit the form I need to build xml and update the textarea content to xml. When the user comes back to edit the page I read the xml in javascript fill the form fields.
My problem is I cannot get the textarea content with the same format.
I see what you mean. This is my situation we simply build the vo and send it to this method. This method works for some xmls but not working for in some times.
In that this should throw the exception for all vo's but not working for few vo's with the same data.
I am getting type conflict error while saving the XML in to the database it only happens some times not always. I build the xml and update some fields same structure same elements only data changes.
This is what I am doing
statement.registerOutParameter(++fieldCount, Types.CLOB);.
I was able to fix this by doing this in the following way
If there is any exception occurs every time i have to change indentation. This is odd if I get exception I have to change this.
I am implementing oAuth for igoogle gadgets. We are using JSF 2.0. I would like to know the steps to implement this kind of security in JSF to authorize the social network.
Recently one month back we started a project on JSF. I was searching online to find out about JSF URL configuration like struts. For example I have activation email which will be sent to the user I couldn't get URL to have some user info like user name/key. so that user doesn't have to enter information manually I can configure my bean to get the query param's and bind those values to the properties. I found this pretty faces but I am not sure how much secured it is to have url configuration?