Announcement

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

    Datasource field type='binary' for attachments, not hiding while we use formItem property setVisible(false).

    Dear Team,

    We are using smartgwt 6.1 version, when we are trying to hide file upload field for certain scenarios from the form. It is not working. Please suggest how to hide the formField of type "binary".

    Here is my logic

    String[] recordArray = invisibleFields.split( "," );

    if( recordArray != null && recordArray.length > 0 )

    {

    for ( int i = 0; i < recordArray.length; i++ )

    {

    FormItem formItem = crimsonDynaForm.getField( recordArray[i] );

    if(FieldType.BINARY.equals(formItem.getType())) {
    formItem.setVisible( false );
    }
    }
    }

    #2
    Hi there,

    SmartGWT 6.1 was released about 8 years ago and and was end-of-lifed years ago.

    Here are the best approaches for you:

    1) engage our Consulting team to help you with whatever is wrong. Whether it's a problem in your application code, a problem in your deployment environment, or actually a bug in an obsolete version of our framework, we can fix it

    2) if your problem isn't important enough to solve the right way, you could try upgrading to the latest version of SmartGWT, creating a test case (standalone and ready-to run) demonstrating that you've found a bug that still applies to the latest version of SmartGWT. In that case, if you purchase a Support plan, if there is an actual bug in the framework, it will be immediately addressed.

    Thanks for posting.

    Comment

    Working...
    X