aspose file tools
The moose likes Struts and the fly likes form-bean unavailable in javascript !! Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Reply 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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: form-bean unavailable in javascript !!
 
Similar Threads
Peculiar problem with js and css file
logic tags in struts
how to define multiple beans
Issue in populating field in parent window
bean value persists on clicking back