Re: Focus Highlight Property of an Array Field

Hi Rhonda,
There was a couple of discussions about this subject a while ago. I
remember
of having posted a code sample myself. Take a look at the searchable
archive.
Ajith kallambella M.
Forte Systems Engineer,
International Business Corporation.
From: "Shannon, Rhonda B" <[email protected]>
Date: Fri, 21 Aug 1998 14:34:32 -0400
Subject: Focus Highlight Property of an Array Field
I have an array field on a window that is composedof >4 fields. The
array field maps to an object that contains the 4
fields. As the user
scrolls through the array, I would like the entire
current row to be
highlighted, not just the current widget.
I have been looking in the help both online and in
the Fort=E9 manuals.
In the index of the Display Library manual on page
648, I see under the
ArrayField class, a listing for FocusHighlightStyle
attribute for page
32. However, when I go to page 32, it is not there!
In the online =help
for Array Field, there is a section that lists the
array field
properties. In this section, there is a property
listed called Focus
Highlight. However, this is not in the properties
dialogue box and I
have no idea how to set it. I also looked in the
online help under
ArrayWidget. It says it provides the method which
highlights the
selected record in the array. However I cannot find
this method
anywhere in the help!
Has anyone worked with any of these properties or
methods? Or has
anyone highlighted the entire current row in anarray >in a differentmanner?
Any help/suggestions would be greatly appreciated!
Thanks,Rhonda Shannon>_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>-
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

Hi Rhonda,
There was a couple of discussions about this subject a while ago. I
remember
of having posted a code sample myself. Take a look at the searchable
archive.
Ajith kallambella M.
Forte Systems Engineer,
International Business Corporation.
From: "Shannon, Rhonda B" <[email protected]>
Date: Fri, 21 Aug 1998 14:34:32 -0400
Subject: Focus Highlight Property of an Array Field
I have an array field on a window that is composedof >4 fields. The
array field maps to an object that contains the 4
fields. As the user
scrolls through the array, I would like the entire
current row to be
highlighted, not just the current widget.
I have been looking in the help both online and in
the Fort=E9 manuals.
In the index of the Display Library manual on page
648, I see under the
ArrayField class, a listing for FocusHighlightStyle
attribute for page
32. However, when I go to page 32, it is not there!
In the online =help
for Array Field, there is a section that lists the
array field
properties. In this section, there is a property
listed called Focus
Highlight. However, this is not in the properties
dialogue box and I
have no idea how to set it. I also looked in the
online help under
ArrayWidget. It says it provides the method which
highlights the
selected record in the array. However I cannot find
this method
anywhere in the help!
Has anyone worked with any of these properties or
methods? Or has
anyone highlighted the entire current row in anarray >in a differentmanner?
Any help/suggestions would be greatly appreciated!
Thanks,Rhonda Shannon>_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>-
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

Similar Messages

  • Focus Highlight Property of an Array Field

    I have an array field on a window that is composed of 4 fields. The
    array field maps to an object that contains the 4 fields. As the user
    scrolls through the array, I would like the entire current row to be
    highlighted, not just the current widget.
    I have been looking in the help both online and in the Fort&eacute; manuals.
    In the index of the Display Library manual on page 648, I see under the
    ArrayField class, a listing for FocusHighlightStyle attribute for page
    32. However, when I go to page 32, it is not there! In the online help
    for Array Field, there is a section that lists the array field
    properties. In this section, there is a property listed called Focus
    Highlight. However, this is not in the properties dialogue box and I
    have no idea how to set it. I also looked in the online help under
    ArrayWidget. It says it provides the method which highlights the
    selected record in the array. However I cannot find this method
    anywhere in the help!
    Has anyone worked with any of these properties or methods? Or has
    anyone highlighted the entire current row in an array in a different
    manner?
    Any help/suggestions would be greatly appreciated!
    Thanks,
    Rhonda Shannon
    e-mail: [email protected]
    phone: (908) 719-4583
    fax: (908) 719-4460
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    Geoff,
    May I point out that in your function, the input Row should be converted to:
    Row - <theArrayField>.TopRow + 1;
    or before calling this function.
    Also the AfterFieldScroll event should be handled.
    (It's me, Michael)
    -----Original Message-----
    From: Geoffrey Whitington [SMTP:[email protected]]
    Sent: Friday, August 21, 1998 2:54 PM
    To: 'Shannon, Rhonda B'; '[email protected]'
    Subject: RE: Focus Highlight Property of an Array Field
    Shannon,
    As an Express developer, all of my windows get this functionality for
    free. Of course this is
    due to the fact that all ArrayFields inherit from a class that provides
    this functionality.
    The following snippet of code could be exactly what you are looking for,
    method HighlightRow(input Row : integer)
    if (Row >= 0) then
    for widget in <DisplayedResultSet>.bodygrid.children do
    if (widget.row = Row) then
    widget.fillcolor = C_PALEYELLOW;
    else
    widget.fillcolor = C_WHITE;
    end if;
    end for;
    end if;
    end method;
    I sure hope this helps you,
    Take care
    Geoff Whittington,
    VP Coop Development
    Its nice to be important,
    but its more important to be nice.
    - Blair
    -----Original Message-----
    From: Shannon, Rhonda B [mailto:[email protected]]
    Sent: Friday, August 21, 1998 2:35 PM
    To: '[email protected]'
    Subject: Focus Highlight Property of an Array Field
    I have an array field on a window that is composed of 4 fields. The
    array field maps to an object that contains the 4 fields. As the user
    scrolls through the array, I would like the entire current row to be
    highlighted, not just the current widget.
    I have been looking in the help both online and in the Fort&eacute; manuals.
    In the index of the Display Library manual on page 648, I see under the
    ArrayField class, a listing for FocusHighlightStyle attribute for page
    32. However, when I go to page 32, it is not there! In the online help
    for Array Field, there is a section that lists the array field
    properties. In this section, there is a property listed called Focus
    Highlight. However, this is not in the properties dialogue box and I
    have no idea how to set it. I also looked in the online help under
    ArrayWidget. It says it provides the method which highlights the
    selected record in the array. However I cannot find this method
    anywhere in the help!
    Has anyone worked with any of these properties or methods? Or has
    anyone highlighted the entire current row in an array in a different
    manner?
    Any help/suggestions would be greatly appreciated!
    Thanks,
    Rhonda Shannon
    e-mail: [email protected]
    phone: (908) 719-4583
    fax: (908) 719-4460
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>-
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

  • Problem in creating dynamic array field.

    Hi there,
    Following are the steps we followed to dynamically build the array field.
    1) Single column array field created with a single widget in the design time.
    2) Few more columns were added using 'Addcolumn' method.
    3) Data in the array object mapped to the array field is populated.
    4) All the dynamic field state was set to FS_UPDATE.
    5) Used Updatefieldfromdata method in all levels ( window, compound field, field widget).
    Problem faced
    1) Data is not visible in the dynamic fields created. But the data is visible in the field created during design time.
    Appreciate, if given any solution for this.
    Regards,
    Anand.

    if you don't see your text, you're not embedding the font.
    when you use actionscript to embed a font, you need to have the font in your library with a linkage id, create a textformat instance and assign its font property and finally assign the textformat to your textfield.  for example
    _root.createTextField("txt",_root.getNextHighestDepth(),50,50,50,50);
    _root.txt.embedFonts=true;
    _root.txt.text="hello";
    _root.txt._rotation=20;
    var tfor:TextFormat=new TextFormat();
    tfor.font="yourfontslinkageid";  // <- linkage id of font in your library
    _root.txt.setTextFormat(tfor);

  • How to validate array fields in struts

    hi
    iam working on struts. i have array fields in my jsp page. i wanna do validations for those fields. iam specifying name of the field in the validation.xml. but iam not getting correct validations. how can i have proceed in the case of array fields.
    plzz help me
    vamsi

    hi thank you for your help
    iam using the same syntax only. but iam not getting iam sending my jsp and xml files
    <body>
    <logic:messagesPresent>
    <font color="red"><b>
    <html:messages id="error">
    <li><%=error %></li>
    </html:messages>
    </b></font>
    </logic:messagesPresent>
    <html:form action="/wofinal" onsubmit="return validateWofinalForm(this)">
    <% System.out.println("true"); %>
    <p align="center"><font size="5" color="#0000FF">
      Work Order Release</font>
      <p align="center"> </p>
      <table border="1" width="70%" align=center>
        <tr>
          <td width="50%">
            <p align="right"><b><font color="#990000">Select Work Order Number</font> </b>   
          </td>
      <td width="50%" align=left>
      <%
         String worder_no=(String)session.getAttribute("worder_no");
          String selected=(String)session.getAttribute("selected");
      %>
         <%= worder_no %>
         <html:hidden property="worder_no" value="<%= worder_no %>" ></html:hidden>
      </td>
      </tr>
      <tr>
          <td width="50%">
            <p align="right">        <b><font color="#990000">Number
            of Candidates Got Selected </font></b>    
          </td>
          <td width="50%">
            <%= selected %>
             <html:hidden property="selected" value="1"></html:hidden>
      </tr>
      <tr>
           <td width="50%" align="right"><b><font color="#990000">Remarks</font></b>   </td>
           <td width="50%"><html:text maxlength="300" property="remarks" size="50"></html:text>
      </tr>
      </table>
      <p> </p>
      <table border="1" width="90%" height="44" align="center">
        <tr>
          <td width="5%" valign="middle" align="center" height="38">
            <p align="center"><b><font color="#990000" >S.No</font></b></p></td>
          <td width="16%" valign="middle" align="center" height="38"><b><font color="#990000">Name</font></b></td>
           <td width="16%" valign="middle" align="center" height="38"><b><font color="#990000">Qualification</font></b></td>
          <td width="12%" valign="middle" align="center" height="38"><b><font color="#990000">Date of
            Commencement</font></b></td>
          <td width="12%" valign="middle" align="center" height="38"><b><font color="#990000">Date of
            Completion</font></b></td>
          <td width="10%" valign="middle" align="center" height="38"><b><font color="#990000">Rate per MM</font></b></td>
          <td width="5%" valign="middle" align="center" height="38"><b><font color="#990000">No. of MMs</font></b></td>
        </tr>
            [u]  Here iam getting problem in the validation of below fields[/u]
         <% int count=Integer.parseInt(selected); %>
         <% for(int i=1;i<=count;i++) {
            String st=""+i;
         %>
          <tr>
          <td width="5%"  align="center" height="38"><html:text property="sno" value="<%= st %>" onfocus="this.blur()" maxlength="2" size="2"/></td>
          <td width="17%" valign="middle" align="center" height="38"><html:text property="name" value="" ></html:text></td>
          <td width="10%" valign="middle" align="center" height="38"><html:text property="qual" value="" size="20"></html:text></td>
         <td width="10%" valign="middle" align="center" height="38"><html:text property="comm"  value="" maxlength="10" size="15"></html:text></td>
          <td width="10%" valign="middle" align="center" height="38"><html:text property="comple" value="" maxlength="10" size="15"></html:text></td>
          <td width="10%" valign="middle" align="center" height="38"><html:text property="rpm" value="" size="10"></html:text></td>
          <td width="7%" valign="middle" align="center" height="38"><html:text property="mm" value="" maxlength="3" size="5"></html:text></td>
          </tr>
         <% } %>
         </table>
          <p align=center><html:submit/></p>
      </html:form>
      </body>
    </html:html>[b]and my struts-config file is
        <form-beans>
              <form-bean name="wofinalForm"
                   type="bean.WOfinalForm" >
                </form-bean>
       </form-beans>
       <action-mappings>
            <action path="/wofinal"
                    type="bean.WOfinalAction"
                    name="wofinalForm"
                    scope="request"
                        validate="true"
                        input="/worder_final.jsp">
                      <forward name="SUCCESS" path="/index.jsp" redirect="true"/>
                    <forward name="FAILURE" path="/worder_rel.jsp" redirect="true" /> 
           </action>            
       </action-mappings>
    and my validation.xml file is
    <formset>
              <form name="wofinalForm">
                   <field property="name"
                           depends="required">
                             <arg key="finalform.name" />
                    </field>
                    <field property="comm"
                           depends="required,date">
                             <arg key="finalform.comm"/>
                             <arg1 key="${var:datePattern}"
                                   name="datePattern" resource="false" />
                             <var>
                                 <var-name>datePattern</var-name>
                                  <var-value>dd/mm/yyyy</var-value>
                             </var>
                    </field>
                    <field property="rpm"
                           depends="required,integer">
                           <arg0 key="finalform.rpm"/>
                             <arg0 key="finalform.rpm" />
                    </field>
                    <field property="mm"
                           depends="required,integer">
                           <arg0 key="finalform.mm"/>
                             <arg1 key="finalform.mm" />
                    </field>
              </form>
    </formset>in the jsp page iam using loop to display fields
    in the validations of those fields iam getting error.
    plzz help me.
    vamsi

  • How can I set Array field which reside in a Structure field?

    I use Adobe java XMP toolkit.
    There are a few methods for setting structure and array items.
    setStructField() and appendArrayItem().
    However ducu stated that member of Structure may be array or structure, moreover array items also may be arrays or structures.
    So how can I set Array field in Structure or Structure field in Array???
    Thanks
    Andrey

    OK, it worked first time (without exception) as I tried to set value of EXISTING field.
    The trick is to add array or struct BEFORE setting their values.
    This short example shows how it works:
    XMPSchemaRegistry registry = XMPMetaFactory.getSchemaRegistry();
        registry.registerNamespace(extNS, "pdfaExtension");
        registry.registerNamespace(shemaNS, "pdfaSchema");
        registry.registerNamespace(propertyNS, "pdfaProperty");
        XMPMeta m = XMPMetaFactory.create();
        m.appendArrayItem(extNS, "pdfaExtension:schemas", new PropertyOptions().setArray(true), "", new PropertyOptions().setStruct(true));
        m.setProperty(extNS, "pdfaExtension:schemas[1]/pdfaSchema:prefix", "dc");
        m.setProperty(extNS, "pdfaExtension:schemas[1]/pdfaSchema:namespaceURI", "http://purl.org/dc/elements/1.1/");
        m.setProperty(extNS, "pdfaExtension:schemas[1]/pdfaSchema:schema", "Dublin Core Schema");
        m.appendArrayItem(extNS, "pdfaExtension:schemas[1]/pdfaSchema:property", new PropertyOptions().setArrayOrdered(true), null, new PropertyOptions()
            .setStruct(true));
        m.setProperty(extNS, "pdfaExtension:schemas[1]/pdfaSchema:property[1]/pdfaProperty:name", "contributor", null);
        m.setProperty(extNS, "pdfaExtension:schemas[1]/pdfaSchema:property[1]/pdfaProperty:category", "external", null);
        m.setProperty(extNS, "pdfaExtension:schemas[1]/pdfaSchema:property[1]/pdfaProperty:description",
            "Contributors to the resource (other than the authors).", null);
        m.setProperty(extNS, "pdfaExtension:schemas[1]/pdfaSchema:property[1]/pdfaProperty:valueType", "bag ProperName", null);
        m.appendArrayItem(extNS, "pdfaExtension:schemas[1]/pdfaSchema:property", new PropertyOptions().setArrayOrdered(true), null, new PropertyOptions()
            .setStruct(true));
        m.setProperty(extNS, "pdfaExtension:schemas[1]/pdfaSchema:property[2]/pdfaProperty:name", "coverage", null);
        m.setProperty(extNS, "pdfaExtension:schemas[1]/pdfaSchema:property[2]/pdfaProperty:category", "external", null);
        m.setProperty(extNS, "pdfaExtension:schemas[1]/pdfaSchema:property[2]/pdfaProperty:description", "The extent or scope of the resource.", null);
        m.setProperty(extNS, "pdfaExtension:schemas[1]/pdfaSchema:property[2]/pdfaProperty:valueType", "Text", null);
    Above code creates following XMP:
    <x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 4.1.1">
      <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
        <rdf:Description rdf:about=""
            xmlns:pdfaExtension="http://www.aiim.org/pdfa/ns/extension/"
            xmlns:pdfaSchema="http://www.aiim.org/pdfa/ns/schema#"
            xmlns:pdfaProperty="http://www.aiim.org/pdfa/ns/property#">
          <pdfaExtension:schemas>
            <rdf:Bag>
              <rdf:li rdf:parseType="Resource">
                <pdfaSchema:prefix>dc</pdfaSchema:prefix>
                <pdfaSchema:namespaceURI>http://purl.org/dc/elements/1.1/</pdfaSchema:namespaceURI>
                <pdfaSchema:schema>Dublin Core Schema</pdfaSchema:schema>
                <pdfaSchema:property>
                  <rdf:Seq>
                    <rdf:li rdf:parseType="Resource">
                      <pdfaProperty:name>contributor</pdfaProperty:name>
                      <pdfaProperty:category>external</pdfaProperty:category>
                      <pdfaProperty:description>Contributors to the resource (other than the authors).</pdfaProperty:description>
                      <pdfaProperty:valueType>bag ProperName</pdfaProperty:valueType>
                    </rdf:li>
                    <rdf:li rdf:parseType="Resource">
                      <pdfaProperty:name>coverage</pdfaProperty:name>
                      <pdfaProperty:category>external</pdfaProperty:category>
                      <pdfaProperty:description>The extent or scope of the resource.</pdfaProperty:description>
                      <pdfaProperty:valueType>Text</pdfaProperty:valueType>
                    </rdf:li>
                  </rdf:Seq>
                </pdfaSchema:property>
              </rdf:li>
            </rdf:Bag>
          </pdfaExtension:schemas>
        </rdf:Description>
      </rdf:RDF>
    </x:xmpmeta>

  • Re: Is it possible to change row colors on array fields ors

    HI Martin!
    Yes, it is possible to change row colors on array fields.
    I have attached a PEX (tools.pex) which has an object which changes FillColor
    and PenColor for Arrays. The PEX has it's own test window, so you can try
    various combinations. (There are a few other Objects in the Project which are
    not relevant
    I'm not sure that you can change colors on individual choices in a scroll list.
    I haven't tried playing around with it.
    The test window actually changes the color of scroll lists as well.
    The object keeps track of which rows have changed color, same with pen color, so
    that when you scroll it keeps track of which rows are a different colors.
    The pex is self-contained, just import the file and do a test run.
    Please let me know if you have any problems.
    -later
    -labeaux
    Is it possible to change row colors on array fields or scroll lists?
    I need to create a list field that will allow me to dynamically change the
    fillColor and/or penColor attributes of individual rows. (I just want to
    highlight the rows, and those seem to be the obvious attributes...) It appears
    you can't do that on scroll lists (the elements are list elements, and don't
    have those attributes) and I can't figure out how to do it on an array field
    either. Any ideas for how to accomplish this?
    -Martin ([email protected])

    FreshWebmuse,
    Version 2 of iCal has the "Group Calendar" feature. It was released as part of Mac OS X v10.4, and if you really want/need that feature you will have to upgrade to Tiger.
    ;~)

  • Is it possible to change row colors on array fields orscroll lists?

    I need to create a list field that will allow me to dynamically change the
    fillColor and/or penColor attributes of individual rows. (I just want to
    highlight the rows, and those seem to be the obvious attributes...) It
    appears you can't do that on scroll lists (the elements are list elements,
    and don't have those attributes) and I can't figure out how to do it on an
    array field either. Any ideas for how to accomplish this?
    -Martin ([email protected])

    FreshWebmuse,
    Version 2 of iCal has the "Group Calendar" feature. It was released as part of Mac OS X v10.4, and if you really want/need that feature you will have to upgrade to Tiger.
    ;~)

  • "Highlight Property Value" dialogue box won't go away! Help! CS2

    Have a page that I'm working on, now every 5 seconds or so a box pops up "Highlight Property Value" asking me to enter name and value of CSS property. No amount of canceling or entering data gets rid of it.
    Never have seen this box in all my years of GoLive.
    Tried quitting and reopening GL, but still there.
    CS2 on Leopard.

    Installed as another user-set to admin, but this means I cannot work on any of my existing sites (since they are assigned to the other user- got error message). really hard to troubleshoot this way.
    Created a new page and did as many quick tasks I I could think of, but did not get the box.
    Logged out and then back in as original user to work on another site and was able to do a few tasks before the box popped up again. Once the box pops up, it's regularly every 5 seconds in all modes source, preview or layout
    I had had Leopard installed for a few weeks before this problem started.
    Could I have missed purging the offending Adobe file in the last reinstall I did on the main user?
    Is there an Apple pref that might have something to do with it?
    Prefs were easy, but it seems as though CS3 and CS2 Suites have some common named files in the Library. I am installing from the Suite disks. If I completely remove all the files that the CS2 deinstall instructions say to delete, can I be assured that I won't be deleting a critical CS3 file of the same name?
    Would love to disable that highlight function any way possible -I've never used it.

  • JNI - Passing an object containing an array field

    I need to pass an object to a native method. The object contains several int fields and a field that is an int array (contains 32 int).
    I have no problem with the int fields, but do not know how to access the int array field in the C code. What approach should be used to get/set values in the int array field?
    Any suggestions are appreciated.

    I have been reading up on the subject, but I guess I'm just an idiot. If all the answers were obvious from reading the specification then there wouldn't be much point to this forum.
    For int fields in the object passed to the native function I do the following to set the value:
    fid = (*env)->GetFieldID(env, cls, "intFieldName", "I");
    (*env)->SetIntField(env, myObj, fid, newValue);
    For a field that is an array of int, it seems that I can get the field ID as follows:
    fid = (*env)->GetFieldID(env, cls, "arrayFieldName", "[I");
    The "Get<Type>Field" and "Set<Type>Field" methods can be used for object, boolean, byte, char, short, int, long, float, double. Nothing specific here for array. Should I use the GetObjectField method, if so can the object field then be handled as an array? This is where I am missing something. I have experimented with using the SetIntArrayRegion method but this causes an exception - obviously missing a necessary step here. I am hoping someone here can provide guidance on what I am missing, what JNI functions I should be using, or refer me to the appropriate page of the specification or other document where it is explained (for idiots like me).

  • JDO : how to map a byte array field correctly

    Could someone please provide an example on how to correctly map a byte array field in a PCClass.
    The field should be mapped to a BLOB field in my Dictionary project.
    The checker keeps throwing errors during the enhancement process. Tried all sorts of combinations of xml in my jdo and map file (using the dtd) but I still haven't found the solution. The compilation works fine though, it is only the checker that complains.

    You're already in a PDF open in Acrobat (not the free Adobe Reader) and you've made a new PDF? Which you want to save to disk and reopen?

  • How to set property "java.util.Arrays.useLegacyMergeSort" in jnlp-file?

    Hi,
    I have a problem in a web start application with java 7 and the new sort behavior (exception: comparison method violates its general contract).
    So I like to go back to previous behavior and tried to put the new java 7 system property "java.util.Arrays.useLegacyMergeSort" in the generated jnlp-File:
    <property name="java.util.Arrays.useLegacyMergeSort" value="true"/>.
    Now I can read the property value in java code with System.getProperty("java.util.Arrays.useLegacyMergeSort"), and guess the property was successful set, but the exception still appears?!
    The system property works with command line "javaws -J-Djava.util.Arrays.useLegacyMergeSort=true file.jnlp", but not via doubleclick on the jnlp-file or url and browser.
    Any ideas?
    Cheers,
    Dan

    Only "trusted" set of properties can be set in the JNLP file by unsigned applications.
    List of properties is revised from time to time but it usually takes time for new properties to be added to it (if there is strong demand for it as every property should undergo security audit).
    You can specify arbitrary property if you sign your application and JNLP file.

  • [svn:fx-trunk] 12788: By popular demand, we now allow for empty child property tags for Array type properties.

    Revision: 12788
    Revision: 12788
    Author:   [email protected]
    Date:     2009-12-10 07:46:54 -0800 (Thu, 10 Dec 2009)
    Log Message:
    By popular demand, we now allow for empty child property tags for Array type properties. Coerced to empty array '[]'.
    QE notes: None
    Doc notes: None
    Bugs: SDK-24500
    Reviewer: Paul
    Tests run: Checkin
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-24500
    Modified Paths:
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/AbstractBuilder.java
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/ComponentBuilder.jav a

    Hi John,
    Sorry to tell but tab completion is still failing on my Windows XP/Indesign CS5 (caught by Indesign).
    I just saw your remark on coloring text, here is an example pulled out from Peter's book "ScriptUI for dummies":
    var w = new Window ("dialog");
    var s = w.add ("statictext", undefined, "Static");
    var e = w.add ("edittext", undefined, "Edit");
    var b = w.add ("button", undefined, "Button");
    // The window's backround
    w.graphics.backgroundColor = w.graphics.newBrush (w.graphics.BrushType.SOLID_COLOR, [0.5, 0.0, 0.0]);
    // Font and its colour for the first item, statictext
    s.graphics.font = ScriptUI.newFont ("Helvetica", "Bold", 30);
    s.graphics.foregroundColor = s.graphics.newPen (w.graphics.PenType.SOLID_COLOR, [0.7, 0.7, 0.7], 1);
    // Font and colours for the second item, edittext
    e.graphics.font = ScriptUI.newFont ("Letter Gothic Std", "Bold", 30);
    e.graphics.foregroundColor = e.graphics.newPen (e.graphics.PenType.SOLID_COLOR, [1, 0, 0], 1);
    e.graphics.backgroundColor = e.graphics.newBrush (e.graphics.BrushType.SOLID_COLOR, [0.5, 0.5, 0.5]);
    // Font for the tird control, a button. Can't set colours in buttons
    b.graphics.font = ScriptUI.newFont ("Minion Pro", "Italic", 30);
    w.show ();
    Loic

  • Please tell me how I can set an array field to an object?

    Hi,
    Please tell me how I can set the plID (an array field) to an object? This result is for one Agent object. Suppose the Agent object only has these two fields.
    If a sql query result is something like this (which is one object).
    agent_last PLID
    smith      5
    smith               6
    smith               7
    Agent agent = new Agent();
    StringBuffer sql = new StringBuffer();
    int count = getPLNo(agentID);// # of the query result
    try {
    SQL tsql = new SQL();
    Connection conn = tsql.getConnection();
    sql.append("SELECT agent_last, b.PLID ");
    sql.append("FROM Agent a, PL b ");
    sql.append("where a.agent_id = b.agent_id ");
    sql.append("and a.agent_id = ? ");
    PreparedStatement st = conn.prepareStatement(sql.toString());
    st.setInt(1, agentID);
    ResultSet rs = st.executeQuery();
    while (rs.next()) {
    agent.setAgentID(agentID);
    agent.setAgentLast(rs.getString(1));
    for ( int i = 0 ; i < count; i++ ) {               //how to do it?
    agent.setPrivateLabelID(new int[] {rs.getInt(2)});//how to do it?
    st.close();
    rs.close();
    tsql.close();
    } catch (SQLException e) {
    System.out.println("SQL: " + e.getMessage());
    throw new Exception(e.getMessage());
    } catch (Exception e) {
    System.out.println("Except: " + e.getMessage());
    throw new Exception(e.getMessage());
    return agent;
    }

    If that's not what you're looking for, then you get
    what you pay for. :-)Hi fmeyer75,
    Thank you very much for your input. That's exactly what I was looking for and it works!!!!
    For anyone who has similar issue, I changed the code a little to make it work with my existing ones. I never splited queries before, so please tell me if there's a better way to handle it.
    I keep the first half part and changed a little for the second half. Below is what I use now
    sql.setLength(0);
    sql.append("SELECT PLID ");
    sql.append("FROM PL ");
    sql.append("where agent_id = ? ");
    List list = new ArrayList();
    PreparedStatement st2 = conn.prepareStatement(sql.toString());
    st2.setInt(1, agentID);
    ResultSet rs2 = st2.executeQuery();
    while (rs2.next()) {
                 list.add(new Integer(rs2.getInt(1)));
    agent.setPrivateLabelID(new int[list.size()]) ;
    for ( int i = 0 ; i < list.size(); i++ ) {
    agent.getPrivateLabelID() = ((Integer)
    list.get(i)).intValue() ;
    st.close();
    rs.close();
    st2.close();
    rs2.close();

  • PDF file size grows with each save if .access property set on a field

    We are seeing an odd form behavior and have isolated the apparent trigger to something we are doing in the form script.  I'm hoping someone can confirm they see the same problem, details follow:
    We have a form generated in LiveCycle.  It contains a text field.  In the docReady event for that field we have javascript which sets the field to be readOnly (TextField1.access = "readOnly").  We reader extend the form so we can save it from reader and/or the plug-in/control which is used by a browser when reading PDFs.
    With that simple form, open the form via the browser (we've tested with both IE and Chrome) and without doing anything else, just save the form (with a new name).  When we do that, the saved copy of the form is significantly bigger than the copy we started with.  If we then repeat the process using the newly saved file, the third copy is bigger than the second.
    This file growth does not happen if you open the file in Adobe Reader (instead of in the browser).
    When we look at the file contents via a text editor, what we have found is that each save via the browser is tacking on a chunk of data to the end of the file AFTER the %%EOF mark.  This new section appears to be one or more object definitions and ends with another %%EOF.  The first portion of the file (prior to the first %%EOF) is identical in all versions of the file.
    If you take a copy of the file that has these extra section added, then open and save it in Adobe Reader, it eliminates those extra sections and you get a 'clean', small version of the file again.  So those extra sections are clearly erroneous and unnecessary.
    Another thing worth noting, we took the script for setting the field access property out of the docReady event and put it as the click event on a button added to the form.  If you then open the form, press the button and save it you see the file growth (but not if you don't press the button.)  So it doesn't appear related to the docReady event, or timing of when we set the access property of the field.
    On the small test form described above the growth of the file is around 13KBytes.  But in testing with our real forms we've found that the amount  of growth seems to be tied to the size/complexity of the form and the form data.  In our most complex form with multiple pages with hundreds of fields and a large amount of XML data (form size is 2+MB), we are getting a file size increase of 700KBytes on each save.  This is a therefore, a significant issue for us, particularly since the process in which the form is used requires the users to save it a couple of times a day over the period of a month or more.

    I would start by exporting the XML data from the form before and after it grows to see if it is the underlying data that is growing and where. Did you define a schema and bind your form fields to a data connection created from the schema? That is always my first step when creating a form. It makes for a smaller saved file not including multiple levels of sub forms in the data structure.

  • AffectsFormMode property of User defined field in system matrix

    Hallo
    I added one UDF in System matrix of  service call id at panel  Solution.
    I  set formated search for that UDF field to populate Symptons data from  system knowldge base form (table).
    I set the fromatted search property for that UDF Column is Automatic.
    So when i nevigate record on Service call form, this UDF column fetch the value and so form goes in Update Mode.
    Please i want to   AffectsFormMode  property for that column, so i  have to get the form mode is "OK"
    How it is possible.
    Pleaase help me
    Narendra
    Edited by: NarenKD on Dec 28, 2010 12:24 PM

    Hi H2
    It is true,
    But When i  open 'Service Knowledge Base'  child form  by clicking ID Link Button in Solution Tab of Service Call Form
    and update that form (here symptoms field important for me),
    it does not change the state of Parrent Service call form  to update.
    Also there is not any link between this two table SCL1 service call  and OSLT Solution knowldege table In PLD.
    so i create Symptoms  UDF in matrix at solution tab of Service call form.
    also i create formatted search to fill this column.
    I set that formatted search as "auto refresh when field change"
    so when i navigate through service call records. it featches and put value in that UDF column and make form state "Update"
    I want to avoid it.
    means when i navigate the service call, when the value of  that UDF Is different then OSLT table then that Service Call goes to update state otherwise it have OK state.
    I used query in formatted search to fetch the value for UDF
    What will be the solution for this problem.
    Also tell me Can i call formatted search through program means can i give formatted search command (shift F2. or press formatted seach button) in program.
    Regards
    Narendra
    Edited by: NarenKD on Dec 29, 2010 9:41 AM
    Edited by: NarenKD on Dec 29, 2010 9:50 AM

Maybe you are looking for