Custom InputPopup: Problem Unclickable button

For some reason, the 'ok' button is disabled. Cancel button and modify the field very well work.

package Misc.Screens;

import Thread.InputRunnable;
import net.rim.device.api.system.Bitmap;
import net.rim.device.api.ui.Color;
import net.rim.device.api.ui.Field;
import net.rim.device.api.ui.FieldChangeListener;
import net.rim.device.api.ui.Font;
import net.rim.device.api.ui.FontFamily;
import net.rim.device.api.ui.Graphics;
import net.rim.device.api.ui.Ui;
import net.rim.device.api.ui.XYEdges;
import net.rim.device.api.ui.component.ButtonField;
import net.rim.device.api.ui.component.EditField;

import net.rim.device.api.ui.container.PopupScreen;
import net.rim.device.api.ui.container.VerticalFieldManager;
import net.rim.device.api.ui.decor.BackgroundFactory;
import net.rim.device.api.ui.decor.BorderFactory;

public class InputPopup extends PopupScreen implements FieldChangeListener {

    private Font def;
    private ButtonField ok = new ButtonField("Yes", ButtonField.CONSUME_CLICK
            | ButtonField.FOCUSABLE);
    private ButtonField cancel = new ButtonField("Cancel",
            ButtonField.CONSUME_CLICK);
    private InputRunnable runme;
    private static final int VPADDING = 5;
    private static final int TVPADDING = 10;
    private EditField input = new EditField() {
        protected void paint(Graphics graphics) {
            graphics.setColor(Color.BLACK);
            super.paint(graphics);
        }
    };

    public InputPopup(InputRunnable runme) {
        super(new VerticalFieldManager() {
            protected void sublayout(int width, int height) {
                // TODO Auto-generated method stub
                if (getFieldCount() > 2) {

                    Field f1 = getField(0);
                    Field f2 = getField(1);
                    Field f3 = getField(2);
                    layoutChild(f1, width, height);
                    layoutChild(f2, width, height);
                    layoutChild(f3, width, height);

                    setPositionChild(f1, (width - f1.getWidth()) >> 1, VPADDING);
                    setPositionChild(f2, ((width / 3)) - (f2.getWidth() >> 1),
                            f1.getHeight() + TVPADDING);
                    setPositionChild(f3, ((width / 3) << 1)
                            - (f3.getWidth() >> 1), f1.getHeight() + TVPADDING);
                    setExtent(width, f1.getHeight() + f2.getHeight()
                            + TVPADDING);
                }

            }
        });

        this.runme = runme;
        FontFamily theFam;
        try {
            theFam = FontFamily.forName("BBAlpha Sans");
            def = theFam.getFont(Font.PLAIN, 8, Ui.UNITS_pt);
        } catch (ClassNotFoundException e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
        }

        setBackground(BackgroundFactory.createLinearGradientBackground(
                0x0099CCFF, 0x0099CCFF, 0x00336699, 0x00336699));
        setBorder(BorderFactory.createBitmapBorder(new XYEdges(12, 12, 12, 12),
                Bitmap.getBitmapResource("image.png")));

        input.setBorder(BorderFactory.createBitmapBorder(new XYEdges(12, 12,
                12, 12), Bitmap.getBitmapResource("image.png")));
        input.setBackground(BackgroundFactory
                .createSolidBackground(Color.WHITE));
        input.setFont(def);

        ok.setFont(def);
        ok.setChangeListener(this);

        cancel.setFont(def);
        cancel.setChangeListener(this);
        add(input);

        add(ok);
        add(cancel);

    }

    public String getString() {
        return input.getText();
    }

    public void fieldChanged(Field field, int context) {
        if (field.equals(ok)) {
            runme.setInput(getString());
            runme.run();
            input = null;
            ok = null;
            cancel = null;
            close();
        } else {
            input = null;
            ok = null;
            cancel = null;
            close();
        }

    }

}

This has been tested on the Simulator and the device. The 'ok' button gets focus on a device with a trackpad or trackball. However, on the touch phones the 'ok' button will not focus.

Fix a problem:

Instead of using a VerticalFieldManager, I just used a plain old Manager and acquired button concentrated.

Tags: BlackBerry Developers

Similar Questions

  • Custom for survey/quiz buttons?

    Hello

    I'm new to Captivate by using C9 on 10 to win. I searched the forums for this issue, tried some things, but I can't always seem to get the results I need.

    Is there a way to customize the buttons in a poll/quiz slide? I want simply to be a rectangle with rounded corners, and on the steps of button control. (Something easy to do with objects in the content slides) There are custom image buttons that come with Captivate, but even when I find one with the right shape, I can not change the color or text at all. (Please correct me if I'm wrong here.)

    I tried the workaround solution I found on the forums, where you put the desired under a transparent button shape. The only problem was, there was no way to make the steps button works. Since I had to keep the real button size same-ish on the top of the form so users would click the transparent button or form (transformed into a button that does nothing) would allow key steps look good.

    Is there a way to make custom in polls/quizzes buttons that allow the stages?

    Thank you!

    Buttons on question slides partition cannot be replaced by form buttons that's too bad. However, it is possible to use the other normal buttons: go to Manager of Style of the object, in the objects of the category Quizzing and replace styles by default current button that you want to. You can check on the slide master Quiz what it looks like, because the little insight in the OSM will probably not sufficient. The buttons are used right now, depends on the theme you are using (Object styles and master slides are always elements of the theme), and they use the same type of button.

  • Problem of button wifi HP Envy TouchSmart 15 j001TX on the upgrade to Windows 8.1


    Finally, here is the Solution for the ProblemsI facing point 8.1 of Windows in my HP Envy 15 J001TX (D9H44PA) TS

    1 PROBLEM Wifi button (led)

    -Cause - Bluetooth Incompatible Ralink driver (SP64082 Driver Wifi works fine)

    -How to solve the problem =

    Reset you first FORMATER THE System Partition (normally 100-500 MB size) when clean installing windows 8.1 (I don't know how to do after the upgrade via Windows store cause I never have I clean installed from the image ISO of Win 8.1)

    Then after installing Windows install Wifi button Driver Compitable with your system and of course to win 8.1 (SP63752 http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=ob-123643-1&cc=in&dlc=en&lc=en...  in my case)

    Here you can see the effective operation of the Wifi Button (F12 key) after restarting your PC

    Now if you install your old Wifi and Bluetooth Drivers you will ruin everything!

    THEN please INSTALL new WIfi driver Ralink (SP64082 that are currently compatible for win 8 but works very well and were available on the site, only last week here is the link http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=ob-125308-1&cc=in&dlc=en&lc=en... )

    The driver Bluetooth Ralink (well SP64156 I do not know if it will work or not cause he doesn't get just installed on my machine gave error file not found and I never retried there are waiting for the Win 8.1 driver compatiblehttp://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=ob-125314-1&cc=in&dlc=en&lc=en...)

    THEN the underlying problem seems to be Bluetooth driver and above the steps is how it will be fixed!

    In my view, FORMATTING of THE PARTITION SYSTEM is only average stuck reset who have dirtied the old Bluetooth driver!

    2. the NO work of BEATS AUDIO, other software and technology Intel Rapid Storage Technology bit

    The main cause is the INCOMPATIBLES INTEL GRAPHICS drivers...

    If you have installed the drivers Win 8 offered by HP on Win 8.1 What is causing many software malfunction!

    Then please download the latest drivers from Intel graphics for your laptop https://downloadcenter.intel.com/default.aspx (in my case 4600 Graphics Intel for windows 8.1 64-bit has been downloaded) it works perfectly!

    You must also install the updated Audio drivers (SP63555, http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=ob-124012-1&cc=in&dlc=en&lc=en... )

    Yes that's it everything works fine!  (I suggest that you do not install the Bluetooth driver until HP provides new compatible with win 8.1 setting the LED issue until then I suggest simply do not install and use bluetooth caue you must format the system partition whenever you need to reset the frame and for this we need to clean installation of Win 8.1)

    questions please answer!  tHNX

  • Changing custom field problem Listener

    I created a custom field that works as a button. He painted a bitmap to the screen. And when it focuses it changes the color of the image. However, I try to add a field change listener to it. I looked on the forum and found this code.

    protected boolean navigationClick(int status, int time)
    {
         fieldChangeNotify(1);
         return super.navigationClick(status, time);
    }
    

    It works but I have a problem. You see, my button now push a small screen, thin in the stack that has another button of the same type on it (custom button). At the moment it is the only button on this screen, which means that it has the focus. But it seems that once my button has the focus, I can click anywhere and it is always enabled. I only want to be activated when I touch it. Any suggestions? Here is my code

    public class MenuButtonField extends Field
    {
        Bitmap imagePic;
        Bitmap highlightedPic;
        public MenuButtonField(String imageName, String focusedImg)
        {
            super();
            imagePic=Bitmap.getBitmapResource(imageName);
            highlightedPic=Bitmap.getBitmapResource(focusedImg);
        }
    
        public void layout(int width,int height)
        {
            setExtent(20,80);
        }
    
        public boolean isFocusable()
        {
            return true;
        }
    
        public void drawFocus(Graphics graphics, boolean on)
        {
            paint(graphics);
        }
    
        public boolean touchEvent(TouchEvent message)
        {
            int type=0;
            type=message.getEvent();
            if(type==TouchEvent.CLICK)
            {
                fieldChangeNotify(1);
                return true;
            }
            else{
                return false;
            }
        }
    
        protected boolean navigationClick(int status, int time) {
            fieldChangeNotify(1);
            return super.navigationClick(status, time);
        }
    
        protected void paint(Graphics g)
        {
    
            g.drawBitmap(0, 20, 20, 80, imagePic, 0, 0);
    
            if(this.isFocus())
            {
                g.drawBitmap(0, 20, 20, 80, highlightedPic, 0, 0);
            }
    
        }
    }
    

    PLEASE HELP ME

    I found help here
    http://supportforums.BlackBerry.com/T5/Java-development/navigationClick-invoked-when-clicking-outsid...

    The position of Scribe the Lion was the solution.

  • Custom ComboBox problem

    Hello

    I'm doing a custom combobox. I don't want pictures in that text. Inspired by DDImagesButton I coded my Combobox. But am experiencing a few problems with it.

    For the button, I created TextButtonField. Problem that I face this is it shows text only when you click on it once. Otherwise, it shows just background color. Here's the code for TextbuttonField:

    public class TextButtonField extends ButtonField implements FocusChangeListener {
        protected DropdownItem mItem;
        boolean mTextItem;
        int mWidth;
        int mHeight;
        private static final int FOCUS_COLOR_BORDER = Color.RED; //0xFC0000;
        private static final int UNFOCUS_COLOR_BORDER = Color.WHITE;
        private int borderColor = FOCUS_COLOR_BORDER;
        private int color;
        private boolean selected;
    
        public TextButtonField(String text) {
            this(new DropdownItem(null, text), true);
        }
    
        private TextButtonField(DropdownItem item, boolean textItem) {
            super(item.mName, CONSUME_CLICK);
            mItem = item;
            mTextItem = textItem; 
    
            mWidth = (mTextItem ? getFont().getAdvance(mItem.mName) + 6 : 0);
            mHeight = getFont().getAscent() + 6; 
    
            // Save the Width & Height for layout
            mItem.itemWidth = mWidth;
            mItem.itemHeight = mHeight;
    
            setPadding(3, 6, 3, 6);
            setMargin(0, 0, 0, 0);
            this.setBackground(BackgroundFactory.createSolidBackground(Color.RED));
            setBorder(BorderFactory.createSimpleBorder(new XYEdges(0, 0, 0, 0), Border.STYLE_TRANSPARENT));
            setBorder(VISUAL_STATE_ACTIVE, BorderFactory.createSimpleBorder(new XYEdges(0, 0, 0, 0), Border.STYLE_FILLED));
            setFocusListener(this);
        } 
    
        public TextButtonField(String text, int bgColor) {
            this(new DropdownItem(null,text), true);
            this.setBackground(BackgroundFactory.createSolidBackground(bgColor));
        }
    
        protected void paint(Graphics graphics) {
            super.paint(graphics);
        } 
    
        public int getPreferredWidth() {
            return mWidth;
        } 
    
        public int getPreferredHeight() {
            return mHeight;
        } 
    
        protected void layout(int width, int height) {
            setExtent(mWidth, mHeight);
        } 
    
       public void focusChanged(Field field, int eventType) {
            if (eventType == FocusChangeListener.FOCUS_GAINED) {
                borderColor = FOCUS_COLOR_BORDER;
                invalidate();
            }
            if (eventType == FocusChangeListener.FOCUS_LOST) {
                borderColor = UNFOCUS_COLOR_BORDER;
                invalidate();
            }
        }
    
        protected void drawFocus(Graphics g, boolean on) {
            paint(g);
        }
    }
    

    By using this class, I created the ComboBox class such as:

    public class ComboBox extends TextButtonField implements FieldChangeListener {
        DropdownItem[] mItems;
        int mIndex;
        boolean showSelectedText;
        private int maxTextInd =0;
    
        public ComboBox(DropdownItem items[]) {
            super(items[0].mName);
            mItems = items;
            updateIndex(0);
            setChangeListener(this);
        }
    
        public ComboBox(DropdownItem items[], int bgColor) {
            super(items[0].mName, bgColor);
            mItems = items;
            updateIndex(0);
            setChangeListener(this);
        }
    
        protected void paint(Graphics graphics) {
            super.paint(graphics); 
    
            int x = 0;
            int ht =  0;
            x = this.getFont().getAdvance(mItems[maxTextInd].mName) + 5;
    
            int y = 5; 
    
            int y1 = y;
            int y2 = y + 10;
            int x1 = x;
            int x2 = x + 18;
            int[] xPts = new int[] { x1, x2, x1 + 9 };
            int[] yPts = new int[] { y1, y1, y2 };
            graphics.drawFilledPath(xPts, yPts, null, null);
        } 
    
        public void fieldChanged(Field f, int context) {
            getScreen().getUiEngine().pushScreen(new ComboPopUp());
        }
    
        public void updateIndex(int index) {
            mIndex = index;
            mItem = mItems[mIndex];
            invalidate();
        }
    
        public int getSelectedIndex() {
            return mIndex;
        }
        public String getSelectedItem() {
            return mItems[mIndex].mName;
        }
    
        class ComboPopUp extends PopupScreen implements FieldChangeListener {
            public ComboPopUp() {
                super(new VerticalFieldManager(VERTICAL_SCROLL | VERTICAL_SCROLLBAR));
                for (int i = 0; i < mItems.length; i++) {
                    TextButtonField button = new TextButtonField(mItems[i].mName);
                    add(button);
                    button.setChangeListener(this);
                }
                getField(mIndex).setFocus();
            } 
    
            protected boolean keyChar(char key, int status, int time) {
                if (Keypad.KEY_ESCAPE == key) {
                    this.close();
                    return true;
                } else
                    return super.keyChar(key, status, time);
            } 
    
            public void fieldChanged(Field field, int context) {
                updateIndex(getFieldWithFocusIndex());
                this.close();
            }
        }
    }
    

    * Here if the index is changed, I want to see the ot the button of the selected index. I want to say that if I have 2 items in the drop-down list 'Save' & 'Edit', Save is 1 then it will be displayed, if I select "Edit" then change must be considered over the top and not save. This time is seen as st element.

    * In DDImagesButton, next to the button, the triangle is hsown, which indicates a drop down, here how can I show that. In DDImagesButton, I have not found where and what show this triangle.

    * The popup is displayed correctly, but the text is not displayed until the component is selected. This issue will be resolved when TextButtonField problem is solved.

    Although these 2 problems are a little different but as relate to them, I added in the same message.

    Can you help me to solve my problems and help me create the custom drop-down list box. Help is highly appreciated.

    Thank you

    Hi Piotr,

    Consideirng your instructions, I tried to implement and make changes accordingly, but nothing has worked... I knew that both the setBorder is necessary. For ascent, creaed a label with alphabet 'W' and I am for his ascension.

    By developing, I realized the problem and resolved completely. In fact, I've been putting the text of the TextButtonField in super(), I removed that and displays text in object. It also helped me view the drop-down arrow that was not coming. I changed the following code and little bit here & there, and things were as expected.

    private TextButtonField(DropdownItem item, boolean textItem) {
            super(CONSUME_CLICK);
            ..........
     }
    
        protected void paint(Graphics graphics) {
            super.paint(graphics);
            graphics.setColor(Color.WHITE);
            graphics.setFont(textFont);
            graphics.drawText(mItem.mName, XPad, 1);
        }
    

    The drop down menu is not visible completely because of the size of the layout. Changed the width of TextButtonField in ComboBox object after showing the arrow that is:

    totWidth = x 2;

    and layout() TextButtonField:

    Protected Sub layout (int width, int height) {}
    setExtent (Math.max (mWidth, totWidth), mHeight);
    }

    That's all, and my work is done. Above code is added with explanation so can serve to someone else like me.

    Thank you

  • visibility of custom dialog problem

    Hello

    I used a dialog box custom in my project to a pop up. I used the tutorial of the custom dialog box. Depending on whether, when the dialog box appears, the back groundpage will be inactive and when the dialog box is closed, which becomes active. My question is, when I click on the 'OK' button in the dialog box, the background page is not turned in the first press itself. It seems that, after awhile, the inactive background color became more dark or black color, and I need to continue to press the ok button in the dialog box several times to close the box.

    No idea how to get rid of this?

    It's the happening bcz every time when you go to the third page, the signal connects again and again. If you need to cut the signal back to the third page. This is how you handle this

    paneProperties: {NavigationPaneProperties}
    ButtonBack: {ActionItem}
    onTriggered: {}
    myApp.mySignal.disconnect (showPrompt)
    yourNavPaneId.pop ();
    }
    }
    }

    Place this code in your page 3, and I hope this will solve your problem.

    Please like this if you are answered.

  • Windows 7-1024 x 600 netbook resolution; unclickable buttons "OK" and "Cancel".

    I recently got a netbook, and it's my first time to use its native resolution of 1024 x 600. A major problem that I got from this is that the buttons 'OK' and 'Cancel' on some confirmation windows are unclickable (sometimes, they appear at the bottom of the screen, well below the taskbar, even when the bar tasks are hidden). I tried to move the confirmation window up, but buttons to return to the same area.

    No one knows anything to prevent these buttons appear in a box unclickable? If not, are there workarounds? Also, what are the default keys shortcut for 'OK', 'apply' and 'Cancel '. I am currently using Windows 7 starter on the netbook.

    Hello

     
     
    1 the issue started after changing the screen resolution?
    2 are logged as administrator?
    3. What is the brand and model of the net book?
     
     
    Series 1:
    The resolution of the screen has a higher value and check if this solves the problem.
     
    Step 2:
    If not possible I suggest you update the display drivers to the newest of the manufacturer's Web site and check if this solves the problem. See the following link for more information.
     
    I hope this helps.
  • Window Audio problems - no button Save

    I use Mac 10.8.3 and have problems with Captivate 6.0 crashing. The crash took place after working on an interactive slide. Now, when I open the file, the audio window does not display a backup button at all. I can't close the audio window.

    The customer service is second to none with this product. The phone number on the Web site does not and the cat live was not available either. I have a hard time to find answers to my questions.

    Hi Holly,

    Welcome to the community of Adobe and please accept my apologies for the inconvenience.

    What is happening because of corrupted preferences. We recreate the preferences, but who will remove your customizations in the workspace, but we will not completely remove the Preferences file so that we can get back them.

    Here's what you need to do:

    • Save your project.
    • Close Captivate
    • Mac: /Users/ [user name] / Library/Preferences/Adobe Captivate 6 folder
    • Rename the folder 6 Captivate what either.
    • Launch Captivate and see if you still get problems.

    I hope this helps!

    Thank you!

  • Customer subscription problem - kiosk

    We received a complaint from a customer yesterday, saying that after the purchase of a subscription in November (that we sell), the December issue, which should appear as granted, presented with the button buy and subscribe instead. As a first time user, she clicked on buy and has been charged. We asked if perhaps there were multiple users signing in and out with their accounts iTunes on the iPad, and she said that it was only his.

    Everyone knows a similar problem? We looked at our back-end, and aside from the price, we expected in iTunes Connect, has not changed anything else.

    The increase in prices lead to the automatic cancellation of the subscription. I am facing this offline.

  • Problems of button open a URL... Need help FAST!

    I'm in a panic and could use help immediately if possible. I think that the problem is probably a simple, but I'm pulling my hair out.  I've published my files in a directory on my hard drive, called «CO training Beta» The main homescreen (CDMTS_Welcome.htm and swf) located in the main directory. See Cape of screen attached to the directory structure.

    I have a button on the Welcome screen that is supposed to open a subfolder (Modules) that contains the main menu (Module_Menu.htm) and individual module files. This button seems to work and launch the link open specified URL when I run the course of my hard drive, but no matter when I move to a different location or a CD, the continue button will not open the url. I don't know if I have the correct relative path... could someone please help me... I have to get out of the CD to our customer today or tomorrow. Thank you!

    Kristi

    Kristi:

    Did you actually ask your viewers to change the security settings?  I'm having the same problem, and I can't believe that there is no alternative.  The last thing I want to do is to ask all users to change the security settings before you start.

    Please let me know.

    Thank you

    JO

  • repeater nested with custom component problem

    Hello
    I'm really stuck with this problem and no help from you guys is greatly appreciated.
    For starters, I have a simple external nested xml file for the data: "book.xml".
    <? XML version = "1.0" encoding = "UTF-8"? >
    < book >
    < section >
    S1 < sectionnumber > < / sectionnumber >
    < chapter >
    C1 < chapternumber > < / chapternumber >
    < / section >
    < chapter >
    C2 < chapternumber > < / chapternumber >
    < / section >
    < / section >
    < section >
    s2 < sectionnumber > < / sectionnumber >
    < chapter >
    < chapternumber > c3 < / chapternumber >
    < / section >
    < / section >
    < / book >

    I also have a main app (NestedRepeater.mxml) of a control relay that contains a custom (Section.mxml) mxml component:
    <? XML version = "1.0" encoding = "utf-8"? >
    "" < mx:Application xmlns:mx = ' http://www.adobe.com/2006/mxml " xmlns:comps ="rate"layout ="absolute">
    < mx:XML id = "data" source = "" data / book.xml "/ >"
    < mx:VBox >
    < mx:Repeater id = dataProvider = "{data.section"Repeater1"}" >
    < sectionNumber = "{Repeater1.currentItem.sectionnumber comps: Section}" / > "
    < / mx:Repeater >
    < / mx:VBox >
    < / mx:Application >

    And in my component (Section.mxml) custom, I have another relay that want it for the chapter in each section as a < mx: state > for the user to be able to show/hide the chapters in each section.

    <? XML version = "1.0" encoding = "utf-8"? >
    "< mx:Canvas xmlns:mx = ' http://www.adobe.com/2006/mxml" > "
    < mx:Script >
    <! [CDATA]
    [Bindable]
    public var sectionNumber:String;
    []] >
    < / mx:Script >
    "" < mx:XML id = 'data' source = '... / data / book.xml "/ >
    < mx:VBox >
    < mx:Panel id = "panel1" layout = "absolute" title = "Section" >
    < mx:VBox >
    < mx:Label text = "{this.sectionNumber}" / >
    < mx:Button id = "btnArticles" label = "show chapters" click = "this.currentState = 'Chapter'" / >
    < / mx:VBox >
    < / mx:Panel >
    < / mx:VBox >
    < mx: states >
    < name mx: State = 'Chapter' >
    < mx:AddChild relativeTo = "{panel1}" position = "after" >
    < mx:VBox >
    < mx:Repeater id = dataProvider = "{data.section.chapter"Repeater2"}" >
    < mx:Panel layout = "absolute" title = "Chapter" >
    < mx:Label text = "{Repeater2.currentItem.chapternumber}" / > "
    < / mx:Panel >
    < / mx:Repeater >
    < / mx:VBox >
    < / mx:AddChild >
    < / mx: State >
    < / mx: states >
    < / mx:Canvas >

    So the problem I have is the relationship of each chapter to its parent section, when I run the application, the result is:
    S1
    C1
    C2
    C3
    S2
    C1
    C2
    C3

    The correct output I want based on the xml, the data provider must be and don't have not all the chapters in each section:
    S1
    C1
    C2
    S2
    C3

    If anyone has any suggestion, would be appreciated greatl.
    Thank you

    Yes, do not try to get new data into the component, simply pass the crux of the entire section in the custom component:

    In this component has a public property or a setter function:
    [Bindable]
    public var xmlSection:XML;

    This variable will now have this in it:


    S1

    C1


    C2

    Repeater2 is therefore:





    Very simple, you follow? I do it very often. Repeater, XML and custom components are an impressive combination.

    Tracy

  • R12 customer search problem

    Dear all,
    I am facing a problem in R12 - customer search screen, Simple research in particular.

    Responsibility: Order Management superuser, Vision operations (USA)
    Navigation: Customers > Standard

    1. 7 fields in the Simple search section, provide the number of the name/ID/D-U-N-S or any other field and click the GO button. Recording the part will appear in the search results.

    2. then, for a recording of the special part, update part relationship response (s) from the backend call a Standard API. Ex: hz_relationship_v2pub.update_relationship API & check since the backend validation update succeeded.

    3. now, in the HTML page, try searching for recording the part update of the Simple search section by providing 7 fields (name, ID of registry, D-U-N-S number, etc.). Recording the part will NOT appear in the results of research.

    4. Ironically, the research of advanced Section (click on the advanced search button), offer / the State of the city or some other (other than 7 fields in the Simple search) domain, the registration of the party will be displayed in the search results.


    Is this a bug in Oracle? All the world is facing this issue before? Even of the responsibility of the client root online, I am facing this problem.

    Kind regards
    Agnes

    Agnes,
    You can set the method of synchronization of DQM on automatic and in this case you neednt run this program repeatedly.

    The program should be run when the synchronization of DQM method is disabled.

    More details on how to set synchronization DQM method, please see the note below: 465993.1

    Kind regards
    Ravi

  • How to create a custom control for a button where the look apply to everyone else but not the Boolean text?

    Hi all

    I would like to create a button custom as a master, so that if I change the look of the master all other buttons are changed.

    I did it with a custom control, such as a 'type strict def' otherwise the look will change , BUT if I do this as a strict type def I can't change the Boolean text more which should be different on each button.

    How to create a master control of a button where the look apply to everyone else but not the Boolean text?

    Steve Chandler wrote:

    I don't think that you can do. I just looked and as I suspected the Boolean property text is read only for strict typedefs, you cannot use the nodes property to change the text.

    As a just solution make it a typedef. When you want to change the open look the typedef and strict rendering, make your changes, then make no strict again. You will need to update the text Boolean yet once for all instances. Kind of pain. This is perhaps something for the exchange of ideas.

    Alternatively, remove Boolean text and replace with legend

  • Custom step problem

    I have a number of custom steps (not inherited, no source code) that we use with TestStand 3.0 and 3.5 versions.  I'm trying to import them into TestStand 4.1, but I have problems.  I know that the location of the files has changed under TestStand 4.x.  They used to live in the TestStand folder, now they live in C:\Documents and Settings\All Users\Documents\National Instruments\TestStand 4.1\Components.  I copied all the DLLs, INI, ICO, files in the correct folders, but some of the measures do not appear in the context menu when you add a step.  I have added custom, four steps two I have visible, two are not.

    The management mode that Custom steps has changed in the TS 4.1?

    Thank you.

    Have you added your pallets of type under C:\Documents and Settings\All Users\Documents\National Instruments\TestStand 4.1\Components\TypePalettes?

    Your pallets of type and the types of step appear in the Palette of Document Type?

    You may also right-click on the palette to insert a step and choose Customize... to update where your step types appear in the Insert palette.

    Hope this helps,

    -Doug

  • HP Probook 450 G1; E9Y30EA #ABB: [Windows 10]: driver compatibility problems, sound buttons do not work

    Hi all

    I recently did a clean install of Windows 10 x 64 on my HP Probook 450 G1 (E9Y30EA), and after installing the drivers I noticed when I cut the sound, my Mute button will not change its amber color (or orange, yellow, regardless), as it did in Windows 7 and 8.1.

    In addition, another thing that does not work is shortened mute Microphone keyboard (fn + F8). It turns off the microphone, nor its LED lights.

    I have the latest version of the Support of hotkey driver installed (7.0.13.1) HP, HP Quick Launch Buttons, HP wireless button, installed, .NET Frameworks 2.0 and 3.0, etc... everything is up-to-date, but it still not working as it should. Micro just cut does not work and pressing (sound) Mute button mute, but its light remains white, so I often do not know if I got the sound we or off with the look of a look I did.

    On the other hand, HP wireless button works normally, and it changes color to Amber when I press on it to activate airplane Mode.

    TL; DR: After the installation of the Win10 Hotkey Mute Microphone work and his Mute button works, but the LED does not work.

    Is what I can do to fix that, or is this just a problem with the driver incompatibility which would be fixed in some future updates? Or it is something else, like Windows 10 question or maybe audio driver?

    Thanks in advance,

    pajser92

    W 8.1 IDT AUDIO driver was a solution for me. All the buttons work now.  HP should release W10 audio driver for this problem, as the wrong audio driver provided by W10 is a reason for this problem I think.

Maybe you are looking for