Custom Focus FieldManager problem

I created a new manager of land stretching from VerticalFieldManager that takes two fields and place one on the dark side of the left hand of the screen and the other on the far right of the screen.  He places them in the right places and when you scroll down (using the arrow keys) it highlights each field in the proper order.

The problem is that when I use this field on the BB Storm Simulator Manager, I can't concentrate on the left field by clicking it. The right field working properly but.

Is there something else I need to crush to solve this problem?

public class DualFieldManager extends VerticalFieldManager{

   Field left;
   Field right;

   public DualFieldManager(Field l, Field r) {
       //construct a manager with vertical scrolling
       super();
       left = l;
       right = r;
       add(left);
       add(right);
   }

   protected void sublayout(int width, int height){
       //add the left field
       layoutChild(left, width, height);
       setPositionChild(left, 0, 0);

       //add the right field
       layoutChild(right, width, height);
       setPositionChild(right, width - right.getPreferredWidth(), 0);       

       //setExtent(width, height);
       setExtent(getPreferredWidth(), getPreferredHeight());
   }

   public int getPreferredWidth(){
       return Display.getWidth();
   }

   public int getPreferredHeight(){
       if(left.getHeight() >= right.getHeight()){
            return left.getHeight();
       }
       else{
            return right.getHeight();
       }
   }
}

The fixed.  I did my manager extend Manager instead of VerticalFieldManager and now the left field is accessible by clicking on it.

Thanks for your help.

Tags: BlackBerry Developers

Similar Questions

  • Focus cursor problem: I can't get my cursor will appear in a search box

    Original title: Focus cursor problem

    I can't get my cursor will appear in a search box (e.g., Google, amazon.com, etc.) in Firefox Version 16.  It seems to be a kind of focus problem.  Is it a Firefox problem or a problem of Windows 7?  Could this be a script problem?  Thanks for any ideas on how to solve this problem.

    Hi Letaiyo,

    You are welcome.

    I am happy to learn that the problem is solved!

    Your efforts to solve this problem is appreciated.

    Thank you for sharing your information on the way in which you solved the problem.

    In the future if you fall on any question relating to Windows, please do not hesitate to post your request here on Microsoft Community, we will be more than happy to help you.

    Thank you.
  • 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

  • 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.

  • 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 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.

  • Focus stacking problem with Photoshop CC 2014

    I have used many versions of Photoshop in the past for a while to focus stacking. It is usually pretty easy. I pull my carpet, import into Lightroom, usually to fix an image in LR, copy settings to other images, select them all, and use "Edit in" «open as layers in Photoshop.»

    I then select all layers and "auto-align" them. I then select all layers and "auto blend" them. Usually, I then have a group of layers with variable layer masks I either try to edit or just flatten. My computer is a new Mac Pro with a lot of SSD and RAM space.

    I did yesterday with 24 images of a dahlia. They have been taken with a D800E lens PCE of 85mm, on a solid tripod Gitzo 3 in series with a head of Arca B1 and rail of RRS. I used Photoshop CC 2014.

    I'm done with all the masks of empty black layer with the exception of the lower part, which was white. The image was clearly NOT stacked focus when I flattened. It was a huge out-of-focus areas.

    I took the same images and did the same thing on my Macbook Pro laptop and got the same result using Photoshop CC 2014

    I downloaded a demo of Helicon Focus and tried to use it on the Mac Pro and the result was beautiful. I am pleased to invest in software that works, but I do pay $9.99 US/month for creative cloud and feel that he must do what he says he'll do and what he has done before.

    I then did the same with Photoshop CS6 on the new Mac Pro and VOILA it worked as before.

    Anyone who has tried this and had similar problems with CC 2014? This looks like a bug, a serious bug for me, with CC 2014.

    Thanks for any thoughts.

    Eric

    Hi Rbatey,

    Can you please make sure you have the latest update installed (2014.2)

    You can check by clicking Help > about Photoshop (Windows) and for Mac, click Photoshop CC2014 icon at the top and choose on Photoshop.

    Thank you

  • 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
  • Custom effect reset problem.

    Hello

    I'm having a problem with effect reset. In the custom effect, I have a SLIDER. Every time Reset is selected, the cursor returns to the default value. I understand that this is normal behavior but I want the slider to keep the old value before resetting.

    So is there a way to store the old just before resetting value so I can put it back after reset? Or is there a way to tell the effect is not to restore the particular setting?

    Thank you

    Dheeraj.

    hhhmmmm...

    You can't tell a param to ignore the reset.

    what you can do is to store these data with sequence data.

    and on SEQUENE_RESETUP you can re-apply this value.

    the SEQUENE_RESETUP call is quite rare, so you don't mind re - apply the value even if not necessary.

    If you use this param to what I think you use this param (unique identifier), then you can skip using a setting in General,

    and store this data in the sequence only data.

    If another effect wants to read these data can be done through AEGP_EffectCallGeneric().

    one last thing, you can try (which could be a tricky) is to define a different default value for this cursor when calling param_setup.

    That would cause each instance of your effect to reset this setting to a different value.

    but it's all in theory.

    I'm not even sure that you get several calls param_setup per session.

    just throwing some ideas out there.

  • List control with selection/converter custom element highlight problem

    Hello

    I created a sample project to illustrate my problem, my data provider actually use the same valuables as there might be same objects with the same data in a table collection.

    When I bring the mouse over the list control, I get no blue sky selection / highlight, and I cannot even click on them and I don't get any change either event.


    Here is the code, you can also download the attached project and experience it locally.

    List problem

    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application creationComplete="compApp();" xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical">
         <mx:Script>
              <![CDATA[
                   import mx.collections.ArrayCollection;
                   
                   [Bindable] private var dp:ArrayCollection = new ArrayCollection();
                   
                   private function compApp():void{
                        for(var i:Number =0; i < 10; i++){                         
                             var person:Person = new Person("Raza", "raza.jpg");
                             dp.addItem(person);                         
                        }
                   }     
                   
              ]]>
         </mx:Script>
         
         <mx:List variableRowHeight="true" width="200" height="300" id="listControl" dataProvider="{dp}" itemRenderer="ListRenderer"/>     
    </mx:Application>
    

    Element converter

    <?xml version="1.0" encoding="utf-8"?>
    <mx:HBox xmlns:mx="http://www.adobe.com/2006/mxml" verticalAlign="middle">
         <mx:Script>
              <![CDATA[
                   
                   override public function set data(value:Object):void{
                        if(!value){
                             return;
                        }
                        fullName.text = Person(value).name;
                        photo.source = Person(value).photo;
                   }
                   
                   
              ]]>
         </mx:Script>
         <mx:Image id="photo"/>
         <mx:Label id="fullName"/>
    </mx:HBox>
    
    

    Thank you

    It's actually quite simple, but quite obscure.

    Add a property in your object of the person and make sure that it is unique (or

    Wrap your Person objects in a custom for the grid object and ensure that

    which has the property uid on it).

    Take a look at the UIDUtil class (on line 325 in the 3.2 SDK) to learn more

    Details.

  • custom scaling button problem

    Hi, I'm trying to customize some controls, but I have a problem with the construction of a button. I replaced the central image by a more realistic appearance and now I want to change the scale to better understand my button again, but I can't put across the 'ladder' after I want to be able to better run the needle and I can't choose the position of the needle. I am attaching the file so you can view and maybe help me to make this more comfortable button thank you!

    to customize your Ctrl button, click on the 'key' to display the icon.then of "clips" you can do what you want with the image or the button of properties, including the streching the balance to make pivot 360 degs, maximum range, no ticks, ticks, etc... BTW, reorganize tab is practical by placing objects to the front or the rear of several images

Maybe you are looking for

  • New language keyboard

    So, I have a new keyboard with Coptic letters which are based on the following unicode set here: http://Unicode.org/charts/PDF/U2C80.PDF Is it possible to do it on a MAC OS?

  • My Apple ID has been hacked and I'm documents as well as telephone booths

    Hello my Apple ID has been hacked my contacts of the Iran and activation of the locking mode and turn on find my iPhone, I lost my looks like what should I do to prove my identity as owner's phone and I stopped the documents as well as phone boxes he

  • Yet WT8-A-102 - USB for pc connection

    So I have Toshiba still WT8-A-102 and I want to connect it to my laptop via USB, I OTG cable micro usb to usb female, male-male usb cable, but still my laptop can not recognize me, so I need you to install drivers on my Tablet? Friendly V

  • Questions about the Installation of Signal Express Version 2.5.0

    Hello I have a silly question on installation of Singal Express Version 2.5.0. Previous student installed on the computer in my Department, but I can't find the installation CD of Signal Express 2.5.0. The only thing I found is Signal Express Verstio

  • HP Photosmart D110 - wireless and wired to installation - at the same time

    PLEASE READ CAREFULLY THAT NO MATTER HOW MUCH DETAIL I SAY QUESTIONS. IF ALL OF THE OTHER INFO. IS NEDDED IT PLEASE LET ME KNOW. Hello community I am undergoing, step by step, how can I set up my printer to a network via Wired and therefore any other