This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Struts and the fly likes form-bean unavailable in javascript !! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "form-bean unavailable in javascript !! " Watch "form-bean unavailable in javascript !! " New topic

form-bean unavailable in javascript !!

Anand Gondhiya
Ranch Hand

Joined: Feb 24, 2004
Posts: 155

I use WL 8,Struts 1.1 and Win2000.
NOTE: onloading is equal to "onload" i did this it wasn't letting me post

<body onloading = "AskPrepopulation()">

function AskPrepopulation()
<logic:equal name="candidateForm" property="returningCandidate" value="true">
alert("You are Returning candidate !");

Now , this "candidateForm" works in the jsp page !!! but gives error in javascript.
When I try to load the page it gives erroneous page saying
"No bean found under attribute key candidateForm"

Any suggestions ?
I agree. Here's the link:
subject: form-bean unavailable in javascript !!
It's not a secret anymore!