This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

form-bean unavailable in javascript !!

 
Anand Gondhiya
Ranch Hand
Posts: 155
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic