How to switch af:inputDate component to Thai (Buddhist) Calendar ?

Hi all,
i have the following problem:
I have ADF/ADF Faces application and want to prepare it for THAI support.
One of the issues which i have with this, is to turn the application to support Thai Calendar.
I succeed to change the dates comming from the Business Components by setting locale on the following places:
//Set Binding Ctx Locale
Locale userLocale = new Locale("th", "TH");
bindCtx.setLocaleContext(new DefLocaleContext(userLocale));
//Set JSF Locale
UIViewRoot uiRoot = fctx.getViewRoot();
uiRoot.setLocale(userLocale);
However , this doesn't influence af:inputDate component. It still continue to show me current date as by normal Calendar.
Can somebody help with this ?
Thanks in advance,
Krasimir

chk this
Picking month with af:inputDate
<af:inputText id="antecipadaPostergada" value="#{attrs.value}" contentStyle="width:65px">
<f:convertDateTime pattern="MM/yyyy"/>
<af:validateDateTimeRange minimum="2011-01-01" maximum="2011-12-01"/>
</af:inputText>

Similar Messages

  • How to switch to Thai store.

    I Want to update some app but they said I have to switch to Thai store.but  now I am not in Thailand I don't how to switch to Thai store.please help me how to switch shop

    See  >  Change your iTunes Store country
    Here  >  http://support.apple.com/kb/HT1311

  • How to switch off solution checks

    Hello. I have a problem. When I link support message to solution in Context tab, the system perform checks of linked solution. And there are a lot of error message in Support message appears, like this:
    'Business process  not available, check your entry'
    'Business process step  not available for business process &1'
    'Software component  not available, check your entry'     
    How to manage this checks or how to switch of this checks?
    Edited by: Dmitry Udot on Feb 10, 2010 9:42 AM

    I have fixed this problem myself. It ocures due to deactivation of PPF actions releted with questionary.
    Edited by: Dmitry Udot on Feb 11, 2010 1:30 PM

  • How to switch off internal macbook screen when using external monitor(s)

    as far as i observed, adding external displays ( running different screens on them, not mirroring)  to a macbook pro  increases the gpu workload and with that comes temperature rise in the laptop and increase in ventilator noise - and probably increased hardware aging and risk of component faillure due to high temperature inside the laptop.
    simply try connecting two external 27" screens and open some flash video on both of them. then run a temperature monitoring software and watch temps rise, compared to running same flash videos / demanding tasks only on one connected external screen or only on the laptop screen with no external monitor connected.
    especially in mavericks, due to its increased background routines, such a set-up appears ever the more taxing, then again who does not love apple`s nice adds showing laptops with two 27” screens connected to it and the workspace vision they invoke....
    i have seen temps around 100° to 102° celsius on a 13" macbook pro 2012 edition, which i would expect is territory where the cpu / gpu temp safety switches will trigger system shutdown any time soon ( hardware status before verified as fully in order by apple service and default osx installation)
    imagine your anti-virus software starting some realtime content screening while runnign some demanding tasks already and the system shuts down easily (all such situation observed in reality)
    (would be interesting to see how a retina display macbook fares with 2 external monitors running demanding tasks, considering the retina display already increased taxing for the gpu - any experience from users of such a setup would be very much appreciated as it will provide critical purchase decision intelligence for all of us envisioning a retina-book and two big screens adoring our desks...)
    turning down the macbook`s built-in screen`s backlight may reduce power consumption but i have not seen any evidence that it switches off the gpu-to-screen feed and respective gpu load - it certainly did not prevent gpu, cpu, board, etc temps to rise to borderline levels.
    so the key question here is, how to switch off the macbook pro`s built-in screen in order to avoid gpu cycles being wasted on that screen ( and the resulting heat developments)  when working with big external screen(s)  connected to the laptop ?

    this thread talks about running several monitors as advertised by apple and running demanding task on them.
    with the lid open, the keyboard offers a very efficiant heat escape vector, which is blocked when the lid is closed - this is a basic and commonsense insulation effect.  this thread also mentions the use of temperature monitoring software and thus a repeatable test setup. the temps recorded were also mentioned. they rose when the lid was closed, the running task remaining unchanged. as far as i could track down the cpus in discussion will shut down around the 105 degree celsius range. i observed system shut downs when the system approached 103° celsius.  not to mention that the fans will run loud well before that.
    again this is on hardware checked and ok-ed by apple service.
    the question still welcoming an expert answer: is there any way to switch off the built-in macbook monitor while the lid is open ?

  • How can I get the component LTC1060 in the multisim 10 library ?

    How can I get the component LTC1060 in the multisim 10 library ?

    ahnsei ,
    This is a switched capacitor filter - with a variety of configurations for each mode of operation based on the switching frequency.   To create a transistor level SPICE model would be unrealistic (which is probably why you haven't found one), so I would suggest looking at the datasheet and specifically, looking at each mode of operation and seeing if you can approximate the filter topology with an expression for the transfer function given in the datasheet (by calcuting based on the switching frequency).
    Based on the expression you get, you can use the Multisim component "TRANSFER_FUNCTION_BLOCK" to plug in the correct transfer function and thus approximate the behavior of the filter in the circuit.
    This transfer function can be found in the Master database -> Sources -> CONTROL_FUNCTION_BLOCKS.   There was a previous discussion giving some additional details on how to setup the transfer function block:
    http://forums.ni.com/ni/board/message?board.id=370&thread.id=3987
    Regards,
    Patrick Noonan
    Business Development Manager
    National Instruments - Electronics Workbench Group
    50 Market St. 1-A
    S. Portland, ME 04106
    Email: [email protected]
    Tel. (207) 892-9130
    Fax. (207) 892-9508 

  • Validate Date Range in inputDate component

    Hi
    I am using JDev 11.1.1.2.0
    I have an inputDate component which on click i need to give dates from today to future dates not passed dates.
    So i have included 'validate date time range' component in the inputDate component and in the minimum property i have declared 'adf.currentDate' using expression builder and set the maximum as Jan 31,2099.
    But when i execute my application i am able to select passed dates using the inputDate component, please help how can i check the date using a validator in inputDate component.
    Thanks
    Sudeep

    ya i had tried with that property too....
    i have declared minValue as adf.currentDate and on that it changes the value of maxValue to current date in Jan 3,2012
    i have convertDatetime component in my inputDate to display the selected date in certain format.
    It gives error as the format doesnot matches with the convertDatetime and inputDate component.
    How can i use the minValue and maxValue of inputDate component?
    the component:-
    <af:inputDate
    label="Planned Termination Date"
    id="id2"
    value="#{modifyuser.pterminationdate}"
    valueChangeListener="#{modifyuserfields.plannedTermDate}"
    minValue="adf.currentDate" maxValue="2099-12-31">
    <af:convertDateTime pattern="dd-MMM-yyyy"/>
    </af:inputDate>

  • How to initialize an adf component before a page loads

    Hi all
    I use JDeveloper 11.1.2.2.0
    I have two pages:
    first page has a link to a second page
    <af:document title="first.jspx" id="d1">
      <af:form id="f1">
        <af:commandLink text="Page 2" id="cl1" action="goToSecondPage" actionListener="#{Bean.handleLinkActionEvent}"/>
      </af:form>
    </af:document>and the second page has an inputText component:
    <af:document title="second.jspx" id="d1">
      <af:form id="f1">
        <af:inputText label="Text" id="it1" binding="#{Bean.inputText}" readOnly="true"/>
      </af:form>
    </af:document>First I load first.jspx and than I click the link. This event is handled in handleLinkActionEvent() method, in which I want to set a value to the inputText component of the second page. But I can't do it, because as expected I get NullPointerException.
    So the question is how to initialize an adf component before a page loads?
    Evgeny Michuk
    Edited by: Evgeny Michuk on Oct 4, 2012 11:30 PM

    Thanks a lot for your replies and links, it gives me some new knowledges.
    I got your approach and achieved the aim for the described situation with tag <f:setPropertyActionListener>:
    <af:commandLink text="Page 2" id="cl1" action="goToSecondPage"
                           actionListener="#{Bean.handleLinkActionEvent}" binding="#{Bean.firstPageLink}">
      <f:setPropertyActionListener target="#{pageFlowScope.text}" value="Hello, World!"/>
    </af:commandLink>and for the inputText component I set the value:
    <af:inputText label="Text" id="it1"  binding="#{Bean.inputText}"
                                  readOnly="true" value="#{pageFlowScope.text}"/>I used request scoped managed bean and it is shared for both pages.
    I understand that I can set a value of some attribute for managed bean
    and use it to set a value for inputText component of the second page,
    but as I understand it is almost the same way as usage of tag <f:setPropertyActionListener>.
    In my real situation on the second page I have a dynamic table, and it's field is read only.
    Structure of this table depends on a link clicked on the first page.
    So I define components for table columns in runtime, it may be outputText, inputDate, goLink and some others.
    And I have to get table through the UIComponent binding to set columns.
    Certainly I can define all needed components for all columns
    and render it according to the column types
    <af:table value="#{Bean.collectionModel}" var="row" id="t1" binding="#{Bean.mainTable}">
       <af:forEach items="#{Bean.columnDescriptionList}" var="column">
          <af:column headerText="#{column.caption}" id="c1">
             <af:outputText value="#{row[column.fieldName]}" id="ot1" rendered="#{column.type == '1'}"/>
             <af:inputDate value="#{row[column.fieldName]}" id="ot2" rendered="#{column.type == '2'}"/>
             <af:selectBooleanCheckbox id="sbc1" selected="#{row[column.fieldName] == '1'}" rendered="#{column.type == 'n'}"/>
          </af:column>
       </af:forEach>
    </af:table>but I think it is not very good.
    Have you any idea?
    P.S. I hope I clearly explained my situation =)
    Evgeny Michuk

  • Setting the inputdate component on user's time and date in JDeveloper 11g.

    Can somebody help me non this? I was wondering on how will I get the user's time and date as the default time and date for my inputdate component because it always shows the server's date and time on where my application is placed.

    This is what I did:
    <afh:head title="EvCore Suppression"
    <afh:script text="function dateTime()
    var d = new Date();
    var t_date = d.getDate(); // Returns the day of the month
    var t_mon = d.getMonth(); // Returns the month as a digit
    var t_year = d.getFullYear(); // Returns 4 digit year
    var t_hour = d.getHours(); // Returns hours
    var t_min = d.getMinutes(); // Returns minutes
    var t_sec = d.getSeconds(); // Returns seocnds
    }" </afh:script>
    </afh:head>
    but there's an erorr near <afh:script, it says that "Using HTML script tag can result in subtle/hard to diagnose bugs, trh;script should be used instead. Recommended attriibute 'type' is missing."
    I tried to change my code based on the recommendation but it still generate an error on the same place and the same recommendation.

  • How to populate the time component of a cube?

    We have a question regarding how to populate the time component of a cube. Let me explain:
    We are using OWB 10gR2. We have created a cube with several dimensions. We are now building the mapping to load the cube. The cube operator has two columns for every dimension (e.g., "customer" and "customer_id" for the "customer" dimension).
    We understand that, in this case, "customer_id" stands for the dimension business key, so we create an arrow from the business key in the source table to the "customer_id" column in the cube operator.
    So far so good. The mapping works all right, and the cube is loaded correctly.
    Now we need to do the same for the time dimension. We have already created the time dimension and we have loaded it. We have also included it in the cube, so now we have two new columns in it: "time_day_code" and "time", both NUMBER data type.
    We have the "sale_date" column (DATE data type), in the source system and, of course, now we want to populate the date column in the cube. We suppose that, somehow, we have to translate the "sale_date" field into the numeric column of the surrogate key of the time dimension. How should do we do this? I suppose that OWB must do the translation for us, just as it does for the other dimensions, but how? We have been looking into the manuals, and we have found no explanation on how to go about this.
    Any help would be appreciated.
    Best regards
    Juan Algaba

    Hi Juan
    You are right this should have been in the manuals, checked and there is only a brief mention (Using a Time Dimension in a Cube Mapping section)
    The identifier format should have been documented for each level and will involve creating the formatted attribute for input to the cube operator's time dimension reference attribute.
    The time dimension business keys are stored as follows;
    Day Level - YYYYMMDD
    Month Level - YYYYMM
    Week Level - YYYYWW
    Quarter - YYYYQ
    Year - YYYY
    If you have a source that has a SQL date datatype for example and want to construct the key for a cube's time dimension at the day level something like the following expression can be used to construct the time reference from a SQL date...
    to_number(to_char( time_key, 'YYYYMMDD'))
    The result of this expression can be used as input to the cube's time dimension attribute.
    Cheers
    David

  • How to switch off automatic creation of the business partner?

    Hello!
    Advise please why in erp after creation of the customer automatically form business partner? How to switch off automatic creation of the business partner? It very much disturbs, because business partner are created from crm. Because of automatic creation business partners are duplicated.

    Hi,
    I have made the following customizing settings to activate customer integration with business partner, but the problem is when I create a BP with a role (FI-Customer) the customer is not created automatically.
    1. Set BP Role Category for Direction BP to Customer
    Roles: FLCU00 - Business Partner FI Customer (FS: BP)
    FLCU01 - Business Partner Customer (FS: BP)
    2. Defined the Number assignment for Direction BP to customer
    4. Customer account group and numbering is also defined.
    3. Created a BP with BP Role FLCU00, I can see the Customer - General Data tab, but no customer was automatically generated by the system.
    Kindly let me know if any customizing I have missed.
    Regards
    Ameya

  • How can I use EJB component on Weblogic 8.1 server ?

    hi,dear sir:
    How can I use EJB component on Weblogic 8.1 server ?
    It need client jar to invoke ejb,but what will I to do for this jar file? what does it contain? format ?
    If my EJB module contain 100 session bean and 50 Entity bean,but I want invoke 20 session beans in my module, how can I to do?
    thank you...

    Hi,
    This forum is exclusively for Creator. please post this on appropriate forum
    regards
    CreatorTeam

  • How can I watch movies in germany with native tone, english? Any one knows how to switch the language when renting a movie?

    How can I watch movies in germany with native tone, english? Any one knows how to switch the language when renting a movie?

    I wonder the Format Tables macros on my site could be adapted?
    http://www.grainge.org/pages/authoring/word/word_macros.htm
    If not, I have used Macro Express to format tables in Rh. No reason it could not be used in Word.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • How to Create a Table Component Dynamically based on the Need

    Hello all,
    I have a problem i need to create dynamically tables based on the no of records in the database. How can i create the table object using java code.
    Please help.

    Winston's blog will probably be helpful:
    How to create a table component dynamically:
    http://blogs.sun.com/roller/page/winston?entry=creating_dynamic_table
    Adding components to a dynamically created table
    http://blogs.sun.com/roller/page/winston?entry=dynamic_button_table
    Lark
    Creator Team

  • How to switch between messages in the BlackBerry Hub

    With the release of BlackBerry 10 version 10.1, we’ve added a new gesture to the BlackBerry Hub that allows you to quickly switch between your next and previous messages. It’s simple: while viewing a message drag your finger from the left to the right and in one continuous motion swipe up or down.
    For example, in the following screenshot you’ll notice I am viewing ‘Test 08”. To get to the next message, “Test 09”, all I need to do is swipe from left to right (red arrow) followed by swiping up (green arrow) in a single motion. To switch to the previous message, “Test 07”, I complete the same gesture, but swipe down instead (blue arrow).
    Tip: Using a BlackBerry Q10 or Q5? On top of using this gesture to switch between messages, you also have the option of pressing the N key to view your next message, or the P key to view a previous message.
    If this gesture doesn’t appear to be working on your device, verify you are using BlackBerry 10.1.0.4181 or later by going to Settings > About and reviewing the OS Version field. If the OS Version is lower than 10.1.0.4181, check for updates by going to Settings > Software Updates.
    For more details about the availability of BlackBerry 10.1, check out Inside BlackBerry’s post on BlackBerry 10 Software Updates.
    VIA | helpblog.blackberry.com
    http://helpblog.blackberry.com/2013/10/how-to-switch-between-messages-in-the-blackberry-hub/
    Please thank those who help you by clicking the button.
    If your issue has been solved, please resolve it by marking "Accept as Solution"

    I would set up a variable before you get to that node, lets call it $EmpID and assign to it the value of the prompt you want to play lets say 12345 which would be the library promptID. It will then play prompt, get digits, and once you validate if it goes through the expression that flags it as invalid, in that node re-declare the variable, but this time give it the value of the new prompt you want to play, then sent it back to the node which will then play the new prompt and collect the digits.

  • How to switch off screen while playing songs in 5G iPod

    Any ideas how to switch off the screen completely (not just reducing the brightness) while playing the songs.
    i'm thinking that this could improve the battery life !!!
    30GB Video iPod   Windows XP Pro  

    No you can not do this; you can only turn off the Backlight.

Maybe you are looking for

  • ? symbol in Keynote - Help Needed please !!!!

    Hi, New to Mac and even newer to keynote..... when i open a new slide there are ? symbols on the slide which appear also when i play the slides.... is this an error or not ? If its an error what does it mean and if not how do i remove them ????? Plea

  • DVD-R Burning troubles...

    Here is a brief list of my problems so far... Recognized and Read several CD-R's as well as a hand full of DVD's but failed to recognize 2 DVD-ROM's (Movies). Tried 4x and failed during verification. Switched to 1x and received the following message

  • AuC Settlemen - error Message no. AA390

    Hi everybody! I am trying to do a AuC settlement, but the system is issuing an error: "Transaction type 345 not possible (posting to affiliated company)" This is happening because I have documents (posted into this asset) with trading partner and oth

  • Zen V Plus Line-in micropho

    Hi, i just got a Zen V Plus and want to use a microphone with through the line-in jack on it to record with. What do I need to look for in a microphone? It needs its own power source, correct? Is there anything special I need to look for in the power

  • Please Cancell my 2 orders in 4 days

    Hi Please cancel two orders from my skype account actually i subscribed a month subscription while i was traveelling other place now i am back and dont want any subscriptions ..Please find the order Deatils below  Order 1Skype Name: manozorama Produc