File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

form-bean unavailable in javascript !!

Anand Gondhiya
Ranch Hand

Joined: Feb 24, 2004
Posts: 155
Hi,

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()">
.
.
.
</body>

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

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 ?
thanks
-Anand.
 
I agree. Here's the link: http://aspose.com/file-tools
 
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