Announcement

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

    StaticTextItem's value does not appear in print preview

    In the sample below, the value of "firstName" field does not appear in the print preview while the value of "lastName" does:

    Code:
    isc.DynamicForm.create({
      ID:"form", width:"100%", 
      fields: [
        { name: "firstName", canEdit: false },
        { name: "lastName" }
      ]
    });
    
    form.editRecord({ firstName: "John", lastName: "Wayne" });
    
    isc.Canvas.showPrintPreview(form);
    The preview output is as follows:
    Code:
    firstName:
    lastName: Wayne
    I was expecting to see "John" next to "firstName".

    Results do not change if it is a datasource bound form or not.

    Please help!

    SmartClient Version: v8.2p_2012-09-17/Pro Deployment (built 2012-09-17)

    Browser: Google Chrome 21.0.1180.89 m

    Log:

    04:50:44.460:INFO:Log:initialized
    04:50:47.439:DEBUG:DynamicForm:form:Drawing FormItem: [StaticTextItem ID:isc_StaticTextItem_0 name:firstName]
    04:50:47.454:DEBUG:DynamicForm:form:Drawing FormItem: [TextItem ID:isc_TextItem_0 name:lastName]
    04:50:47.512:DEBUG:DynamicForm:form:Drawing FormItem: [StaticTextItem ID:isc_StaticTextItem_0 name:firstName]
    04:50:47.514:DEBUG:DynamicForm:form:Drawing FormItem: [TextItem ID:isc_TextItem_0 name:lastName]
    04:50:47.973:RDQ3:DEBUG:DynamicForm:form:blur w/o handler: no item to blur
    04:50:47.982:RDQ3:DEBUG:DynamicForm:form:Drawing FormItem: [StaticTextItem ID:isc_StaticTextItem_0 name:firstName]
    04:50:47.983:RDQ3:DEBUG:DynamicForm:form:Drawing FormItem: [TextItem ID:isc_TextItem_0 name:lastName]
    04:50:48.772:INFO:Log:isc.Page is loaded
    04:50:49.203:TMR4:DEBUG:DynamicForm:form:setRect: {left: null,
    top: null,
    width: "100%",
    height: null}

    #2
    Sorry, this was a subtle consequence of a fix in this area. It has now been resolved for the next nightly build.

    Comment

    Working...
    X