<tx:in> in facelets with binding attribute
------------------------------------------

                 Key: TOBAGO-515
                 URL: https://issues.apache.org/jira/browse/TOBAGO-515
             Project: MyFaces Tobago
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.0.12
         Environment: Facelets 1.1.13, MyFaces 1.1.6 snap (11.09.2007), Tobago 
1.0.12 snap (11.10.2007)
            Reporter: Guido Dubois


...
  xmlns:tx="http://myfaces.apache.org/tobago/extension";
  xmlns:fx="http://myfaces.apache.org/tobago/facelet-extension";
...

If you have the following input field, the page rendering is broken. You get 
only a short demaged part of page code. If you remove the binding attribute all 
works fine...
...
        <tx:in id="name" value="#{counter.text}"
          binding="#{counter.textInput}" label="#{bundle.helloWorldName}"
          labelWidth="180px" validator="#{counter.stringValidator}"
          required="true" markup="bg_color" />
...

With the following input field, the page is rendered correctly, but you get a 
NullPointerException, if you want to use the UIInput field in a BackingBean
...
        <fx:in id="name" value="#{counter.text}"
          binding="#{counter.textInput}" label="#{bundle.helloWorldName}"
          labelWidth="180px" validator="#{counter.stringValidator}"
          required="true" markup="bg_color" />


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to