NumericStepper, how to apply localization (comma for period)
Hi All,
In the middle of doing some localization of Flex applications.
I have had no problem getting my application specific resource bundles loading for labels for buttons etc.
Also not had any problem building and loading my own locale specific resource bundles for the framework.
Things like DateChooser are picking up the changes for my Spanish, French and German versions.
NumberFormatter is picking up that for some languages, the decimal separator is a comma rather than a period.
But NumericStepper doesn't seem to honour this change.
Can anyone advise how I would change the decimal point in a NumericStepper from a period (.) to a comma (,), or anything else for that matter ?
I'm targetting the 3.5 SDK. But have also tried it with 4.1 SDK and no joy.
Cheers
Ian
hello,
I don't think that is possible.
The value of the NumericStepper should be used with a Number or a Float variable, and in action script, comma is not allowed with those formats
But i can't understand your question.
Regards
Similar Messages
-
Hi how to apply Chronological sort for a month column?
Hi All,
I am struck with how to apply Chronological sort for a month column that contains values like January, February, March, April, May, June.... December. If we apply normal sorting then we can arrange the column values either in ascending order or descending order. But i want the column values to be in this format like jan, feb, mar,apr....dec. Is it possible???
If this is possible then pls tell me the way in a step wise manner for my better understanding..
Thanks in Advance
ThenmozhiHi Deva,
I tried with the below formula :
CASE WHEN
"Order Booked Date Calendar"."Full Month Name (Order Booked)"='January' THEN 1 WHEN
"Order Booked Date Calendar"."Full Month Name (Order Booked)"='February' THEN 2 WHEN
"Order Booked Date Calendar"."Full Month Name (Order Booked)"='March' THEN 3 WHEN
"Order Booked Date Calendar"."Full Month Name (Order Booked)"='April' THEN 4 WHEN
"Order Booked Date Calendar"."Full Month Name (Order Booked)"='May' THEN 5 WHEN
"Order Booked Date Calendar"."Full Month Name (Order Booked)"='June' THEN 6 WHEN
"Order Booked Date Calendar"."Full Month Name (Order Booked)"='July' THEN 7 WHEN
"Order Booked Date Calendar"."Full Month Name (Order Booked)"='August' THEN 8 WHEN
"Order Booked Date Calendar"."Full Month Name (Order Booked)"='September' THEN 9 WHEN
"Order Booked Date Calendar"."Full Month Name (Order Booked)"='October' THEN 10 WHEN
"Order Booked Date Calendar"."Full Month Name (Order Booked)"='November' THEN 11 WHEN
"Order Booked Date Calendar"."Full Month Name (Order Booked)"='December' THEN 12 ELSE '' END
But it is showing the error like this:
Error Details
Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 43119] Query Failed: [nQSError: 17001] Oracle Error code: 604, message: ORA-00604: error occurred at recursive SQL level 1 ORA-06502: PL/SQL: numeric or value error: character string buffer too small ORA-06512: at line 8 ORA-00932: inconsistent datatypes: expected NUMBER got CHAR at OCI call OCIStmtExecute. [nQSError: 17010] SQL statement preparation failed. (HY000)
What it is problem? Please help me...
Thanks -
How to apply List box for multiple selection of rows in ALV report ?
Hi Exprots,
1: How to apply List box for multiple selection of rows in ALV report ?
Thanking you.
Subashhi,
check the below program.
REPORT zalv_dropdowns.
*Type pools declarations for ALV
TYPE-POOLS : slis.
*data declarations for ALV container,ALV grid, Fieldcatalogues & layout
DATA: g_grid TYPE REF TO cl_gui_alv_grid,
g_custom_container TYPE REF TO cl_gui_custom_container,
gt_fieldcat TYPE lvc_t_fcat,
gs_layout TYPE lvc_s_layo.*INTERNAL TABLE AND WA DECLARATIONS FOR t517 A table
DATA: gt_outtab TYPE STANDARD TABLE OF t517a INITIAL SIZE 0,
wa_outtab TYPE t517a.
START-OF-SELECTION.*Call to ALV
CALL SCREEN 600.*On this statement double click it takes you to the screen painter SE51.
*Create a Custom container and name it CCONT and OK code as OK_CODE.
*Save check and Activate the screen painter.
*Now a normal screen with number 600 is created which holds the ALV grid.
PBO of the actual screen , Here we can give a title and customized menus
Here we also call the subroutine for ALV output.
MODULE PBO OUTPUT *
MODULE pbo OUTPUT.
PERFORM alv_output.
ENDMODULE. "pbo OUTPUT
MODULE PAI INPUT *
MODULE pai INPUT.
ENDMODULE. "pai INPUT
*& Form BUILD_FIELDCAT
FORM build_fieldcat.
DATA ls_fcat TYPE lvc_s_fcat.
*Build the field catalogue
CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
EXPORTING
i_structure_name = 'T517A'
CHANGING
ct_fieldcat = gt_fieldcat.
To assign dropdown in the fieldcataogue
LOOP AT gt_fieldcat INTO ls_fcat.
CASE ls_fcat-fieldname.
WHEN 'SLART'.
*is the first list box
ls_fcat-drdn_hndl = '1'.
ls_fcat-outputlen = 15.
MODIFY gt_fieldcat FROM ls_fcat.
is the second list box
WHEN 'ABART'.
ls_fcat-drdn_hndl = '2'.
ls_fcat-outputlen = 15.
MODIFY gt_fieldcat FROM ls_fcat.
ENDCASE.
ENDLOOP.
ENDFORM. "build_fieldcat
*& Form ALV_OUTPUT
FORM alv_output .*Create object for container
CREATE OBJECT g_custom_container
EXPORTING container_name = 'CCONT'.
*create object for grid
CREATE OBJECT g_grid
EXPORTING i_parent = g_custom_container.
Build fieldcat and set column
*Assign a handle for the dropdown listbox.
PERFORM build_fieldcat.
*Build layout
PERFORM build_layout.
Define a drop down table.
PERFORM dropdown_table.
*fetch values from the T517A table
SELECT * FROM t517a INTO TABLE gt_outtab.
*Display ALV output
CALL METHOD g_grid->set_table_for_first_display
EXPORTING
is_layout = gs_layout
CHANGING
it_fieldcatalog = gt_fieldcat
it_outtab = gt_outtab.ENDFORM. "ALV_OUTPUT
*& Form dropdown_table
text
--> p1 text
<-- p2 text
FORM dropdown_table.*Declarations for drop down lists in ALV.
DATA: lt_dropdown TYPE lvc_t_drop,
ls_dropdown TYPE lvc_s_drop.
First SLART listbox (handle '1').
ls_dropdown-handle = '1'.
ls_dropdown-value = '01 Primary school'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '1'.
ls_dropdown-value = '02 Lower Secondary'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '1'.
ls_dropdown-value = '03 Upper Secondary'.
APPEND ls_dropdown TO lt_dropdown.
ls_dropdown-handle = '1'.
ls_dropdown-value = '04 Professional School'.
APPEND ls_dropdown TO lt_dropdown.
ls_dropdown-handle = '1'.
ls_dropdown-value = '05 College'.
APPEND ls_dropdown TO lt_dropdown.
ls_dropdown-handle = '1'.
ls_dropdown-value = '06 University'.
APPEND ls_dropdown TO lt_dropdown.
ls_dropdown-handle = '1'.
ls_dropdown-value = '09 Other Establishment'.
APPEND ls_dropdown TO lt_dropdown.* Second ABART listbox (handle '2'). ls_dropdown-handle = '2'.
ls_dropdown-value = '10 Primary School certificate'.
APPEND ls_dropdown TO lt_dropdown.
ls_dropdown-handle = '2'.
ls_dropdown-value = '20 Lower secondary/Junior high'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '2'.
ls_dropdown-value = '30 High school diploma(B-levels)'.
APPEND ls_dropdown TO lt_dropdown.
ls_dropdown-handle = '2'.
ls_dropdown-value = '31 Vocational'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '2'.
ls_dropdown-value = '32 Matriculation'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '2'.
ls_dropdown-value = '40 Specialist vocational certificate'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '2'.
ls_dropdown-value = '50 College degree Level1'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '2'.
ls_dropdown-value = '51 College degree Level2'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '2'.
ls_dropdown-value = '52 Masters degree'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '2'.
ls_dropdown-value = '60 Univ Degree level1'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '2'.
ls_dropdown-value = '61 Bachelors degree'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '2'.
ls_dropdown-value = '62 Masters degree'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '2'.
ls_dropdown-value = '63 Licenciate'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '2'.
ls_dropdown-value = '64 Doctors Degree Ph.D'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '2'.
ls_dropdown-value = '89 None'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '2'.
ls_dropdown-value = '90 Unknown'.
APPEND ls_dropdown TO lt_dropdown.*method to display the dropdown in ALV
CALL METHOD g_grid->set_drop_down_table
EXPORTING
it_drop_down = lt_dropdown.ENDFORM. " dropdown_table
*& Form build_layout
text
*layout for ALV output
FORM build_layout . gs_layout-cwidth_opt = 'X'.
gs_layout-grid_title = 'ALV DROPDOWN LISTS'.
gs_layout-no_toolbar = 'X'.ENDFORM. " build_layout
endform.
Edited by: S.r.v.r.Kumar on Jun 1, 2009 2:48 PM -
How to apply sap license for Sap Netweaver AS Java
Hello guys,
May i know how to apply sap license for SAP Netweaver AS Java? Appreciate the reply, thank you
regards,
wei howHi Lee,
check below link:
http://help.sap.com/saphelp_nwce10/helpdata/en/9f/5e533e5ff4d064e10000000a114084/content.htm
Thanks
sunny -
How to apply hyper link for a particular cell in the column?
Year
2001
2002
2003
2004
I wanna apply Hyper link for 2001 only! How to achieve this?
Can we apply no. of hyper links for a column?You have to create a conditional variable.
For eg. create a variable with hyperlink in the syntax for Year.
Now if else logic, so if YEAR=2001, return hyperlink else YEAR object.
Hope you understood.
Thanks
Gaurav -
How to apply Structural Authorisations for Report
Hi All,
We are using structural authorisations in our project and it is working fine for all processes. But we are facing problem for reports.
Kindly guide on How to apply structural authorisations to SAP Standard Reports and Custom reports.
Thanks & Regards,
PrashantHi Prashant,
Yeah LDB is a good way of implementing Structural auth. Apart from that you can assign the Authorization Group in the Z-report attribute. So users who are part of this group only can access this report. This also applies to the standard reports as they are already assgned to standard Authorization Groups.
Br/Manas -
How to apply formula field for a chart object in crystal report XI
Hi
how to add formula field for a chartobject, i tried the following code but returns invalid condition field.
i want to show different chart in same crystal report viewer with different coursestatus values.
please suggest where ia m wrong.
FormulaField oFormulaField;
oFormulaField = new FormulaField();
oFormulaField.Name = "Status1";
oFormulaField.Text = "{CSP_PROCESS_REPORT.Coursestatus} = 'Mastered'";
oFormulaField.Syntax = CrFormulaSyntaxEnum.crFormulaSyntaxCrystal;
oFormulaField.Type = CrFieldValueTypeEnum.crFieldValueTypeStringField;
boChartObject.ChartDefinition.ConditionFields.Add(oFormulaField);
regards,
Padmanaban Vi missed the following line in my code.
rcDoc.DataDefController.FormulaFieldController.Add(oFormulaField);
now it works......
my next issue is that,
chart returns True & False captions. but i want to show actual value. how its to be done
regards,
Padmanaban V -
How to apply Date condition for each month in 12 month period to my SQL query
I am trying to retrieve all Outstanding Problem tickets in my Trendline SSRS report.
I need to pull the OpenDate <= Last day of last month And CloseDate >= 1st day of current month
for each month in the Last 12 months. How do I accomplish this in my query?
I must also need to pull the oustanding tickets for the next 11 months in the same query
where it will automatically pull the outstanding tickets for when a new month comes
in out of the 12 month period?
Here's a sample of my query to pull July 2013 Outstanding Problem tickets:
Select OpenDate, CloseDate, Ref_Num, Type, status
From Call_Req
Where OpenDate <= '2013-07-31 00:00:00' And CloseDate >= '2013-08-01 00:00:00'
And Type = 'P'
My Results:
OpenDate
CloseDate
Ref_Num
Type
status
6/13/2013 7:41
8/26/2013 12:41
P1726456FY13
P
CL
6/13/2013 8:17
8/23/2013 12:31
P1726612FY13
P
CL
6/13/2013 10:17
9/6/2013 16:54
P1727352FY13
P
CL
7/12/2013 10:46
9/6/2013 10:23
P1812568FY13
P
CL
7/18/2013 10:17
9/6/2013 8:53
P1830452FY13
P
CL
7/29/2013 15:54
9/6/2013 16:16
P1862906FY13
P
CL
5/17/2013 20:51
8/22/2013 9:09
P1653380FY13
P
CL
5/30/2013 13:29
8/26/2013 7:33
P1685693FY13
P
CL
7/15/2013 14:14
9/7/2013 9:42
P1818874FY13
P
CL
6/7/2013 15:49
9/6/2013 16:46
P1712265FY13
P
CL
7/18/2013 10:25
9/7/2013 9:18
P1830516FY13
P
CL
7/24/2013 16:30
8/12/2013 18:26
P1849909FY13
P
CL
Talitha DavisWould this Work?
DECLARE @now DATE = GETDATE();
WITH months(lvl, daydate)
AS (
SELECT
1,
@now
UNION ALL
SELECT
lvl + 1,
DATEADD(MONTH, -1, daydate)
FROM months
WHERE lvl < 12
), dateranges(period, opendate, closedate)
AS (
SELECT
CAST(YEAR(daydate) AS CHAR(4))
+ '-'
+ RIGHT('0' + CAST(MONTH(daydate) AS varCHAR(2)), 2),
DATEADD(DAY, 0-DAY(daydate), daydate),
DATEADD(DAY, 1-DAY(daydate), daydate)
FROM months
SELECT
b.period,
a.OpenDate,
a.CloseDate,
a.Ref_Num,
a.Type,
a.status
From Call_Req a
INNER JOIN dateranges b
ON
a.OpenDate <= b.opendate
AND
a.CloseDate >= b.closedate
WHERE Type = 'P';
Microsoft Certified Trainer & MVP on SQL Server
Please "Propose as Answer" if you got an answer on your question, and vote for it as helpful to help other user's find a solution on a similar question quicker. -
How to apply a tax for some period?
hi
i have a question,i need to apply tax for a material when it croses some quantity (by selling).
for e.g
x material if reaches 70000 nos then apply the the tax for the material.Hi Vijay,
You develop new pricing Routine with the help of ABAPer based on your logic, then you assign that Routine to your tax condition type in your pricing procedure in the column alternative calculation type.
It will pick up the tax based on the new routine which you have assigned in your pricing procedure.
I hope it will help you,
Regards,
Murali. -
CS4 transitions - how to apply fade/zoom for memorial photo montage - please help
I'm considering doing a photo-only montage for a relative's memorial if I can figure out how to get the look I'm wanting. I want to apply a slow cross zoom AND a fade both, but it looks like I can only do one at a time. How do I apply both of these transitions at once? Or is there another way I can get the look I'm wanting? Any tips or links you may have that would help point me in the direction I'm wanting to go would be greatly, greatly appreciated. Thank you.
Thank you I think you've pointed me in the right direction. Please forgive me for my ignorance as I have just begun using this program. I don't have all the official terms down yet, such as "key frame", so I'll try to explain the best I can what I've done so far. On the timeline, I've got the yellow line on the image and I can click on a dot and drag one end of the line down so that it's diagonal, but it won't stretch across the following image. Is there any way to have the line stretch across all images and add those little dots (are those key frames?) wherever I please? I apologize if this made no sense whatsoever. I just want to fade out one picture and then fade in the following picture using this opacity effect you mentioned. Thank you very much for your time.
-
How to apply Filter condition for a specific column but not to the report?
Hi,
I am having a issue in applying a filter condition to one of the column.
I have a schema with one fact table and around 10 dimension tables. My requirement is to bring a count on the fact table with related to some other columns from the dimension tables.
Lets consider a scenario with tables like Sales (Fact), Region (Dimension), Year(Dimension), Sale Type (Dimension).
Now my requirement is to bring out the fields
City(Region) --City
Year -- Year
Sales Count(Sales table) ---Count of all sales from the fact table
Sales Count(Sales table) -- Count of all sales from the fact table where sales type is 'CASH'
Here my issue is how do I apply the filter condition of Sales Type='CASH' only on one of the Sales Count column which is from the fact table. I want the filter condition to be imposed only for the fourth column.
Can anyone let me know how to achieve this?
ThanksThis is quite simpe. Edit the column formula for the 4th column and put something like this. I am doing this from memory so the syntax might need checking:
Case When "Dimension Table"."Sales Type"='CASH' Then "Fact Table"."Measure" Else Null End
You could also consider making this a permanent addition to your RPD if this measure will be used again and again. You would add a new logical column and use the expression builder to arrive at the same result. -
Oracle Quoting : How to apply specific Modifier for adjustments
Hi all,
While applying discounts/surcharge to a quote line from application it is picking some modifier and applying it.
We required same functionality with custom code(we are using aso_quote_pub API) to support ADF Page.
The issue we are facing is for price adjustments we need to pass the modifier header and line id to aso_quote_pub API .
So while adjustments made (discounts/surcharge) how do we know which modifier needs to apply.
Thanks in advance.
Thanks
SrinivasThis is quite simpe. Edit the column formula for the 4th column and put something like this. I am doing this from memory so the syntax might need checking:
Case When "Dimension Table"."Sales Type"='CASH' Then "Fact Table"."Measure" Else Null End
You could also consider making this a permanent addition to your RPD if this measure will be used again and again. You would add a new logical column and use the expression builder to arrive at the same result. -
How to apply multiple styles for nested tags in XML?
Say you import this XML into InDesign:
<Root>
<strong>
<em>Bolded and Italicized</em>
</strong>
</Root>
And you have two character styles, bold and italics, to map to strong and em tags respectively.
You will see that the text appears italicized not bolded and italicized as expected. Generally, only the innermost tag will get the style and will overwrite its parent styles.
Notice the XML is generated dynamically and tags order is not enforced. Also, there's an additional underline tag that can be nested with these two.
So far I have tried to use GREP styles (with paragraph styles), but these do not have effect in the XML tags.
Other possible options not tried yet:
Create new tags for every formatting combination. Not what I really want because I could en up with a lot of tags each one with a corresponding styles.
Create InDesign XML rules to apply character styles automatically based on the tags
Use character styles in the XML with the aid namespace referencing InDesign styles. Will this really work?
What do you suggest to go for? See any other option?
Thank you in advance.
JuanI'd say that you should create tags not for appearances, but for semantic content. Specifying formatting styles in your XML betrays your lack of familiarity with the format, because the last thing you'd want to do would be to use HTML markup in the middle of your XML. If you have content that's supposed to be both bolface and oblique - say, a warning - then it's marked up as
<warning>Never refer directly to formatting in your XML markup, only to content types!</warning>
If I had a document that was written in the style you suggest - one with lots of overlapping local formatting - I'd look at developing a better style guide that told the writers that doing so would be bad form. Because, you know, many of the writers I deal with are addicted to forms of emphasis that do nothing useful whatsover for their readership - they only serve to overemphasize the authorial voice of the writers.
Maybe you could tell us why you need these overlapping forms of styling, and we could suggest other InDesign formatting tools (like line styles or nested styles) that would help you get the appearance you want without crowding styling markup into your XML - where, strictly speaking, it doesn't really belong. -
How to apply validation rule for View Object (VO) attributes?
How to add Validation Rules to VO attributes, just like EO Business Rules?
I got 2 problem with that:
1. VO can join multiple tables, and the attribute's validation rules may reference to the fields from multiple entities.
2. Since the EO Validation Rules only execute before the data actually write to entity (Commit operation). But user may need to input data from multiple pages with only 1 commit.
I am using JDeveloper 11g with ADF BC.
Regards,
Samson FuJust something to point out, the EO validation doesn't fire on a commit (if you mean commit as in the database/AppModule commit). You can also access VO information from the EO validation rules by using view accessors.
Regards
Grant -
How to apply HotFix 3 for AppV 4.6 SP2?
My aim is to use AppV 4.6 SP2 HF03 Sequencer & Client?
I've already installed 64-bit AppV 4.6 SP2 Sequencer in my Machine where version in ARP is 4.6.2.24020 & I've downloaded the HF03 from the URL below,
http://support.microsoft.com/kb/2873471/en-us
I don't understand which msp[Among the 4] to apply & so I've tried to apply both x64 msp's. But, none of those installed successfully. It throws the following error,
Can anyone help me with the issue & resolution?This HF is for App-V clients only, it does not contain anything for the Sequencer.
The most current 4.6 release of the Sequencer is 4.6 SP3 (http://support.microsoft.com/kb/2873450)
If you want to stay in the 4.6 SP*2* generation, there is no hotfix available that includes Sequencer changes.
Falko
Twitter
@kirk_tn | Blog
kirxblog | Web
kirx.org | Fireside
appvbook.com
Maybe you are looking for
-
Duplicate messages in Snow Leopard Mail
Is there a quick way to find/delete duplicate messages in Snow Leopard Mail? Thanks, Don
-
Hi all, Is it possible to create a textarea in the selection secreen of a report ? thus not pool-module program if its possible.how to do that ? Thanks in advance.
-
BC4J many-to-many relationship
I tried out the how to "Create Many-to-Many Associations and View Links". In the Business Component Browser I can only browse the data, but I can't assign a new detail to a master (e.g. a product to a warehouse). In an real-world application I want t
-
Auto Drag-and-Drop after execute the exteral program
I execute a program and provide the pathname. The external program support Drag-and-Drop and also Open files by clicking Menu. I have to open file after executing the program. Is it possible to do that?
-
Hi there. I'm thinking of getting an iSight but I have a very noisy iMac G5. The fans are loud and it makes a whining noise too. (Long story but Apple say there's nothing wrong with it.) How good is the iSight at filtering out background noise like t