How to pupup the calendar value into text box ?

Hi
I want to use the calendar for my text field .
The calendar will popup when I click a button /image. This image will appear next to text box . when click the calendar. The values should come to into text box.
Please give me any idea how to write a code in jsp for handling the value from calendar.
Thanks
Merlin Roshina

I am assuming u have popupcalendar.js and stylesheets.
Include the javascript in your jsp.
<script type="text/javascript" src="scripts/popcalendar.js"/>
and call the method popUpCalendar on some event like onclick as shown below.
<img border="1" src="images/calendaricon.jpg" title="Open calendar" onClick="popUpCalendar(this,<object to be populated>,'mm/dd/yyyy')" alt="Calendar"/>
<object to be populated> u can give it like this for your text box. U can define an id attribute for your text box and call document.getElementById("<id name>")
and rest the javascript will take care.

Similar Messages

  • How to change the font size of Text Box  Properties Appearance tab into 2 decimal digit.

    How to change the font size of Text Box  Properties Appearance tab into 2 decimal digit. I am uanble to modify it to 5.38 pt for example. Its only allowing to 1 decimal place.

    Click on each field and the choose Properties from either File menu (or if on Mac hold dow mouse button until context menu appears choose properties)
    go to Font
    choose desired size and type font,you can choose to make this the default.
    Do this with each field.
    Or if you have a lot of fields:
    while one is selected select all of them
    then go to fonts in properties
    change Font and size and make default.

  • How to replace the char values into numeric in my string?

    Hi Friends,
    I would like to Replace the Charecter values with numeric value in my string.
    Exp : first in my string I am having the value like this : 'ABCD1234' ( may be any char and num values ), and I want too get it by '99991234'.
    I mean How to replace the char values into numeric in my string?
    Thanks,
    Sridhar

    Hi Sridhar,
    I would like to Replace the Charecter values with numeric value in my string.
    Exp : first in my string I am having the value like this : 'ABCD1234' ( may be any char and num values ), and I want too get it by '99991234'.
    So, if i understand you correctly, you want to replace all characters in a string with 9 as in the above example, irrespective of position of the character, if so try with the below code.
    DATA: l_str TYPE string.
    l_str = 'ASKHSIUDNSBDKJSDH124312431243124saasdfsf'.
    REPLACE ALL OCCURRENCES OF REGEX '\D' IN l_str WITH '9'.
    IF sy-subrc EQ 0.
      WRITE: l_str. "Result will be 9999999999999999912431243124312499999999
    ENDIF.
    Regards,
    Chen
    Edited by: Chen K V on Jun 13, 2011 12:36 PM

  • How to get peoplepicker multiple value in text box?

    Hi All,
    How to get multiple selection people-picker value into text box while using InfoPath?
    Thanks in advance!

    Hi,
    According to your post, my understanding is that you wanted to get peoplepicker multiple value in text box.
    You can set the default value of the text box to:
    eval(eval(Person, 'concat(pc:DisplayName, "; ")'), "..")
    Or change XPath (advanced) to
    xdMath:Eval(xdMath:Eval(../my:group/pc:Person, 'concat(pc:DisplayName, "; ")'), "..")
    More information:
    Use Person/Group Picker in Infopath form to send multiple contacts to a SharePoint Workflow
    InfoPath Forms – Show Person/Group Picker Values in Text Box
    InfoPath Reference to Undeclared Namespace Prefix: ‘PC’
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • How to capture the multiple value in list box

    Hi forums,
           How to select the multiple values in list box and how to catch that values in OnInputProcessing.
    Regards,
    Ravi.

    Hi,
    A possible method is:
    Get all fields of the form
        CALL METHOD request->get_form_fields
          CHANGING
            fields = table_fields.
    loop over the fields
        LOOP AT table_fields INTO wa_fields.
    test the name of the field
          CASE wa_fields-name.
            WHEN 'test'.
    retrieve the value of the field
              test = wa_fields-value.
    endcase
    endloop.
    Eddy

  • How to change the font size of Text box tool ?

    How to change the font size of Text box tool ?
    I am using Acrobat PDF 6.0
    Tools > Advanced Commenting > Text Box Tool
    I need to know how to change the font size. The default font size is too big.
    let me know
    Thanks

    I do not have AA6 available right now (I can check at home this evening). I am also using AA Pro, not Std. In AA7, there is a text box tool that is a commenting tool. When I started typing, a properties toolbar came up that had the font size and such. I haven't figured out how to get the toolbar after the fact. In AA8, I selected the text box tool and then went to view and selected the properties bar (the font size and all showed then), or use Ctrl-E when editing the text. I have not been able to figure out how to edit the text in a text box after you have created it - think it is a mental block right now. Bill

  • How to get the section value into configurator developer page

    Hi,
    I am working on configurator developer, Can I get the section value into the configurator developer page by any setup. If possible means please help me on that.
    Thanks advance,
    Gopi

    I thought the same.Thanks for confirming...I tried with loop approach.but i am unable to get decimal part...
    eg if my values are 12.25 and 123.12....my below code ignores decimal points..i know since i am using Number, it is happening..but could you please let me know how can i get decimal values also..
    OAViewObject vo = (OAViewObject) am.findViewObject("XXXXInvDistributionsVO1");
    vo.first();
    Number grossamount = 0;
    for (int i=0;i< vo.getRowCount();i++) {
    // BigDecimal grossamount1 = new BigDecimal((vo.getRowAtRangeIndex(i).getAttribute("Amount")));
    grossamount = ((oracle.jbo.domain.Number)vo.getRowAtRangeIndex(i).getAttribute("Amount")).intValue();
    System.out.println("grossamount "+grossamount); // it ignores and prints decimal points
    BigDecimal grossamount1 = new BigDecimal(grossamount.intValue());
    System.out.println("grossamount1 "+grossamount1); // it ignores and prints decimal points
    vo.next();
    Thanks
    Raj

  • How to populate the calculated value into screen field.

    I am doing one enhancement in QM.I have added one custom screen to notification transaction ( QM01/QM02/QM03) transaction tab strip control using the enhancement QQMA0001.The Details of the calling and called screens as shown bellow
    The Calling screen: SAPLIQS0
    Screen Number: 7790
    Screen Area :USER0001
    Called Screen: SAPLXQQM
    Screen Number: 0101
    I have developed the Custom Screen in screen 0101 and called in PBO of program SAPLIQS0 7790 screen.
    The Screen in calling perfectly .The Custom screen having different fields like Raw cost, Intermediate cost, Finished cost, SCAR Cost and Sales Order Cost Etc... These fields are out put filed types. No input for these screens.. I have few doubts regarding this
    How to populate the calculated values in Custom screen?
    Where we wrote the code to populate the calculated values in custom screen?
    You have any idea please guide me
    Thanks & Regards,
    Samantula

    As your screen fields should be global variables in SAPLXQQM, you may initialize them by implementing function module EXIT_SAPMIWO0_008 which also belongs to SAPLXQQM (Customer Exit: Transfer Notification Data to User Screen)

  • How to Capture the Variables Value into the

    Using JSLT part of the Jdeveloper/Jheadstart, ADF/Struts Framework.
    I'm capturing the value fine using the following,
    <c:set var="CvInformationFirstName" scope="request" value="${bindings.CvInformationFirstName.attributeValue}"/>I can even show the value without any problem,
    <%-- Show the saved values --%>
    <c:out value='${requestScope.CvInformationFirstName}' />Right here, we I try assigning the value of the firstname to a field, I can't accomplish this since I just don't know how to do it,
    <html:text name="CvInformationBean" property="CvInformationFirstName" size="10" maxlength="10"/>
    Any help will be greatly appreciate it.
    Oracle Group

    I am not sure what it is you are trying to accomplish. What do you mean with "assigning"? It is a business rule where the FirstName and LastName fields of the master need to be equal to the FirstName and LastName of the details, or is it the other way around? Anyway, it seems you are trying to get this business rule implemented by playing around with <html:text> elements in the JSP. You can't do it that way. Those <html:text> elemens are "two way". When the page is shown they determine which values get shown. Then, when the user enters new values and submits, they determine where those values are stored. If I understand what you are trying to accomplish correctly, you are trying to show values from one place, but submit them to another place. That can't be done strictly at the JSP level (not unless you use JavaScript anyway).
    But then again, I may be misinterpreting what you are trying to do. Could you provide some more details about what the desired functionality is?
    Finally, may I remark that this is the JHeadstart Forum, where you can communicate with other JHeadstart users all over the world. Also you may have noticed that the JHeadstart Team monitors this forum, and as such it is used as a means of providing some support for JHeadstart users that run into bugs or problems with the JHeadstart Tool (JHeadstart is a Consulting product that does not come with official "Metalink" support). But your problem is obviously not a bug in JHeadstart, you are just wondering how to implement some additional functionality that our Generator does not generate. So I hope you understand that if you get any assistance on this forum with your problem, either from the JHeadstart Team or from other JHeadstart users, it is not because you have a right to it, but because we're a bunch of friendly people out here that like to help out where we can. Demanding a reply like you did with your last two posts (an hour apart!) is really not done.
    Kind regards,
    Peter Ebell
    JHeadstart Team

  • How to change the Label of input text box after selecting a value in LOV.

    Hi All,
    I have a requirement that after selecting a value in LOV the Label of the next input text box should change accordingly.
    I am able to do cascading LOV's.
    how can i meet this requirement?
    TIA,
    Vishal

    Sample:
    JSPX Page:
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document id="d1">
    <af:messages id="m1"/>
    <af:form id="f1">
    <af:panelFormLayout id="pfl1">
    <af:inputText value="#{bindings.FirstName.inputValue}"
    label="#{bindings.FirstName.hints.label}"
    required="#{bindings.FirstName.hints.mandatory}"
    columns="#{bindings.FirstName.hints.displayWidth}"
    maximumLength="#{bindings.FirstName.hints.precision}"
    shortDesc="#{bindings.FirstName.hints.tooltip}"
    id="it1" *binding="#{ForumSampleBean.inputText}"*
    *partialTriggers="departmentIdId">*
    <f:validator binding="#{bindings.FirstName.validator}"/>
    </af:inputText>
    <af:inputComboboxListOfValues id="departmentIdId"
    popupTitle="Search and Select: #{bindings.DepartmentId.hints.label}"
    value="#{bindings.DepartmentId.inputValue}"
    label="#{bindings.DepartmentId.hints.label}"
    model="#{bindings.DepartmentId.listOfValuesModel}"
    required="#{bindings.DepartmentId.hints.mandatory}"
    columns="#{bindings.DepartmentId.hints.displayWidth}"
    shortDesc="#{bindings.DepartmentId.hints.tooltip}"
    *autoSubmit="true"*
    *immediate="true"*
    *valueChangeListener="#{ForumSampleBean.lovValueChangeListener}">*
    <f:validator binding="#{bindings.DepartmentId.validator}"/>
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.DepartmentId.format}"/>
    </af:inputComboboxListOfValues>
    </af:panelFormLayout>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    *Managed Bean:*
    public class ForumSampleBean {
    private RichInputText inputText;
    public ForumSampleBean() {
    super();
    public void setInputText(RichInputText inputText) {
    this.inputText = inputText;
    public RichInputText getInputText() {
    return inputText;
    public void lovValueChangeListener(ValueChangeEvent valueChangeEvent) {
    *this.inputText.setLabel("New Label");*
    Thanks,
    Navaneeth

  • Text wrap for a paragraph: How to define the width of a Text box /  active text area? I simply need a longish text to wrap within the frame!

    Hello, I've been searching for a good while in the forums now, but have found no solution or real mention of the problem – I hope some of you can help.
    I want to very simply layout a text between scenes, a slightly longer text that wraps within the frame margins. Here's an example of how I want it to look:
    Now, I couldn't for the life of me get the Custom Text to behave like that, as there are no parameters to set for the width of the text area. The Text Size, yes, along with the Tracking, Baseline and all that, but the width of the text box, no. The above was created by customizing one of the other Text Generator presets that happened to be left aligned.
    However, this preset has a fade in/fade out transition, which I do not want. There's no way to remove this transition as it seems integrated into the Text Generator (meaning they are not really presets, but separate kinds of Text objects? Very silly.)
    So I am asking you: Is there any way to get the Custom Text generator to behave like that? Just a text paragraph as above. Below you'll see all I can manage with the diffferent Custom Text parameters. Any kind of repositioning and resizing of the text just changes the position and size of the frame – but the actual text items are just cropped off where they extend out of that frame. Apparently the bounding box for the text is just some default length, and I can't find any way to adjust the width. See below my different attempts.
    The same text pasted into a Custom Text generator clearly extends outside the frame:
    Here Transform just moves – or resizes – the video frame that the Text Box exists inside:
    The Crop gives similar results, and of course Distort doesn't get me closer to what I need, either. There should be simply a Text Box Width parameter to set somewhere, but if it exists they have hidden it very well. How do you do it?
    Thanks for any help, this is a silly problem, but one of now many trivial problems that amount to me growing quite dissatisfied with FCPX. Hopefully I've just overlooked something.
    All the best,
    Thomas

    Thomas...same kind of crap here.
    I used Custom Text - entered a sentence, hit return, entered another.
    Set to 72 pt.
    The default alignment is centred - I want left aligned text...the text start point stays at the centre of frame and the sentence runs off the edge of the bounding box.
    There is no settings in the Text or Title inspector dialog to correct that!
    Using Transform will not sort it!

  • How to populate a default value in Text box depending on Poplist selection

    We have a requirement to populate a default value in a Text Box when user chooses a value from poplist (of type MessageChoice adjacent to the Text Box). This page is a Oracle Seeded Page. I understand that this is not possible using personalization. Can please someone guide me as to how should we proceed for this.

    Can I add PPR event to the standard page?
    YesAlso Can I change the Controller code of the standard page to catch the PPR event?
    You need not change the controller, you can extend the controller!Although Oracle discourages extension of controller, but as of now there is no other alternative! These controller extensions will mostly survive upgrades, as Oracle won't be removing all base controller classes.Is it allowed to make changes in standard XML page and import it once again?
    No, standard UIXML should not be changed. But y would u need that, you cando the Ui changes with personlization and if needed programitically in process request method of controller, by takeing control on that particular bean!
    I hope i have resolved your queries.
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to set the cursor in a text box when the application starts?

    Hi. It's me again. Its seems to me that there isn't any Spanish speaker, so I reformulate my question in English. What I want is to place the cursor in the text box so that the user can enter the text. Could anybody help me? Thanks in advance. MamenFLASH$

    Hi. I have Flash 2004 Professional, as 2. Any idea of how can I do it 
    by means of Java Script or action script 2? Thanks in advance. 
    MamenFLASH$
    El 23/01/2010, a las 21:22, kglad escribió:
    >
    you can do that when your flash has focus.  (how you do it depends 
    on your as version).
    >
    and while flash can't set focus on itself, you may be able to use 
    javascript to set focus on your flash.
    >

  • How to save the data present in TEXT BOX?

    Hi friends i am able to create a text editor in one of my screen but i want to know how to save the data when the text is entered in that text box and retrive when they open the screen?

    Hi ,
    Please check the format below since it is based on a working code
    first you need to create a text in s010 function module...
    there should be some key based on which you plan to save the text..imagine it is Purchase order then..PO+item numner is always unique.eg:0090010(900PO/item10).so in the code you can append these two and they will be unique..so you can always retrieve them,overwrite,save them anytime you need
    **************data declarations
    TYPES: BEGIN OF TY_EDITOR,
    EDIT(254) TYPE C,
    END OF TY_EDITOR.
    data: int_line type table of tline with header line.
    data: gw_thead like thead.
    data: int_table type standard table of ty_editor.
    ****************fill header..from SO10 t-code..when you save you need the unique key..youfill it here and pass it in save_text function module
    GW_THEAD-TDNAME = loc_nam. " unique key for the text -> our unique key to identify the text
    GW_THEAD-TDID = 'ST'. " Text ID from SO10
    GW_THEAD-TDSPRAS = SY-LANGU. "current language
    GW_THEAD-TDOBJECT = 'ZXXX'. "name of the text object created in SO10
    *To Read from Container and get data to int_table
    CALL METHOD EDITOR ->GET_TEXT_AS_R3TABLE
    IMPORTING
    TABLE = int_table
    EXCEPTIONS
    ERROR_DP = 1
    ERROR_CNTL_CALL_METHOD = 2
    ERROR_DP_CREATE = 3
    POTENTIAL_DATA_LOSS = 4
    others = 5.
    IF SY-SUBRC 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    loop data from int_table and save to int_line-tdline appending it.
    *save the text
    CALL FUNCTION 'SAVE_TEXT'
    EXPORTING
    HEADER = GW_THEAD
    TABLES
    LINES = InT_LINE
    EXCEPTIONS
    ID = 1
    LANGUAGE = 2
    NAME = 3
    OBJECT = 4
    OTHERS = 5.
    IF SY-SUBRC 0.
    ENDIF.
    *To pass to Container
    CALL METHOD EDITOR ->SET_TEXT
    hope that the above sample with helps you solve the problem
    Please check and revert,
    Reward if helpful
    Regards
    Byju

  • How to download the SAP client into text file

    Hi,
    I want to download a SAP client to a text file for backup and then upload it again for restoration when needed. Can this be done?

    Hi,
    Regarding which data you want to export, you have to select the corresponding profiles in SCC8:
    If you want to export transaction data & master data (this is together known as application data), then you have to select the appropriate profile. Alongwith application data, customizing data would also be there, because it cant be transferred alone. ALso, you can choose whether to export user data or not.
    But please note that repository data (programs etc) would not be part of this export.
    The transaction is SCC8 for client export.
    For importing you can import like any other transport request.
    For details you could refer to the below link:
    http://help.sap.com/saphelp_47x200/helpdata/en/69/c24c824ba111d189750000e8322d00/frameset.htm
    Thanks & Regards,
    Kunal.

Maybe you are looking for

  • Adobe flash player 10.3 is installed but doesn't appear in plug-ins:what else do I need to do to play videos?

    Until a few months ago I was able to play videos in e-mails on my desktop computer, running on windows XP, through Verizon FIOS. Then I kept getting the message that I needed Adobe Flash Player 9.0. I have downloaded the latest version, Adobe Flash P

  • How to Change Company Address In Oracle EBS

    Hi, We several reports where Company Address is Showing. Our Company Address Has been Changed, Where is that location in Oracle Financial to Change Address Version 12.X Regards NEWCOM

  • How to install WinXP Pro over W2k on the Satellite Pro 6100?

    Hi there, I have brought a 2nd hand Satellite Pro, Model version SP6100 (PS610E-029ZV-EN), P4 1.7Ghz, 512Mb, 30GB, with Windows 2000 Pro installed. I cannot get the wireless to connect to my router. The switch is in the correct position. I have been

  • Mac OS 9.1 password

    I have a Mac OS 9.1 and when I open it, it asks" This Macintosh is protected by Sesame .Please identify yourself ".but I dont know the password. What can I do?

  • Weird mouse click behaviour

    Hi, I don't really know how to explain this. Somethimes, in some situations, my mouse clicks registers twice. Like sometimes I can't minimize an applicatireaon by clicking on the taskbar entry, because the click registers twice and the application mi