I was wondering if anyone has built a custom component to use in form
builder. I am wanting to know the proper way of doing this to prevent impact on out of the box orbeon files. Any insight would be helpful. Thanks, Kristopher -- 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 |
Hi Kristopher, I was able to interface with the Google Map API using JavaScript, not exactly a custom control. One strategy is to use a regular control, such as an input, that is hidden. You can use this to capture and send events to the visible control written in JavaScript. To create a new control in the XForms namespace would, I suspect, require changes to several files within the server engine. http://www.orbeon.com/ops/doc/reference-xforms-2#xforms-javascript Regards, Hank On Nov 24, 2008, at 1:39 PM, Kristopher Stice wrote: > I was wondering if anyone has built a custom component to use in > form builder. I am wanting to know the proper way of doing this to > prevent > impact on out of the box orbeon files. Any insight would be helpful. > > Thanks, > > Kristopher > > -- > 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 NEES@UCSB Institute for Crustal Studies, University of California, Santa Barbara 805-893-8042 -- 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 |
Hi Hank,
Thanks - The example Custom Component that I am needing to build is a latitude/longitude control that takes degrees and minutes. Your suggestion helps me with another issue I have, but not the current one. I need to build this custom component and several other types. They will be used by the form builder users to quickly add a lat/long to the form. This lat/long control is a control that has 4 text fields that holds lat degrees, minutes and Long degrees and minutes. I also need to do validation on each text box to validate that lat as example is within the 90 degrees range. I don't need help building the concept of the control as I am familiar with that. I am looking for how to added this control into the orbeon form builder to be used by form builder users. So that I do it the way Orbeon was designed an not customize orbeon files I shouldn' t be touching. If you or anyone has suggestions I am all ears on this topic. Best Regards, Kristopher On Nov 24, 2008, at 2:59 PM, Hank Ratzesberger wrote: > > Hi Kristopher, > > I was able to interface with the Google Map API using JavaScript, > not exactly a custom control. One strategy is to use a regular > control, > such as an input, that is hidden. You can use this to capture and > send events to the visible control written in JavaScript. > > To create a new control in the XForms namespace would, I suspect, > require changes to several files within the server engine. > > http://www.orbeon.com/ops/doc/reference-xforms-2#xforms-javascript > > Regards, > Hank > > > On Nov 24, 2008, at 1:39 PM, Kristopher Stice wrote: > >> I was wondering if anyone has built a custom component to use in >> form builder. I am wanting to know the proper way of doing this to >> prevent >> impact on out of the box orbeon files. Any insight would be helpful. >> >> Thanks, >> >> Kristopher >> >> -- >> 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 > > Hank Ratzesberger > NEES@UCSB > Institute for Crustal Studies, > University of California, Santa Barbara > 805-893-8042 > > > > > > > -- > 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 |
Kristopher, I agree it would be useful to have a way to specify custom controls or groups of them, or pre-configured controls in the form builder. I can't be much help with that. --Hank On Nov 24, 2008, at 2:07 PM, Kristopher Stice wrote: > Hi Hank, > > Thanks - The example Custom Component that I am needing to build is > a latitude/longitude control that takes degrees and minutes. Your > suggestion helps me with another issue I have, but not the current > one. I need to build this custom component and several other > types. They will be used by the form builder users to quickly add > a lat/long to the form. This lat/long control is a control that > has 4 text fields that holds lat degrees, minutes and Long degrees > and minutes. I also need to do validation on each text box to > validate that lat as example is within the 90 degrees range. I > don't need help building the concept of the control as I am > familiar with that. I am looking for how to added this control > into the orbeon form builder to be used by form builder users. So > that I do it the way Orbeon was designed an not customize orbeon > files I shouldn' t be touching. If you or anyone has suggestions > I am all ears on this topic. > > > Best Regards, > Kristopher > > > On Nov 24, 2008, at 2:59 PM, Hank Ratzesberger wrote: > >> >> Hi Kristopher, >> >> I was able to interface with the Google Map API using JavaScript, >> not exactly a custom control. One strategy is to use a regular >> control, >> such as an input, that is hidden. You can use this to capture and >> send events to the visible control written in JavaScript. >> >> To create a new control in the XForms namespace would, I suspect, >> require changes to several files within the server engine. >> >> http://www.orbeon.com/ops/doc/reference-xforms-2#xforms-javascript >> >> Regards, >> Hank >> >> >> On Nov 24, 2008, at 1:39 PM, Kristopher Stice wrote: >> >>> I was wondering if anyone has built a custom component to use in >>> form builder. I am wanting to know the proper way of doing this >>> to prevent >>> impact on out of the box orbeon files. Any insight would be helpful. >>> >>> Thanks, >>> >>> Kristopher >>> >>> -- >>> 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 >> >> Hank Ratzesberger >> NEES@UCSB >> Institute for Crustal Studies, >> University of California, Santa Barbara >> 805-893-8042 >> >> >> >> >> >> >> -- >> 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 NEES@UCSB Institute for Crustal Studies, University of California, Santa Barbara 805-893-8042 -- 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 Kristopher Stice
We now have a pretty good, if recent, framework in place to build
custom components usable by the XForms engine. This is based on XBL. If you look at a recent nightly build and look for standard.xbl under WEB-INF/resources, you will find some example components there. Those are actually loaded by Form Builder. We have some developer documentation here: http://wiki.orbeon.com/forms/projects/xforms-component-system -Erik On Nov 24, 2008, at 2:07 PM, Kristopher Stice wrote: > Hi Hank, > > Thanks - The example Custom Component that I am needing to build is > a latitude/longitude control that takes degrees and minutes. Your > suggestion helps me with another issue I have, but not the current > one. I need to build this custom component and several other types. > They will be used by the form builder users to quickly add a lat/ > long to the form. This lat/long control is a control that has 4 > text fields that holds lat degrees, minutes and Long degrees and > minutes. I also need to do validation on each text box to validate > that lat as example is within the 90 degrees range. I don't need > help building the concept of the control as I am familiar with > that. I am looking for how to added this control into the orbeon > form builder to be used by form builder users. So that I do it the > way Orbeon was designed an not customize orbeon files I shouldn' t > be touching. If you or anyone has suggestions I am all ears on > this topic. > > > Best Regards, > Kristopher > > > On Nov 24, 2008, at 2:59 PM, Hank Ratzesberger wrote: > >> >> Hi Kristopher, >> >> I was able to interface with the Google Map API using JavaScript, >> not exactly a custom control. One strategy is to use a regular >> control, >> such as an input, that is hidden. You can use this to capture and >> send events to the visible control written in JavaScript. >> >> To create a new control in the XForms namespace would, I suspect, >> require changes to several files within the server engine. >> >> http://www.orbeon.com/ops/doc/reference-xforms-2#xforms-javascript >> >> Regards, >> Hank >> >> >> On Nov 24, 2008, at 1:39 PM, Kristopher Stice wrote: >> >>> I was wondering if anyone has built a custom component to use in >>> form builder. I am wanting to know the proper way of doing this to >>> prevent >>> impact on out of the box orbeon files. Any insight would be helpful. >>> >>> Thanks, >>> >>> Kristopher >>> >>> -- >>> 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 >> >> Hank Ratzesberger >> NEES@UCSB >> Institute for Crustal Studies, >> University of California, Santa Barbara >> 805-893-8042 >> >> >> >> >> >> >> -- >> 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 for the Enterprise Done the Right Way http://www.orbeon.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 |
Free forum by Nabble | Edit this page |