DateNavigator Colapsed ?

Hi everyone,
I need to put a field date in my webdynpro app. Example:
Admission Date: __12/02/2004__[x]   
If the user clicks the "date" button, then a datenavigator appears and he/she can select a new date.
Well... that's the behavior that I want.
Somebody knows how to implement it ?   or any alternative solution ?
Thanks and REgards from Monterrey
Diego

The visual appearance of Web Dynpro applications can only be changed by modifying the underlying style sheets or by using some of the available logical style properties like Button.design etc.
This decision was made to provide for a maximum degree of consistency in the visual design of Web Dynpro applications and conformance with the theme used in the Enterprise Portal.
Armin

Similar Messages

  • Is it possible to insert multiples markings in a DateNavigator ?

    Hi Experts !
    I'm currently creating a DateNavigator, and the person for who I works would like to have 5 differents markings in one DateNavigator.
    But in the Outline view, I have already one marking in the DateNavigator, and I can't add another with a right click on the DateNavigator...
    So I ask myself if it is possible to have multiples marking in just one DateNavigator...
    Please : Do you know if it possible ? And if yes, do you know how to do this ?
    Thank you for advance,
    Louis

    Hi Fazal, thank you for your answer .
    I therefore have two problems : it is written everywhere to take a WDTableCellDesign, but when I do this, I can't bind the context, because the Marking UI element says it inly accept "TableCellDesign" (but no WDtableCellDesign". So I don't know what type I should give to the Category attribute I created to stock which semantic I want.
    In an other way, I go into the code, and I add a line in the date creation code, which is, in the end :
           Calendar cal1 = Calendar.getInstance();
           cal1.set(Calendar.YEAR,2009);
           cal1.set(Calendar.DAY_OF_MONTH,22);
           cal1.set(Calendar.MONTH,11);
           ITestElement element1 = wdContext.nodeTest().createTestElement();
                            Date sqlDate1 = new Date(cal1.getTimeInMillis());
           element1.setDate(sqlDate1);
           element1.setTextMessage("Vacances annuelles");
           element1.setCategory(Calendar_Red);
           wdContext.nodeTest().addElement(element1);
    But the Calendar_Red is underlined with the error message : "Calendar_Red cannot be resolved".
    If I change this line but the following :        element1.setCategory("Calendar_Red");
    Then in this case, this is the setCategory which is underlined, with the error message :
    The method setCategory(WDTableCellDesign) in the type
    IPublicZtest02CompDateNavigator.ITestElement is not applicable for the arguments (String)
    So please, do you have any idea of what I could have done wrong ?
    Thank you for advance,
    Louis

  • DateNavigator in Safari Brower shows junk character

    Dear All,
    In Safari browers (all versions), DateNavigator UI element is shows junk character.  To reproduce this error, please follow the below steps.
    1.      Click on the date picker.
    2.      Try to change the month from u201CJuly to Augustu201D or u201CJuly to Juneu201D and try to choose a date either from June or  August.
    3.      Some junk characters u201CNaN.NaN.NaNu201D are displayed.
    Please advice,
    Regards,
    Ramki.

    Ramakrishnan Subramaniam wrote:
    We are in NW 7.01....Thanks for info.
    >
    > I got confirmation from SAP that, it will support NW 7.02 or NW 7.01 SP4 onwards.
    >
    > Rgds,
    > Ramki.
    Who did you receive that information from? The Safari path in the renderer was only added in 7.02. You can confirm with the Platform Availability Matrix on the Service Marketplace the offically supported browser/release combinations. http://service.sap.com/pam
    According to the July 2011 version of the PAM Safari 4 on MacOS 10.5/6 is supported as of 7.02 SP4 and Safari 5 on MacOS 10.5/6 is supported as of 7.02 SP5. There are no additional listings for Safari on any other releases or operating systems.

  • Problem with next month for DateNavigator in DynPage

    Hi
    I have a problem with using the DateNavigator in DynPage.
    I can not navigate to the previous/next month by using the event onNavigate();
    The following is my code
        public void doProcessBeforeOutput() throws PageException {
           IPageContext pagecontext = this.getPageContext();
           Form form = this.getForm();
           DateNavigator dn = new DateNavigator(pagecontext);
           dn.setId("myDateNavigator1");
           dn.setMonthsPerColumn(1);
           dn.setMonthsPerRow(1);
           dn.setCenteredMonth(3);
           dn.setOnNavigate("myOnNavigate");
           form.addComponent(dn);
         public void onMyOnNavigate(Event event){
              DateNavigatorNavigationEvent nvEvent = (DateNavigatorNavigationEvent) event;
              DateNavigator dn = (DateNavigator)this.getComponentByName(nvEvent.getComponentName());
              if ("next".equals(nvEvent.getDirection())){
                   dn.setCenteredMonth(4);
              if ("previous".equals(nvEvent.getDirection())){
                   dn.setCenteredMonth(2);
    Does anybody know what is the problem with it? Or konw how to control the navigation?
    Thank you for help.
    Best Regards
    Zhou

    Hi
    I have a problem with using the DateNavigator in DynPage.
    I can not navigate to the previous/next month by using the event onNavigate();
    The following is my code
        public void doProcessBeforeOutput() throws PageException {
           IPageContext pagecontext = this.getPageContext();
           Form form = this.getForm();
           DateNavigator dn = new DateNavigator(pagecontext);
           dn.setId("myDateNavigator1");
           dn.setMonthsPerColumn(1);
           dn.setMonthsPerRow(1);
           dn.setCenteredMonth(3);
           dn.setOnNavigate("myOnNavigate");
           form.addComponent(dn);
         public void onMyOnNavigate(Event event){
              DateNavigatorNavigationEvent nvEvent = (DateNavigatorNavigationEvent) event;
              DateNavigator dn = (DateNavigator)this.getComponentByName(nvEvent.getComponentName());
              if ("next".equals(nvEvent.getDirection())){
                   dn.setCenteredMonth(4);
              if ("previous".equals(nvEvent.getDirection())){
                   dn.setCenteredMonth(2);
    Does anybody know what is the problem with it? Or konw how to control the navigation?
    Thank you for help.
    Best Regards
    Zhou

  • Using a DateNavigator as a CalendarYearView

    Hi experts,
    I write this thread to ask if it is possible to use a DateNavigator to highlight just some days, such as it is possible in a CalendarYearView, or in a CalendarWeekView.
    In fact, I've followed the tutorial "Implementing a Calendar in Web Dynpro Java" made by Stefanie Bacher, so I've managed to create a correct CalendarYearView.
    In an other way, I've create a range of highlighted days with the tutorial "JA310 - Java Web Dynpro Basics" (page 136).
    But I can't manage to highlight just some days in the datenavigator. As far I've seeked, there is no tutorial that described how to do this.
    If you know that's possible, could you help me doing this ?
    Thank you for advance,
    Louis

    Hi,
    Thank you for your response.
    I've just tried your code, and I have now two different errors, depending which package I import.
    With the following imports:
    import java.util.Calendar;
    import java.util.Date;
    I get the the "setDate" underlined, with the error message : "The method setDate(CctDate) in the type IPublicZemployee12.ITestElement is not applicable for the arguments (Date)".
    With the following imports :
    import java.util.Calendar;
    import sun.util.calendar.BaseCalendar$Date;
    I get the the "Date" underlined (in : new Date(cal.getTimeInMillis()) ), with the error message : "Date cannot be resolved to a type".
    I have tried every possible imports I'm proposed, but everyone got an error...
    I think the problem comes from the Date or setDate, but I haven't found any document on the web that could explain what method to use in the DateNavigator case.
    If you have any idea to solve this, I'ld be very glad to try it.
    Thank you for advance,
    Louis

  • Timezone from portal user settings not used in DateNavigator

    Hi experts
    I'm facing a problem with DateNavigator component.
    There is a WDJ application that used with different timezones in NW Portal.
    In the app there is a DateNavigator which bound to the date context attribute.
    When user select some date in DateNavigator, system converts selected date to the context using system default timezone, rather than timezone in portal user settings. This leads to the fact that the time in context is wrong - the system considers that user works in "Default" timezone but really user works in its own timezone, which different with default.
    If I force TimeZone.setDefault(WDClientUser.getCurrentUser().getTimeZone()) everything works fine, but this is an empty and wrong way.
    I'm using NW 7.2 CE.
    Thanks in advice, how to solve this issue!

    mwohlf wrote:
    After Installing Patch 121657-19 the Calendar Express view seems to mix up
    the default preferences with the user selected preferences.I hit the same issue with a 6.2->6.3 upgraded system and a fresh 6.3 installation. A quick search didn't reveal any pre-existing bugs nor could I find any obvious problems delving into the xsl code -- please log a Sun support case to have this issue looked into further. Please note that in 6.3 calendar express is a deprecated interface so you should be making every effort to move to UWC/CE anyway.
    Regards,
    Shane.

  • Outlook 2013 display black background in datenavigator plane

    Since a few days we has an outlook 2013 issue in the datenavigator. Outlook display a black background. Has anyone an idea how we can resolve these issue? Until my account is verified I don't can insert an image...
    Has anyone an idea how we can resolve these issue? We use Windows 7 Enterprise 64bit, and Office 2013 with the latest Patches. All User in this VDI Infrastructure are affected from this issue.

    Hi,
    Do you mean this pane below?
    In Outlook 2013, the display issue sometimes may be caused by the following setting:
    FILE -> Options -> Advanced -> Display -> Disable hardware graphics acceleration. Check it to disable the acceleration and see if this can fix the issue.
    I also suggest you start Outlook in Safe Mode to determine whether it's caused by 3rd-party add-ins:
    Press Win + R, type "outlook.exe /safe" in the blank box, press Enter.
    If there is no problem in Safe Mode, please disable suspicious add-ins to verify which one caused the issue.
    If the issue still exists, please make sure the video driver has been updated to the latest.
    Regards,
    Melon Chen
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Reg DateNavigator month navigation error

    Hi,
      I'm using DateNavigator element in one view to select date from the calendar. It is working.  But, when user presses right/left arrow keys to change month, the input field gets filled with NaNaNaNaNa .
    Can you please guide me as to why this is coming instead of changing the month..?
    Thanks.
    Kumar Saurav.

    Hello,
    where are you getting the selected date?
    The following code works even when we navigate to a different month using the arrows in DateNavigator.
    ONACTIONDAYSELECT is event handler for the event "OnDaySelect" of the DateNavigator.
    method ONACTIONDAYSELECT .
      DATA param TYPE D.
      wdevent->get_data( EXPORTING NAME = 'DAY'
      IMPORTING VALUE = param
    endmethod.
    In the above code, param will have the selected data.
    Hope this helps!
    Regards,
    Srilatha

  • How to pick dates using Datenavigator UI element.

    Hello,
    If I use DateNavigator UI element and if I select first date and last date how do i get all the dates in that period.
    Regards,
    Rahul

    Hi Rahul,
    there is no need to use date navigator.
    1. insert the input field UI element.
    2. mapping the corredponding attribute.
    3. select the attribute properties  Data type----> Date
    hope that u will achieve uer requirment
    Regards,
    P.Manivannan

  • Photo Stream on my PC (W7x64 Ultimate) sudenly colapsed. Any idea? Help?

    Photo Stream on my PC (W7x64 Ultimate) sudenly colapsed. Any idea? Help?

    What does that even mean?  Can you please explain?

  • Using htmlb:dateNavigator to only display month and year

    Hi all,
    I would like to use the dateNavigator to allow the user to choose a month and a year BUT NOT a day. Does anyone know if this is possible? Would it make sense to use htmlb:dateNavigator for this or should I use some other means?
    Thanks a lot for your help.
    Best Regards
    Jens

    I am not sure whether you can use dateNavigator for this case , similar case we have used htmlb:dropdownListBox
    <htmlb:dropdownListBox id                = "period"
                                             nameOfKeyColumn   = "NAME"
                                             nameOfValueColumn = "VALUE"
                                             table             = "<%= tab1 %>"
                                             onSelect          = "DDLB1Event"
                                             selection         = "<%= period %>"
                                             width             = "110"
                                             disabled          = "<%= dd_disable %>" />
    ta1 is of type TIHTTPNVP which we populated with year and month.
    Regards
    Raja

  • DateNavigator: current system date properties

    Hi All;
    I need to help in using the DateNvigatorMarking API
    I am using WDDateMarkingCategory to change the color of the date.
    It is working fine, but for the Current System Date the changes don't apply.
    I am wondering how to change the properties for the current system date in the DateNavigator?
    Thanks in advance!
    Message was edited by: raja yakkanti

    Get the current system date and set the date value through the setAttributeValue().
    Date date = new Date(System.currentTimeMillis());
    IWDNodeElement element = wdContext.nodeMarking().createElement();
    element.setAttributeValue("date", date);
    wdContext.nodeMarking().currentMarkingElement().setDate(date);
    wdContext.nodeMarking().addElement(element);

  • Unable to bind dates in DateNavigator

    Trying to pick a variable from the context to bind startsWith or firstSelectedDate for the DateNavigator control - but the property gets masked as MM/DD/YYY. 
    For example,  in view MAIN I created a context root attribute caklled 'START_DATE" but instead of setting the property as "MAIN.START_DATE" as expected  it sets it as "S/TA/MAIN".
    Is there something else needed to set the property as a context variable and not an actual date?  Has anyone else seen this problem?

    >
    Mike Russell wrote:
    > Hey Baskaran,
    >
    > There is something else wrong.  I have created the 2 attributes correctly and given them default values.  It's when I try to bind the attribute to the property is the strangeness. 
    >
    > When I ckick the bind button on the startWth property a "Choose Context Element" pops up and highlights only the attributes that I created - which means they are the correct type - but after I choose the attribute it populates the property binding wth the garbled date format for the attribute.
    >
    > After you bound your attribute to the property does it display the property value as "<view>.<atribute>" or the defaulted date?
    Hi Mike,
    the property value is just as you said "NA.T_.V_DA" strange.. that is what i meant harmless bug.
    My view name is V_DAT_NAV, attribute name is start_date, after binding the name appears as above.
    Now i understand what the documents described about "no binding needed" something like that. You can very well enter a actual date over there like 01012010.
    Anyway.. i guess you understand now what is going on !!
    Actually i misunderstood your first post, i thought that you have problem at runtime. That is why i posted that it is working fine.
    Now I do understand that posted regarding the design time appearance of the binding value.
    Edited by: Baskaran Senthivel on Jan 25, 2011 9:26 PM

  • InputField with DateNavigator

    Hi everybody,
    I would like to create a htmlb:DateNavigator and an htmlb:InputField. If someone selects a Day in the DateNavigator, this date should be shown in the InputField.
    Would be great if someone could help me!
    Edited by: Raoul Erber on Jan 23, 2008 1:39 PM

    Hi,
    1. Create a simple type in the local dictionary.
    2. Choose the base type as date.
    3. Open the Representation tab and enter the format that you want there. For example: MM-dd-yyyy.
    4. Create a context attribute of type this simple type.
    5. Bind this to your inputfield.
    Now if you enter value in the wrong format and click on the Save button, the WD framework will show the message that the entered format is wrong.
    Regards,
    Satyajit.

  • HT201210 my iphone colapse in the firmware resorting stage, and stuck there. any ideas?

    my iphone colapse in the firmware resorting stage, and stuck there. any ideas?

    If you want to Restore the iPhone Firmware. Restart the computer, open iTunes on computer, connect iPhone to computer with the USB cable. Hold both the Home and Power buttons until iTunes recognizes the iPhone in Recovery Mode. This usually takes about 20 seconds of holding both buttons. Restore the Firmware.

Maybe you are looking for

  • No connections in the combo box of Infobus Data Form Wizard?

    I am trying to create a new project but when I try and select a connection, the "Connection" drop-down combo-box is empty. I have created 9 connections, but cannot select them. I have tried adding a new one and editing but still they do not appear. A

  • Zip Payload using PayloadZipBean Module Processor

    Hi, I'm using AF_Modules/PayloadZipBean in module processor of Receiver SOAP adapter to compress/zip the message payload. I've used the following module key parameters : Parameter Name      Parameter Value zip.Mode                  zipAll zip.filenam

  • Best practice or good pattern for developing complex swing UI

    When I develop some a bit complex swing UI which maybe contain many labels, fields etc. my code becomes massive. Especially when I use GridbagLayout, when there are many components on a panel, if I want to add or remove or change one component's posi

  • Login screen only displays users, not name/pwd fields

    I'd like my Mac to display just a name and password field when booting, but it will only show a list of users instead, even with that option unchecked in Login Options. I have Filevault enabled; does this have anything to do with it? Please advise.

  • Network connection from 10.2.8 to 10.5.1

    Hi Slight annoyance going on here. I have two machines connected to a router which in turn connects to a DSL modem. Both Machines have internet access. But I can only connect from the iMac 10.5.1 to my Quicksilver 10.2.8. Since this connection is pri