Custom plugin dev problems

Hello
I have some custom plugins development problems:

#1 : My autodiscovery works, but even when I delete the resources of the server, the dashboard auto-autodiscovers them immediately, making it impossible to remove these resources of the server.

#2 : I want to follow firefox. My autodiscovery looks like:

AutoDiscovery/public class extends ServerDetector implements

{AutoServerDetector}

public list getServerResources (ConfigResponse platformConfig)

get {PluginException}

Server list = new ArrayList();

Server ServerResource; / / = createServerResource ("C:\\Program Files\\Mozilla Firefox\\firefox.exe");
[long] pID is getPids ("State.Name.eq = firefox");. Name.State.EQ =
getLog () .error ("query PTQL in fact autodiscovery plugin");

Exe string = getProcExe(pID[0]);
Server = createServerResource (new File (exe) .getAbsolutePath ());
server.setDescription ("M FFox3");
server.setName ("Mozilla Firefox server3");

ConfigResponse productConfig = new ConfigResponse();
productConfig.setValue ("process.query", "State.Name.eq = firefox");


ConfigResponse cprop = new ConfigResponse();
cprop.setValue ("process.query", "State.Name.eq = firefox");

CustomProperties ConfigResponse = new ConfigResponse();

server.setProductConfig (productConfig);
server.setMeasurementConfig (cprop);
server.setCustomProperties (customProperties);

Servers.Add (Server);

getLog () .error ("-> plugin DONE! <---") ;
return of the servers;

It worked fine until sometimes back, when suddenly he decided to stop working. These things are not AUTODÉCOUVERTS now.

#3 : Even in the good old days where he used to work, I've never had the availability etc, (grey brand on the UI server-side)

My AC - plugin.xml is like:

<? XML version = "1.0"? >
< plugin package = "kt" name = "kttwo" >

< name of the filter = "domain" value = "My Auto Discovery" / >
< name = "process.query property" value = "firefox" / > "
< parameters name = 'Generic metric' >

< alias metric = 'Availability' category = 'AVAILABILITY '.
collectionType = "dynamic" flag = "true" name = "availability".
Template="generic:type=ProcState,arg=%process.query%:State".
units = "percentage" / >
< / Parameter >

< server name = "Mozilla Firefox server" >

< plugin type = "autoinventory" class = "Automatic Detection" / >
<!--
< class = "org.hyperic.hq.plugin.generic.GenericMeasurementPlugin plugin"
Type = "measure" / >-->
< parameters include = 'Generic metric' / >


< / Server >

< / plugin >

and my measurement.java is:

Import org.hyperic.hq.product.Metric;
Import org.hyperic.hq.product.MetricNotFoundException;
Import org.hyperic.hq.product.MetricUnreachableException;
Import org.hyperic.hq.product.MetricValue;
Import org.hyperic.hq.product.PluginException;
Import org.hyperic.hq.product.SigarMeasurementPlugin;

Measure/public class extends SigarMeasurementPlugin {}

public Measurement() {}
TODO auto-generated constructor stub
}

@Override
public MetricValue getValue (Metric arg0) throws PluginException,
MetricNotFoundException, {MetricUnreachableException}
TODO self-generating method stub
getLog () .error ("scope of collection");

Return super.getValue (arg0);
}

}

Seen anything of significance in a newspaper (when auto-discovery used to work, and now when he doesn't), except that the getLog () .error ("scope of collection"); never appear in the newspaper.

Thank you

OK, it was almost just... Here is the small change of HQ - plugin.xml:

-clip-


     
     
          
collectionType = "dynamic" flag = "true" name = "availability".
Template="sigar:type=ProcState,arg=%process.query%:State".
units = "percentage" / >
     


          
          
type = 'measure' / >
          
     
         

     


-clip-

By checking the process as you are now trying to do, use sigar. You had ' model = "generic".
Then you can add the option of server on which this process query is stored and you can change it from the user interface. The default value is now "named", so you can see what your own Autodiscover class.
To get the measure works, you have to kind of say that to the plugin. So I added the plugin to measure. You had something, but it has been commented on.
To use you own special classes for the collection of measure, you must enter the plugin which is the new class to use.

So good advice. When the development of a plugin, do it at the host where you are able to re - setup the environment of HQ. Sometimes badly coded or configured plugins will mess the database, and you do not your plugin works again. It's something I always do. If I know that my plugin should work but it doesn't, I'm going to re - install HQ.

Tags: VMware

Similar Questions

  • Violation of page protection - error get by using the custom plugin

    https://Apex.Oracle.com/pls/Apex/f?p=63937:1:

    The app link.

    Identification information

    -TINO

    [email protected]

    -test123

    When I try to send a page using the normal text field, he's fine. But when I use my custom plugin it throws error PPV.

    You can see the plugin code in the shared components of the application.

    Application is called theme MDL.


    There also may be problems with my page template but I doubt since the ordinary questions works very well.


    I developed this on 4.2.6.

    Incredible.
    The problem is that the plugin was wrapped with

    As soon as I took it, it could submit its value.
    It's funny how I had no idea how fix it, but as soon as I saw you talking about form I knew what to look for.

    It would be cool to know why this happens.

    Thank you!

  • Acrobat PDF reader for Internet Explorer may be unloading/neoconservative custom plugin

    Hello

    My question is basically to understand what is happening in this situation, so that I can find out where is the problem and how to solve it.

    We used Acrobat 6.0 SDK to develop our custom plugin. This plugin is basically a wrapper for a few basic tools (note, stamp, text) etc... provided by Acrobat 6.0 SDK. We have also developed a PDFViewer.dll to display the PDF document in Internet Explorer. So when the user load the document on our Web site this PDFViewer loaded with custom plugin and allows the user to these tools.

    We install this plugin under < Acrobat X > /Plug_ins/ < company name > / MyPlugin.API.

    In our website, we give the list of the documents and when the user clicks on a document, it will load the PDFViewer and custom plugin. We are loading Acrobat.exe in advance so that we can load quickly.  Now, the problem occurs when the user open any other PDF in different tab or an instance of Internet explorer. ? How?

    Account for a user of internet Explorer connected to our web site, and then they can see we're going to say 10 documents. 1.PDF, 2.pdf, 3.pdf, etc...

    Now when the user select document 1.pdf we are loading that PDF in IE within our PDFViewer plugin with custom. (Here I saw that behind the scene Acrobat.exe is responsible in the transformed by using the Task Manager) / if right now if the user opens another instance of Internet Explore or another tab and open a PDF document, it opens PDF in the standard Adobe Reader PDF Viewer for Internet Explorer resides in (C:\Program Files\Common Files\Adobe\Acrobat\ActiveX).

    If at this moment, the user goes back to our site and tried to work on 1.pdf our custom plugin works fine, BUT if the user opens another document (say 2.pdf) the card no longer works basically looks like it is not loaded.

    This issue only happens if the user opens a document in another instance tab or internet Explorer and opens PDF which led to open Acrobat Activex for internet explore. If the user opens a PDF document alongside Internet explore it does not create any problem because at that time that ActiveX is not loaded.

    So my guess is that something happens when the ActiveX for PDF is loaded in Internet Explorer.

    I want to know more what is happening and why it's happening. Because of this behavior, the users of our web site cannot use any other web site that opens PDF documents because then they disconnect and reconnect our web site.

    Please we need immediate assistance.

    I'm open to provide more details with screen capture.

    Thank you

    Twinkle

    So you have Acrobat and Reader is installed on the same computer?

    What version of Adobe Acrobat is used?  Which version of Adobe Reader is involved?

    You don't mention what/how your PDFViewer.dll called Acrobat?  Can you comment more about it?

  • I start on the site where I bought Adobe After Effects. Then I pressed 'Download', but the site you get on says (translated from English): there are problems, try again later. Get in touch with the customer, if the problem keept going. "While it

    I start on the site where I bought Adobe After Effects. Then I pressed 'Download', but the site you get on says (translated from English): there are problems, try again later. Get in touch with the customer, if the problem keept going. "So, here am I, I really hope someone knows the answer...

    Thank you

    Are you referring to CC version After Effects?

    If so, you must download and install Adobe Creative Cloud app using whiuch, you can install after effects CC.

    Windows:

    https://ccmdls.adobe.com/AdobeProducts/KCCC/1/Win32/CreativeCloudSet-up.exe

    Mac:

    https://ccmdls.Adobe.com/AdobeProducts/KCCC/1/OSX10/CreativeCloudInstaller.dmg

    Reference:

    Download and install Adobe Creative Cloud apps

  • PS Format custom Plugin - problem reading files &gt; 2 GB &amp; &lt; 4GB

    This question is fixable in our format plugin code, or is this a limitation of photoshop?

    I am new to Photoshop and Photoshop Plugins.  I have reviewed the documentation of the photoshop sdk & searched the web on this topic.

    I work with a plugin for photoshop format written by my predecessor, who is no longer here.

    The plugin is inspired the simpleFormat plugin.

    The plugin is used on systems running Photoshop CS6 & CC on 64-bit Windows 7 with 8 GB or more of memory.

    The plugin allows a file of our formula to be opened, read, and written.

    ------------------------------------------------------------------------------------------ --------------------------------------------------------------

    QUESTION:

    The plugin works fine reading < 2 GB or 4 GB files >.  For files between 2 GB and 4 GB, the allocation call memory fails.

    ------------------------------------------------------------------------------------------ --------------------------------------------------------------

    In structure of the plugin PIPL: {32767, 32767} FormatMaxSize PluginMaxSize {PlugInMaxSize {2147483647, 2147483647}

    ----------------------------------------------------------------------

    In the code of the plugin.  the DoReadStart() method opens the file and reads the file header information.  It works very well.

    Then, in the DoReadContinue() method: SPsBuffer-> New (& bufferSize, buffersize) returns NULL.     see below.

    void PluginMain (const int16 selector,

    FormatRecordPtr formatParamBlock,

    intptr_t * data,

    Int16 * result)

    {

    ...

    gFormatRecord = reinterpret_cast < FormatRecordPtr > (formatParamBlock);

    gPluginRef = reinterpret_cast < SPPluginRef > (gFormatRecord-> plugInRef);

    gResult = result;

    gDataHandle = data;

    ...



    sSPBasic = ((FormatRecordPtr) formatParamBlock)-> sSPBasic;

    ...



    If (gCountResources == NULL |)

    gGetResources == NULL |

    gAddResource == NULL |




    gFormatRecord-> advanceState is NULL)


    {



    * gResult = errPlugInHostInsufficient;



    return;


    }



    new for Photoshop 8, columns, lines, and large documents are now > 30000 pixels


    If (gFormatRecord-> HostSupports32BitCoordinates)


    gFormatRecord-> PluginUsing32BitCoordinates = true;

    ...

    }

    public static void DoReadPrepare()

    {

    gFormatRecord-> maxData = 0

    }

    public static void DoReadContinue (void)

    {

    Int32 done;

    Total Int32;

    Int32 line;

    VPOINT imageSize = GetFormatImageSize();

    / * Set up variables buffer and progression. */

    Done = 0;

    Total = imageSize.v;

    PixelData PTR = NULL;

    RawData PTR = NULL;

    UncompressedData PTR = NULL;

    Mr. angles: Int64 * = NULL;

    / * allocate buffer pixel. */

    unsigned32 bufferSize = gFormatRecord-> aircraft * imageSize.v * imageSize.h;

    pixelData = sPSBuffer-> New (& bufferSize, bufferSize);            < = this allocation fails for file sizes > 2 GB and 4 GB <.

    If (pixelData is NOTHING)

    {

    * gResult = memFullErr;

    return;

    If (* gResult == memFullErr) {goto ReadContinueCleanUp ;}

    }

    (1) ask for anything above 2 gig is risky. Try to break your problem into smaller pieces.

    (2) you are more unsigned32 flowing. That max out at 4 GB. Your request for 5 gig is really 1 gig.

    (3) we have a new New64 now which takes a unsigned64. Point against #1 but available for those who dare.

  • focus with custom text field problem

    Hello

    I am new to BB dev., trying to write a small program with two CustomTextFields, but faceing the problem, then try to verify that CustomTextField is selected (the focus).

    CustomTextField (NumericTextField)

    import net.rim.device.api.ui.Manager;
    import net.rim.device.api.ui.Field;
    import net.rim.device.api.ui.component.EditField;
    import net.rim.device.api.system.Display;
    import net.rim.device.api.system.Characters;
    import net.rim.device.api.ui.Graphics;
    import net.rim.device.api.ui.Font;
    
    public class NumericTextField extends Manager
    {
    
        private final static int DEFAULT_LEFT_MARGIN = 10;
        private final static int DEFAULT_RIGHT_MARGIN = 10;
        private final static int DEFAULT_TOP_MARGIN = 5;
        private final static int DEFAULT_BOTTOM_MARGIN = 5;
    
        private final static int DEFAULT_LEFT_PADDING = 10;
        private final static int DEFAULT_RIGHT_PADDING = 10;
        private final static int DEFAULT_TOP_PADDING = 5;
        private final static int DEFAULT_BOTTOM_PADDING = 5;
    
        private int topMargin = DEFAULT_TOP_MARGIN;
        private int bottomMargin = DEFAULT_BOTTOM_MARGIN;
        private int leftMargin = DEFAULT_LEFT_MARGIN;
        private int rightMargin = DEFAULT_RIGHT_MARGIN;
    
        private int topPadding = DEFAULT_TOP_PADDING;
        private int bottomPadding = DEFAULT_BOTTOM_PADDING;
        private int leftPadding = DEFAULT_LEFT_PADDING;
        private int rightPadding = DEFAULT_RIGHT_PADDING;
    
        private int totalHorizontalEmptySpace = leftMargin + leftPadding + rightPadding + rightMargin;
        private int totalVerticalEmptySpace = topMargin + topPadding + bottomPadding + bottomMargin;
    
        private int minHeight = getFont().getHeight() + totalVerticalEmptySpace;
        private int width = Display.getWidth();
        private int height = minHeight;
    
        private EditField editField;
    
        public NumericTextField()
        {
            super(0);
    
            editField = new EditField(EditField.FILTER_REAL_NUMERIC);
            add(editField);
        }    
    
        protected void sublayout(int width, int height)
        {
            Field field = getField(0);
            layoutChild(field, this.width - totalHorizontalEmptySpace, this.height - totalVerticalEmptySpace);
            setPositionChild(field, leftMargin+leftPadding, topMargin+topPadding);
            setExtent(this.width, this.height);
        }
    
        public void setTopMargin(int topMargin)
        {
            this.topMargin = topMargin;
        }
    
        public void setBottomMargin(int bottomMargin)
        {
            this.bottomMargin = bottomMargin;
        }    
    
        protected void paint(Graphics graphics)
        {
            graphics.drawRoundRect(leftMargin, topMargin, width - (leftMargin+rightMargin), height - (topMargin+bottomMargin), 5, 5);
    
            boolean longText = false;
            EditField ef = (EditField)getField(0);
            String entireText = ef.getText();
    
            String textToDraw = "";
            Font font = getFont();
            int availableWidth = width - totalHorizontalEmptySpace;
            if (font.getAdvance(entireText) <= availableWidth)
            {
                textToDraw = entireText;
            }
            else
            {
                int endIndex = entireText.length();
                for (int beginIndex = 1; beginIndex < endIndex; beginIndex++)
                {
                    textToDraw = entireText.substring(beginIndex);
                    if (font.getAdvance(textToDraw) <= availableWidth)
                    {
                        longText = true;
                        break;
                    }
                }
            }
    
            if (longText == true)
            {
                ef.setText(textToDraw);
                super.paint(graphics);
                ef.setText(entireText);
            }
            else
            {
                super.paint(graphics);
            }
        }
    
        public int getPreferredWidth()
        {
            return width;
        }
    
        public int getPreferredHeight()
        {
            return height;
        }
    
        protected boolean keyChar(char ch, int status, int time)
        {
            if (ch == Characters.ENTER)
            {
                return true;
            }
            else
            {
                return super.keyChar(ch, status, time);
            }
        }
    
        public String getText()
        {
            return ((EditField)getField(0)).getText();
        }
    
        public void setText(final String text)
        {
            ((EditField)getField(0)).setText(text);
        }
    }
    

    and in my screen content trying to check:

    NumericTextField focusImput() {
        NumericTextField focusField;
        if (_fieldFrom.isFocus()) {
            focusField = _fieldtFrom;
        }
        else {
            focusField = _fieldTo;
        }
        return focusField;
    }
    

    but it always returns me _fieldTo...

    NumericTextField definition:

    _fieldFrom = new NumericTextField();
    _fieldFrom.setChangeListener(this);
    manager.add(_fieldFrom);
    
    _fieldTo = new NumericTextField();
    _fieldTo.setChangeListener(this);
    manager.add(_fieldTo);
    

    Maybe someone to guide me how to correctly focus feature?

    Thanks in advance.

    Then you need two slightly customized EditFields - their main customization would be limiting their width, as well as making them focusable/unfocusable. So, something like this should work:

    public class NumericTextField extends EditField {
      // override the constructors used in your code, adding FILTER_REAL_NUMERIC
      // ...
      private int maxWidth = Integer.MAX_VALUE >> 1;
      private boolean focusable = true;
    
      protected void layout(int width, int height) {
        super.layout(Math.min(maxWidth, width), height);
      }
    
      public void setMaxWidth(int width) {
        maxWidth = width;
        updateLayout();
      }
    
      public boolean isFocusable() {
        return (isStyle(FOCUSABLE) & focusable);
      }
    
      public void setFocusable(boolean on) {
        focusable = on;
      }
    }
    

    If you want to place the fields, use setMargin - he is documented in OS 6.0 but works since OS 4.2.

    Use setMaxWidth to, well, set desired maximum width (otherwise EditField tenorman to the top of the entire available width). Use the setFocusable to toggle the field. In addition, you can play with the Visual States for the field you turn, but it's an exersize for another day. First of all make sure that it works and you know how to use it.

  • Custom bitmap focus problem with toolbar

    Hi all

    I'm new development of BB.

    I have screen with the title bar and after a toolbar customized

    The custom toolbar contains 3 bitmaps in the side chain and the left text right.

    Logo 'text'---> title bar

    Image1 image2, image3 "screenName"---> toolbar custom

    ListField

    Three images are created using the bitmap.

    I get the focus on the full range.

    But I want to focus on the first image, image1 when the application runs.

    If the user navigates the screen using the keyboard, change of focus to the next image, which is image2 and so on.

    How can I do that.

    I use the Blackberry API 4.2.1

    My current code for the toolbar is like that

    package com.pebbletalk.blackberry.ui;
    
    import com.pebbletalk.blackberry.defines.PTDefines;
    import com.pebbletalk.blackberry.utils.CustomFont;
    
    import net.rim.device.api.system.Bitmap;
    import net.rim.device.api.system.Display;
    import net.rim.device.api.ui.DrawStyle;
    import net.rim.device.api.ui.Field;
    import net.rim.device.api.ui.Font;
    import net.rim.device.api.ui.Graphics;
    import net.rim.device.api.ui.component.BitmapField;
    
    public class ToolBar extends Field implements DrawStyle
    {
        private int fieldWidth;
        private int fieldHeight;
        private int backgroundColor;
        private String toolBarName = "";
    
        private Bitmap homeIcon = Bitmap.getBitmapResource("go-home-1_16x16.png");
        private Bitmap searchIcon = Bitmap.getBitmapResource("search-1_16x16.png");
        private Bitmap refreshIcon = Bitmap.getBitmapResource("reload-1_16x16.png");
    
        public ToolBar(String toolbarName)
        {
            super(Field.FOCUSABLE);
            fieldHeight = Display.getHeight()/10;
            fieldWidth = Display.getWidth();
    
            // Setting background color to white
            backgroundColor = Color.BLACK;
    
            toolBarName = toolbarName;
    
        }
    
        public Bitmap getHomeIcon() {
            return homeIcon;
        }
    
        public int getPreferredHeight()
        {
            return fieldHeight;
        }
    
        public int getPreferredWidth()
        {
            return fieldWidth;
        }
    
        protected void layout(int arg0, int arg1)
        {
            setExtent(getPreferredWidth(), getPreferredHeight());
        }
    
        protected void paint(Graphics graphics)
        {
            int height = this.getPreferredHeight();
            int width = this.getPreferredWidth();
    
            int left = this.getLeft();
            int top = this.getTop();
    
            graphics.setColor(backgroundColor);
            graphics.fillRect(0, 0, width, height);
    
            //graphics.drawBitmap(left, top, width, height, homeIcon, 0, 0);
            graphics.drawBitmap(left, 5, width, height, homeIcon, 0, 0);
            //int currentX = graphics.getTranslateX();
            //int currentY = graphics.getTranslateY();
            int homeIconWidth = homeIcon.getWidth() + 5;
            graphics.drawBitmap(homeIconWidth, 5, width, height, searchIcon, 0, 0);
            int searchIconWidth = homeIconWidth + searchIcon.getWidth() + 5;
            graphics.drawBitmap(searchIconWidth, 5, width, height, refreshIcon, 0, 0);
            int refreshIconWidth = searchIconWidth + refreshIcon.getWidth() + 5;
    
            CustomFont titleFont = new CustomFont(Defines.TOOLBAR_DASHBOARD_TITLE_FONT_FACE, Defines.TOOLBAR_DASHBOARD_TITLE_FONT_SIZE, Defines.TOOLBAR_DASHBOARD_TITLE_FONT_STYLE);
            graphics.setFont(titleFont.changeFont());
    
            Font currentFont = graphics.getFont();
            int textLength = currentFont.getAdvance(toolBarName, 0, toolBarName.length());
            textLength += 5;
            System.out.println("width : "+ width);
            System.out.println("refreshIconWidth : "+ refreshIconWidth);
            System.out.println("textLength : "+ textLength);
            int remainingWidth = width - refreshIconWidth;
            System.out.println("remainingWidth : "+ remainingWidth);
            int startPosition = remainingWidth - textLength;
            System.out.println("startPosition : "+ startPosition);
            int newX = refreshIconWidth + startPosition;
            System.out.println("newX : "+ newX);
            //int xPosition = width - refreshIconWidth;
            //System.out.println("tool x : "+ xPosition);
    
            graphics.setColor(PTDefines.TOOLBAR_DASHBOARD_TITLE_COLOR);
            graphics.drawText(toolBarName, newX, 5, (DrawStyle.RIGHT | DrawStyle.LEADING) );
        }
    }
    

    and my toolbarScreen code is

    MainScreen mainScreen = new MainScreen(Screen.NO_VERTICAL_SCROLL);
    
            //MainScreen mainScreen = new MainScreen();
    
            // add custom title bar
            mainScreen.add(titleBar);
    
            VerticalFieldManager verticalFieldManager = new VerticalFieldManager(Manager.VERTICAL_SCROLL | Manager.VERTICAL_SCROLLBAR)
            {
                public void paint(Graphics graphics)
                {
                    graphics.setBackgroundColor(Color.WHITE);
                    graphics.clear();
                    super.paint(graphics);
                }
                protected void sublayout(int maxWidth, int maxHeight)
                {
                    int displayWidth = Display.getWidth();
                    int displayHeight = Display.getHeight() - titleBarHeight;
                    super.sublayout(displayWidth, displayHeight);
                    setExtent(displayWidth, displayHeight);
    
                }
            };
    
            //now add everything in the verticalManager
    
            // add custom toolbar
            mainScreen.add(toolBar);
            mainScreen.add(new SeparatorField());
    

    Please help me to solve my problem.

    Remember that the BlackBerry smartphone focuses on a field, not a picture.  Your toolbar is only a field, so one thing to focus on which is the Blackberry's.

    You have two choices:

    (a) change your toolbar to be a Manager and have several fields that it contains.  You can make a HorizontalFieldManager and assuming that the other things are set correctly (in particular the width of the fields that you add) this will do what you want.

    (b) substitute events in development movement in your toolbar to make it appear focus is moved.

    I think the second option is more difficult, especially when you start to take the touch screen into consideration.  However, with the second option, you get a much easier control over the look of your toolbar.  But I'd go with the first one, as I think it is easier for new programmers.  Initially, I wouldn't get to hung up on the appearance of the toolbar, get it works the way you want and then try to get it looking right.

  • CUSTOM TEXT FIELD PROBLEM

    public class CustText extends TextField{
        private String _text;
        private FontFamily _fontFamily1;
        private int _size, _color;
        private Font _headFont = null;
    
        public CustText(String _text, int _size,int _color, long _property)
        {
            super(_property);
            this._text = _text;
            this._size = _size;
            this._color = _color;
        }
    
        protected void paint(Graphics g)
        {
            try{
                _fontFamily1 = FontFamily.forName("aerial");
            } catch(ClassNotFoundException e) {
                    _fontFamily1 = Font.getDefault().getFontFamily();
            }
            _headFont = _fontFamily1.getFont(Font.PLAIN,_size);
                g.setColor(_color);
            g.setFont(_headFont);
            g.drawText(_text,0, 0);
        }
    }
    

    I use the above code to customTextfield, the problem here is, when it is used to display long text that does not move to the next line, only the first line is painted, the rest of the lines are missing

    Graphics.drawText draws text on a single line.  This example allows input of multi line.

    http://supportforums.BlackBerry.com/T5/Java-development/create-a-custom-field-using-attributes-of-OT...

  • The customer service horrible, problem still not solved!

    Have been waiting and redirected countless times with Dell, the service is absolutely HORRIBLE. My problem must be resolved so easily but all support Dell seems to be able to do is redirect me to departments who "don't deal with this issue" and continue to redirect me to the departments that are not yet open.

    Here's my question:

    I have a pro place 8 tablet and I lost the original charger. All I need is another charger since most chargers are not compatible with this tablet (which is another complaint all on its own). I found it by these forums to search and discover that it is a common problem that Dell is well aware of.

    So I call them.

    Start telling them that my tablets not charging

    The support guys trying to tell me that I need a new motherboard... $ 269

    Of course, might be possible, but I remember actually pre lose my charger that whenever I tried to use another charger, it wouldn't work. Also online in the support section for this tablet is the FIRST most popular question and the first solution, they point out, is that you need to use the original charger.

    Oh OK, well, if you think that's the problem, I can redirect you to sales...

    Uh, you're not supposed to know that... After you've tried condescendingly explain to me why the motherboard needs to be replaced after that I had asked you...

    Good redirected to sales

    We no longer sell this charger

    Okay is there any other place I could possibly get this charger

    You can try best buy or Amazon

    Thank you very much.

    After looking on their Web sites and to realize that they don't sell it, I decided to call and ask what will work the Chargers not Dell or the specifications of this special charger so that I can. just. fees. my tablet.

    It took me quite a 1 h 30 trip comprising services saying they are allowed to sell Dell products and cannot tell me even this charger specifications and that I can ask other departments about this. Then redirected to incorrect departments or those that are closed. All it seems to stop me from buying a charger for $10 anywhere else.

    Don't know what else to say. Still have no charger, still cannot order a new, still do not know what other charger would work. Call us and be redirected at least 2 hours, I have 16 total number of calls on my phone to their different support numbers. I think I know their business better than at this point. Literally the worst customer service I've ever had, wouldn't mind so much if only I actually got my problem fixed! Afraid to never buy Dell again where any little thing goes wrong and you are ADMIN NOTE: profanity removed according to the TOU >.

    Hi Dolotova,

    Thanks for posting.

    I apologize for the service you have received to date.  Unfortunately nobody has referred you to the spare parts page.  Here's the charger you are looking for.

    Kind regards
    Robert

  • Custom report model - problem with summary

    Hello

    I've created a report with the custom template.  Everything seems okay except that the 'Sum' section (marked in red below) containing the header entries.  I think, I might have placed the scripts in the wrong places bu tnot able to understand.  What I expect is, the total value of the 9,920.00 show with label - "Total: '."

    img 1.png

    Only under sections are filled in the template, the rest is blank.

    Line 1 a - model

    <tbody>
    <tr> <th>Receipt No.: <td id="rpt_no" colspan="2">#RECEIPT_NO# <th id="rpt_dt">Receipt Date: <td>#RECEIPT_DATE#
    <tr> <th>Description: <td colspan="4">#DESCRIPTION# </br> #CHQ_DD#
    <tr> <th id="tab_head">A/c.CODE <th id="tab_head" colspan="3">HEAD OF ACCOUNT <th id="tab_head_amt">AMOUNT
    <tr> <td>#ACCOUNT_CODE# <td colspan="3">#ACCOUNT_NAME# </br> #INSTALMENT# </br> #PARTICULARS# <td class="num">#AMOUNT#
    

    Line 2 - model

    <tr> <td>#ACCOUNT_CODE# <td colspan="3">#ACCOUNT_NAME# </br> #INSTALMENT# </br> #PARTICULARS# <td class="num">#AMOUNT#
    

    Front lines-

    <div class="report-1" #REPORT_ATTRIBUTES# id="report_#REGION_STATIC_ID#">
    <table>
    <tr>  <th id="comp-name" colspan="5">&G_COMPANY_NAME.
    <tr>  <th id="comp-adr" colspan="5">&G_COMPANY_ADDRESS.
    <tr>  <th id="comp-adr" colspan="5">&G_COMPANY_PHONE.  &G_COMPANY_EMAIL.
    

    After the lines-

    <tbody class="uReportPagination">
          #PAGINATION#
      </table>
      <div class="CSV">#EXTERNAL_LINK##CSV_LINK#</div>
    </div>
    

    Please let me know how to solve my problem.

    Thank you and best regards,

    -Anand

    anand_gp wrote:

    And Yes, it is built in formatting of column sum-

    Who does not work with a named column template customized. You must calculate the sum in the report query and place the result in the report by using another conditional model.

    See the sample application I've created in your workspace apex.oracle.com.

  • using custom forms printing problems

    We use Photoshop CS6 13.0 64-bit.  Audio Visual Office has problems with custom forms.  When creating a custom form, save the custom form (for example, 36 X 94), connect to the printer, the printer settings won't 8.5 x 11 to 36 X 94

    Thank you for the information, please try to reset the printing preferences.

    Click file > print (hold down the space bar), so as soon as you click on print the keyboard space bar must be pressed.

    Once done, it must reset Printer preferences, then please go ahead and try to select the parameters of the printer.

  • script / Plugin UI problem stops me in my tracks!

    Hi guys, I was trawling the forums for this issue, but I just cannot use the right set of words.

    When I use a third-party Plugins with karim panels such that ease and wizz and Duik, the UI becomes all messed up and do not resize correctly also the menu drop-down dialogues get Cropped (see below) so that their content become unusable.

    Here are images of duik, when the Panel is small I can see the icons at the top right, but the rest of the group is oddly cropped, but when I resize I lose these icons entirely.

    When I open submenus as car seat that the user interface is medium in size and components are strangely close to one another.

    This problem exists in almost all my third-party plugins. Any advice would be greatly appreciated and urgent.

    Ha Ha I have the answer, my Windows screen was created to display text at 120% as soon as I returned it 100% problem solved.

    In case anyone else has this very annoying problem, simply press the Windows key and type "make the text and other elements more or less" will open the display panel, then just as his game to 100%, make logout, log screw, Done!

  • How to release the plugin (the problems of dependency)

    I developed an illustrator plugin depends on the Qt library, it works fine on the development machine.

    The libOliveLib.dylib is a library that was developed by Qt.

    Here is the plugin dependencies:

    /System/Library/frameworks/cocoa.Framework/versions/A/Cocoa (version 1.0.0 compatibility, latest version 15.0.0)
    @executable_path /... / Frameworks/qtcore. Framework/versions/5/qtcore (compatibility version 5.4.0 latest version 5.4.0)
    @executable_path /... / Frameworks/qtgui. Framework/versions/5/qtgui (compatibility version 5.4.0 latest version 5.4.0)
    @executable_path /... /Frameworks/QtWidgets.Framework/versions/5/QtWidgets (compatibility version 5.4.0 latest version 5.4.0)
    @executable_path /... /Frameworks/QtXml.Framework/versions/5/QtXml (compatibility version 5.4.0 latest version 5.4.0)
    @executable_path /... /Frameworks/libOliveLib.dylib (compatibility version 0.0.0 latest version 0.0.0)
    /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, latest version 7.9.0)
    /usr/lib/libSystem.B.dylib (version 1.0.0 of compatibility, the current version 125.2.0)
    / System/Library/Frameworks/corefoundation. Framework/versions/A/corefoundation (version compatibility, the current version 550.29.0 150.0.0)
    / usr/lib/libobjc. A.dylib (version 1.0.0 of compatibility, the current version 227.0.0)

    And libOliveLib dependencies:

    @executable_path /... /Frameworks/libOliveLib.dylib (compatibility version 0.0.0 latest version 0.0.0)

    @executable_path /... /Frameworks/QtWidgets.Framework/versions/5/QtWidgets (compatibility version 5.4.0 latest version 5.4.0)

    @executable_path /... / Frameworks/qtgui. Framework/versions/5/qtgui (compatibility version 5.4.0 latest version 5.4.0)

    @executable_path /... / Frameworks/qtcore. Framework/versions/5/qtcore (compatibility version 5.4.0 latest version 5.4.0)

    /System/Library/frameworks/DiskArbitration.Framework/versions/A/DiskArbitration (version 1.0.0 compatibility, latest version 1.0.0)

    /System/Library/frameworks/IOKit.Framework/versions/A/IOKit (version 1.0.0 of compatibility, the current version 275.0.0)

    @executable_path /... /Frameworks/QtXml.Framework/versions/5/QtXml (compatibility version 5.4.0 latest version 5.4.0)

    /System/Library/frameworks/OpenGL.Framework/versions/A/OpenGL (version 1.0.0 compatibility, latest version 1.0.0)

    / System/Library/Frameworks/agl. Framework/versions/A/AGL (version 1.0.0 compatibility, latest version 1.0.0)

    /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, version 104.1.0)

    /usr/lib/libSystem.B.dylib (version 1.0.0 of compatibility, the current version 1213.0.0)

    But when I deploy to another machine, it crashed. I think that it caused by addiction.

    Someone has this problem previously, could you please give me your suggestions or solutions

    Hanks a lot!

    It seems that libqcocoa.dylib is loaded when running as a plugin for Qt. You can trace loading using plugin export QT_DEBUG_PLUGINS = 1. You can also change the path to the plugin using qt.conf.

    https://www.Google.co.UK/search?q=libqcocoa.dylib&OQ=libqcocoa.dylib

    http://Qt-project.org/forums/viewthread/52222

    Using qt.conf | QT 5.4

  • Custom authentication scheme, problem with LOGOUT_URL

    Hi all
    I use a custom database of authentication scheme in a 4.1 application. I have a problem when I logout, I use jQuery mobile because it is a tablet based application, and the navigation bar entry "Logout" is rendered using the following: -.

    a href = "& LOGOUT_URL." data-icon = "Logout" class = "interface user-btn-right" > logout ' "

    The application appears disconnected OK, I turned around to my 101 login page, but when I try to reconnect the page refreshes just, if I try again to connect, I'm connected to OK (so basically users will have to try twice to reconnect after disconnection, while the connection when the application is started first works OK).

    When I logout and I return on page 101, the URL is: -.

    < my host > /pls/apex/apex_authentication.logout?p_app_id=1000 & p_session_id = 882879595907101

    After the first attempt to connect to the URL is (so the session ID has been updated);

    < my host > / pls/apex/f? p = 1000:LOGIN:1610821365546101

    Any ideas what I'm missing here?

    Thank you

    Mike

    Published by: Mike, UK 21 June 2012 08:36

    Hi Mike,.

    I replied the same day. In case you have not received my mail, I'll paste it below:

    What I've discovered, is that submit it on the login page seems to use the old session id:

      1. User enters http://mike/pls/apex/f?p=1150:1
         -> Apex creates a new session and redirects to
            f?p=1150:LOGIN:168921246845801
      2. User enters credentials and presses Login
         -> wwv_flow.accept with p_instance=168921246845801
         -> Apex authenticates user and redirects to page 1
            f?p=1150:1:168921246845801:::::
      3. User clicks Logout
         -> apex_authentication.logout?p_app_id=1150&p_session_id=168921246845801
         -> Apex removes session
         -> Apex redirects to home page f?p=1150:1
         -> Apex creates new session and redirects to login
            f?p=1150:LOGIN:1175456815657401
      4. User enters credentials and presses Login
         -> wwv_flow.accept with p_instance=168921246845801 -- WRONG SESSION ID!
         -> Apex sees that the session id and the session cookie value do
            not match
         -> Apex creates a new session and redirects to login
            f?p=1150:LOGIN:652507970485801
    

    My solution to this problem was to change the page to page 1 model to
    have one

    data-ajax = "false".

    attribute on the logout url. This seems to have done the trick, but I'm
    a backend guy and certainly not an expert in the user interface. See

    http://jquerymobile.com/test/docs/pages/page-links.html

    for help online JQM.

    See you soon,.
    Christian

  • Update scheduled task orchestration event custom password manager problem

    Hello experts,

    I'm trying to run a custom on-demand updating the user password in IOM 11.1.1.5

    Taken into account in the file input stream, there are 5 users
    TSTUSR1
    TSTUSR2
    TSTUSR3
    TSTUSR4
    TSTUSR5

    Problem that I face is when the update of password change fails for a user and for future users also obtain failed. Say to TSTUSR3 change the password has failed for some reason any (take the example user does not exist) then TSTUSR4 and TSTUSR5 also it is failed.

    Note: here the changepassword to TSTUSR4 and TSTUSR5 is get called but I get an orchestration event manager exception like below.

    < 9 March 2012 06:26:12 THIS > < WARNING > < oracle.iam.platform.kernel.impl > < IAM-00 80002 > < Orchestration validation failed on the event handler - the password change operation failed >.
    Exception occurred during password change
    oracle.iam.identity.exception.UserManagerException: the password change operatio n failed.
    at oracle.iam.identity.usermgmt.impl.UserManagerImpl.changePassword (user ManagerImpl.java:3024)
    at oracle.iam.identity.usermgmt.impl.UserManagerImpl.changePassword (user ManagerImpl.java:2959)
    at oracle.iam.identity.usermgmt.api.UserManagerEJB.changePasswordx (exercise wn Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl. java: 39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAcces sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJo inpointUsingReflection(AopUtils.java:310)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMetho dInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMetho dInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntrodu ctionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntrodu ctionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMetho dInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisit orImpl.visit(MethodInvocationVisitorImpl.java:37)
    at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.c allback(EnvironmentInterceptorCallbackImpl.java:54)
    at com.bea.core.repackaged.springframework.jee.spi.EnvironmentIntercepto r.invoke(EnvironmentInterceptor.java:50)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMetho dInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocat ionInterceptor.invoke(ExposeInvocationInterceptor.java:89)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMetho dInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntrodu ctionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
    at com.bea.core.repackaged.springframework.aop.support.DelegatingIntrodu ctionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
    at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMetho dInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopPr oxy.invoke(JdkDynamicAopProxy.java:204)
    to $Proxy331.changePasswordx (Unknown Source)
    at oracle.iam.identity.usermgmt.api.UserManager_nimav7_UserManagerRemote Impl.__WL_invoke (unknown Source)
    to weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke (its sionRemoteMethodInvoker.java:40)
    at oracle.iam.identity.usermgmt.api.UserManager_nimav7_UserManagerRemote Impl.changePasswordx (unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl. java: 39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAcces sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke (distance BusinessIntfProxy.java:85)
    to $Proxy195.changePasswordx (Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl. java: 39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAcces sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflecti on(AopUtils.java:307)
    at org.springframework.aop.framework.JdkDynamicAopProxy.invoke (JdkDynami cAopProxy.java:198)
    to $Proxy328.changePasswordx (Unknown Source)
    oracle.iam.identity.usermgmt.api.UserManagerDelegate.changePassword (U're Source)


    And here is the code snippet I use
    ####################

    Try
    {
    CsvReader fileName = new CsvReader (actualPath);
    fileName.readHeaders ();

    While (fileName.readRecord ()) {}

    Try
    {

    String username = fileName.get("USR_LOGIN").toUpperCase ();
    Password String = fileName.get ("USR_PASSWORD");

    If (! isNullOrEmpty (username) & &! isNullOrEmpty (password))
    {
    userAPI.changePassword (username, password.toCharArray (), true);
    }
    on the other
    {
    System.out.println ("file is empty");
    Err.Add (FileName.getRawRecord ());
    }
    } catch (Exception e) {}
    Err.Add (FileName.getRawRecord ());
    System.out.println ("Exception occurred during password change");
    e.printStackTrace ();
    System.out.println ("continues with the next record");
    }
    }

    catch (Exception e) {}
    e.printStackTrace ();
    }

    ####################

    Your entry to most early would be useful.

    Thank you
    DK

    Published by: 875142 on March 8, 2012 22:56

Maybe you are looking for

  • Can I remove the icon HD to iBook from the desktop?

    I bought an iBook G4 on eBay because they are very cheap and I want one just to play with once in a while. On the desktop, there is the iBook HD icon. Is there a way I can remove it?

  • Portege R500 - CPU jump and stick to 100%

    I had a problem with my laptop for the last 6-8 weeks, and it would be great if someone can suggest a possible cause/remedy. I have a 10 month old toshiba R500 protected (processors Core 2 Duo 1.7 GHz, Intel GMA graphics, 2 GB of ram, 120 GB HDD, Vis

  • Red shadow on the entered words and contours, also red dots on the start screen

    I'm getting red shadows on the words entered as well as on the edges of the boxes. There are also red dots on the start screen. I tried to re start but that did not work. So what is next.

  • Windows Movie Maker crashes when publishing in any form.

    I was using Windows Movie Maker to make a photo slideshow. I tried to post it on my computer, but it will crash. With active DEP, Windows prompted me that DEP has closed the program. When I disabled DEP, it does not work too. I use Windows Movie Make

  • Windows repair center

    I receieved an unsolicited call from Windows Service Center out of the Ontario Canada...  Indian-sounding guy. They convinced me to let them take over my computer to install Windows Security (Essentials) for $106 with total security for 5 years. . Th