How to set Action type of Message Text Input Programatically.

Hi,
I am trying to create a PPR Event on a Message Text Input of Standard Page.
I am extending the controller and trying to set the Action Type to firePartialAction and Event to XXXX
Is it possible to set those properties?
Regards,
Krishna

Hi,
user1000 wrote:
I am trying to create a PPR Event on a Message Text Input of Standard Page.
I am extending the controller and trying to set the Action Type to firePartialAction and Event to XXXX
Is it possible to set those properties?---Yes ,it possible in OAF.
OAMessageTextInputBean Textinput=(OAMessageTextInputBean)webBean.findChildRecursive("Textinput");
FirePartialAction FireActionA = new oracle.cabo.ui.action.FirePartialAction();
FireActionA.setEvent("PPR");
FireActionA.setUnvalidated(true);
Textinput.setPrimaryClientAction(FireActionA);
Regards
Meher Irk

Similar Messages

  • How to set todays date in message date input field in uix

    Hello everybody,
    Im using jdeveloper 9015+adf+uix
    I am having an input form and in that i want to set the date input field with the current date(default value).
    Does anybody of you know how I should do this.
    Any help is appreciated,
    Thanks in advance

    Hi,
    Did you figure out on how to default system date in a date input field??
    I have a similar requirement in OA framework. Please let me know if you have any ideas.
    Thanks,
    vinay.

  • How to move the cursor in a text input programatically

    Hi,
    I am using a TextInput field and a my own keyboard UI with buttons for each alphabet.
    When the user presses buttons on the keyboard UI, i populate the TextInput field through data binding.
    But I would want the cursor to move as the characters are entered in the field at the same time.
    So, how do I move the cursor using actionscript code?
    thanks,
    Sunil

    In that case you need to programmatically insert the text at the selection point. You get the selection point using the selectionBeginIndex and selectionEndIndex properties. I have an app where I do that, using this code:
    // textInput is the name of the TextInput control
    private function insertTextAtSelection(text:String):void
         var start:int = textInput.selectionBeginIndex;
         var end:int = textInput.selectionEndIndex;
         var hasSelection:Boolean = start != end;
          textInput.text = textInput.text.substring(0, start) + text + textInput.text.substring(end);
         if (hasSelection)
             textInput.selectionBeginIndex = start;
             textInput.selectionEndIndex = start + text.length;
         else
             textInput.selectionBeginIndex = textInput.selectionEndIndex = end + text.length;
    This is what the code does:
    gets the starting and ending positions of the insertion point (in case the user has an active selection rather than just an insertion point).
    concatenates the old text with the new text and writes it into the text input
    restores the user's previous selection or insertion point (In this case I'm setting the selectionBeginIndex and selectionEndIndex properties rather than calling setSelection(), but the end result is the same.)

  • How to make numbers in message text input  fields left aligned?

    Hi Friends
    I have completed one of my task .but getting result right side of the field.
    how to make numbers in message text input  fields left aligned?
    Thanks
    Aravinda

    Hi ,
    Sorry for late replay i am trying this alos not set that page....
    pageContext.forwardImmediatelyToCurrentPage(null, true, null);
    and one more that kff field working is fine for ex display any text pled displayed properly and only problem is not set the value and HrSitKeyFlex6 and HrSitKeyFlex7 fields are perfectly get the values but not pront HrSitKeyFlex8 that only my issue....
    Regards,
    Srini

  • How to set alert mail contain SQL text activities

    How to set alert mail contain SQL text activities.
    In "Notification Templates" topic have no Available Tags about sql text. Can I send mail alert with SQL text?

    it should be text/plain, for a complete list refer
    http://www.freeformatter.com/mime-types-list.html
    Regards.

  • I download itext  for convert jsp to PDF. How to set content type for PDF.

    I download itext for convert jsp to PDF. How to set content type for PDF. I try
    <%@ page contentType = "application/pdf;charset=TIS-620" %>
    , but the page does not PDF.
    Thank.

    PDF files are usually binary files, JSPs are not well-suited for binary content.
    (If you download the result of your JSP you'll see that it is not a valid PDF file; it will have probably a lot of whitespace and linefeeds, that will choke your PDF reader.). The first few characters must be
    "%PDF-" without whitespace.
    You can try using PDF files encoded as text - check if you can use text-encoded PDFs in iText.
    Try using a Servlet instead.

  • How to populate a message text input base on another message text input.

    Hi,
    Everybody,i have 5 message text input a,b,c,d,e(say)
    now a=b+c+d+e,Now am inserting value for a,b,c,d and after giving this 4 value the value of e will automatically populate.How can we achieve this.
    Thanks

    Babu,
    but my question is why we need to attach ppr for all the 4 elements
    we can attach a ppr for 4 element and make a validatiion on other 3 elements, if values are entered or not, if not throw a appropriate exception, if all the values are entered then make the caluculation and assign it to the transient attribute.
    Babu, y would I throw the error if user hasn't entered all 4 i just have to show addtion of all four elements in fifth.Other point is how will you decide which is fourth element, any element can be considered as fourth depnds from where u start counting :)!Unless I have attached PPR to all 4, you won't catch any change event in any of the four elements.The event will be one only but all 4 elements will be attached to same(i.e. all will have same event name).Just visulaise the scenario...., you will get what I am trying to say.
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to Disable client side validation for the message text input

    Hi,
    I have scenario where i need to by pass the client side validation for a message text input
    Scenario is
    I have a message text input field(say XYZ), i set the max length for the item as 20
    Now when im trying to enter the greek characters into it, it is allowing me to enter till 20 characters
    But when i try to submit the form ..my client side validation is firing..
    The Error says the XYZ is too long
    The problem is, in greek each character takes two bytes.(In english it is only 1).While entering the content it allowing 20 characters and when validating it is checking for bytes(if we enter in greek the length will be 40 bytes not 20)
    I cannot increase the max length .coz i have restrict the character length to 20 only.(english or Greek).
    Please help me in this regard.
    Regards
    Sandeep.

    Thanks for the information.But we dont have any option either declaratively or programatically to disable the client side validation for the message text input..I referred java docs ..i dint find any method which does..
    Correct me if im wrong

  • How to set field type choice using csom (c#)

    I have a field type: Choice (menu to choose from) which is not multichoice. How do I set a value?
    I have found code for multiple choice but it doesn't seem to work for single choice.

    Hi,
    The following code snippet for your reference:
    newListItem["ChoiceFieldName"] = "ChoiceValue";
    newListItem.Update();
    clientContext.Load(newListItem);
    clientContext.ExecuteQuery();
    If you are assigning a Value which is not in the Choice Column, You need to create a choice value then assign it to the item.
    More information is here:
    http://sharepoint.stackexchange.com/questions/124999/how-to-set-field-type-choice-using-csom-c
    Best Regards
    Dennis Guo
    TechNet Community Support

  • JTextPane, how to set only a part of text editable?

    How to set only a part of text in JTextPane editable? For example I want to forbid changing text after 'enter'. JTextPane has method setEditable but this works only for whole JTextPane.
    Plz help!!!

    I'm working on some application similar to unix console. It can't be done relatively simply with the provided components (for example two textfileds), but then it will not look like console :) .
    Now some technical problems:
    Anyway, use a DocumentListener and have it ignore any changes
    in areas you deem to be protected.I have no idea how to ignore changes using DocumentListener. Could you give more information abut this?
    I found "my own way". I create MyDefaultStyledDocument which extends DefaultStyledDocument. Then I overwrite two methods: insertString and remove. Using offsets values I manage to block everything before " > ", and I protect output from editing. But I still have a problem:
    This works fine (add "> " to JTextPane text):
                String s = console.getText();
                s = s+"> ";
                console.setText(s); but this doesn't work (for example replace last word):
                    String all = parent.getText();
                    all = all.substring(0,all.length() - cut);
                    all = all+text+" ";
                    parent.setText(all);where: parent = console = JTextPane
    Why?
    And one more question. Why when I typed "enter", Document remove all text and paste it again :/

  • JTextArea, how to set only a part of text editable?

    How to set only a part of text in JTextArea editable? For example I want to forbid changing text beteween lines 2 and 6. JTextArea has method setEditable but this works only for whole JTextArea.
    Plz help!!!

    http://forum.java.sun.com/thread.jspa?forumID=57&threadID=5177361

  • How can u find SRM error message texts?

    hi friends
    How can u find SRM error message texts?
    thanks
    regards
    chinna

    Hi,
    There are several ways.
    1. Go to BBP_PD and open the document. Select the link "Check again" in the bottom area.
    2. Go to SE17 and serch it from table T100.
    3. Go to SE91.
    Regards,
    Masa

  • How can I change the disabled of a message text input base on a choice

    how can I change the disabled of a message text input when a dropdown list value is changed? I declare the primaryclientaction but I don't know how to make the event automatically change the disabled of the message text input to true or false.
    HELP!!!! IT'S URGENT....

    Hi,
    assuming you are using ADF Faces:
    Put a submit(); in the on-change javascript event of the dropdown.
    In the disabled property of the input text use some EL to reference the value of the dropdown eg disabled="{#{! bindings.Fruit.inputValue == 'BANANA'}"
    Brenden

  • Setting CSS Class for a Text Input Item when the disable property set to true

    Hi,
    i have OAF page and the item style is Message text input and i have set the disable property is TRUE using SPELL.
    i want to display the value is BOLD for the item. so i set the CSS class for the item to  OraTipLabel,OraDataText etc using item property or in process request also. the value is not setting BOLD.
    the field is gery out and frozen and it is not displaying BOLD.
    Please advise for the same.
    Thanks
    Sreekanth

    Hi Avaneesh,
    It is still not working for me.
    Still waiting for some pointers
    Anas.

  • How to set content-type for outbound mail in BCS

    Hey everybody,
    can anybody please give me a hint how to set the content-type for outbound email in ABAP using BCS to send mail.
    By default the content tyoe is set to text/html. I need other.
    Best regards
    Roman

    //add related mutip-part to combine parts
    MimeMultipart multipart = new MimeMultipart("related");
    //attach a pdf
    messageBodyPart = new MimeBodyPart();
    fds = new FileDataSource("h:/something.pdf");
    messageBodyPart.setDataHandler(new DataHandler(fds));
    messageBodyPart.setFileName(fds.getName());
    multipart.addBodyPart(messageBodyPart);
    //add multipart to the message
    message.setContent(multipart);
    //send message
    Transport.send(message);

Maybe you are looking for

  • Iphone 4, App store showing 2 updates, but when I go into the app store it says all apps are up to date.

    I have an Iphone 4, IOS version 6.1.3.  My app store badge is showing 2 updates, but when I go into my app store, it tells me all apps are up to date.   I've tried several of the fixes that others have who have had simular issues,  but so far, I havn

  • Ipad/Iphone 4s with 7.1 OS distorts pictures received in email

    A friend sent me a few pictures of furniture. I use Outlook 2010 connect to an MS Exchange server. They appear fine in my Outlook 2010 on my Windows PC - I can download them, work with them, etc. However, if I look at them on my Ipad 2 (7.1) or Iphon

  • Error when running the reports?

    Hi ALL I instl business content reports for my client req, but now some repots are working and some reports gives error below, The requested query 0CSAL_C07/0CSAL_C07_Q0101 does not exist on the current server Error when generating dataProvider 0CRM_

  • G4 system on a G5

    I recently bought a G5 2ghz which only had 10.2 on it. I copied (with Carbon Copy Cloner) over everything from my G4 1ghz, including the 10.4 system. However, the G5 runs slow- worse than the G4, even on Finder operations- copying files etc. Is it po

  • Enterprice Portal Monotoring

    Hi Friends, As a  BASIS CONSULATNT i am donig daily monotoring of all prd systems for ecc,xi,bi But in EP I haven't any ida how to do the monotoring.I am new to EP I know some daily monotoring t-codes are Tablespace Check SLD Check JCO Check Trex Che