Mike Krech

Greenhorn
+ Follow
since Jun 19, 2008
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Mike Krech

I have a flex application embedded in a JSF. When the page initially loads the flex application calls javascript functions that pull values from a inputhidden field. These four fields are populated from the backing bean. This works when the page loads - no problems.

My issue arises when the user hits the save button in the flex app. The call from flex to the javascript when it reloads subsequently fails. Once the first SAVE is made the javascript fails to get the values from the inputHidden fields.

After a TON of debugging the error I'm getting in javascript is "Object Required". So I managed to figure out that the JSF form, <h:form> and everything inside of it is not visible by the javascript. It all shows up in the browser and if you view source, it all shows up there. Javascript just cannot see it.

I did a getElementsByTagName('input'). On first load I get everything I should - including all of the inputHidden tags inside of the form. Once the save button is clicked NONE of the elements in the form are available in javascript.

I'm really stuck and could use any help.
14 years ago
JSF