Our team was able to solve the max number of column restriction in the orbeon form builder and runtime by considering the suggestion provided by Erik. Please find the solution Below. Assume if you wanted to add 6 columns instead of default 4 in the grid control of Orbeon, we need to do the following changes: extract orbeon.war and find the orbeon-forms-builder.jar file. orbeon-form-builder.jar contains the following files forms/orbeon/builder/resources/form-builder.css forms/orbeon/builder/forms/forms.xhtml Step 1: as mentioned by Erik in the above post Change the "xs:integer($columns) lt 4" to "xs:integer($columns) lt 6" Step 2: Add the following css components in the file: forms/orbeon/builder/resources/form-builder.css ---------------------------------------------------------------------- .fb-grid-5-columns .fb-grid-td { width: 20%; } .fb-grid-5-columns .fb-grid-td .fb-grid-content { width: 8.8em; *width: 8.4em } .fb-grid-6-columns .fb-grid-td { width: 16.6%; } .fb-grid-6-columns .fb-grid-td .fb-grid-content { width: 8.8em; *width: 8.4em } ---------------------------------------------------------------------- Similarly we can add for more than 6 columns. Redeploy the jar & war. Hope this works. Regards Bala Murugan S Kumaran Systems Private Limited,Chennai India... Erik Bruchez wrote: > > You could change the Form Builder code to allow for more. The code is in: > > orbeon-form-builder.jar!/forms/orbeon/builder/form/form.xhtml > > There you will see things like: > > xs:integer($columns) lt 4 > > That's what controls this limitation. But then the CSS with 5 or more > columns might be problematic as well. > > -Erik > > On Thu, Jul 30, 2009 at 6:36 AM, <[hidden email]> wrote: >> Thanks Karolin, >> >> I did find the limitation mentioned in doc, >> >> Do we have simple workaround in order to achieve more than four column >> layout... >> >> Cheers, >> Praveen >> >> -----Original Message----- >> From: Karolin Krieg [mailto:[hidden email]] >> Sent: Thursday, July 30, 2009 6:53 PM >> To: [hidden email] >> Subject: [ops-users] Re: No of columns in grid >> >> Hey Praveen >> >> Yes, as you can read in >> http://wiki.orbeon.com/forms/doc/user-guide/form-builder-user-guide >> >> "A grid has between 1 and 4 columns" >> >> Cheers, Karolin >> >> >>>>> <[hidden email]> 30.07.2009 11:53 >>> >> Hi, >> >> >> >> I am new to orbeon. >> >> Trying to build form using form builder(3.7 nightly build), but unable to >> create more than four columns, >> >> >> >> Is this a current limitation ...? >> >> >> >> What should be approach followed in case I want to have layout having >> multiple rows with more than four column ... >> >> >> >> Thanks >> >> Praveen >> >> >> >> >> Please do not print this email unless it is absolutely necessary. >> >> The information contained in this electronic message and any attachments >> to this message are intended for the exclusive use of the >> addressee(s) and may contain proprietary, confidential or privileged >> information. If you are not the intended recipient, you should not >> disseminate, distribute or copy this e-mail. Please notify the sender >> immediately and destroy all copies of this message and any attachments. >> >> >> WARNING: Computer viruses can be transmitted via email. The recipient >> should check this email and any attachments for the presence of viruses. >> The company accepts no liability for any damage caused by any virus >> transmitted by this email. >> >> www.wipro.com >> >> Please do not print this email unless it is absolutely necessary. >> >> The information contained in this electronic message and any attachments >> to this message are intended for the exclusive use of the addressee(s) >> and may contain proprietary, confidential or privileged information. If >> you are not the intended recipient, you should not disseminate, >> distribute or copy this e-mail. Please notify the sender immediately and >> destroy all copies of this message and any attachments. >> >> WARNING: Computer viruses can be transmitted via email. The recipient >> should check this email and any attachments for the presence of viruses. >> The company accepts no liability for any damage caused by any virus >> transmitted by this email. >> >> www.wipro.com >> >> >> -- >> 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 > > View this message in context: http://www.nabble.com/No-of-columns-in-grid-tp24735429p25411958.html Sent from the ObjectWeb OPS - Users mailing list archive at Nabble.com. -- 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 |
I'm not sure if this works with the current version
(http://forge.objectweb.org/nightlybuilds/ops/ops/orbeon.zip fetched today). I made the changes to files forms/orbeon/builder/resources/form-builder.css forms/orbeon/builder/form/form.xhtml but after restarting the service I wasn't able to add more than 4 columns to the form. Any idea? -Harri On 12.09.2009 14:51 Balamurugan S wrote: > Our team was able to solve the max number of column restriction in the > orbeon form builder and runtime by considering the suggestion provided by > Erik. > Please find the solution Below. > Assume if you wanted to add 6 columns instead of default 4 in the grid > control of Orbeon, we need to do the following changes: > extract orbeon.war and find the orbeon-forms-builder.jar file. > orbeon-form-builder.jar contains the following files > forms/orbeon/builder/resources/form-builder.css > forms/orbeon/builder/forms/forms.xhtml > > Step 1: as mentioned by Erik in the above post > Change the "xs:integer($columns) lt 4" to "xs:integer($columns) lt 6" > Step 2: > Add the following css components in the file: > forms/orbeon/builder/resources/form-builder.css > ---------------------------------------------------------------------- > .fb-grid-5-columns .fb-grid-td { width: 20%; } > .fb-grid-5-columns .fb-grid-td .fb-grid-content { width: 8.8em; *width: > 8.4em } > .fb-grid-6-columns .fb-grid-td { width: 16.6%; } > .fb-grid-6-columns .fb-grid-td .fb-grid-content { width: 8.8em; *width: > 8.4em } > ---------------------------------------------------------------------- > Similarly we can add for more than 6 columns. > Redeploy the jar & war. Hope this works. > > > Regards > Bala Murugan S > Kumaran Systems Private Limited,Chennai > India... > > > > Erik Bruchez wrote: > >> You could change the Form Builder code to allow for more. The code is in: >> >> orbeon-form-builder.jar!/forms/orbeon/builder/form/form.xhtml >> >> There you will see things like: >> >> xs:integer($columns) lt 4 >> >> That's what controls this limitation. But then the CSS with 5 or more >> columns might be problematic as well. >> >> -Erik >> >> On Thu, Jul 30, 2009 at 6:36 AM, <[hidden email]> wrote: >> >>> Thanks Karolin, >>> >>> I did find the limitation mentioned in doc, >>> >>> Do we have simple workaround in order to achieve more than four column >>> layout... >>> >>> Cheers, >>> Praveen >>> >>> -----Original Message----- >>> From: Karolin Krieg [mailto:[hidden email]] >>> Sent: Thursday, July 30, 2009 6:53 PM >>> To: [hidden email] >>> Subject: [ops-users] Re: No of columns in grid >>> >>> Hey Praveen >>> >>> Yes, as you can read in >>> http://wiki.orbeon.com/forms/doc/user-guide/form-builder-user-guide >>> >>> "A grid has between 1 and 4 columns" >>> >>> Cheers, Karolin >>> >>> >>> >>>>>> <[hidden email]> 30.07.2009 11:53 >>> >>>>>> >>> Hi, >>> >>> >>> >>> I am new to orbeon. >>> >>> Trying to build form using form builder(3.7 nightly build), but unable to >>> create more than four columns, >>> >>> >>> >>> Is this a current limitation ...? >>> >>> >>> >>> What should be approach followed in case I want to have layout having >>> multiple rows with more than four column ... >>> >>> >>> >>> Thanks >>> >>> Praveen >>> >>> >>> >>> >>> Please do not print this email unless it is absolutely necessary. >>> >>> The information contained in this electronic message and any attachments >>> to this message are intended for the exclusive use of the >>> addressee(s) and may contain proprietary, confidential or privileged >>> information. If you are not the intended recipient, you should not >>> disseminate, distribute or copy this e-mail. Please notify the sender >>> immediately and destroy all copies of this message and any attachments. >>> >>> >>> WARNING: Computer viruses can be transmitted via email. The recipient >>> should check this email and any attachments for the presence of viruses. >>> The company accepts no liability for any damage caused by any virus >>> transmitted by this email. >>> >>> www.wipro.com >>> >>> Please do not print this email unless it is absolutely necessary. >>> >>> The information contained in this electronic message and any attachments >>> to this message are intended for the exclusive use of the addressee(s) >>> and may contain proprietary, confidential or privileged information. If >>> you are not the intended recipient, you should not disseminate, >>> distribute or copy this e-mail. Please notify the sender immediately and >>> destroy all copies of this message and any attachments. >>> >>> WARNING: Computer viruses can be transmitted via email. The recipient >>> should check this email and any attachments for the presence of viruses. >>> The company accepts no liability for any damage caused by any virus >>> transmitted by this email. >>> >>> www.wipro.com >>> >>> >>> -- >>> 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 >> >> >> > > -- > View this message in context: > http://www.nabble.com/No-of-columns-in-grid-tp24735429p25411958.html Sent > from the ObjectWeb OPS - Users mailing list archive at Nabble.com. > > > > -- 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 |
Sorry, it works after all. Before editing the files mentioned below I
was changed <fr:grid columns="4"> => <fr:grid columns="6"> in my form. When I changed it back to 4, I was able to add 2 more columns with the form builder. Thank you Balamurugan and Erik for the advice. -Harri On 17.09.2009 21:10 Harri T. wrote: > I'm not sure if this works with the current version > (http://forge.objectweb.org/nightlybuilds/ops/ops/orbeon.zip fetched > today). I made the changes to files > > > forms/orbeon/builder/resources/form-builder.css > > > forms/orbeon/builder/form/form.xhtml > > > but after restarting the service I wasn't able to add more than 4 > columns to the form. Any idea? > > -Harri > > On 12.09.2009 14:51 Balamurugan S wrote: >> Our team was able to solve the max number of column restriction in the >> orbeon form builder and runtime by considering the suggestion >> provided by >> Erik. >> Please find the solution Below. >> Assume if you wanted to add 6 columns instead of default 4 in the grid >> control of Orbeon, we need to do the following changes: >> extract orbeon.war and find the orbeon-forms-builder.jar file. >> orbeon-form-builder.jar contains the following files >> forms/orbeon/builder/resources/form-builder.css >> forms/orbeon/builder/forms/forms.xhtml >> >> Step 1: as mentioned by Erik in the above post >> Change the "xs:integer($columns) lt 4" to "xs:integer($columns) lt 6" >> Step 2: >> Add the following css components in the file: >> forms/orbeon/builder/resources/form-builder.css >> ---------------------------------------------------------------------- >> .fb-grid-5-columns .fb-grid-td { width: 20%; } >> .fb-grid-5-columns .fb-grid-td .fb-grid-content { width: 8.8em; *width: >> 8.4em } >> .fb-grid-6-columns .fb-grid-td { width: 16.6%; } >> .fb-grid-6-columns .fb-grid-td .fb-grid-content { width: 8.8em; *width: >> 8.4em } >> ---------------------------------------------------------------------- >> Similarly we can add for more than 6 columns. >> Redeploy the jar & war. Hope this works. >> >> >> Regards >> Bala Murugan S >> Kumaran Systems Private Limited,Chennai >> India... >> >> >> >> Erik Bruchez wrote: >> >>> You could change the Form Builder code to allow for more. The code >>> is in: >>> >>> orbeon-form-builder.jar!/forms/orbeon/builder/form/form.xhtml >>> >>> There you will see things like: >>> >>> xs:integer($columns) lt 4 >>> >>> That's what controls this limitation. But then the CSS with 5 or more >>> columns might be problematic as well. >>> >>> -Erik >>> >>> On Thu, Jul 30, 2009 at 6:36 AM, <[hidden email]> wrote: >>> >>>> Thanks Karolin, >>>> >>>> I did find the limitation mentioned in doc, >>>> >>>> Do we have simple workaround in order to achieve more than four column >>>> layout... >>>> >>>> Cheers, >>>> Praveen >>>> >>>> -----Original Message----- >>>> From: Karolin Krieg [mailto:[hidden email]] >>>> Sent: Thursday, July 30, 2009 6:53 PM >>>> To: [hidden email] >>>> Subject: [ops-users] Re: No of columns in grid >>>> >>>> Hey Praveen >>>> >>>> Yes, as you can read in >>>> http://wiki.orbeon.com/forms/doc/user-guide/form-builder-user-guide >>>> >>>> "A grid has between 1 and 4 columns" >>>> >>>> Cheers, Karolin >>>> >>>> >>>> >>>>>>> <[hidden email]> 30.07.2009 11:53 >>> >>>>>>> >>>> Hi, >>>> >>>> >>>> >>>> I am new to orbeon. >>>> >>>> Trying to build form using form builder(3.7 nightly build), but >>>> unable to >>>> create more than four columns, >>>> >>>> >>>> >>>> Is this a current limitation ...? >>>> >>>> >>>> >>>> What should be approach followed in case I want to have layout having >>>> multiple rows with more than four column ... >>>> >>>> >>>> >>>> Thanks >>>> >>>> Praveen >>>> >>>> >>>> >>>> >>>> Please do not print this email unless it is absolutely necessary. >>>> >>>> The information contained in this electronic message and any >>>> attachments >>>> to this message are intended for the exclusive use of the >>>> addressee(s) and may contain proprietary, confidential or privileged >>>> information. If you are not the intended recipient, you should not >>>> disseminate, distribute or copy this e-mail. Please notify the sender >>>> immediately and destroy all copies of this message and any >>>> attachments. >>>> >>>> >>>> WARNING: Computer viruses can be transmitted via email. The recipient >>>> should check this email and any attachments for the presence of >>>> viruses. >>>> The company accepts no liability for any damage caused by any virus >>>> transmitted by this email. >>>> >>>> www.wipro.com >>>> >>>> Please do not print this email unless it is absolutely necessary. >>>> >>>> The information contained in this electronic message and any >>>> attachments >>>> to this message are intended for the exclusive use of the addressee(s) >>>> and may contain proprietary, confidential or privileged >>>> information. If >>>> you are not the intended recipient, you should not disseminate, >>>> distribute or copy this e-mail. Please notify the sender >>>> immediately and >>>> destroy all copies of this message and any attachments. >>>> >>>> WARNING: Computer viruses can be transmitted via email. The recipient >>>> should check this email and any attachments for the presence of >>>> viruses. >>>> The company accepts no liability for any damage caused by any virus >>>> transmitted by this email. >>>> >>>> www.wipro.com >>>> >>>> >>>> -- >>>> 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 >>> >>> >>> >> >> -- >> View this message in context: >> http://www.nabble.com/No-of-columns-in-grid-tp24735429p25411958.html >> Sent >> from the ObjectWeb OPS - Users mailing list archive at Nabble.com. >> >> >> >> > -- 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
|
In reply to this post by Bala
Bala,
Thanks for sharing! -Erik On Sat, Sep 12, 2009 at 4:51 AM, Balamurugan S <[hidden email]> wrote: > > Our team was able to solve the max number of column restriction in the > orbeon form builder and runtime by considering the suggestion provided by > Erik. > Please find the solution Below. > Assume if you wanted to add 6 columns instead of default 4 in the grid > control of Orbeon, we need to do the following changes: > extract orbeon.war and find the orbeon-forms-builder.jar file. > orbeon-form-builder.jar contains the following files > forms/orbeon/builder/resources/form-builder.css > forms/orbeon/builder/forms/forms.xhtml > > Step 1: as mentioned by Erik in the above post > Change the "xs:integer($columns) lt 4" to "xs:integer($columns) lt 6" > Step 2: > Add the following css components in the file: > forms/orbeon/builder/resources/form-builder.css > ---------------------------------------------------------------------- > .fb-grid-5-columns .fb-grid-td { width: 20%; } > .fb-grid-5-columns .fb-grid-td .fb-grid-content { width: 8.8em; *width: > 8.4em } > .fb-grid-6-columns .fb-grid-td { width: 16.6%; } > .fb-grid-6-columns .fb-grid-td .fb-grid-content { width: 8.8em; *width: > 8.4em } > ---------------------------------------------------------------------- > Similarly we can add for more than 6 columns. > Redeploy the jar & war. Hope this works. > > > Regards > Bala Murugan S > Kumaran Systems Private Limited,Chennai > India... > > > > Erik Bruchez wrote: >> >> You could change the Form Builder code to allow for more. The code is in: >> >> orbeon-form-builder.jar!/forms/orbeon/builder/form/form.xhtml >> >> There you will see things like: >> >> xs:integer($columns) lt 4 >> >> That's what controls this limitation. But then the CSS with 5 or more >> columns might be problematic as well. >> >> -Erik >> >> On Thu, Jul 30, 2009 at 6:36 AM, <[hidden email]> wrote: >>> Thanks Karolin, >>> >>> I did find the limitation mentioned in doc, >>> >>> Do we have simple workaround in order to achieve more than four column >>> layout... >>> >>> Cheers, >>> Praveen >>> >>> -----Original Message----- >>> From: Karolin Krieg [mailto:[hidden email]] >>> Sent: Thursday, July 30, 2009 6:53 PM >>> To: [hidden email] >>> Subject: [ops-users] Re: No of columns in grid >>> >>> Hey Praveen >>> >>> Yes, as you can read in >>> http://wiki.orbeon.com/forms/doc/user-guide/form-builder-user-guide >>> >>> "A grid has between 1 and 4 columns" >>> >>> Cheers, Karolin >>> >>> >>>>>> <[hidden email]> 30.07.2009 11:53 >>> >>> Hi, >>> >>> >>> >>> I am new to orbeon. >>> >>> Trying to build form using form builder(3.7 nightly build), but unable to >>> create more than four columns, >>> >>> >>> >>> Is this a current limitation ...? >>> >>> >>> >>> What should be approach followed in case I want to have layout having >>> multiple rows with more than four column ... >>> >>> >>> >>> Thanks >>> >>> Praveen >>> >>> >>> >>> >>> Please do not print this email unless it is absolutely necessary. >>> >>> The information contained in this electronic message and any attachments >>> to this message are intended for the exclusive use of the >>> addressee(s) and may contain proprietary, confidential or privileged >>> information. If you are not the intended recipient, you should not >>> disseminate, distribute or copy this e-mail. Please notify the sender >>> immediately and destroy all copies of this message and any attachments. >>> >>> >>> WARNING: Computer viruses can be transmitted via email. The recipient >>> should check this email and any attachments for the presence of viruses. >>> The company accepts no liability for any damage caused by any virus >>> transmitted by this email. >>> >>> www.wipro.com >>> >>> Please do not print this email unless it is absolutely necessary. >>> >>> The information contained in this electronic message and any attachments >>> to this message are intended for the exclusive use of the addressee(s) >>> and may contain proprietary, confidential or privileged information. If >>> you are not the intended recipient, you should not disseminate, >>> distribute or copy this e-mail. Please notify the sender immediately and >>> destroy all copies of this message and any attachments. >>> >>> WARNING: Computer viruses can be transmitted via email. The recipient >>> should check this email and any attachments for the presence of viruses. >>> The company accepts no liability for any damage caused by any virus >>> transmitted by this email. >>> >>> www.wipro.com >>> >>> >>> -- >>> 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 >> >> > > -- > View this message in context: > http://www.nabble.com/No-of-columns-in-grid-tp24735429p25411958.html Sent > from the ObjectWeb OPS - Users mailing list archive at Nabble.com. > > > > > > -- > 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 |
Free forum by Nabble | Edit this page |