File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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 !!
Similar Threads
Peculiar problem with js and css file
logic tags in struts
Issue in populating field in parent window
how to define multiple beans
bean value persists on clicking back