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 -- 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 |
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 -- 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 |
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 |
Administrator
|
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 |
Our team was able to solve the max number of column restriction in the orbeon form builder and runtime.
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...
|
Administrator
|
Bala,
Thanks for letting us know! -Erik On Fri, Sep 11, 2009 at 11:26 PM, Balamurugan S <[hidden email]> wrote: > > Our team was able to solve the max number of column restriction in the orbeon > form builder and runtime. > 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 |
In reply to this post by Balamurugan S
Hi Erik,
I can not find the xs:integer($columns) lt 4 in forms/orbeon/builder/forms/forms.xhtml I am using CE4.4 Could you give me some advice on which file should I check to allow more than 4 columns in a Grid? |
Administrator
|
No need to modify the code of Form Builder with 4.4: Orbeon Forms 4.x has a property to change that:
http://wiki.orbeon.com/forms/doc/developer-guide/configuration-properties/configuration-properties-form-builder#TOC-Maximum-number-of-columns -Erik |
Free forum by Nabble | Edit this page |