Dynamically changing text boxes

My development staff is new to ABAP and the screen painter, and one of those developers is designing a screen with text boxes on it that need to dynamically change according to what is brought back from the database. How would one accomplish that task?
Thanks,
Kevin.

Since it is an ABAP programming-related question, you might have a better chance of getting it answered if you post it in the ABAP Programming Forum.
Regards,
Ivo

Similar Messages

  • Change Text Box Options?

    Is it possible to change the text box options for an entire document, once the type is already flowed in?

    If you used Object styles for the frames, it's a piece of cake.
    Otherwise, check out the Object tab in Find & Replace -- much overlooked, but most likely powerful enough to do what you want.

  • Help needed in getting values from the dynamically created text boxes

    Hello,
    I am developing one jsp page using struts. In the page i m
    dynamically adding some rows with two text boxes in each row. and after entering data into
    those textboxes , user clicks on save button and page is submitted.
    I want to capture all this data of dynamically added
    rows so that i can enter those rows into DB.
    how can i acheive this using struts?.
    Have anyone had tried doing it?. Please help.
    Thanx in advance
    Deepali Naik

    Hi,
    1. If you give these textBoxes the same name, then in your action you can call request.getParameterValues(paramName) - it returns String[ ] of values.
    2. You can give form textBox names like "name"+index or something like this in <logic:iterate> tag
    Good luck!

  • Dynamic change of box size in sapscript

    Hi,
    Can i change the box size dynamically depends on internal table records?
    For example,If the internal table contains 5 records,box size should be small and if the same internal table contains 100 records in future box size should vary accordingly.
    Eagerly waiting for reply.
    Thanks in advance

    Hi Siddharth,
    It is possible from print program.
    <b>DATA COM(100).
    com = 'BOX WIDTH ''17.5'' CM HEIGHT 5 CM FRAME 10 TW INTENSITY 15'.
    CALL FUNCTION 'CONTROL_FORM'
      EXPORTING
        COMMAND         = COM
    EXCEPTIONS
      UNOPENED        = 1
      UNSTARTED       = 2
      OTHERS          = 3
    </b>
    The variable com you can change the values in program .
    You You can use all the options of BOX command this way . But the limitation is this will only work for main window as if it were defined at the top of main window . To position the box correctly you may also use the "POSITION" command .
    Cheers.

  • Dynamic popup text box...

    I have a text box with a ton of text in it (multiple
    paragraphs). Functionally, what I'd like to do is have it so that I
    can have people click on (or roll over) certain words, and then a
    definition pops up in a blue box (kinda like a tooltip)...
    I could make one "box" movieclip with a dynamic text field in
    it, and then just use it as a transparent button over each word
    that needs to be defined within the paragraph (loading the
    definition text inside the "box" dynamically), but I wouldn't know
    how to adjust the size of the box so that it fits each definition's
    text. (like, some definitions may be a couple words, and some may
    be a sentence or two, so if the box is always just one size, that
    won't work)...
    That being said, the only thing I can think of is having a
    separate "box" movieclip (each sized to its separate dimentions) in
    the library. But with all of those definitions, that will increase
    the file size huge...
    There's gotta be a simple solution to this that I'm missing -
    any ideas?! Thanks!...

    quote:
    Originally posted by:
    kglad
    to size your textfield use the autoSize property of
    textfields.
    I thought of that too. That solves the problem of the text
    field itself being the correct size, but I then need the box_mc
    that the text field is IN to be sized correctly....
    ...the reason I need the text field in a box (as opposed to
    just stand-alone) is simply for aesthetics. I need a
    semi-transparent blue background behind the text.
    Is there a way (maybe) to auto-size the text field, then grab
    the size that it was autosized to into variables, then apply those
    variables to size the box_mc??? I'm just grasping at straws here -
    I don't even know if that's possible...
    ...if it IS possible, could someone help get me started with
    a sample code? Thanks!

  • Dynamically change text field type

    Hello all
    I have a form which displays a decimal field. However when certain conditions are met, I need to change its type to Text, so the user can enter any alphanumeric character.
    How do I achieve that with Javascript code? Is it even possible?

    Actually, you can dynamically change a textfield.type. AS2.0
    You need two elements.
    txt.type = "input";
    txt.selectable = true;
    However, if you have the textfield in a btn you will need to
    delete the onRelease function before you can make the tf function correctly.
    btn.onRelease = function()
    delete this.onRelease;
    this.txt.type = "input";
    this.txt.selectable = true;

  • Can't change text box in resume template

    Hi,
    I filled out my resume in a Pages template but now want to expand the text box (I believe that'd be the term) but it won't let me. Maybe it's not a text box after all. Any ideas?

    By expand do you mean add text to it or make it physically bigger?
    I take the later.
    The size is set by the margins:
    +Inspector > Document (1st tab) > Document margins+
    +Inspector > Layout (2nd tab) > Layout > Layout margins+

  • To dynamically  generate text box using javascript

    hi...
    i want to have a button such that if he clicks that button 2 textboxes be generated side by side.
    i want the textboxes to be added just above the button so that the button is always below the newly created textboxes.
    its not only once i want this ..i want that whenever he clicks the button 2 textboxes gets added everytime...
    how can i achieve this?
    thanks

    Ok, so this is a complete thread hijack - probably would have been worth a new thread.
    The initial solution involved javascript completely.
    The problem breaks down to
    1 - identify when we should move focus
    2 - identify which field focus should move to.
    Here is one version. This approach gives each textfield an individual name/number so you can find its "matching" pair.
    <html>
    <head>
      <script>
      var numLinesAdded = 0;
      function focusNext(tBox){
        var name = tBox.name;
        var index = name.substring(name.indexOf('_')+1);
        var brother = eval("document.all.txt2_" + index);   
        var l = tBox.value.length;   
        if (l >= tBox.maxLength){
          brother.focus();
         function generateRow() {
         var d=document.getElementById("div");
         d.innerHTML+="<input type='text' maxlength='5' name='txt1_" + numLinesAdded + "' onkeypress='focusNext(this)'>";
         d.innerHTML+="<input type='text' name='txt2_" + numLinesAdded + "'><br>" ;
         numLinesAdded++;
    </script> 
    </head>
    <body>
    <form>
    <div id="div"></div>
    <input type="button" value="Add" onclick="generateRow()"/>
    <input type="submit">
    </form>
    </body>
    </html>

  • Using null values to change text boxes

    Very simple question I believe.
    I have a form with rows of data.  All I want to do is say that if a given field in a row "description1" is not Null, then populate another field with a specified value.
    jA

    if (descriptionFieldName.rawValue != null){
      otherFieldName.rawValue = "value you want to give it";
    If there are multiple rows of this information you will have to add the row subform to the expression as well as an occurance number so it wil know which one you want . I will use i to indicate the occurance:
    if (Row(i).descriptionFieldName.rawValue != null){
       Row(i).otherFieldName.rawValue = "value you want tto give it";
    Paul

  • How do you selected all text boxes in a document

    Say you have 100 pages in a document and you have a threaded text box placed on pages 1 through 100. How do you selected all the text boxes at the same time? You might do this to change the size of the boxes, or lock all of the boxes, or apply an object style to all of the boxes.

    Depending upon how well your document is set up though, layout adjustment might work.
    If changing text box size is on your agenda, and every text box is lying exactly on guides, then layout adjustment might work.
    The only way I can think of to lock all frames in a story, or to change the size of all text frames in a story, would be to write a Javascript. And, even after years of practice, I know that it'd still be faster for me to just step through the document and make the changes by hand than it would be to bang my head against Javascript for n hours before I found a good solution.
    Barring these exceptions, I think that Bob's statement
    You don't because you can't.
    is actually pretty accurate. Terse, maybe, but accurate.

  • Dynamic action on text box change does not working

    i have a page with following components.
    a report that has and edit link.
    a text box to catch the primary key from report link when it is clicked
    a number of elements (text boxes, check boxes and LOVs) which are used as data entry form.
    Now my design is that user enter values save them and no sooner did they save, the report depicts new
    values. if user want to edit any record, they click on edit link and the data entry form elements
    should now bring all those values from DB on page. i m successful to pick primary key and bring
    it in a hidden text box and wrote a dynamic action on its change event that will bring values from
    DB and set all page elements. but but but.........the change event doesnt work. it only work
    when focus is lost from the text box...!! offcourse user wont want to click in that "hiddent" text
    box and then click some where else to bring values in page data entry form......
    help is humbly requested from forum or if any other solution approach is to be used easier than
    one i m using, would be appreciated.
    thanks in advance for reading my bore question :)

    bundles of thanks for reply. i m going to elaborate.
    1. My page no is 3.
    2. Hidden Item name is P3_EDIT_ACTIVITY_ID
    3. Data entry form, hidden item and the report are on the same page.
    4. on the edit link of report, i have used following settings.
        Target: Page in this application
         Page: 3
         and i set hidden item as follows......
         Item 1   P3_EDIT_ACTIVITY_ID         Value #ACTIVITY_ID#
       well, when i click the link on report it does bring Activity_Id in the hidden box (which is not yet hidden for debugging purpose)
    Next i wrote Dynamic action which fires on the change event of P3_EDIT_ACTIVITY_ID and run PL/SQL code with in it which is as follows
      declare
      Dept varchar(50);
    begin
       select my_dept into Dept from activity_main ACTIVITY_ID = :P3_EDIT_ACTIVITY_ID;
       :P3_Dept := :Dept;          (i did use :P3_Dept := Dept also but this wont work)
      insert into testdynamic (stamp) values (Dept);  (I did this to check whether correct value is brought from DB, yes it works correctly, correct Dept is being inserted in stamp column)
    end;
      i have created another true action to check when the dynamic action is fired. its very simple alert. and the problem is, it only fires when focus is lost from the P3_EDIT_ACTIVITY_ID. i mean, when u keep changing value inside the text box, nothing happens, when u go outside, the alert is fired and so the pl/sql procedure. but the line
        :P3_Dept := :Dept;       OR      :P3_Dept  := Dept;         arent working which is the actual requirement.
      I m not using set value here as i have to set a lot of values on page not one. further. plz let me get rid of this lost focus thing as i want the form to be populated with correct values related to P3_EDIT_ACTIVITY_ID as the user click on any edit_link in the report.
    Thanks for persistence. i hope i have provided all the details.
    looking forward.

  • How to Change the Text Box to LOV where the Text Box displayed dynamically

    Hi All,
    I have to Change the Text Box to LOV. But the Text Box is not the static one.
    In the Expense Screen, when i select the particular expense type, additonal infomation is getting displayed.
    There is a one additional field called 'Portfolio Code' . This is a text Box. I need to change this as LOV.
    Even i am not sure how this is getting displyed. This column is mapped to attriubte14 of AP_EXPENSE_LINES_ALL table.
    Please advice
    Thanks,
    Mani

    Controller code continues
    private void createDirectBinding(OAWebBean oawebbean, String s, AttributeKey attributekey, String s1, String s2)
    OAWebBean oawebbean1 = oawebbean.findChildRecursive(s);
    oawebbean1.setAttributeValue(attributekey, new OADataBoundValueViewObject(oawebbean1, s2, s1));
    private void createDirectBinding(OAWebBean oawebbean, String s, AttributeKey attributekey, String s1)
    OAWebBean oawebbean1 = oawebbean.findChildRecursive(s);
    oawebbean1.setAttributeValue(attributekey, new OADataBoundValueViewObject(oawebbean1, s1, "DetailsPagePVO"));
    private void processRequestNormalDetails(OAPageContext oapagecontext, OAWebBean oawebbean)
    OAMessageChoiceBean oamessagechoicebean = (OAMessageChoiceBean)oawebbean.findChildRecursive("ExpTypeChoice");
    oamessagechoicebean.setPickListCacheEnabled(false);
    oamessagechoicebean = (OAMessageChoiceBean)oawebbean.findChildRecursive("GuestType");
    oamessagechoicebean.setPickListCacheEnabled(false);
    OAMessageTextInputBean oamessagetextinputbean = (OAMessageTextInputBean)oawebbean.findChildRecursive("Justification");
    if(oamessagetextinputbean != null)
    oamessagetextinputbean.setWrap("soft");
    createDirectBinding(oawebbean, "ExpTypeChoice", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "StartDate", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "Justification", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "ExpenseGroup", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "LocationName", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "RBLocation", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "DetailMerchantName", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "DetailTaxClassification", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "DetailTaxCode", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "TaxRegNumber", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "ReceiptNumber", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "Reference", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "TaxpayerID", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "AirTravelType", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "AirTicketClass", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "AirTicketNumber", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "AirFromLocation", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "AirToLocation", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "AccEndDate", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "MealNumberAttendees", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "MealAttendees", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "DetailDailyRate", STYLE_CLASS_ATTR, "DetailDailyRateCSS");
    createDirectBinding(oawebbean, "NumberOfDays", STYLE_CLASS_ATTR, "DetailDailyRateCSS");
    createDirectBinding(oawebbean, "DetailReceiptAmount", STYLE_CLASS_ATTR, "DetailReceiptAmountCSS");
    createDirectBinding(oawebbean, "ReceiptCurrencyChoice", STYLE_CLASS_ATTR, "ReceiptCurrencyChoiceCSS");
    createDirectBinding(oawebbean, "InverseExchRate", STYLE_CLASS_ATTR, "DetailExchRateCSS");
    createDirectBinding(oawebbean, "ExchRate", STYLE_CLASS_ATTR, "DetailExchRateCSS");
    createDirectBinding(oawebbean, "DetailDailyRate", CURRENCY_CODE, "ReceiptCurrencyCode");
    createDirectBinding(oawebbean, "DetailReceiptAmount", CURRENCY_CODE, "ReceiptCurrencyCode");
    createDirectBinding(oawebbean, "DetailReimbursAmt", CURRENCY_CODE, "ReimbursementCurrencyCode");
    createDirectBinding(oawebbean, "ParentGuestTypeSortableHeader", REQUIRED_ATTR, "FB_GuestTypeColReq");
    createDirectBinding(oawebbean, "ParentGuestNameSortableHeader", REQUIRED_ATTR, "FB_GuestNameColReq");
    createDirectBinding(oawebbean, "ParentGuestTitleSortableHeader", REQUIRED_ATTR, "FB_GuestTitleColReq");
    createDirectBinding(oawebbean, "ParentGuestTaxIdSortableHeader", REQUIRED_ATTR, "FB_GuestTaxIdColReq");
    createDirectBinding(oawebbean, "ParentGuestEmployerSortableHeader", REQUIRED_ATTR, "FB_GuestEmployerColReq");
    createDirectBinding(oawebbean, "ParentGuestEmployerAddrSortableHeader", REQUIRED_ATTR, "FB_GuestEmployerAddressColReq");
    String s = oapagecontext.getParameter("source");
    String s1 = oapagecontext.getParameter("event");
    if("StartDateUpdate".equals(s1) && "StartDate".equals(s))
    setFocusToField("StartDate", oawebbean);
    } else
    if("AmountUpdateReceiptCurrency".equals(s1) && "ReceiptCurrencyChoice".equals(s))
    setFocusToField("ReceiptCurrencyChoice", oawebbean);
    private void processRequestItemizationDetails(OAPageContext oapagecontext, OAWebBean oawebbean)
    OAWebBean oawebbean1 = oawebbean.findChildRecursive("ItemizedDetails");
    OAMessageChoiceBean oamessagechoicebean = (OAMessageChoiceBean)oawebbean1.findChildRecursive("IPL_ExpTypeChoice");
    oamessagechoicebean.setPickListCacheEnabled(false);
    OAMessageChoiceBean oamessagechoicebean1 = (OAMessageChoiceBean)oawebbean1.findChildRecursive("ChildExpTypeChoice");
    oamessagechoicebean1.setPickListCacheEnabled(false);
    oamessagechoicebean = (OAMessageChoiceBean)oawebbean1.findChildRecursive("ExpenseType");
    oamessagechoicebean.setPickListCacheEnabled(false);
    oamessagechoicebean = (OAMessageChoiceBean)oawebbean1.findChildRecursive("ChildGuestType");
    oamessagechoicebean.setPickListCacheEnabled(false);
    OAMessageLayoutBean oamessagelayoutbean = (OAMessageLayoutBean)oawebbean1.findChildRecursive("ChildExpTypeLayout");
    oamessagelayoutbean.setRequired("uiOnly");
    createDirectBinding(oawebbean, "IPL_ExpTypeChoice", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "IPL_StartDate", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "IPL_Justification", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "IPL_LocationName", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "IPL_RBLocation", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "IPL_MerchantName", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "IPL_TaxRegNumber", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "IPL_ReceiptNumber", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "IPL_Reference", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "IPL_TaxpayerID", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "ChildExpTypeChoice", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "ChildStartDate", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "ChildReceiptCurrencyChoice", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "ChildJustification", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "ChildExpenseGroup", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "ChildLocationName", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "ChildRBLocation", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "ChildDetailMerchantName", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "ChildDetailTaxClassification", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "ChildDetailTaxCode", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "ChildAirTravelType", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "ChildAirTicketClass", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "ChildAirTicketNumber", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "ChildAirFromLocation", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "ChildAirToLocation", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "ChildAccEndDate", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "ChildMealNumberAttendees", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "ChildMealAttendees", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "ChildDetailReceiptAmount", STYLE_CLASS_ATTR, "SharedCSS");
    createDirectBinding(oawebbean, "IPL_ReceiptCurrency", STYLE_CLASS_ATTR, "DetailReceiptAmountCSS");
    createDirectBinding(oawebbean, "IPL_OriginalReceiptAmount", STYLE_CLASS_ATTR, "DetailReceiptAmountCSS");
    createDirectBinding(oawebbean, "IPL_ExchangeRate", STYLE_CLASS_ATTR, "DetailExchRateCSS");
    createDirectBinding(oawebbean, "IPL_InverseExchangeRate", STYLE_CLASS_ATTR, "DetailExchRateCSS");
    createDirectBinding(oawebbean, "ChildDetailDailyRate", STYLE_CLASS_ATTR, "DetailDailyRateCSS");
    createDirectBinding(oawebbean, "ChildNumberOfDays", STYLE_CLASS_ATTR, "DetailDailyRateCSS");
    createDirectBinding(oawebbean, "ExpenseReimAmountHeader", TEXT_ATTR, "ReceiptAmountColHeader");
    createDirectBinding(oawebbean, "IPL_ReimbursementAmount", CURRENCY_CODE, "ReimbursementCurrencyCode");
    createDirectBinding(oawebbean, "ItemizationDetailsHeader", TEXT_ATTR, "ChildDetailHeader");
    createDirectBinding(oawebbean, "ChildDetailDailyRate", CURRENCY_CODE, "ReceiptCurrencyCode");
    createDirectBinding(oawebbean, "ChildDetailReceiptAmount", CURRENCY_CODE, "ReceiptCurrencyCode");
    createDirectBinding(oawebbean, "ChildDetailReimbursAmt", CURRENCY_CODE, "ReimbursementCurrencyCode");
    createDirectBinding(oawebbean, "ReceiptAmount", CURRENCY_CODE, "ReceiptCurrencyCode");
    createDirectBinding(oawebbean, "IPL_OriginalReceiptAmount", CURRENCY_CODE, "ReceiptCurrencyCode");
    createDirectBinding(oawebbean, "ChildGuestTypeSortableHeader", REQUIRED_ATTR, "FB_GuestTypeColReq");
    createDirectBinding(oawebbean, "ChildGuestNameSortableHeader", REQUIRED_ATTR, "FB_GuestNameColReq");
    createDirectBinding(oawebbean, "ChildGuestTitleSortableHeader", REQUIRED_ATTR, "FB_GuestTitleColReq");
    createDirectBinding(oawebbean, "ChildGuestTaxIdSortableHeader", REQUIRED_ATTR, "FB_GuestTaxIdColReq");
    createDirectBinding(oawebbean, "ChildGuestEmployerSortableHeader", REQUIRED_ATTR, "FB_GuestEmployerColReq");
    createDirectBinding(oawebbean, "ChildGuestEmployerAddrSortableHeader", REQUIRED_ATTR, "FB_GuestEmployerAddressColReq");
    createDirectBinding(oawebbean, "BusinessExpValue", TEXT_ATTR, "ItemizationTotalBusinessExpenses");
    createDirectBinding(oawebbean, "BusinessExpValue", CURRENCY_CODE, "ReceiptCurrencyCode");
    createDirectBinding(oawebbean, "PersonalExpValue", TEXT_ATTR, "ItemizationTotalPersonalExpenses");
    createDirectBinding(oawebbean, "PersonalExpValue", CURRENCY_CODE, "ReceiptCurrencyCode");
    createDirectBinding(oawebbean, "ReceiptAmountValue", TEXT_ATTR, "ExpenseReportLinesVO", "ReceiptCurrencyAmount");
    createDirectBinding(oawebbean, "ReceiptAmountValue", CURRENCY_CODE, "ReceiptCurrencyCode");
    OAMessageTextInputBean oamessagetextinputbean = (OAMessageTextInputBean)oawebbean1.findChildRecursive("IPL_Justification");
    oamessagetextinputbean.setWrap("soft");
    oamessagetextinputbean = (OAMessageTextInputBean)oawebbean1.findChildRecursive("ChildJustification");
    oamessagetextinputbean.setWrap("soft");
    String s = oapagecontext.getParameter("source");
    String s1 = oapagecontext.getParameter("event");
    if("DuplicateItemization".equals(s) || "RemoveItemization".equals(s) || "AddItemization".equals(s) || "SingleSelectionChange".equals(s1))
    setFocusToField(oamessagechoicebean1.getID(), oawebbean);
    } else
    if("ChildStartDateUpdate".equals(s1))
    OAMessageTextInputBean oamessagetextinputbean1 = (OAMessageTextInputBean)oawebbean.findChildRecursive("ChildDetailDailyRate");
    OADataBoundValueViewObject oadataboundvalueviewobject = new OADataBoundValueViewObject(oamessagetextinputbean1, "DetailDailyRateRendered", "DetailsPagePVO");
    Boolean boolean1 = (Boolean)oadataboundvalueviewobject.getValue(oapagecontext.getRenderingContext());
    if(boolean1 != null && boolean1.booleanValue())
    setFocusToField("ChildDetailDailyRate", oawebbean);
    } else
    setFocusToField("ChildDetailReceiptAmount", oawebbean);
    } else
    if("StartDateUpdate".equals(s1) && "IPL_StartDate".equals(s))
    setFocusToField("IPL_StartDate", oawebbean);
    } else
    if("IPL_ReceiptCurrencyChange".equals(s1) && "IPL_ReceiptCurrency".equals(s))
    setFocusToField("IPL_ReceiptCurrency", oawebbean);
    private void setFocusToField(String s, OAWebBean oawebbean)
    OABodyBean oabodybean = (OABodyBean)OAWebBeanUtils.findParentByType(oawebbean, "BODY", oracle/apps/fnd/framework/webui/beans/OABodyBean);
    oabodybean.setInitialFocusId(s);
    private void createPPRFlexRegions(OAPageContext oapagecontext, OAWebBean oawebbean)
    OAWebBean oawebbean1 = oawebbean.findChildRecursive("AdditionalFields");
    OAWebBean oawebbean2 = oawebbean.findChildRecursive("ChildAdditionalFields");
    String s = oapagecontext.getProfile("AP_WEB_DESC_FLEX_NAME");
    if(s == null || "N".equals(s) || "H".equals(s))
    return;
    OAApplicationModule oaapplicationmodule = oapagecontext.getApplicationModule(oawebbean1);
    Vector vector = (Vector)oaapplicationmodule.invokeMethod("getExpenseTypesVector");
    Vector vector1 = (Vector)vector.elementAt(0);
    Vector vector2 = (Vector)vector.elementAt(1);
    Vector vector3 = new Vector();
    Vector vector4 = new Vector();
    vector.addElement(vector4);
    Boolean boolean1 = (Boolean)oaapplicationmodule.invokeMethod("IsItemizedLine");
    for(int i = 0; i < vector1.size(); i++)
    String s1 = vector1.elementAt(i).toString();
    String s2 = (String)vector2.elementAt(i);
    String s3 = (new StringBuilder()).append("DFF_").append(s1).toString();
    int j = createFlexBean(true, oapagecontext, oawebbean1, s1, s2, s3);
    if(Boolean.TRUE.equals(boolean1))
    String s4 = (new StringBuilder()).append("ChildDFF_").append(s1).toString();
    j = createFlexBean(false, oapagecontext, oawebbean2, s1, s2, s4);
    vector4.addElement(new Integer(j));
    if(oapagecontext.isBackNavigationFired(true))
    return;
    } else
    Serializable aserializable[] = {
    vector
    Class aclass[] = {
    java/util/Vector
    oaapplicationmodule.invokeMethod("configurePVOForDFF", aserializable, aclass);
    oaapplicationmodule.invokeMethod("syncAttCategoryWithExpType");
    return;
    private int createFlexBean(boolean flag, OAPageContext oapagecontext, OAWebBean oawebbean, String s, String s1, String s2)
    OAMessageLayoutBean oamessagelayoutbean = (OAMessageLayoutBean)createWebBean(oapagecontext, "MESSAGE_LAYOUT_BEAN", null, null);
    oawebbean.addIndexedChild(oamessagelayoutbean);
    String s3 = (new StringBuilder()).append("DFF_").append(s).append("Rendered").toString();
    ArrayList arraylist = (ArrayList)oapagecontext.getTransactionTransientValue("flexList");
    Object obj = null;
    Object obj1 = null;
    if(arraylist != null)
    OADescriptiveFlexBean oadescriptiveflexbean = (OADescriptiveFlexBean)arraylist.get(0);
    String s4 = (String)arraylist.get(1);
    if(oadescriptiveflexbean != null && s4 != null && s.equals(s4) && oadescriptiveflexbean.getUINodeName().equals(s2))
    oamessagelayoutbean.addIndexedChild(oadescriptiveflexbean);
    oamessagelayoutbean.setAttributeValue(RENDERED_ATTR, new OADataBoundValueViewObject(oamessagelayoutbean, s3, "DetailsPagePVO"));
    oapagecontext.removeTransactionTransientValue("flexList");
    return oadescriptiveflexbean.getIndexedChildCount(null) - 2;
    OADescriptiveFlexBean oadescriptiveflexbean1 = (OADescriptiveFlexBean)createWebBean(oapagecontext, "DESCRIPTIVE_FLEX", null, s2);
    oamessagelayoutbean.addIndexedChild(oadescriptiveflexbean1);
    oamessagelayoutbean.setAttributeValue(RENDERED_ATTR, new OADataBoundValueViewObject(oamessagelayoutbean, s3, "DetailsPagePVO"));
    oadescriptiveflexbean1.setAttributeValue(READ_ONLY_ATTR, new OADataBoundValueViewObject(oadescriptiveflexbean1, "SDP_PageReadOnly", "DetailsPagePVO"));
    oadescriptiveflexbean1.setContextListRendered(false);
    oadescriptiveflexbean1.setAttributeValue(FLEXFIELD_NAME, "AP_EXPENSE_REPORT_LINES");
    oadescriptiveflexbean1.setAttributeValue(FLEXFIELD_APPLICATION_SHORT_NAME, "SQLAP");
    oadescriptiveflexbean1.setAttributeValue(REGION_APPLICATION_ID, OIECommonConstants.STATIC_INTEGER_222);
    if(flag)
    oadescriptiveflexbean1.setViewUsageName("ExpenseReportLinesVO");
    } else
    oadescriptiveflexbean1.setViewUsageName("ItemizedLinesVO");
    oadescriptiveflexbean1.setFlexContext(oapagecontext, s1);
    try
    oadescriptiveflexbean1.processFlex(oapagecontext);
    catch(Exception exception)
    oamessagelayoutbean.setRendered(false);
    return 0;
    return oadescriptiveflexbean1.getIndexedChildCount(null) - 2;
    private void ManualPPR(OAPageContext oapagecontext, OAWebBean oawebbean)
    OAPartialPageRenderUtils.addPartialTargets(oapagecontext, "DetailsPageButtonBar");
    OAPartialPageRenderUtils.addPartialTargets(oapagecontext, "LeftColumn");
    OAPartialPageRenderUtils.addPartialTargets(oapagecontext, "RightColumn");
    OAPartialPageRenderUtils.addPartialTargets(oapagecontext, "ChildLeftColumn");
    OAPartialPageRenderUtils.addPartialTargets(oapagecontext, "ChildExpTypeLayout");
    OAPartialPageRenderUtils.addPartialTargets(oapagecontext, "ChildRightColumn");
    OAPartialPageRenderUtils.addPartialTargets(oapagecontext, "MerchantFieldsHeader");
    OAPartialPageRenderUtils.addPartialTargets(oapagecontext, "MerchantFieldsLayout");
    OAPartialPageRenderUtils.addPartialTargets(oapagecontext, "IPL_MerchantFieldsHeader");
    OAPartialPageRenderUtils.addPartialTargets(oapagecontext, "IPL_MerchantFieldsLayout");
    OAPartialPageRenderUtils.addPartialTargets(oapagecontext, "IPL_LeftColumn");
    OAPartialPageRenderUtils.addPartialTargets(oapagecontext, "IPL_RightColumn");
    OAPartialPageRenderUtils.addPartialTargets(oapagecontext, "ChildEmployeeTableRN");
    OAPartialPageRenderUtils.addPartialTargets(oapagecontext, "ChildGuestTableRN");
    OAPartialPageRenderUtils.addPartialTargets(oapagecontext, "ItemizationMasterTable");
    protected static boolean PageHasExceptions(OAPageContext oapagecontext, OAWebBean oawebbean)
    Object aobj[] = (Object[])(Object[])oapagecontext.getTransactionTransientValue("FWK_PAGE_ERROR_TRXN_CACHE");
    Boolean boolean1 = (Boolean)aobj[3];
    return boolean1.booleanValue();
    private static void ClearExceptions(OAPageContext oapagecontext, OAWebBean oawebbean)
    Object aobj[] = (Object[])(Object[])oapagecontext.getTransactionTransientValue("FWK_PAGE_ERROR_TRXN_CACHE");
    Vector vector = (Vector)aobj[0];
    Vector vector1 = (Vector)aobj[1];
    Vector vector2 = (Vector)aobj[2];
    vector.removeAllElements();
    vector1.removeAllElements();
    vector2.removeAllElements();
    aobj[3] = Boolean.FALSE;
    Edited by: user13079906 on Oct 1, 2010 1:14 AM

  • I am pulling my hair out! I am using adobe indesign and just want to make a text box 'autofit text' as I change fonts a lot and want the font to automatically re-size as I change it. help help help please - I have latest version of indesign - thanks

    I am pulling my hair out! I am using adobe indesign and just want to make a text box 'autofit text' as I change fonts a lot and want the font to automatically re-size as I change it.
    Is it not possible to create a text box, fill it with dynamic (data driven) text, but make the font size either scale up or down automatically, so that the entire text box is filled? This is a feature in PrintShop Mail Pro called COPY FIT. but no such feature in Indesign??
    help help help please - I have latest version of indesign - thanks, DJ

    lol... it seems to work, but I have another huge problem!
    Apparently .CSV files cannot contain page breaks in the data! The data I am trying to merge is a 'letter', with paragraphs, line breaks, etc.,
    But, after data merging, it ignores page breaks and only merges the first paragraph of each letter. (sigh)
    Solution? Hopefully, an EASY solution. lol as we have thousands of records.
    Is there a third party indesign plugin that will allow .xml, or .xls data merge import??
    Thx,
    DJ

  • How can I load a .TXT file into a dynamic text box?

    I am sure that many people know how to load a .txt file into
    a dynamic text box. But I do not. I want to be able to reference a
    txt file from the server into the text box. So that when I change
    the text file it changes in the flash movie without even editing
    the flash file itself. Thank you.

    http://www.oman3d.com/tutorials/flash/loading_external_text_bc/
    I think this is the simplest way to go :)

  • Targeting Dynamic Text Box inside moviecip with variable

    Hi,
    How does one target a dynamic text box to change the border
    color inside of a movie clip? Example below which does not work
    theName = ("answerPrint" + arryCount);
    boxName = ("box" + (arryCount+1));
    _root.pagePrintPartA[theName][boxName].border = true;
    _root.pagePrintPartA[theName][boxName].borderColor =
    0x00cc66;

    Thanks for the reinforcement, but I should of indicated what
    was what:
    theName = ("answerPrint" + arryCount);// Name of Variable
    inside Dynamic Text Box Inside MovieClip
    boxName = ("box" + (arryCount+1));// Instance Name of Actual
    Dynamic Text Box Inside MovieClip
    _root.pagePrintPartA[theName][boxName].border = true;
    _root.pagePrintPartA[theName][boxName].borderColor =
    0xFF0000;
    By certifying this script you showed me wher I went wron (not
    seeing the forest from the trees). The last two lines should be:
    _root.pagePrintPartA[boxName].border = true;
    _root.pagePrintPartA[boxName].borderColor = 0xFF0000;
    I was targeting backwards. Thanks alot DazFaz.

Maybe you are looking for

  • Computer crashes when i plug in my ipod...

    If you can help at all please let me know. I have protection on my computer but...i suspose it could be a virus. All i did was restore it and since then it wouldnt come back up and now it shuts down my computer when the "AutoPlay" file comes up to fi

  • Suggestion for feature

    I use iTunes on my work pc solely for putting music on my iPod . Yesterday I bought my first songs on ITMS and wanted to transfer them to my iPod. When dragging and trying to drop the songs onto the iPod nothing happened. Much later I found out that

  • Change PO--error "System status ITRE is active".

    Hi, When I am trying to release a PO manually i am getting one error message "Error changing to status RELP, System status CMPL is active" in transaction code SWO1. Thanks,

  • Compatibility with Oracle RAC 10g and E-business 11i ?

    Hi netpros, I am currently helping the sales guys with a tender. The customer requires the solution to be compatible for delivering Oracle RAC 10g and e-business 11i. we are proposing a combination of Cat6509E for the core with Infiniband server swit

  • Screen freezing problem!

    when i star to play a game (it is not happen evrytime) the screen is freezs and also  the system is locked ! couse i have no restart button  i have to shut down the system by turniing the psu button off! then when i restart the system ,just before lo