hmmm... i am confused again..

    <xsp:logic>
        Form form = (Form)request.getAttribute("woody-form");
        Field field = (Field)form.getWidget("customerId");
    </xsp:logic>

The field customerId is there and has a value.. but it gives me
java.lang.NullPointerException.. which makes me think with v2 I have to
change how I get a handle on the widgets...

any help?

JD

-----Original Message-----
From: Bruno Dumon [mailto:[EMAIL PROTECTED]
Sent: April 28, 2004 10:53 AM
To: [EMAIL PROTECTED]
Subject: RE: Accessing repeater in xsp Using V2 woody


On Wed, 2004-04-28 at 21:42, JD Daniels wrote:
> I am using 2.1.4 (pre cocoon forms)
>
> CocoonFormsInstance result sin a null pointer exception...
>
> What would the woody version be?

"woody-form"

--
Bruno Dumon                             http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
[EMAIL PROTECTED]                          [EMAIL PROTECTED]


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



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

Reply via email to