on 08-17-2004 4:47 PM
Hi,
if I have a quantity-field in a htmlb:tableView, the field will be displayed like "1,000" (with comma).
If I display the same field in htmlb:textView, the field will be displayed with a dot "1.000".
Is it a bug, a feature or do I have to change my customizing?
Ofcourse I can change the field in my programm, but I wish a more sophisticated solution.
I am using a WAS 6.20 Support Package 35.
Thank You very much for help.
Best Regards
Renald
When you are rendering a table, the tableView gets a reference onto a table, that also contains additional DDIC information. Here the conversion exists are used to do an internal to external representation.
When you use the textView, you would probably just do a <textView text="<%=myvar%>". And this in the end just generates code to do a "%_obj->text = myVar." Which is effectively a simple string assignment. No conversion to external representation is done here.
Would say works as designed.
++bcm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I expected the same behavior in the htmlb-tags. I use the page->to_string method now. That works fine.
Thank You very much for Your help.
Best Regards
Renald
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
How are you getting the quantity field into the textView? Have you tried using the page->to_string method to convert the quantity field to a string? If you use the page->to_string, it looks like this method will use a write and use your user settings for format output.
If you look inside the rendering code of the tableView, it appears that it uses the page->to_string method for its output formatting.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Interesting problem/bug/feature we have something similar however I think our problem lies with the user settings. But when you have the same user view the same page with two formats perhaps your problem is something else.
Please keep us posted if you find out anything, I'll definetly keep an eye on this forum to see what others have to say about it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.