Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Changes in the last 4 days that break DynamicForm (related to setGroupTitle(String)?)

    Hi Isomorphic,

    I'm using v9.0p_2013-10-28/Eval and was using v9.0p_2013-10-23/Eval before (FF24, Eclipse plugin, normal DevMode).

    After the change I got several problems only showing up as exceptions in DevMode. Deployed it just does not work.

    The changes seem to be related to DynamicForm (position of setGroupTitle):
    OK:
    Code:
    				formLogin = new DynamicForm() {
    					{
    						setIsGroup(false);
    						setAlign(Alignment.CENTER);
    						setGroupTitle("TESTGROUP");
    						setSaveOnEnter(true);
    					}
    				};
    Error in DevMode: "Error :Cannot change configuration property 'isGroup' to false now that component isc_Lms_3$1_0 has been created."
    Code:
    				formLogin = new DynamicForm() {
    					{
    						setAlign(Alignment.CENTER);
    						setGroupTitle("TESTGROUP");
    						setIsGroup(false);
    						setSaveOnEnter(true);
    					}
    				};
    2nd example, OK:
    Code:
    			boundFormLeaddaten = new DynamicForm() {
    				{
    					setIsGroup(true);
    					setValuesManager(boundFormValuesManager);
    					setGroupTitle("Lead-Basisdaten");
    					setDataSource(boundFormValuesManager.getDataSource());
    					....
    Error in DevMode: "Error :Cannot change configuration property 'valuesManager' to [ValuesManager ID:isc_AddEditLeadStammdaten_1_0] now that component isc_AddEditLeadStammdaten_2_0 has been created."
    Code:
    			boundFormLeaddaten = new DynamicForm() {
    				{
    					setIsGroup(true);
    					setGroupTitle("Lead-Basisdaten");
    					setValuesManager(boundFormValuesManager);
    					setDataSource(boundFormValuesManager.getDataSource());
    					....
    Best regards,
    Blama

    #2
    Is there some order in which UI-Element properties should be set? I don't know about one or is everything that is working OK?

    Thanks,
    Blama

    Comment


      #3
      setGroupTitle() should not force early initialization. This is fixed in today's build.

      Comment

      Working...
      X