Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Screen position for multi-byte characters

807589Jul 7 2008 — edited Jul 7 2008
Hi all,
Some of the asian language charsets has multi-byte characters, and each of these characters might occupy different screen positions (by screen position i mean the pixel space occupied). This becomes a huge problem in setting the number of columns to display. Is there anyway we can pre-determine the screen-position occupied by each character.

thanks
Manivannan

Comments

Scott Wesley
Answer

You need an application item (defined globally) in each application to be able to reference the value.

You will still see the values listed in session state, even if the application doesn't have the item defined, because.. the values are still in session state. It's just a table in the db.

Marked as Answer by AllenS. · Aug 19 2022
AllenS.

May I know which table stores the values? I've been looking through the APEX views but can't find anything yet.

Scott Wesley

If you install f4000.sql, and check out page 34, you can trace it down to

select * from apex_190100.wwv_flow_data_view;     

joejetta

When I've worked with sharing application items across applications I had issues when the cookie was not named the same.  Do these two apps have the same cookie?

Scott Wesley

If you're sharing across applications, and the cookie was not the same name, then it wouldn't be workspace sharing.

This would be immediately apparent by having to log in again.

AllenS.

Yes

Vincelogic

@scott-wesley Hi Scott, I've tried :
defined application item (global) each in both applications, named: APP_GLOBAL_ITEM
set the application item in a DA action: Execute Server-Side Code to a particular value in application A
then using v('APP_GLOBAL_ITEM') to retrieve in application B, but the value is NULL
Did I miss anything, or should I use another way to set and get the value of the application item?

Scott Wesley

That's how I've successfully been operating with application items for years.

  1. Define application item in all relevant applications, using Scope: Global
    image.png2) Set item using
    apex_util.set_session_state('F_ENV', 'dev')
    or
    :F_ENV := 'dev';
  2. Refer to the item using
    :F_ENV or v('F_ENV') or &F_ENV.
Vincelogic

Appreciate it, Scott, we will try for that, thanks!

1 - 9
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Aug 4 2008
Added on Jul 7 2008
11 comments
331 views