Menu

XBL integration, appearance attribute

Help
2008-03-12
2013-04-15
  • Artyom Shalkhakov

    Hello,

    I've been trying to implement a custom control (rich text editor) using XBL and appearance attribute, as described here[1]; no success.

    FormFaces gives the 'Assertion failed: Appearance value undefined' error. Looking through the code, I see it's not supported. This is on the contrary to the spec. [2]

    Is there a way to make this work?

    And also, it looks like FormFaces development is stalled. As it's the only viable solution out there (at least until XForms get native browser support; really, do you want to force users to download 'suspicious' plugins?), I would like to contribute.

    Best regards,
    Artyom

    [1] http://www.ibm.com/developerworks/library/x-xformsrte/
    [2] http://www.w3.org/TR/xforms/#def-form-control

     
    • Hans Blink

      Hans Blink - 2008-03-13

      Artyom, 
      The current version of Formfaces only supports the XHTML(http://www.w3.org/1999/xhtml) and XForms(http://www.w3.org/2002/xforms) namespace controls. There are many places that you need to change to add other foreign namespaces. Regarding XBL, it is just a microformt describing a widget" or control, XForms WG does not mandate that a XForms implementation supports XBL perhaps version 2. We have a Dojo rich text widget integrated with Formfaces however we do not inherit from XFormControl and we handle all model integration.

      We currently only use FormsFaces for its MIP front end and most of our forms run underAdobe Air. Blinding fast it is!

      I will see if I can dig up some old FormFaces which allowed you to do what you want. Send me an email!

       
      • Artyom Shalkhakov

        Thanks for the xf:mustUnderstand tip! I'll try it right now.

        Could you tell me what does 'MIP front end' mean?

         
    • Hans Blink

      Hans Blink - 2008-03-13

      An example of how we use foreign controls.

      <xf:group ref="context">
      <xf:extension>
      <hb:bestwidget xf:mustUnderstand="true" other attributes>...</hb:bestwidget>
      <xf:extension>
      <xf:group>

       
    • Hans Blink

      Hans Blink - 2008-03-13

      MIP = Model Input Parameters I.E bind,instance and actions

      The current version of FF does not support xf:extension you need to write your own!

       

Log in to post a comment.