jsf 2 - <f:convertNumber />and <f:convertDateTime /> is not working inside primefaces dialog -


I am working with jsf 2.1 and prefixes 3.5

I "f: convertNumber" and To format numbers and dates, "F: convert datetime", it is working on normal screens, but this is not working in dialogue box (once I press the button, I'm displaying a dialog box) .

This is my code:

  & lt; P: Dialog ID = "ReciprintialProgram" modal = "true" widgetVar = "printDlgId" header = "success" dragable = "true" off = "wrong" resizable = "false" maximum "=" wrong "at least = "Wrong" style = "font-family: ariel; Font-size: 11px; "AppendToBody =" true "width =" 50% "& gt; & lt; h: form id =" receiptdialog_form "& gt; & lt; p: panel grid id =" payment_recity ipt_Panel "style =" Width: 80% "& gt; & lt; p: line & gt; & lt; p: column style =" text-line: left; Width: 45% "& gt; Output label value =" date "style =" font-size: 16px "/>  gt; column style: & lt; p: = "Text-line: left; Width: 45% "& gt; & lt; h: Output Text ID =" Payment_date "value =": & amp; # 160; And # 160; # {Paymentreceipt.paymentdate} "& gt; & lt;! - & lt; f: for conversion format =" payment_data "type =" date "/> -> -> f: convert data timetames =" middle "/>: & Lt; f: ConvertDateTime type =" Date "pattern =" dd-MM-yyyy "/>   & lt; / p: column & gt; Lt; p: column style = "text-line: left; Width: 45% "& gt; & lt; h: Output Text Value =": & amp; # 160; & # 160; # {Paymentreceipt.paymentannualmemberfee_without_servicetax} "& gt; & lt; f: Convertember maximum fracturing =" 2 "/>   

Output showing it as:

Date: Fri Aug 01 14:21:53 IST 2014

Annual Membership Fee (in Rs.): 3782.48487006052

For Others (In Rupees): 88 9.9 9 644001424

Expected Out:

Date: Friday, August 1, 2014

Annual approval fee (Un)

& lt; p: line & quot;

For the others (without ST): 890

try it, Gt; & lt; p: column style = "text-line: left; Width: 45% "& gt; Output label value =" Date: "style =" font-size: 16px "/> & lt; / p: column & gt; & lt; p: column Style = "text-line: left; Width: 45% "& gt; Output Text id =" Payment_date "value =" # {paymentreceipt.paymentdate} "& gt; & lt; f: ConvertTime Date Style =" Full "Type =" Date " /> & Gt; & lt; / h: outputText & gt; & lt; / p: column & gt; & lt; / p: line & gt; & lt; p: line & gt; & lt; p: column style = "Text-line: left; Width: 45% "& gt; Output label value =" annual subscription fee (in RS): "style =" font-size: 16px "/> & lt; / p: column & gt; & Lt; p: column style = "text-line: left; Width: 45% "& gt; output text value =" # {paymentreceipt.paymentannualmemberfee_without_servicetax} "& gt; & lt; f: convertumber maximum fracturing =" 2 "pattern =" ##, ## 0.00 " />: OutputText> gt; & lt; / p: column & gt; & lt; / p: row & gt;

if we use space or any Use special characters, then I am using Riffface: with date and number format. It will not change, then try instead of colon and if you want colon different H Ryog does: its output label.


Comments

Popular posts from this blog

sqlite3 - UPDATE a table from the SELECT of another one -

c# - Showing a SelectedItem's Property -

javascript - Render HTML after each iteration in loop -