How to get around not putting name=fb on bP ConentAdminEdit?

Rick Reumann <[email protected]>
Newsgroups gmane.comp.java.mvc.devel
Message-ID <[email protected]>
A while back I had a problem trying to figure out why I was getting
funky null pointer errors etc. It turns out I wasn't paying attention to
how the ActEvent setBean() was putting my form in scope with the value
"fb" from my Constants file. That's all well in fine and I can just
label my form properties...

<html:text name="fb" property="requestedBy" />

But how on the bP ContentAdminEdit.jsp page are you able to use:

<html:text property="pageURL" size="70"/> , etc.

without using the name="fb" attribute??  It looks like you are using the
same ActEvent setBean(..) method which put's all the formBeans in scope
with "fb" as the name. I could see not having to use name="fb" if the
actionMapping for the form name matched up with the object in scope but
the action mapping form names are all different and meaningful (as they
should be ie- name="contentBean").

Maybe I'm zoning out on something stupid:)

thanks for any help,

-- 
Rick Reumann
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.