How to localize labels in WhiteBoard component

Hello,
I would need to localize some labels in the whiteboard components.
Looking at the source code, it looks like you are using a private class "com.adobe.coreUI.localization.Localization".
How can I work around it to set my own resource bundle?
Cheers,
Xavier

Hi Xavier,
The basics here are pretty easy - essentially, we have a static accessor,
Localization.impl, which is an instance of ILocalizationManager. Here's the
interface :
    public interface ILocalizationManager
        function getString(p_inStr:String):String;
        function formatString(p_inStr: String, ...args):String;
The default implementation just returns the input string - essentially does
nothing. For the whiteboard, all the strings you'll need are processed by
"getString", so your formatString doesn't need to do anything.
To insert your own localization, simply make your own implementation of
ILocalizationManager, then assign it :
Localization.impl = new MyCustomLocalizationManager();
I know that this doesn't conform to the resourceBundle approach Flex uses,
but we have to live across non-Flex and Flex frameworks. Still, it should be
trivial to take a resourceBundle and build an ILocalizationManager which
draws its strings from it, if that's what you'd like to do.
  hope that helps!
  nigel

Similar Messages

  • How to localize labels in customized forms in SCSM?

    Hi,
    when customizing SCSM forms I add label controls with the Authoring Tool. This results in a XML like this:
              <AddControl Parent="StackPanel499" Assembly="PresentationFramework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Type="System.Windows.Controls.Label"
    Left="63.5" Top="39.0357407407408" Right="0" Bottom="0" Row="0" Column="0" />
              <PropertyBindingChange Object="Label_1" Property="Content">
                <NewBinding Enabled="False" />
              </PropertyBindingChange>
              <PropertyChange Object="Label_1" Property="Content">
                <NewValue>Requested by:</NewValue>
              </PropertyChange>
    The content of the label is hard coded within the XML and therefore is always the same, independently from the chosen language of the console.
    The question is: How can I refer/bind the Content property to a DisplayString from the LanguagePacks section of the Management Pack?
    I tried something like this in my Management Pack:
    Defined a FormStrings section:
            <FormStrings>
              <FormString ID="formTestString">$MPElement[Name="dhTestString"]$</FormString>
            </FormStrings>       
    Defined a new binding to the form string (googled from different souces):
              <PropertyBindingChange Object="Label_1" Property="Content">
                <NewBinding Enabled="True" Path="Strings[formTestString].Value" Mode="Default" BindsDirectlyToSource="False" UpdateSourceTrigger="Default" />        
              </PropertyBindingChange>
    Defined a string resource:
        <StringResources>
          <StringResource ID="dhTestString" />
        </StringResources>
    Defined the display strings in the LanguagePacks section of the MP:
            <DisplayString ElementID="dhTestString">
              <Name>Hello World</Name>
            </DisplayString>
    But after importing the MP, restarting SCSM service and console, the label is not visible in the form, its content is blank.
    Can somebody help me?

    I have no proof otherwise, but I don't believe it is possible to localize a value from within a form extension.
    Label localization uses a RelativeSource binding.
    http://blogs.technet.com/b/servicemanager/archive/2010/02/25/localizing-forms-service-request-example.aspx (note: this blog post talks about localizing labels on custom forms, not form extensions)
    The <NewBinding> and <PropertyBindingChange> capability is a feature of the SCSM console framework and, as far as I can tell looking in the code, it doesn't support the creation of a RelativeSource binding.
    By the way, you're not the only one to have asked this question..a couple people have asked in the forums in the past, but I never saw an answer. In fact, the only other references I can find to localizing labels and such revolves around custom forms or
    correctly applying label values to copies of existing forms (but not applying values to new labels).
    Hopefully I'm wrong and it can be done, but I personally don't know how.
    An admittedly complicated work-around, however, would be to create your own custom XAML control and add it to your form..then you could use the relative source binding on the labels. But creating a custom control requires some experience with Visual
    Studio and C#.
    http://blog.scsmsolutions.com/2011/08/create-custom-user-control-for-scsm-2010/

  • How to change the label of a component with javascript?

    Hi, i need to change the label of a component dinamically. I tried:
    if (document.getElementById('P34_ID_OPERACION').value==2) {
    document.getElementById('P34_ID_USUARIO_DEST').label = 'Encargado:';
    if (document.getElementById('P34_ID_OPERACION').value==3) {
    document.getElementById('P34_ID_USUARIO_DEST').label = 'otro texto:';
    but doesn't work.
    any ideas?
    Edited by: Andres Vilallave on 16-mar-2010 12:49

    Hi,
    I think "label" is not valid attribiute for "input" tag.
    Create new hidden item P34_LABEL. For item 'P34_ID_USUARIO_DEST', put label value as +&P34_LABEL.+
    Now try the following JS
    <script>
    if (document.getElementById('P34_ID_OPERACION').value==2) {
    document.getElementById('P34_LABEL').value = 'Encargado:';
    if (document.getElementById('P34_ID_OPERACION').value==3) {
    document.getElementById('P34_LABEL').value = 'otro texto:';
    </script>Cheers,
    Hari

  • How connect dragable labels with line

    When I load the program labels will appear within the window. You can ckick
    and drag these labels. The code for this
    is very simple. The code works perfectly. However I want to extend my code to do
    the following :
    (1) I want to add an extra label .. it does not matter where on the screen
    [ JLabel label = new JLabel() ]
    (2) When I press this button I want a line to appear between the two
    moveable labels ( ie the two labels are joined together by the line)
    (3)Now here is the hard part.. Whenever I move either of the two labels
    the line stretches so that the two labels are still connected.
    start--->
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.geom.*;
    import javax.swing.*;
    import javax.swing.border.*;
    public class Connection
    public static void main(String[] args)
    JFrame f = new JFrame("Connection");
    f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    f.getContentPane().add(new ConnectionPanel());
    f.setSize(400,300);
    f.setLocation(200,200);
    f.setVisible(true);
    class ConnectionPanel extends JPanel
    JLabel label1, label2, label3, label4;
    JLabel[] labels;
    JLabel selectedLabel;
    int offsetX, offsetY;
    boolean dragging;
    public ConnectionPanel()
    setOpaque(false);
    setLayout(null);
    addLabels();
    addMouseListener(new LabelSelector());
    addMouseMotionListener(new LabelMover());
    public void paintComponent(Graphics g)
    Graphics2D g2 = (Graphics2D)g;
    g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
    RenderingHints.VALUE_ANTIALIAS_ON);
    g2.setPaint(Color.white);
    g2.fillRect(0, 0, getWidth(), getHeight());
    g2.setPaint(Color.blue);
    Point
    p1 = getCenter(label1),
    p2 = getCenter(label2),
    p3 = getCenter(label3),
    p4 = getCenter(label4);
    g2.draw(new Line2D.Double(p1.x, p1.y, p2.x, p2.y));
    g2.draw(new Line2D.Double(p1.x, p1.y, p3.x, p3.y));
    g2.draw(new Line2D.Double(p1.x, p1.y, p4.x, p4.y));
    g2.draw(new Line2D.Double(p2.x, p2.y, p3.x, p3.y));
    g2.draw(new Line2D.Double(p2.x, p2.y, p4.x, p4.y));
    g2.draw(new Line2D.Double(p3.x, p3.y, p4.x, p4.y));
    super.paintComponent(g);
    private Point getCenter(JComponent c)
    Rectangle r = c.getBounds();
    return new Point((int)r.getCenterX(), (int)r.getCenterY());
    private class LabelSelector extends MouseAdapter
    public void mousePressed(MouseEvent e)
    Point p = e.getPoint();
    for(int i = 0; i < labels.length; i++)
    Rectangle r = labels.getBounds();
    if(r.contains(p))
    selectedLabel = labels[i];
    offsetX = p.x - r.x;
    offsetY = p.y - r.y;
    dragging = true;
    break;
    public void mouseReleased(MouseEvent e)
    dragging = false;
    private class LabelMover extends MouseMotionAdapter
    public void mouseDragged(MouseEvent e)
    if(dragging)
    int x = e.getX() - offsetX;
    int y = e.getY() - offsetY;
    Rectangle r = selectedLabel.getBounds();
    selectedLabel.setBounds(x, y, r.width, r.height);
    repaint();
    private void addLabels()
    int w = 125;
    int h = 25;
    Border border = BorderFactory.createEtchedBorder();
    label1 = new JLabel("Label 1", JLabel.CENTER);
    label2 = new JLabel("Label 2", JLabel.CENTER);
    label3 = new JLabel("Label 3", JLabel.CENTER);
    label4 = new JLabel("Label 4", JLabel.CENTER);
    labels = new JLabel[4];
    labels[0] = label1; labels[1] = label2; labels[2] = label3; labels
    [3] = label4;
    for(int i = 0; i < labels.length; i++)
    labels[i].setBorder(border);
    labels[i].setOpaque(true);
    labels[i].setBackground(Color.white);
    add(labels[i]);
    label1.setBounds(40, 40, w, h);
    label2.setBounds(215, 40, w, h);
    label3.setBounds(40, 200, w, h);
    label4.setBounds(215, 200, w, h);
    end-->
    In this code: How to add labels when to me it is necessary
    (From menu: add new label)?

    import java.awt.*;
    import java.awt.event.*;
    import java.awt.geom.Line2D;
    import javax.swing.*;
    import javax.swing.event.MouseInputAdapter;
    public class Connection
        ConnectionPanel connectionPanel;
        LabelWrangler wrangler;
        public Connection()
            connectionPanel = new ConnectionPanel();
            wrangler = new LabelWrangler(connectionPanel);
            connectionPanel.addMouseListener(wrangler);
            connectionPanel.addMouseMotionListener(wrangler);
            JFrame f = new JFrame();
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.getContentPane().add(getUIPanel(), "North");
            f.getContentPane().add(connectionPanel);
            f.setSize(400,400);
            f.setLocation(200,200);
            f.setVisible(true);
        private JPanel getUIPanel()
            JButton add = new JButton("add label");
            add.addActionListener(new ActionListener()
                public void actionPerformed(ActionEvent e)
                    wrangler.willAcceptLabel = true;
            JCheckBox lineBox = new JCheckBox("show lines");
            lineBox.addActionListener(new ActionListener()
                public void actionPerformed(ActionEvent e)
                    connectionPanel.showConnectionLines();
            JPanel panel = new JPanel();
            panel.add(add);
            panel.add(lineBox);
            return panel;
        public static void main(String[] args)
            new Connection();
    class ConnectionPanel extends JPanel
        boolean showConnections;
        int labelCount;
        final int
            N  = 2,
            NW = 3,
            W  = 1,
            SW = 9,
            S  = 8,
            SE = 12,
            E  = 4,
            NE = 6;
        public ConnectionPanel()
            showConnections = false;
            labelCount = 0;
            setLayout(null);
        protected void paintComponent(Graphics g)
            super.paintComponent(g);
            Graphics2D g2 = (Graphics2D)g;
            g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
                                RenderingHints.VALUE_ANTIALIAS_ON);
            if(showConnections)
                Component[] c = getComponents();
                Rectangle r1 = new Rectangle();
                Rectangle r2 = new Rectangle();
                for(int j = 0; j < c.length - 1; j++)
                    c[j].getBounds(r1);
                    for(int k = j + 1; k < c.length; k++)
                        c[k].getBounds(r2);
                        Point p1 = getClosestPoint(r1, r2);
                        Point p2 = getClosestPoint(r2, r1);
                        g2.draw(new Line2D.Double(p1.x, p1.y, p2.x, p2.y));
        private Point getClosestPoint(Rectangle r1, Rectangle r2)
            double cx = r2.getCenterX();
            double cy = r2.getCenterY();
            Point p = new Point();
            int outcode = r1.outcode(cx, cy);
            switch(outcode)
                case N:
                    p.x = r1.x + r1.width/2 - 1;
                    p.y = r1.y;
                    break;
                case NW:
                    p.x = r1.x;
                    p.y = r1.y;
                    break;
                case W:
                    p.x = r1.x;
                    p.y = r1.y + r1.height/2 - 1;
                    break;
                case SW:
                    p.x = r1.x;
                    p.y = r1.y + r1.height - 1;
                    break;
                case S:
                    p.x = r1.x + r1.width/2 - 1;
                    p.y = r1.y + r1.height - 1;
                    break;
                case SE:
                    p.x = r1.x + r1.width - 1;
                    p.y = r1.y + r1.height - 1;
                    break;
                case E:
                    p.x = r1.x + r1.width - 1;
                    p.y = r1.y + r1.height/2 - 1;
                    break;
                case NE:
                    p.x = r1.x + r1.width - 1;
                    p.y = r1.y;
                    break;
                default /* INSIDE == 0 */:
                    System.out.println("INSIDE");
            return p;
        public void addLabel(Point p)
            JLabel label = new JLabel("label " + ++labelCount);
            label.setBorder(BorderFactory.createEtchedBorder());
            add(label);
            Dimension d = label.getPreferredSize();
            label.setBounds(p.x - d.width/2, p.y - d.height/2, d.width, d.height);
            repaint();
        public void showConnectionLines()
            showConnections = !showConnections;
            repaint();
    class LabelWrangler extends MouseInputAdapter
        ConnectionPanel connectionPanel;
        Component selectedLabel;
        Point offset;
        boolean dragging, willAcceptLabel;
        public LabelWrangler(ConnectionPanel cp)
            connectionPanel = cp;
            offset = new Point();
            willAcceptLabel = false;
            dragging = false;
        public void mousePressed(MouseEvent e)
            Point p = e.getPoint();
            // has a label been selected for dragging?
            Component[] c = connectionPanel.getComponents();
            Rectangle r = new Rectangle();
            for(int j = 0; j < c.length; j++)
                c[j].getBounds(r);
                if(r.contains(p))
                    selectedLabel = c[j];
                    offset.x = p.x - r.x;
                    offset.y = p.y - r.y;
                    dragging = true;
                    break;
            // if no selection, are we adding a new label?
            if(!dragging && willAcceptLabel)
                connectionPanel.addLabel(p);
                willAcceptLabel = false;
        public void mouseReleased(MouseEvent e)
            dragging = false;
        public void mouseDragged(MouseEvent e)
            if(dragging)
                int x = e.getX() - offset.x;
                int y = e.getY() - offset.y;
                selectedLabel.setLocation(x, y);
                connectionPanel.repaint();
    }

  • How do I traverse a tree component ?

    How do I traverse a tree component ?
    I tried the following but it only returns 1 row. The dataprovider is XML.
    var datalength:Number = mytree.dataProvider.length;
    Alert.show(String(datalength));
    for ( var i:Number = 0; i < datalength; i++)
          Alert.show(mytree.dataProvider.getItemAt(i).@label); 

    I went with the following approach
    for each  
    (var attribute:XML in treeSource..@*)
         Alert.show((attribute.parent( ).@label
         +
    ": " + attribute.name( ) + "=" + attribute));}

  • 1) How to Boot from SAN for T4-1 Server with Solaris 11.1 OS on the disk? 2) How to SMI Label/Format a disk while OS Installation in Solaris 11.1?

    FYI....boot from SAN is required for physical server (T4-1) (not OVM).
    1) How to Boot from SAN for T4-1 Server with Solaris 11.1 OS on the disk?
    The SAN disks allocated are visible in ok prompt. below is the output.
    (0) ok show—disks
    a) /pci@400/pci@2/pci@0/pci@f/pci@0/usb@0, 2/hub@2/hub@3/storage@2/disk
    b) /pci@400/pci@2/pci@0/pci€a/SUNW, ezalxs@0, l/fp@0, 0/disk
    e) /pci@400/pci@2/pci@0/pci@a/SUNW, ealxs@0/fp@0, 0/disk
    d) /pci@400/pci@2/pci@0/pci@8/SUNW, emlxs@0, l/fp@0, 0/disk
    e) /pci@400/pci@2/pci@0/pci@8/SUNW,enlxs@0/fp@0,0/disk
    f) /pci@400/pci@2/pci@0/pci@4/scsi@0/disk
    g) /pci@400/pci@1/pci@0/pci@4/scsi@0/disk
    h) /iscsi—hba/disk
    q) NO SELECTION
    valid choice: a. . .h, q to quit c
    /pci@400/pci@2/pci@0/pci@a/SUNW, ealxs@0/fp@0, 0/disk has been selected.
    Type “Y ( Control—Y ) to insert it in the command line.
    e.g. ok nvalias mydev “Y
    for creating devalias mydev for /pci@400/pci@2/pci@0/pci@a/SUNW,emlxs@0/fp@0,0/disk
    (0) ok set—sfs—boot
    set—sfs—boot ?
    We tried selecting a disk and applying sfs-boot at ok prompt.
    Can you please help me providing detailed pre-requesites/steps/procedure to implement this and to start boot from SAN.
    2) How to SMI Label/Format a disk while OS Installation in Solaris 11.1?
    As we know that ZFS is the default filesystem in Solaris 11.
    We have seen in the Oracle documentation that for rpool below are recommended:
    - A disk that is intended for a ZFS root pool must be created with an SMI label, not an EFI label.
    - Create root pools with slices by using the s* identifier.
    - ZFS applies an EFI label when you create a storage pool with whole disks.
    - In general, you should create a disk slice with the bulk of disk space in slice 0.
    I have seen the solution that using format -e, we change the labelling but all the data will be lost, whats the way to apply a SMI Label/Format on a rpool disks while OS Installation itself.
    Please provide me the steps to SMI Label a disk while installaing Solaris 11.1 OS.

    Oracle recommends below things on rpool: (thats reason wanted to apply SMI Label)
    I have seen in the Oracle documentation that for rpool below are recommended:
    - A disk that is intended for a ZFS root pool must be created with an SMI label, not an EFI label.
    - Create root pools with slices by using the s* identifier.
    - ZFS applies an EFI label when you create a storage pool with whole disks.
    - In general, you should create a disk slice with the bulk of disk space in slice 0.

  • How do I find out the component ID on a certain page?

    How do I find out the component ID on a certain page? problems is that I'm using some page template which I do not have source code for that.I need to find out the component id to pass to UIComponent.findComponent(id) as parameter. is there anyway?
    Thanks

    If you go to the partial trigger property of any of your page component you can open the edit partial trigger browser.
    There you can find the components of your template and their ids

  • How to find out the Target Component name and Target view name

    Hi All Expert,
                      I want to know ,how to find out the target component and target view in WEB UI,when i click on a field which shows as a hyper link in WEB UI .At GUI level ,i know the how it will work.Any way to find out the component name and view name which is show the details of that field at GUI level .IF you go to transaction CRMD_ORDER then open the service contract id .then goto the item level value .there is 1 service data tab is available at item level.there is two button is available.first one is available time and second one is response time .if i click on any button then one popup is open which is shows the details of that button.I dont know how to find out the component name and view name from GUI level.
    Thanks in Advance....
    Vishwas Sahu

    Hi Vishwa,
                 The control would be something like this for navigation in Get_p_xxx method u mention as link and u mention a event name which gets triggered on the click of this hyperlink. So your GET_P_XXX method would have the following code:
    CASE iv_property.
        WHEN if_bsp_wd_model_setter_getter=>fp_fieldtype.
          rv_value = cl_bsp_dlc_view_descriptor=>field_type_event_link.
        WHEN if_bsp_wd_model_setter_getter=>fp_onclick.
          rv_value = 'EXAMPLE'.
    Now you have to create a method as EH_ONEXAMPLE at your IMPL class and within which you would give an outbound plug method. Within the outbound plug the target data would be filled in the collection and window outbound plug would be triggered.
    This is a huge topic and  i have just mentioned you basic things.
    Regards,
    Bharathy.

  • How to design Label in Bex Query

    Hi to all,
    How to create label in query .
    i have designed a query which contain sales value for coffe1 coffe2 coffe3 and sales value for tea1 tea2 tea3 . But i need to group coffe1 coffe2 coffe3 under COFFE as label, and tea1 tea2 tea3 group under TEA as label example .
        COFFE  ( LABEL)            I        TEA  ( LABEL )
    coffe1 coffe2 coffe3         I       tea1  tea2  tea3
    1          4         6                 I        2       5       7
    2          5         7                 I        3       7      9
    i that can be done unde query designer or report designer or any other tool is for that.
    please can any one tell me how to do it and step's regarding that.
    i shall be thnakfull to you for this.
    Regards
    Pavneet Rana

    Thanks for reply.
    I have created already a cerated a structre under Columns and have displayed tea1 tea2 tea3 and coffe1 coffe2 coffe3 as selection and restricted with sales value.
    but when i execute query  it display like
      tea1 tea2 tea3 coffe1 coffe2 coffe3 .
    i need to group tea and coffe under TEA and COFFE label.
    can i do some thing in bex query designer.
    can i do it with text variable.
    I shall be thankfull for reply.
    Regards
    Pavneet Rana
    Edited by: pavneet rana on Oct 4, 2010 2:39 PM

  • How to get the list of component?

        How to get the list of component through java API in Adobe CQ5?

    There are probably more than a few ways, but here is a little component .jsp code that uses the jcr query api to pull out all the components and list them on a page.  If I know CQ, there might be a way to ask for a list of components another way though, maybe through another API, or possibly a .json url, I might remember reading something about that, somewhere, lol, but this at least gets you the list in a somewhat simple way.
    Code Example:
    <%@include file="/apps/psul/components/global.jsp"%>
    <%@ page import="javax.jcr.*,
                       javax.jcr.query.*"
    %>
    <%
       // Login to create an anonymous session on the default workspace
       Session session = resourceResolver.adaptTo(Session.class);
           //Declare a query for all the components in the system
           String SQL = "select * from cq:Component";
    //side note: if you want just the components in your site area, then make the query more like below...
    //  SQL = "select * from cq:Component where jcr:path like '/apps/yoursitename/%'";
           QueryManager qm = session.getWorkspace().getQueryManager();
           Query query = qm.createQuery(SQL, Query.SQL);
           QueryResult result = query.execute();
           NodeIterator nodes = result.getNodes();
           while (nodes.hasNext()) {
               Node node = (Node)nodes.next();
               %>
                    <p><%=node.getName() %> (<b><%=node.getPath() %></b>)</p>
    <%     } %>

  • How can I include a portal component look and feel in a java servlet

    Does any body know how can i include a portal component look and feel (tables, buttons, etc) in a java servlet?

    Hi José,
    I don't think that is possible. But you can import the css files that ep uses for its look and feel and try to give your web pages similar look and feel. The tables and other controls used in EP are totally different and are done through complex JavaScript coding instead of simple HTML tags. If you want exact lok and feel then i thin you must go for a Webdynpro based application rather then a J2EE application with JSPs.
    Regards,
    Guru.
    PS: Give points for helpful replies.

  • How to exclude synchronous interfaces from component based message alerting

    Hi Pi experts,
    We are configuiring Alerts in PI 7.3 single stack.If we have 'n'number of interfaces, and if we configured general alerts for all.How to exclude synchronous interfaces in that.Alerting is for asynchronous interfaces only.How to do that.
    Please advice on this.
    Regards
    Suneel

    Hello,
    >>What are your approaches regarding this requirement in the context of java-only?
    I would suggest you to schedule jobs like this:
    Customize Alerts Using Job in PI 7.31/PO
    >> alerts are consumed according to the given interval and not in "real time" when error occurs, today solution using BADI is "real time" - if possible I would prefer "real time" solution
    Check this:
    Michal's PI tips: How to trigger an alert for Component Based Message Alerts (CBMA) via "API" ?
    >>an separate service determine the actual alert count would be helpful to provide the correct value for maxAlerts, this have to be called beforehand
    I haven't tried it but i think u can do that, since these consumers are nothing but JMS queues only so i think there will be a method to read number of alert counts.
    >>In history I saw emails generated by the standard alert consumer which only contain details for the first alert, in my case I need details especially the message id for all errorneous messages
    If ur max alert parameter is greater than 1 then u should see multiple alert text  (along with message id and other details) in ur email message.
    Thanks
    Amit Srivastava

  • How to make a global scope component to be thread safe?

    One of my global component preserves states in its member variables, I am afraid that it's might messed up in multi-threading conditions, so how to make a nucleus global component to be thread safe?
    Edited by: user13344577 on Jul 14, 2011 9:45 AM

    Hi,
    Just to help integrate Shaik's and my own seemingly contradictory replies:
    If the member variables in your global component actually need to be globally available, so that multiple threads/sessions need to seem the same data, then you need to use synchronization or some scheme to make this data thread-safe when updating it. If the member variables are non-global data and are simply for convenience of having data available for multiple method calls or something like that, then you should do as I said (don't use synchronization) and use one of my suggestions to avoid this.
    I have seen customers frequently do what I replied about and store non-global data in a global component, and Shaik simply interpreted what "user13344577" is trying to do differently. Clarification is needed to know which of our answers better applies.
    Thanks.
    Nick Glover
    Oracle Support for ATG Products

  • How to print labels on zebra printer LP2844

    Hi,
    can anybody help me regarding how to print labels on zebra printer LP2844.
    Thanks

    Thanks for reply
    I had gone thru the manuals but how to send the Escape sequence to the printer from a java program?
    Any sample code for that in java will be very helpful.
    Thanks.

  • How to make Label in selection screen?

    Hi friends.. can anybody explain how to make labels in selection screens and how to split the selection screen vertically? plz.. Thanks in advance

    Arun kumar,
    Check this program. you can put labels like this.
    REPORT  ZVENKAT_TEST1.
    SELECTION-SCREEN BEGIN OF BLOCK block.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(15) text1.
    SELECTION-SCREEN POSITION 17.
    PARAMETERS :p_pernr type pa0001-pernr.
    SELECTION-SCREEN POSITION 26.
    SELECTION-SCREEN COMMENT 27(30) text2.
    SELECTION-SCREEN end OF LINE.
    SELECTION-SCREEN end OF BLOCK block .
    at SELECTION-SCREEN OUTPUT.
      text1 = 'Personal number'.
      SELECT SINGLE ename FROM pa0001 INTO text2 WHERE pernr = p_pernr.
    Regards,
    Venkat.O

Maybe you are looking for