cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Morrison <>
Subject form->db (was RE: xBug -Reply)
Date Thu, 20 Jan 2000 15:58:23 GMT
Ricardo, you obviously know how to get data from a html form into a db. 
Would it be possible to knock up a html form + xml example as I would
_VERY_ much appreciate any pointers

>>> "Ricardo Rocha" <> 20/January/2000 02:52pm
On Jan-20-2000 Kevin Sonney wrote:

> Yup - getting the data out shouldn't be a problem with the
> However, there may be an issue with putting data in - DCP might be a
> little better until Donald (or I) can figure out a minor weirdness I'm
> seeing in the SQLProcessor adding stuff to a DB. 

You may want to consider XSP instead of DCP for this. Development,
debugging and usability are much better.

As an example of how you could put data in your SQL database,

      Error loading generated Java classes after restarting
      servlet engine

The XBug XSP library may easily translate this into an
equivalent SQL INSERT statement that would be further
processed by Donald's SQL Processor XSP library...

Of course, in real-world usage, the above example
would be populated from an Html form, like in:

      <request:get-parameter name="platform"/>
      <request:get-parameter name="version"/>
      <request:get-parameter name="component"/>
    . . .

View raw message