Announcement

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

    MultiField and MultiUpload

    Using Multple Upload....


    (a) I am using editorType:"MultiFileItem" but on dynamicform its not showing "add" and "remove" images...because in Smartclient library there is no folder with name MultiFileItem... i have MultiUploadItem in "skin\images" path.
    For patch i renamed the folder and working fine...

    What is the difference between MultiFileItem and MultiUploadItem... and which one is right..is my SmartClient is not updated?

    Note
    -------------------------------------------------------------------------
    There is one typo mistake in SmartClient document of MultiFileItem...There document is saying editorType = "MultiFiledItem" . Its saying Field instead of File.
    -----------------------------------------------------------------------


    (b) I have declared my filed in master datasource like this..

    <field name="multiFls" dataSource="detailDS" editorType="MultiFileItem"/>

    But its not showing that uploading menu..I mean browse option..i am able to use add more and remove ..but no browse menu...

    Please find the attached image.
    Attached Files
    Last edited by bindu; 6 Oct 2009, 13:46.

    #2
    What SmartClient version are you using?

    Can you show the file for "detailDS" and the code for creating the form?

    Comment


      #3
      Here is the detail DataSource...


      <DataSource>
      <ID>detailDS</ID>
      <title>Multiple Upload</title>

      <serverType>generic</serverType>
      <fields>
      <field>
      <name>fileId</name>
      <type>integer</type>
      <primaryKey>true</primaryKey>
      <hidden>true</hidden>
      </field>

      <field>
      <name>files</name>
      <type>binary</type>
      <title>File</title>
      </field>
      </fields>


      <serverObject lookupStyle="spring" bean="uploadSrv" />

      <operationBindings>

      <binding operationType="add" serverMethod="addUpload">
      <serverObject lookupStyle="spring" bean="uploadSrv"/>
      </binding>
      </operationBindings>

      </DataSource>



      Thanks for the images typ... I have updated the images folder..it was not update :)

      Comment


        #4
        But the problem is still there.... upload box is not coming.... :(

        Comment


          #5
          Again, what SmartClient version are you using?

          Comment


            #6
            Its

            Version 7.0RC
            Last edited by bindu; 5 Oct 2009, 00:06.

            Comment


              #7
              SmartClient 8.0 Eval

              the folder name mismatch (Graphite skin) is still there -> MultiFileItem/MultiUploadItem

              Also, it still requires this setting on the DataSource:
              http://forums.smartclient.com/showpost.php?p=47448&postcount=2

              is it a correct workaround or am I missing some other setting?

              Comment

              Working...
              X