Login  Register

Re: RE: Re: RE: Re: RE: Re: RE: Re: <p:param type="input" name="instance"/>

Posted by fl.schmitt(ops-users) on Mar 07, 2011; 2:03pm
URL: https://discuss.orbeon.com/p-param-type-input-name-instance-tp3338458p3339025.html

Smaran,

> Actually I want  user-id also to be inserted in database. Like I need
>  to add column  userID.Is that possible. If so please tell me where I
>  need to modify  the code exactly.so that we can go ahead and close
>  this poc before we  purchase your PE of orbeon

to guard against misunderstandings, i can't speak for orbeon, i'm just a
simple user trying to assist you. So i can't promise that it's possible
to implement any feature.

Regarding the user ID: the easier part would be to modify the
persistence layer (adapting the db scheme and the crud.xpl). In
crud.xpl, the sql commands are created based on literals and modified
using XSLT. Basically, crud.xpl calls the SQL processor (1), offering a
very flexible way to connect OF with SQL databases. To make an
additional db column accesible, you just could insert another sql:param
element in lines 356-372 of crud.xpl.

But i can't tell you how to handle that data in FormBuilder /
FormRunner, because i don't use FB/FR in my own XForms application, so i
don't know where the data structures are defined inside  FB/FR.

HTH
florian

(1) http://www.orbeon.com/orbeon/doc/processors-sql




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws