Button in array field

I'm looking for a way to use an ArrayField to display the status of several
business components. These components are the "mapped class" of the array
and as such all attributes can show up as columns in the array.
One of the status data is "on/off" and I'd like to be able to present this
as a picture button widget in an array column. The colour/picture will
indicate the current status, a click on it will take the other status.
I have not been able to pull this off using a button (or any other widget
that has no direct mapping to an attribute). It works if I use a
PictureField and map it to an ImageData attribute of the business component.
You can catch the ChildClick on the corresponding array widget and figure
out which row of the underlying data array was clicked.
I get the feeling that buttons and other un-map-able widgets cannot be used
for the purpose I had in mind by lack of the mapped 1-to-1 relation between
widget/arrayfield row and the corresponding data array row. Can someone
confirm this or prove me wrong?
Theo de Klerk
Professional Services
Compaq Computer Corp. - the Netherlands

George
Thank you for your prompt reply.  I deleted my previous post because I solved the problem by simply removing the button from the form.  Once I did that the script runs perfectly.
Thanks!

Similar Messages

  • 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);

  • 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/>

  • Radio buttons on Customer_H fields in Web UI

    Hi Experts,
    I have a requirement to include the Customer_H fields in Web UI. In the Customer_H table, there are 8 fields, which are currently used in the GUI as follows:
    Field 1 & 2 - Type char1 - Checkbox
    Fields 3 - 8 - Type char1 - 3 radio buttons for each field
    (depending on the selection of a radio button, a corresponding char value is set to the field)
    How do I use the same combination of radio buttons for fields 3-8 on the UI? On the UI, I see checkboxes by default for all the 8 fields.
    I have tried the following:
    For each of fields 3 - 8, I have set the following code in their P_GETTER methods:
      CASE iv_property.
        WHEN if_bsp_wd_model_setter_getter=>fp_fieldtype.
          rv_value = cl_bsp_dlc_view_descriptor=>field_type_radio.
      ENDCASE.
    Thus, in the configuration tab, I can see "Radio button group" written against these fields and field type as "Radiobutton" in the field properties.
    However, on launching the UI, I still see all these fields as checkboxes.
    Please help me in:
    i) Setting up the radio buttons for these fields (do I need to use value nodes?)
    ii) Displaying the radio buttons on the UI
    iii) Capturing the selected radio button's value and updating the customer_h field.
    Look forward to your reply.
    Thanks in advance.
    Regards
    Vicky

    Hi Stephen,
    I understand your point and agree to it.
    However, I have been able to solve the issue now.
    Solution:
    We need to use the P_GETTER method of the EEWB ZZ field to define:
    i) the field type as radio button,
    ii) the radio button group,
    iii) The way radio buttons should be arranged (horizontally or vertically). If we put no. of cols = 1, then these will be arranged vertically.
    We need to use V_GETTER of the same ZZ field to:
    Assign the key & value to the radio buttons (coding is similar as for dropdowns).
    Following is the code:
    *method GET_P_ZZCUSTOMER_H0101.*
      CASE iv_property.
        WHEN if_bsp_wd_model_setter_getter=>fp_fieldtype.
          rv_value = cl_bsp_dlc_view_descriptor=>field_type_radio.
        WHEN if_bsp_wd_model_setter_getter=>fp_radio_cols.
          rv_value = 3.
        WHEN if_bsp_wd_model_setter_getter=>fp_group.
          rv_value = 'R1'.
      ENDCASE.
    endmethod.
    *method GET_V_ZZCUSTOMER_H0101.*
      DATA:  lt_ddlb     TYPE bsp_wd_dropdown_table,
             ls_ddlb     TYPE bsp_wd_dropdown_line.
      IF GR_DDLB_FIELD0101 IS NOT BOUND.
        CREATE OBJECT GR_DDLB_FIELD0101
          EXPORTING
            iv_source_type = 'T'.
          clear : ls_ddlb.
          ls_ddlb-key = '1'.
          ls_ddlb-value = 'P1'.
          append ls_ddlb to lt_ddlb.
          clear : ls_ddlb.
          ls_ddlb-key = '2'.
          ls_ddlb-value = 'P2'.
          append ls_ddlb to lt_ddlb.
          clear : ls_ddlb.
          ls_ddlb-key = '3'.
          ls_ddlb-value = 'P3'.
          append ls_ddlb to lt_ddlb.
          GR_DDLB_FIELD0101->set_selection_table( lt_ddlb ).
      ENDIF.
      rv_valuehelp_descriptor = GR_DDLB_FIELD0101.
    endmethod.
    Say the field label of the field ZZCUSTOMER_H0101 is "Grade", then it will show in the UI as below:
    Grade    () P1       () P2       () P3 
    () = radio button.
    Hope it helps.
    Cheers
    Vicky

  • 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

  • Adding a Button for a field in a table

    Hi there,
    I don't know if it is possible, but I can't find any information of this. How can I make a field in a table searchable? That means I want to include a button besides this field in the table, so that user can click on the button to search for, eg to search for Material Number, using this button.
    Anyone can help?

    No that is wrong. What I want to do is as follows:
    In a table, there is a button in the field where user can click on to activate the OVS. When they click this button, OVS will open up a screen with the search citerias and the results in the table in the OVS (This is auto generated window and I can't modify directly onto the window).
    What is happening now is when I click on the button to activate the OVS, what came out is just the fields.. the labels are all gone.
    I tried to create Simple Type but it seems I do not know the correct way to use it so that the fields for OVS can be displayed with the labels. I tried many ways but the labels just don't show up.
    You proposed that I do a Simple Type Binding but the problem is the window is automated, I can do binding onto the generated window.
    What else can I try? I read all the tutorials and wiki, it seems that all the labels are generated so beautifully and automatically.. but mine is empty..!!
    From what I analysed, in the OVS windows, the number of citeria fields generated are based on the number of fields input for the model and the number of result column is based on the number of fields in the model output. But there is just no Label.
    PS: My data is bound to the backend using Adaptive Webservices, therefore I am using the model to search for the data.
    Any help or advise is greatly appreciated!
    Edited by: Jackson Yap on Feb 25, 2009 10:28 AM

  • 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).

  • Message-Mapping: Button Connect marked field and subsructures is disabled

    Hi everybody,
    I have a graphical mapping. And I want wo use the button "Connect marked field and subsructures".
    But the button is disabled.
    (Other buttons in this panel are also disabled)
    Do you know any reasons?
    Thanks
    Regards Mario
    Edited by: Mario Müller on May 19, 2009 7:22 AM

    Hi,
    in
    XI mapping button disabled
    They write I have to Use JAVA 1.4.2.
    I downloaded 1.4.do I have to do next?
    In the blog the write
    "Go to your control panel->Java->java tab->view."
    Which control panel is meant? How do I get there?
    Thanks
    Regards Mario

  • 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>

  • 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?

  • 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.
    ;~)

  • 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/>

  • Group Radio buttons controlling input fields

    Hi All ,
    I have 3 radio buttons which is grouped in teh form component . beside the 3 radio buttons i have 3 input fields , now i when i click the first radio button the input field beside the radio button should input enabled , rest of the input fields should be disabled ,
    Please share your ideas!!
    Thanks,
    Pradeep.

    Harsha ,
    This is the code in mu get_def method
    APPEND INITIAL LINE TO et_action_definition ASSIGNING <ls_action_definition>.
       <ls_action_definition>-id = 'ADDROW'.
       <ls_action_definition>-action_type = if_fpm_constants=>gc_action_type-validation_independent.
       <ls_action_definition>-imagesrc = '~Icon/AddRow'.
       <ls_action_definition>-VISIBLE = CL_WD_UIELEMENT=>E_VISIBLE-VISIBLE.
       <ls_action_definition>-enabled = abap_true.
    I need the buttons in my list as below
    And in List UIBB i have added 2 buttons
    in the get def i am getting 2 records for add and del but dont know why i am not getting the buttons on screen .
    i have a edit page screen in that i have 2 UIBB , 1st Form UIBB and 2nd LIST UIBB , but when i click the form UIBB its showing as section 1, and the LIST UIBB also in the section1 , i don't think it will be the issue .

  • Livecycle Designer 8 - Is it possible to have button to clear fields after user has clicked submit by email button so user can reuse form to send another response with different answers?

    Users will use form to fill in stats for enquiries so they want to keep form open, complete a form, click button to submit by email, then click another button to clear form, form now ready to accept form's responses.  They dont' want to keep opening form each time form needs to be completed.
    Hope you help.
    Thanks Sandra

    Hi,
    Thanks for your response, not sure what you mean by a loop.  I put together
    a draft form to show staff in our Knowledge Centre the sort of thing
    Livecycle Designer can do.
    (See attached file: Library  Request  Form_pub_0001.pdf)
    They are currently writing out on form and manually putting into excel to
    keep stats on the requests.
    Due to current Global Financial Crisis my section does not want to spend
    extra money at the moment seeking assistance from our tech heads.  So we
    are looking for least work no expense option for keeping stats.  I am a PA
    who just happens to have Livecycle program on my computer.
    We use Lotus Notes so I thought the staff could save copy of Library
    request form in the stationery folder.  The staff using the form want to be
    able to do the following:
    1. open the Library request form at the beginning of the day;
    2. when a request comes in, complete the form and click on Send by email
    button
    3. click on a Clear Data button to clear all data from all fields so the
    form is open ready for when the next request comes in.
    Staff are time poor and, as this is only one of their numerous duties, they
    don't want to keep going to a location and opening a file which can be very
    slow on some days
    Each day form may be filled out by approximately 15 staff who may receive
    anything from 0 - 4 requests a day.
    I am not a tech head so script writing is a deep, dark mystery.  Can you
    help using the form above as an example for achieving step 3 above.
    Thanks,
    Sandra Smith
    Personal Assistant
    PricewaterhouseCoopers Australia
    Office: ++61 (2) 8266 9069
    Fax: ++61 (2) 8286 9069
    [email protected]
    http://www.pwc.com/au
                                                                                    Kacyndra                                                 
                 <[email protected]                                        
                 >                                                          To
                                           Sandra K Smith/AU/TLS/PwC@AsiaPac
                 08/08/2009 12:25                                           cc
                 AM                                                                               
    Subject
                                           Livecycle 
                 Please respond to         Designer 8 - Is it possible to have
                 clearspace-200985         button to clear fields after user
                 0098-481178-2-216         has clicked submit by email button
                 [email protected].         so user can reuse form to send 
                     adobe.com             another response with different
                                           answers?                                                                               
    if i understand this correctly, you just want everything cleared whena
    buttons is pressed?
    you can either do it individually:
    on button click:
    mytextField.rawData=""
    or do a loop, using child/paretns..

Maybe you are looking for

  • Latest version that will work with Mac mini Core SOLO under Snow Leopard?

    Latest Flash Player 11 versions will work with Snow Leopard, but they say they require a Core Duo or newer processor.  What is the last stable version of FP that will work on my mom's Mac mini 1.5Ghz Intel Core Solo (running OS X 10.6.8)? Have search

  • Imac g5 doesn't start

    help! i plugged in and turned on my imac after a months holiday and i get a gray screen with os logo changing to "?" and lots of noise (fan?) but no program. I tried to boot from installer cd and repair but it refused (something about a b tree node m

  • After Effects CC Crashes On Startup

    I downloaded my AE CC trial today, installed it.  When I open up After Effects, create a new composition; it crashes.  I restarted the program, as soon as the program opens, it crashes.  Any solutions?

  • Install errors in IDCS5.5

    I am getting errors when I try to install the Folio Producer Tools and the Folio Builder Panel.  (Mac, ID CS5.5) I was working fine until this morning when the Folio Builder Panel had me update it. The install didn't work and I got an error. Then I w

  • Qm  goods receipt with inspection points

    hi my business process study reveels the following scenario i need to do goods receipt insection with inspection points means the finish product say rice i given paddy to the miller as a subcontarcting iam getting rice as out put i need to record ins