ICEfaces
  1. ICEfaces
  2. ICE-6849

@Field of type List not generating

    Details

    • Assignee Priority:
      P2

      Description

      I tried adding this to TabSetMeta:

          @Field
          private List visitedTabClientIds;

      The idea being that I'd store information from lifecycle to lifecycle, which would be state saved and unique per UIData row, but that would not be a public API. Unfortunately this would not produce any generated output in the TabSetBase class. That is, it's as if I had done nothing, as TabSetBase was generated the same as usual. I then changed it to a @Property, and then TabSetBase had all the proper state saving code and accessor methods. But it also now puts an entry in the Tag class and the TLD, and creates code to allow for this to use a ValueExpression to a bean, which I don't want.

      I'm not sure if @Field is broken, or if it's because it's of type java.util.List.

        Issue Links

          Activity

          Mark Collette created issue -
          Mark Collette made changes -
          Field Original Value New Value
          Link This issue blocks ICE-6728 [ ICE-6728 ]
          Ken Fyten made changes -
          Salesforce Case []
          Fix Version/s EE-2.0.0.GA_P01 [ 10271 ]
          Fix Version/s 2.1 [ 10241 ]
          Assignee Arturo Zambrano [ artzambrano ]
          Ken Fyten made changes -
          Salesforce Case []
          Assignee Priority P2
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #24679 Tue May 24 10:59:37 MDT 2011 art.zambrano ICE-6849 initial check-in
          Files Changed
          Commit graph MODIFY /icefaces2/trunk/icefaces/ace/generator/src/org/icefaces/generator/artifacts/ComponentArtifact.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #24691 Wed May 25 11:29:19 MDT 2011 art.zambrano ICE-6849 initial check-in (2)
          Files Changed
          Commit graph MODIFY /icefaces2/trunk/icefaces/ace/generator/src/org/icefaces/generator/artifacts/ComponentArtifact.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #24703 Thu May 26 10:27:51 MDT 2011 art.zambrano ICE-6849 code clean-up (this fix also solves ICE-6299)
          Files Changed
          Commit graph MODIFY /icefaces2/trunk/icefaces/ace/generator/src/org/icefaces/generator/artifacts/ComponentArtifact.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #24704 Thu May 26 10:40:37 MDT 2011 art.zambrano ICE-6849 and ICE-6299 fixed (2.0 maintenance branch)
          Files Changed
          Commit graph MODIFY /icefaces2/branches/icefaces-2.0.x-maintenance/icefaces/ace/generator/src/org/icefaces/generator/artifacts/ComponentArtifact.java
          Arturo Zambrano made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #24836 Wed Jun 15 17:02:24 MDT 2011 mark.collette ICE-6849 and ICE-6299
          Commit was previously lost due to ICE-6897
          Files Changed
          Commit graph MODIFY /icefaces2/trunk/icefaces/ace/generator/src/org/icefaces/ace/generator/artifacts/ComponentArtifact.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #24838 Wed Jun 15 17:26:07 MDT 2011 mark.collette ICE-6849 and ICE-6299
          Commit was previously lost due to ICE-6897
          Previous commit lacked generator repackaging
          Files Changed
          Commit graph MODIFY /icefaces2/trunk/icefaces/ace/generator/src/org/icefaces/ace/generator/artifacts/ComponentArtifact.java
          Ken Fyten made changes -
          Fix Version/s 2.1-Beta [ 10291 ]
          Fix Version/s 2.1 [ 10241 ]
          Hide
          Mark Collette added a comment -

          Merged these commits to the development branch. Ran into a problem whereby the DataTable code was assuming that the @fields were generated the old way, so worked with Nils to try to modify the DataTable to work with the new method, but that didn't work since the new method relies on getClientId(), and those fields are used in getClientId(), so that we be recursive. So we instead manually used the old approach right in the DataTable class instead of via @Field in the Meta class. That points to some possible need for allowing the old-style @Field as a fallback, with the default being the new style. Alternatively, that may point to further need to move row indexing related work out of getClientId(), into getContainerClientId().

          Development branch
          Subversion 26335
          icefaces2/ace/generator/src/org/icefaces/ace/generator/artifacts/ComponentArtifact.java

          Show
          Mark Collette added a comment - Merged these commits to the development branch. Ran into a problem whereby the DataTable code was assuming that the @fields were generated the old way, so worked with Nils to try to modify the DataTable to work with the new method, but that didn't work since the new method relies on getClientId(), and those fields are used in getClientId(), so that we be recursive. So we instead manually used the old approach right in the DataTable class instead of via @Field in the Meta class. That points to some possible need for allowing the old-style @Field as a fallback, with the default being the new style. Alternatively, that may point to further need to move row indexing related work out of getClientId(), into getContainerClientId(). Development branch Subversion 26335 icefaces2/ace/generator/src/org/icefaces/ace/generator/artifacts/ComponentArtifact.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #26436 Fri Nov 18 10:04:23 MST 2011 ken.fyten ICE-6112 added code for generating faces-config.xml entries for behaviors; adjusted ajax and animation tag handlers to these changes
          ICE-6884 : When ACE component in iterative container, setting ace property during render affects all rows
          ICE-6849 : @Field of type List not generating
          ICE-6394 modifications to remove reference to AnimationBehaviour in hardcoded FacesConfigBuilder. It is now part of the faces-confix.xml to be merged
          ICE-6934 modified generator to accept parameters for short name and namespace in the build script
          ICE-7299 : Generator generates wrong attribute name with the for attribute
          ICE-7348 : ACE generator stores null values that JSF state saving can not handle
          ICE-7321 Added checking in setters to see if the component is disconnected from the component tree to store attributes as default values, rather than row values
          ICE-7031 added Meta class for ajax tag handler; added 'behaviorId' attribute to @TagHandler annotation for BehaviorHandler's; adjusted animation tag handler to this change
          ICE-6118 : Enhance build scripts to allow for compiling and building libraries and samples against MyFaces
          ICE-6970 Adopted Apache 2.0 license source-code headers for ACE source-code.
          Files Changed
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/generator/src/org/icefaces/ace/meta/baseMeta/UIComponentMeta.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/generator/src/org/icefaces/ace/generator/utils/PropertyValues.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/generator/src/org/icefaces/ace/meta/annotation/Facet.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/generator/src/org/icefaces/ace/meta/annotation/DefaultValueType.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/generator/src/org/icefaces/ace/generator/utils/Utility.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/generator/src/org/icefaces/ace/generator/artifacts/TagArtifact.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/generator/build.xml
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/generator/src/org/icefaces/ace/generator/artifacts/Artifact.java
          Commit graph ADD /icefaces3/trunk/icefaces/ace/generator/src/org/icefaces/ace/meta/baseMeta/HtmlInputTextMeta.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/generator/src/org/icefaces/ace/generator/Generator.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/generator/src/org/icefaces/ace/meta/annotation/ClientBehaviorHolder.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/generator/src/org/icefaces/ace/generator/behavior/ClientBehaviorHolder.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/generator/src/org/icefaces/ace/meta/annotation/Properties.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/generator/src/org/icefaces/ace/generator/artifacts/ComponentArtifact.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/generator/src/org/icefaces/ace/meta/annotation/Component.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/generator/src/org/icefaces/ace/generator/xmlbuilder/FacesConfigBuilder.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/generator/src/org/icefaces/ace/meta/baseMeta/UISelectBooleanMeta.java
          Commit graph ADD /icefaces3/trunk/icefaces/ace/generator/src/org/icefaces/ace/generator/artifacts/TagHandlerArtifact.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/generator/src/org/icefaces/ace/meta/annotation/ActionSource.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/generator/src/org/icefaces/ace/meta/baseMeta/UICommandMeta.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/generator/src/org/icefaces/ace/meta/annotation/Implementation.java
          Commit graph ADD /icefaces3/trunk/icefaces/ace/generator/src/org/icefaces/ace/generator/context/TagHandlerContext.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/generator/build.properties
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/generator/src/org/icefaces/ace/meta/annotation/Expression.java
          Commit graph ADD /icefaces3/trunk/icefaces/ace/generator/src/org/icefaces/ace/meta/annotation/TagHandler.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/generator/src/org/icefaces/ace/meta/annotation/Facets.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/generator/src/org/icefaces/ace/meta/baseMeta/UIOutputMeta.java
          Commit graph ADD /icefaces3/trunk/icefaces/ace/generator/src/org/icefaces/ace/meta/annotation/TagHandlerType.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/generator/src/org/icefaces/ace/meta/baseMeta/UIDataMeta.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/generator/src/org/icefaces/ace/meta/baseMeta/UIInputMeta.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/generator/src/org/icefaces/ace/meta/annotation/Property.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/generator/src/org/icefaces/ace/generator/xmlbuilder/TLDBuilder.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/generator/src/org/icefaces/ace/meta/baseMeta/UIMessageMeta.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/generator/src/org/icefaces/ace/generator/utils/FileWriter.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/generator/src/org/icefaces/ace/generator/behavior/Behavior.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/generator/src/org/icefaces/ace/generator/context/GeneratorContext.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/generator/src/org/icefaces/ace/meta/baseMeta/UIComponentBaseMeta.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/generator/src/org/icefaces/ace/meta/baseMeta/UISelectManyMeta.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/generator/src/org/icefaces/ace/generator/xmlbuilder/FaceletTagLibBuilder.java
          Commit graph ADD /icefaces3/trunk/icefaces/ace/generator/src/org/icefaces/ace/meta/annotation/ClientEvent.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/generator/src/org/icefaces/ace/meta/baseMeta/UIMessagesMeta.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/generator/src/org/icefaces/ace/meta/annotation/Field.java
          Commit graph ADD /icefaces3/trunk/icefaces/ace/generator/src/org/icefaces/ace/generator/context/MetaContext.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/generator/src/org/icefaces/ace/meta/baseMeta/UISelectOneMeta.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/generator/src/org/icefaces/ace/generator/context/ComponentContext.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/generator/src/org/icefaces/ace/meta/annotation/Required.java
          Commit graph ADD /icefaces3/trunk/icefaces/ace/generator/src/org/icefaces/ace/generator/xmlbuilder/FacesConfigMerge.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/generator/src/org/icefaces/ace/generator/TaglibMerge.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/generator/src/org/icefaces/ace/meta/baseMeta/UIPanelMeta.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/generator/src/org/icefaces/ace/generator/xmlbuilder/XMLBuilder.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/generator/src/org/icefaces/ace/generator/artifacts/ComponentHandlerArtifact.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/generator/src/org/icefaces/ace/meta/baseMeta/UIColumnMeta.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/generator/src/org/icefaces/ace/meta/baseMeta/UIFormMeta.java
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/generator/src/org/icefaces/ace/generator/behavior/ActionSourceBehavior.java
          Ken Fyten made changes -
          Fix Version/s 3.0 [ 10241 ]
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Arturo Zambrano
              Reporter:
              Mark Collette
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: