hi....
thanks for the answer u have send for mysql database support in orbeon form builder.... i have done the same thing what u have said previously...every thing going fine but if i put the line "<property as="xs:anyURI" name="oxf.fr.persistence.app.uri.*.*.*" value="/fr/service/mysql"/>" in the file "properties-local.xml" the "publishit" button is not working.......so am not able to publish it .. even the sample like "bookshelf appl" the value is not stored in mysql databse...... am installing the mysql databse using apt-get-install mysql (linux machine)... |
I am out of the office until 26th July *********************************************************************************************** This email, including any attachment, is confidential and may be legally privileged. If you are not the intended recipient or if you have received this email in error, please inform the sender immediately by reply and delete all copies from your system. Do not retain, copy, disclose, distribute or otherwise use any of its contents.
Whilst we have taken reasonable precautions to ensure that this email has been swept for computer viruses, we cannot guarantee that this email does not contain such material and we therefore advise you to carry out your own virus checks. We do not accept liability for any damage or losses sustained as a result of such material.
Please note that incoming and outgoing email communications passing through our IT systems may be monitored and/or intercepted by us solely to determine whether the content is business related and compliant with company standards. *********************************************************************************************** The Stationery Office Limited is registered in England No. 3049649 at 10 Eastbourne Terrace, London, W2 6LG
|
In reply to this post by vidhyanatarajan
In my version of the orbeon form publish button will be disabled until you save the form. First try to save the form. See whether you get an entry in orbeon_form_data. If not, open a file called orbeon in logs folder of tomcat .. You will get an idea of what went wrong. Anyway i have given the procedure for mysql support in orbeon. Make sure you followed these steps!
1. Run the following data definition statements to create the tables: create table orbeon_form_definition ( created timestamp, last_modified datetime, username varchar(256), app varchar(256), form varchar(256), deleted char(1), xml mediumtext ); create table orbeon_form_definition_attach ( created timestamp, last_modified timestamp, username varchar(256), app varchar(256), form varchar(256), deleted char(1), file_name varchar(256), file_content longblob ); create table orbeon_form_data ( created timestamp, last_modified timestamp, username varchar(256), app varchar(256), form varchar(256), document_id varchar(256), deleted char(1), xml mediumtext ); create table orbeon_form_data_attach ( created timestamp, last_modified timestamp, username varchar(256), app varchar(256), form varchar(256), document_id varchar(256), deleted char(1), file_name varchar(256), file_content longblob ); 2. Download mysql-connector-java-5.1.12-bin.jar and place it in apache-tomcat\lib folder 3. In the conf.xml insert the database details e.g <Resource name="jdbc/mysql" auth="Container" type="javax.sql.DataSource" initialSize="3" maxActive="10" maxIdle="20" maxWait="30000" driverClassName="com.mysql.jdbc.Driver" poolPreparedStatements="true" username="orbeon" password="orbeon" url="jdbc:mysql://localhost:3306/orbeon"/> 4. Navigate to properties-local.xml file in \orbeon\WEB-INF\resources\config. Initially you have to rename properties-local.xml.template file to properties-local.xml and insert the following line <property as="xs:anyURI" name="oxf.fr.persistence.service.mysql.datasource" value="mysql"/> the value attribute is same as resource name mentioned in the previous step(excluding jdbc/) 5. Add the following line to the same file to denote that all forms you create through orbeon uses mysql database <property as="xs:anyURI" name="oxf.fr.persistence.app.uri.*.*.*" value="/fr/service/mysql"/> Thts it ! After you make these changes you should construct a form, save it , publish it. Then you shld check the table you created. The form will be stored as xml in the database! |
And moreover please do not start another thread for the reply ! Continue your discussion in the same thread !
|
Hi,
I would like to implement some of the future features listed on http://wiki.orbeon.com/forms/welcome/form-builder-direction http://wiki.orbeon.com/forms/projects/form-builder-future-features Basically, what I would like to implement is to have sort of the next page or page flow in a Form Builder and/or allow the previous form data posted to be available to the form's "input:instance". I'm thinking if this is the feature listed on http://wiki.orbeon.com/forms/projects/form-builder-future-features - Next/prev doc when viewing a form - [ #314761 ] FR: RFE: Ability to POST form data to a particular URL upon send If my understanding is correct, I would just like to know if anyone can give any high level direction on where to proceed with the changes. I think I can get some resources to contribute to the implementation, but would greatly appreciate if some high level help can be given so that save significant amount of time by reading the code from scratch. Please let me know if it's possible. Thanks. Han Ming -- 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 |
Administrator
|
Han,
The "Next/prev doc when viewing a form" feature might be different from what you have in mind. This one makes sense when form are like records. Say in the Bookshelf example, this would allow you to navigate through books from the detail page by hitting a "next" or "previous" button, which would be equivalent to going back to the details page, and choosing the next (or previous) book. Now regarding submitting and receiving XML: 1. Submitting XML is a feature we would like to add. It could come in two flavors: submit (POST) to a page you are "going to" (i.e. you POST XML to that page, and it returns HTML shown to users), or submit to a REST/web service. 2. Receiving XML that you use as the instance is already something you can do today. See the section "Initial instance posted to the New Form page" on: http://wiki.orbeon.com/forms/doc/developer-guide/configuration-properties/configuration-properties-form-runner Alex On Sun, Jul 25, 2010 at 11:05 PM, Han Ming <[hidden email]> wrote: > Hi, > > I would like to implement some of the future features listed on > http://wiki.orbeon.com/forms/welcome/form-builder-direction > http://wiki.orbeon.com/forms/projects/form-builder-future-features > > Basically, what I would like to implement is to have sort of the next page > or page flow in a Form Builder and/or allow the previous form data posted to > be available to the form's "input:instance". > I'm thinking if this is the feature listed on > http://wiki.orbeon.com/forms/projects/form-builder-future-features > - Next/prev doc when viewing a form > - [ #314761 ] FR: RFE: Ability to POST form data to a particular URL upon > send > > > If my understanding is correct, I would just like to know if anyone can give > any high level direction on where to proceed with the changes. > I think I can get some resources to contribute to the implementation, but > would greatly appreciate if some high level help can be given so that save > significant amount of time by reading the code from scratch. > > Please let me know if it's possible. > > Thanks. > > > > Han Ming > > > -- > 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 > > -- Orbeon Forms - Web forms, open-source, for the Enterprise - http://www.orbeon.com/ My Twitter: http://twitter.com/avernet -- 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
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Hi Alex,
Thanks for the reply and clarification on my misunderstanding. :p I will need to read up more on it. Can I ask if I would like to implement some simple page flow, does it means that it can be achieved by changing the config to 1) post the form data to the url of a second form 2) allow the 2nd form to receive data as initial instance As you mentioned that submitting XML is not implemented yet, but I "thought" I have created a submit button on a Form Builder's form by editing the source through the Edit source menu to define a button with xforms:submission to post to another form url e.g. http://localhost:8080/orbeon/fr/test/Form2/new By the same token, does it means for the submitting XML to work, I will need to edit the form's Save button to post the form instance to a defined url? If so, I might be able to do it with some guidance. :) Thanks for any advice. Han Ming -------------------------------------------------- From: "Alessandro Vernet" <[hidden email]> Sent: Tuesday, July 27, 2010 8:49 AM To: "ops-users" <[hidden email]> Subject: [ops-users] Re: Help on implementing some future features > Han, > > The "Next/prev doc when viewing a form" feature might be different > from what you have in mind. This one makes sense when form are like > records. Say in the Bookshelf example, this would allow you to > navigate through books from the detail page by hitting a "next" or > "previous" button, which would be equivalent to going back to the > details page, and choosing the next (or previous) book. Now regarding > submitting and receiving XML: > > 1. Submitting XML is a feature we would like to add. It could come in > two flavors: submit (POST) to a page you are "going to" (i.e. you POST > XML to that page, and it returns HTML shown to users), or submit to a > REST/web service. > 2. Receiving XML that you use as the instance is already something you > can do today. See the section "Initial instance posted to the New Form > page" on: > > http://wiki.orbeon.com/forms/doc/developer-guide/configuration-properties/configuration-properties-form-runner > > Alex > > On Sun, Jul 25, 2010 at 11:05 PM, Han Ming <[hidden email]> wrote: >> Hi, >> >> I would like to implement some of the future features listed on >> http://wiki.orbeon.com/forms/welcome/form-builder-direction >> http://wiki.orbeon.com/forms/projects/form-builder-future-features >> >> Basically, what I would like to implement is to have sort of the next >> page >> or page flow in a Form Builder and/or allow the previous form data posted >> to >> be available to the form's "input:instance". >> I'm thinking if this is the feature listed on >> http://wiki.orbeon.com/forms/projects/form-builder-future-features >> - Next/prev doc when viewing a form >> - [ #314761 ] FR: RFE: Ability to POST form data to a particular URL upon >> send >> >> >> If my understanding is correct, I would just like to know if anyone can >> give >> any high level direction on where to proceed with the changes. >> I think I can get some resources to contribute to the implementation, but >> would greatly appreciate if some high level help can be given so that >> save >> significant amount of time by reading the code from scratch. >> >> Please let me know if it's possible. >> >> Thanks. >> >> >> >> Han Ming >> >> >> -- >> 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 >> >> > > > > -- > Orbeon Forms - Web forms, open-source, for the Enterprise - > http://www.orbeon.com/ > My Twitter: http://twitter.com/avernet > > > -- > 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 > -- 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 |
In reply to this post by karthik Jayaraman
|
In reply to this post by karthik Jayaraman
|
Administrator
|
In reply to this post by Han Ming Low
Han,
Let me precise what I said: you *can* have the instance containing the data entered by users posted to another page using the workflow-send. See: http://wiki.orbeon.com/forms/doc/developer-guide/configuration-properties/configuration-properties-form-runner#TOC-Workflow-send-button However, the code getting the initial instance expects the XML document to be posted differently (base64 encoded in a request parameter, instead of the XML being in the body). And even if you could get form B to receive the instance from form A, the XML documents for A and B would need to have exactly the same format, which would limit the application of this technique. Maybe you can tell us what you'd like to achieve, at a higher level. Alex On Mon, Jul 26, 2010 at 6:52 PM, Han Ming <[hidden email]> wrote: > Hi Alex, > > Thanks for the reply and clarification on my misunderstanding. :p > > I will need to read up more on it. > > Can I ask if I would like to implement some simple page flow, does it means > that it can be achieved by changing the config to > 1) post the form data to the url of a second form > 2) allow the 2nd form to receive data as initial instance > > As you mentioned that submitting XML is not implemented yet, but I "thought" > I have created a submit button on a Form Builder's form by editing the > source through the Edit source menu to define a button with > xforms:submission to post to another form url > e.g. > http://localhost:8080/orbeon/fr/test/Form2/new > > By the same token, does it means for the submitting XML to work, I will need > to edit the form's Save button to post the form instance to a defined url? > If so, I might be able to do it with some guidance. :) > > Thanks for any advice. > > > Han Ming > > > > -------------------------------------------------- > From: "Alessandro Vernet" <[hidden email]> > Sent: Tuesday, July 27, 2010 8:49 AM > To: "ops-users" <[hidden email]> > Subject: [ops-users] Re: Help on implementing some future features > >> Han, >> >> The "Next/prev doc when viewing a form" feature might be different >> from what you have in mind. This one makes sense when form are like >> records. Say in the Bookshelf example, this would allow you to >> navigate through books from the detail page by hitting a "next" or >> "previous" button, which would be equivalent to going back to the >> details page, and choosing the next (or previous) book. Now regarding >> submitting and receiving XML: >> >> 1. Submitting XML is a feature we would like to add. It could come in >> two flavors: submit (POST) to a page you are "going to" (i.e. you POST >> XML to that page, and it returns HTML shown to users), or submit to a >> REST/web service. >> 2. Receiving XML that you use as the instance is already something you >> can do today. See the section "Initial instance posted to the New Form >> page" on: >> >> >> http://wiki.orbeon.com/forms/doc/developer-guide/configuration-properties/configuration-properties-form-runner >> >> Alex >> >> On Sun, Jul 25, 2010 at 11:05 PM, Han Ming <[hidden email]> wrote: >>> >>> Hi, >>> >>> I would like to implement some of the future features listed on >>> http://wiki.orbeon.com/forms/welcome/form-builder-direction >>> http://wiki.orbeon.com/forms/projects/form-builder-future-features >>> >>> Basically, what I would like to implement is to have sort of the next >>> page >>> or page flow in a Form Builder and/or allow the previous form data posted >>> to >>> be available to the form's "input:instance". >>> I'm thinking if this is the feature listed on >>> http://wiki.orbeon.com/forms/projects/form-builder-future-features >>> - Next/prev doc when viewing a form >>> - [ #314761 ] FR: RFE: Ability to POST form data to a particular URL upon >>> send >>> >>> >>> If my understanding is correct, I would just like to know if anyone can >>> give >>> any high level direction on where to proceed with the changes. >>> I think I can get some resources to contribute to the implementation, but >>> would greatly appreciate if some high level help can be given so that >>> save >>> significant amount of time by reading the code from scratch. >>> >>> Please let me know if it's possible. >>> >>> Thanks. >>> >>> >>> >>> Han Ming >>> >>> >>> -- >>> 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 >>> >>> >> >> >> >> -- >> Orbeon Forms - Web forms, open-source, for the Enterprise - >> http://www.orbeon.com/ >> My Twitter: http://twitter.com/avernet >> > > > >> >> -- >> 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 >> > > > -- > 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 > > -- Orbeon Forms - Web forms, open-source, for the Enterprise - http://www.orbeon.com/ My Twitter: http://twitter.com/avernet -- 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
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Alex,
Thanks for explaining.
What I'd like to achieve, is for example, I would like to create a series of forms for company registration.
1st form will let the user to enter personal particular, then when he submits, it will show the 2nd form.
The 2nd form will let the user to enter the company particular, then when he submits, this time instead going directly to 3rd form, it will be submitted to a backend servlet to do some backend validation and then forward the request to the 3rd form url.
So, the information of the 1st, 2nd, 3rd form should be captured as linked in some ways.
Is this possible?
I understand that the 1st to 2nd form submission may be merged as a tab form, but would just like to see the possiblity of achieving it.
And, as I'm writing this example, just thought of a problem, which is, what if the backend validation fails and send back to the form 2?
Thanks a lot for your patience in answering to all the queries.
Han Ming
On Fri, Jul 30, 2010 at 9:11 AM, Alessandro Vernet <[hidden email]> wrote: Han, -- 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 |
In reply to this post by karthik Jayaraman
|
In reply to this post by karthik Jayaraman
|
Administrator
|
In reply to this post by Han Ming Low
Han,
I would do all this with one Form Builder form. What you describe as being on form 1, 2, and 3 would be on different sections of that Form Builder form. You would have visibility rules determining what section to show when, and implement your custom buttons to go from one section to the next, with only one section visible at any given time. I know you would need more information on this to be able to do it, and unfortunately I don't have the time right now to really document this thoroughly - sorry about that! Alex On Thu, Jul 29, 2010 at 9:19 PM, Han Ming Low <[hidden email]> wrote: > Alex, > > Thanks for explaining. > > What I'd like to achieve, is for example, I would like to create a series of > forms for company registration. > 1st form will let the user to enter personal particular, then when he > submits, it will show the 2nd form. > The 2nd form will let the user to enter the company particular, then when he > submits, this time instead going directly to 3rd form, it will be submitted > to a backend servlet to do some backend validation and then forward the > request to the 3rd form url. > So, the information of the 1st, 2nd, 3rd form should be captured as linked > in some ways. > > Is this possible? > > I understand that the 1st to 2nd form submission may be merged as a tab > form, but would just like to see the possiblity of achieving it. > > And, as I'm writing this example, just thought of a problem, which is, what > if the backend validation fails and send back to the form 2? > Thanks a lot for your patience in answering to all the queries. > > > > Han Ming > > > On Fri, Jul 30, 2010 at 9:11 AM, Alessandro Vernet <[hidden email]> > wrote: >> >> Han, >> >> Let me precise what I said: you *can* have the instance containing the >> data entered by users posted to another page using the workflow-send. >> See: >> >> >> http://wiki.orbeon.com/forms/doc/developer-guide/configuration-properties/configuration-properties-form-runner#TOC-Workflow-send-button >> >> However, the code getting the initial instance expects the XML >> document to be posted differently (base64 encoded in a request >> parameter, instead of the XML being in the body). And even if you >> could get form B to receive the instance from form A, the XML >> documents for A and B would need to have exactly the same format, >> which would limit the application of this technique. Maybe you can >> tell us what you'd like to achieve, at a higher level. >> >> Alex >> >> On Mon, Jul 26, 2010 at 6:52 PM, Han Ming <[hidden email]> wrote: >> > Hi Alex, >> > >> > Thanks for the reply and clarification on my misunderstanding. :p >> > >> > I will need to read up more on it. >> > >> > Can I ask if I would like to implement some simple page flow, does it >> > means >> > that it can be achieved by changing the config to >> > 1) post the form data to the url of a second form >> > 2) allow the 2nd form to receive data as initial instance >> > >> > As you mentioned that submitting XML is not implemented yet, but I >> > "thought" >> > I have created a submit button on a Form Builder's form by editing the >> > source through the Edit source menu to define a button with >> > xforms:submission to post to another form url >> > e.g. >> > http://localhost:8080/orbeon/fr/test/Form2/new >> > >> > By the same token, does it means for the submitting XML to work, I will >> > need >> > to edit the form's Save button to post the form instance to a defined >> > url? >> > If so, I might be able to do it with some guidance. :) >> > >> > Thanks for any advice. >> > >> > >> > Han Ming >> > >> > >> > >> > -------------------------------------------------- >> > From: "Alessandro Vernet" <[hidden email]> >> > Sent: Tuesday, July 27, 2010 8:49 AM >> > To: "ops-users" <[hidden email]> >> > Subject: [ops-users] Re: Help on implementing some future features >> > >> >> Han, >> >> >> >> The "Next/prev doc when viewing a form" feature might be different >> >> from what you have in mind. This one makes sense when form are like >> >> records. Say in the Bookshelf example, this would allow you to >> >> navigate through books from the detail page by hitting a "next" or >> >> "previous" button, which would be equivalent to going back to the >> >> details page, and choosing the next (or previous) book. Now regarding >> >> submitting and receiving XML: >> >> >> >> 1. Submitting XML is a feature we would like to add. It could come in >> >> two flavors: submit (POST) to a page you are "going to" (i.e. you POST >> >> XML to that page, and it returns HTML shown to users), or submit to a >> >> REST/web service. >> >> 2. Receiving XML that you use as the instance is already something you >> >> can do today. See the section "Initial instance posted to the New Form >> >> page" on: >> >> >> >> >> >> >> >> http://wiki.orbeon.com/forms/doc/developer-guide/configuration-properties/configuration-properties-form-runner >> >> >> >> Alex >> >> >> >> On Sun, Jul 25, 2010 at 11:05 PM, Han Ming <[hidden email]> wrote: >> >>> >> >>> Hi, >> >>> >> >>> I would like to implement some of the future features listed on >> >>> http://wiki.orbeon.com/forms/welcome/form-builder-direction >> >>> http://wiki.orbeon.com/forms/projects/form-builder-future-features >> >>> >> >>> Basically, what I would like to implement is to have sort of the next >> >>> page >> >>> or page flow in a Form Builder and/or allow the previous form data >> >>> posted >> >>> to >> >>> be available to the form's "input:instance". >> >>> I'm thinking if this is the feature listed on >> >>> http://wiki.orbeon.com/forms/projects/form-builder-future-features >> >>> - Next/prev doc when viewing a form >> >>> - [ #314761 ] FR: RFE: Ability to POST form data to a particular URL >> >>> upon >> >>> send >> >>> >> >>> >> >>> If my understanding is correct, I would just like to know if anyone >> >>> can >> >>> give >> >>> any high level direction on where to proceed with the changes. >> >>> I think I can get some resources to contribute to the implementation, >> >>> but >> >>> would greatly appreciate if some high level help can be given so that >> >>> save >> >>> significant amount of time by reading the code from scratch. >> >>> >> >>> Please let me know if it's possible. >> >>> >> >>> Thanks. >> >>> >> >>> >> >>> >> >>> Han Ming >> >>> >> >>> >> >>> -- >> >>> 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 >> >>> >> >>> >> >> >> >> >> >> >> >> -- >> >> Orbeon Forms - Web forms, open-source, for the Enterprise - >> >> http://www.orbeon.com/ >> >> My Twitter: http://twitter.com/avernet >> >> >> > >> > >> > >> >> >> >> -- >> >> 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 >> >> >> > >> > >> > -- >> > 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 >> > >> > >> >> >> >> -- >> Orbeon Forms - Web forms, open-source, for the Enterprise - >> http://www.orbeon.com/ >> My Twitter: http://twitter.com/avernet >> >> >> -- >> 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 >> > > > > -- > 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 > > -- Orbeon Forms - Web forms, open-source, for the Enterprise - http://www.orbeon.com/ My Twitter: http://twitter.com/avernet -- 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
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Hi Alex,
Thanks for the reply.
I understand there is no through documentation on this.
However, is there any notes to mention about customize button and visibility rules?
Thanks.
Han Ming
On Sat, Jul 31, 2010 at 9:44 AM, Alessandro Vernet <[hidden email]> wrote: Han, -- 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 |
In reply to this post by karthik Jayaraman
|
In reply to this post by karthik Jayaraman
|
In reply to this post by karthik Jayaraman
|
In reply to this post by karthik Jayaraman
|
Administrator
|
In reply to this post by Han Ming Low
Han,
At this point, we don't yet have documentation describing how you can provide your own buttons in Form Runner. But in essence, you'll edit your form (if from Form Builder, in the bar, under Advanced, Edit Source), and under the <fr:body> (i.e. after the closing tag </fr:body>), you'll add something along these lines: <fr:bottom> <fr:buttons-bar> <fr:buttons> <fr:button> <xforms:label>My button</xforms:label> <xforms:action ev:event="DOMActivate">...</xforms:action> </fr:button> </fr:buttons> </fr:buttons-bar> </fr:bottom> This opens to you all the power of XForms, but of course requires you to know more about XForms. Alex On Monday, August 2, 2010, Han Ming Low <[hidden email]> wrote: > Hi Alex, > > Thanks for the reply. > > I understand there is no through documentation on this. > > However, is there any notes to mention about customize button and visibility rules? > > Thanks. > > > Han Ming > > > > On Sat, Jul 31, 2010 at 9:44 AM, Alessandro Vernet <[hidden email]> wrote: > Han, > > I would do all this with one Form Builder form. What you describe as > being on form 1, 2, and 3 would be on different sections of that Form > Builder form. You would have visibility rules determining what section > to show when, and implement your custom buttons to go from one section > to the next, with only one section visible at any given time. I know > you would need more information on this to be able to do it, and > unfortunately I don't have the time right now to really document this > thoroughly - sorry about that! > > Alex > > > > On Thu, Jul 29, 2010 at 9:19 PM, Han Ming Low <[hidden email]> wrote: >> Alex, >> >> Thanks for explaining. >> >> What I'd like to achieve, is for example, I would like to create a series of >> forms for company registration. >> 1st form will let the user to enter personal particular, then when he >> submits, it will show the 2nd form. >> The 2nd form will let the user to enter the company particular, then when he >> submits, this time instead going directly to 3rd form, it will be submitted >> to a backend servlet to do some backend validation and then forward the >> request to the 3rd form url. >> So, the information of the 1st, 2nd, 3rd form should be captured as linked >> in some ways. >> >> Is this possible? >> >> I understand that the 1st to 2nd form submission may be merged as a tab >> form, but would just like to see the possiblity of achieving it. >> >> And, as I'm writing this example, just thought of a problem, which is, what >> if the backend validation fails and send back to the form 2? >> Thanks a lot for your patience in answering to all the queries. >> >> >> >> Han Ming >> >> >> On Fri, Jul 30, 2010 at 9:11 AM, Alessandro Vernet <[hidden email]> >> wrote: >>> >>> Han, >>> >>> Let me precise what I said: you *can* have the instance containing the >>> data entered by users posted to another page using the workflow-send. >>> See: >>> >>> >>> http://wiki.orbeon.com/forms/doc/developer-guide/configuration-properties/configuration-properties-form-runner#TOC-Workflow-send-button >>> >>> However, the code getting the initial instance expects the XML >>> document to be posted differently (base64 encoded in a request >>> parameter, instead of the XML being in the body). And even if you >>> could get form B to receive the instance from form A, the XML >>> documents for A and B would need to have exactly the same format, >>> which would limit the application of this technique. Maybe you can >>> tell us what you'd like to achieve, at a higher level. >>> >>> Alex >>> >>> On Mon, Jul 26, 2010 at 6:52 PM, Han Ming <[hidden email]> wrote: >>> > Hi Alex, >>> > >>> > Thanks for the reply and clarification on my misunderstanding. :p >>> > >>> > I will need to read up more on it. >>> > >>> > Can I ask if I would like to implement some simple page flow, does it >>> > means >>> > that it can be achieved by changing the config to >>> > 1) post the form data to the url of a second form >>> > 2) allow the 2nd form to receive data as initial instance >>> > >>> > As you mentioned that submitting XML is not implemented yet, but I >>> > "thought" >>> > I have created a submit button on a Form Builder's form by editing the >>> > source through the Edit source menu to define a button with >>> > xforms:submission to post to another form url >>> > e.g. >>> > http://localhost:8080/orbeon/fr/test/Form2/new >>> > >>> > By the same token, does it means for the submitting XML to work, I will >>> > need >>> > to edit th Orbeon Forms - Web forms, open-source, for the Enterprise - http://www.orbeon.com/ My Twitter: http://twitter.com/avernet -- 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
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Free forum by Nabble | Edit this page |