The problem that i am seeing is that i have a class that loads data from a 
database that creates an FormBeanObject (Depending on the type of formbean 
passed in).  The code works.  But for some reason  the formbean no longer 
fills the html:text fields on the page.  I have tried to reset it back to 
the page by using
pageContext.setAttribute("pressReleaseForm", pressReleaseForm);

But it did not work.  The reason i am doing this and not calling the action 
is that i am also using vignette and i can not call the action from the 
front end of vignette.

<jsp:useBean id="pressReleaseForm" scope="page" 
class="com.ba.corp.forms.pressReleaseForm" />


<%
String id = 4;

Connection con = dbCon.getConnection("content");

if (id==null) {
        System.err.println("Insert");
        id = "0";
} else {
        System.err.println("Update");

        pressReleaseForm = (com.ba.corp.forms.pressReleaseForm) 
loadData.loadFormBean(con,"com.ba.corp.forms.pressReleaseForm",Integer.parseInt(id));

        System.err.println(     "The title is " + pressReleaseForm.getReleaseTitle());


_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to