Extended method of field paint will not called

I would go to a field and would like to paint something there.

By extending the field I must apply setLayout (int x, int y) wcich get is called successfully.

Thing strange number one: x is 360 (that's fine because I have it returned by getPreferredWitdh), there is

1073741803 which is more hell? In getPreferredHeight I returned 480...

Second, my method of painting is not called at all! See code below.

You forgot to call your layout() setExtent() while defining the scope of the field is the main object of the layout () - to tell the parent Manager how much space you wish to occupy. Without putting your width and height are (0, 0), which explains why your parent Manager never calls object of your field.

The fact that you get almost unlimited height in your layout() is also easy to explain: you probably use screen that has default VERTICAL_SCROLL.  And managers who have VERTICAL_SCROLL allocates Integer.MAX_VALUE > 1 pixel at the start for their children.  Your LabelField consumed 14 of this value (using setExtent (textWidth, 14), of course) and then screen offered the rest of your domain.

Also note that getPreferredHeight() and getPreferredWidth() are ignored by the vast majority of managers and fields.

Tags: BlackBerry Developers

Similar Questions

  • I have Photoshop CS6 extended CD, but my computer will not read.  Is it possible to get a digital download to use instead?

    I have Photoshop CS6 extended CD, but my computer will not read.  Is it possible to get a digital download to use instead?

    Download the CS6 products

  • Default method of workflow activity is not called when the Page refreshes

    Basically, try to call a script function java front page of fragments of the charges.

    INSTALLATION PROGRAM:

    Jdev 12 c

    TF defined with a default activity that invokes a page fragment.

    The activity of default method calls a method to support bean which inturn calls the method init java script before the fragment on the page doesn't load.

    This TF is in a container jsf page.

    During the loading of the page containing the first activity of the method is called and js function triggers and then fragments of charges which is the desired behavior.

    PROBLEM:

    When I refresh the page by pressing F5 or by running the page again on the same window of the browser activity method default IS NOT gets called which inturn will not trigger the js call.

    But when I run the same page again in a different window it works and then subsequent updates or page load activity IS NOT of default method is called.

    If it is not provided? The default activity is called when the workflow is updated.

    Check outhttp://www.oracle.com/technetwork/developer-tools/adf/learnmore/108-triggerpopupinregion-1994836.pdf which should work also in your car.

    Timo

  • Bean method < a4j:commandButton > backend is not called on the click event.

    I use code below. It seems back end bean method is not called when I click on the CommandButton. I think it has something to with the rendering.


    <! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional / / IN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
    < html xmlns = "http://www.w3.org/1999/xhtml".
    xmlns:UI = "http://java.sun.com/jsf/facelets".
    xmlns:h = "http://java.sun.com/jsf/html".
    xmlns:f = "http://java.sun.com/jsf/core".
    xmlns:A4J = "http://richfaces.org/a4j".
    xmlns:rich = "http://richfaces.org/rich".
    xmlns:CDM = "http://mportal.com/cdm" >
    < ui:composition >
    < rich: panel >
    < a4j:form id = "RefreshPropertiesInstanceForm" >
    < id of the table = "RefreshPropertiesTable" width = "100%" border = "0" >
    < b >
    < td width = "35%" align = "right" >
    < div class = 'fieldLabel' > filename property: < span
    Class = 'requiredField' > * </span > < / div >
    < table >
    < style td = "margin-top: 15px;" "padding-left: 15px ' nowrap ="nowrap ".
    align = "left" > < rich: comboBox id = "combo".
    value = "#{testPropertyRefreshHelper.selectedPropertyFile} '"
    enableManualInput = "false" >
    < f: selectItems value = "#{testPropertyRefreshDetails.propertyFileNameList}" / > "
    < a4j:support = "onchange" event
    reRender = BypassUpdates "RefreshPropertiesInstanceForm" = "false".
    ajaxSingle = "true" action = "#{testPropertyRefreshHelper.getPropertyFileContentFromRemoteServer}" / > "
    < / rich: comboBox > < table >
    < /tr >
    < b >
    < style td = "margin-top: 10px;" "padding-left: 100px" align = "left".
    colspan = "3" > < h:inputTextarea id = value = "#{testPropertyRefreshHelper.propertyFileContent"firstTextArea"} '"
    lines = "21" cols = "150".
    style = "overflow-x: auto;" "Overflow-y: scroll '.
    rendered = "#{testPropertyRefreshHelper.selectedPropertyFile! =" choose from downstairs "} '"
    Disabled = "#{testPropertyRefreshHelper.selectedPropertyFile ==" choose from downstairs "}" >
    < / h:inputTextarea > < table >
    < /tr >

    < b >
    < style td = "margin-top: 10px;" "padding-left: 400px" align = "left".
    colspan = "2" >
    < a4j:commandButton id = "refreshPropertyButton" value = "refresh."
    image = "#{imageManager.imageMap ['REFRESH_BUTTON']}" "
    rendered = "#{testPropertyRefreshHelper.selectedPropertyFile! =" choose from downstairs "} '"
    action = "#{testPropertyRefreshHelper.updatePropertyFileContentInRemoteServer} '"
    reRender = "RefreshPropertiesInstanceForm" >
    < / a4j:commandButton >
    < table >
    < /tr >
    < /table >

    < / a4j:form >
    < / rich: panel >
    < / ui:composition >
    < / html >

    Everything works perfectly. But when I click on the command button "#{testPropertyRefreshHelper.updatePropertyFileContentInRemoteServer}" backing bean method is not called. Other components are working properly.

    try what it says the article linked: do your session bean scope.

    NOTE: when working with Ajax I tend to do the session bean to support extended to have fewer problems with partial and such updates. If you are using JSF 2.0, you could do it view extended to get the same result.

  • Paint will not let me type text in the box bit once I do. Also it only gives me the choice of fonts.

    Is there some setting I need to change? Or someone has a suggestion for the best software to add text to photos? Thank you!

    Fran

    In painting left... after clicking on the button "A".
    in the Toolbox... left click / drag a box
    the project. Now you should be able to
    Type your text. If not... try to go on... View.
    Text toolbar.

    The free Picasa software has several options
    to add text to pictures.

    (FWIW... it is always a good idea to create
    a system before you install restore point
    software or updates)

    Picasa
    http://Picasa.Google.com/

    After you download and install Picasa...
    Open the program and double left click
    an image to open the editing functions.

    To add text to the front of the photo...
    choose... Simple retouching / text button...

    "Retouching" features: crop, add text, editing
    http://support.Google.com/Picasa/bin/answer.py?hl=en&answer=93403

  • Standard field 'Name' will not be updated using this trigger

    I do so little heavy customization so that my company can manage events in addition to the standard features of CRM and have written a trigger to be used by a mandatory field that uses the information of the event or the ability to update the opportunity name.

    Here is the code:

    If (nvl (TargetPartyId, null)! = null & & nvl (FirstDayStart_c, null)! = null & & nvl (EventType_c, null)! = null)
    {
    //------------------------------------------------------------------------ Get the Location

    vRecord def = null
    Vcle def = nvl (getAttribute ('TargetPartyId'), null)
    venue of def = newView ('SalesAccountVO')
    def scene = venue.findByKey (key (vKey), 1).
    def venueLoc = null


    If (places [0]! = null)
    {
    vRecord = places [0]
    venueLoc = vRecord.getAttribute ('PrimaryAddressCity')
    }

    //------------------------------------------------------------------------ Create the Date
    eventDate def = nvl (getAttribute ('FirstDayStart_c'), null)
    eventDate = eventDate.toString () .substring (0.9)
    eventDate = eventDate.toString () .substring (5,6) + "/" + eventDate.toString () .substring (8,9) + "/" + eventDate.toString () .substring (0.3)

    //------------------------------------------------------------------------ Determine the Module
    def eventSubType = nvl (getAttribute ('EventSubType_c'), null)
    def eventType = nvl (getAttribute ('EventType_c'), null)
    def eventModule = null
    If (eventType == 'Pièce') {}
    eventModule = 'EX '.
    }
    else {}
    {Switch (eventSubType)}
    case "on the spot":
    eventModule = "O".
    case "regular":
    eventModule = "M".
    case "Curriculum":
    eventModule = 'C '.
    case 'hybrid ':
    eventModule = "H".
    case "upper Quadrant":
    eventModule = 'UQ '.
    case "Introduction":
    eventModule = 'IN '.
    }
    module def = nvl (getAttribute ('Module_c'), null)
    If (module.contains("1")) {}
    eventModule += "1".
    }
    Else if (module.contains("2")) {}
    eventModule += '2 '.
    }
    }

    //------------------------------------------------------------------------ Create and Set the Name
    def venueLoc = eventName + "-" + eventDate + '-' + eventModule
    setAttribute ('Name', eventName)
    }

    This trigger runs when a value is selected in the area assigned, which takes place during the creation of the opportunity.  It works if I turn setattribute() on the 'Comments' field, but not on this one.

    One thing that might be important: I changed the word '' opportunity '' to the 'event' by using the "Text of User Interface" option, but nothing has changed on the 'name' field I would say.

    Thanks in advance!

    This has been fixed, but it works in the simplified user interface.  This isn't a huge problem, but I would like that there was consistency.

    I think that the only problem was that I was using an incorrect object for the account name.  I used SalesAccountVO so I had was OrganizationProfile.  I'm going to suspicion because I also reorganized the way I was doing other things.  He remains the prime suspect, although, since it was the value NULL only showing in simplified.

    Here's the modified code:

    //------------------------------------------------------------------------ Location

    vRecord def = null
    Vcle def = nvl (getAttribute ('Facility_Id_c'), null)
    venue of def = newView ('OrganizationProfile')
    def scene = venue.findByKey (key (vKey), 1).
    def venueLoc = null
    If (goings. Size() == 1)
    {
    venueLoc = places [0]. PrimaryAddressCity
    }

    //------------------------------------------------------------------------ Date
    def startDate = nvl (getAttribute ('FirstDayStart_c'), null) m:System.NET.SocketAddress.ToString (.split("")) [0]
    eventDate = startDate.substring(5).replace("-","/ def") + ' / ' + startDate.substring (0.4) "

    //------------------------------------------------------------------------ Module
    def eventSubType = nvl (getAttribute ('EventSubType_c'), null)


    def eventType = nvl (getAttribute ('EventType_c'), null)
    def eventModule = null
    If (eventType == 'Pièce') {}
    eventModule = 'EX '.
    }
    else {}
    {Switch (eventSubType)}
    case "on the spot":
    eventModule = "O".
    breaking
    'Normal ': case study
    eventModule = "M".
    breaking
    case "program":
    eventModule = 'C '.
    breaking
    case 'hybrid ':
    eventModule = "H".
    breaking
    case "Quadrant":
    eventModule = 'UQ '.
    breaking
    case "Introduction":
    eventModule = 'IN '.
    }
    module def = nvl (getAttribute ('Module_c'), null)
    If (module.contains("1")) {}
    eventModule += "1".
    }
    Else if (module.contains("2")) {}
    eventModule += '2 '.
    }
    }

    //------------------------------------------------------------------------ Name
    def venueLoc = eventName + "-" + eventDate + '-' + eventModule
    setAttribute ('Name', eventName)

    There is more to do, but it's null value just controls and so on.  Thanks for the help!

  • Constructor of the class will not call the function

    Hello

    I have attached a version of my .as file summers, which is imported into my flash (.fla) file. I can't call the initCircularArray of my class constructor function. The function of trace in the initCircularArray never gets called, and the trace of onLoad (success) returns 'true '. No idea what I could do wrong?

    Thank you
    Dave

    The method is out of reach of the XML object. Here's a way to manage
    She:

    Class CircularArray {}
    var circularArray:Array = new Array();
    public void CircularArray(inXML:String) {}
    var newXML = new XML(); the XML file

    newXML.OWNER = this; give the XML object a reference to this
    class

    newXML.ignoreWhite = true;
    newXML.onLoad = {function (success:Boolean)}
    {if (Success)}
    trace ("XML loaded:" + success);

    This. OWNER.initCircularArray (this); call it referenced
    method of the object
    }
    }
    newXML.load (inXML);

    }
    public void initCircularArray(newXML:XML) {}
    trace ("\n\nGOT HERE\n\n");
    }
    }

  • Photoshop CS6 extended of the trial above, will not open

    I have a license for Photoshop CS6.  A month ago I couldn't open CS6 without extensive testing. The trial is over and now I can't open Photoshop.

    Please, click on the license this software and enter your Adobe ID and serial number.  That should allow you to continue to use Photoshop.

  • The load utility block does not call the PostProcessHandlers

    My PostProcessHandlers works fine when I create or update users. But when I use the load utility block to create users, the PostProcessHandlers are not called.

    How can I call the PostProcessHandlers whenever I use the load utility block to create users?

    Thank you

    He will not call. It is the way it was designed.

  • Windows email will not be printed and give this message "email error unexpected call to the method"

    Windows email will not be printed and give this message "email error unexpected call to the method"

    is there a solution for this?

    Yes, I uninstalled the upgrade to IE9 and rebooted and unfortunately I can print my email again! No more unexpected call to the method.  Check my IE and it's IE8.

    Problem solved!

    Thanks for the replies.
    Neal

  • the menu item run method not called

    Eclipse SDK Version: 3.4.1

    BlackBerry JDE plugin for Eclipse Version: 1.0.0.50

    BlackBerry JDE component package Version: 4.5.0.14

    I added a menu item to the contacts list. I would like to get the context when the user clicks the menu item, but the run method is not entered. When the user clicks the item in the menu the main routine is entered with correct arguments. Should not called run with the context method? No exception is thrown.

     

    Import net.rim.blackberry.api.menuitem.ApplicationMenuItem;
    Import net.rim.blackberry.api.menuitem.ApplicationMenuItemRepository;
    Import net.rim.device.api.system.Application;
    Import net.rim.device.api.system.ApplicationDescriptor;

    SerializableAttribute public class BwMain extends Application {}
    private static final long APP_ID = 0xf46f5a7867d69ff0L;
    private static final String ARG_LAUNCH_BW = "1";

    public BwMain() {}
    long menuItemLocation = ApplicationMenuItemRepository.MENUITEM_ADDRESSBOOK_LIST;
    ContactsBwMenuItem menuItem = new ContactsBwMenuItem();
    ToolBarMenuButton.AddMenuItem (menuItemLocation, ARG_LAUNCH_BW, menuItem);
    System.Exit (0);
    }

    Public Shared Sub main (String [] args) {}
    If (args == null | args.length == 0) {}
    BwMain bwMain = new BwMain();
    bwMain.enterEventDispatcher ();
    }
    else {}
    System.out.println ("App launched from the menu");
    }
    }

    private public static Sub ToolBarMenuButton.AddMenuItem (long location, String argOfAppl, ApplicationMenuItem appMenuItem) {}
    Amir ApplicationMenuItemRepository = ApplicationMenuItemRepository.getInstance ();
    ApplicationDescriptor app = ApplicationDescriptor.currentApplicationDescriptor ();
    app = new ApplicationDescriptor (app, new String [] {ARG_LAUNCH_BW});
    amir.addMenuItem (location, appMenuItem, app);
    }

    private static class ContactsBwMenuItem extends ApplicationMenuItem {}
    {ContactsBwMenuItem()}
    Super (20);
    }

    public String toString() {}
    return "PC connection";
    }

    public Object execute (object context) {}
    try {}
    System.out.println ("input run method");
    } catch (Exception e) {}
    e.printStackTrace ();
    }
    Returns a null value.
    }
    }
    }

    You call system.exit() in the Builder before entering the EventDispatcher. I'm guessing that you add the menu item, but leave the application, and when the menu item is called it is more a reference to the context of the application and decides not to continue. The menu item will not remove itself when the application closes.

  • Exception - called setFocus on a field that is not attached to a screen.

    I'll have a lot of areas in my screen. I'm trying to set the focus on the particular area. To do this, I use field.setFocus (). But it gives this exception

    setFocus call on a field that is not attached to a screen. But the field is added to the screen. I don't know what the problem is with me.

    How can I do this?

    Thanks for any help.

    Oh. I'm sorry. I resolve myself. I called this method until I added this field to display.

  • AppModuleImpl methods of the class returns the custom class types, not called.

    Hi all

    Methods of the class AppModuleImpl custom types of class, not called when you access through back links.

    OperationBinding operationBinding = bindings.getOperationBinding("getInstanceNameO"); where 'getInstanceNameO' is a method AppModuleImpl returns a class serializable type.

    Any help will be appreciated.

    OI_testBean.goInstanceName_methodCallNew (OI_testBean.Java:99): this line is the call of method appmoduleimpl: OperationBinding operationBinding = bindings.getOperationBinding("getInstanceNameO");

    Looks like 'bindings' is null.

    How to retrieve variable 'bindings '?

    Where is the OI_testBean.goInstanceName_methodCallNew () method called?

    If this method is called from the method call activity, you create pageDef in his name and add getInstanceNameO

    Dario

  • MovieClip will not add to the list after calling addChild()

    I have a MovieClip in the library who refuses to be added to the stage during his call with addChild(). Here's the code.

    You will see a function called clickedACTDD_BTN. You will also see that the function offers a choice if the MovieClip is present, then it is deleted. If it is not present, then this is given properties and added. Also, note my tracing instructions in each choice. All signs as expected but the MovieClip ever arises. I've been on that days code and just can't see what I did wrong. Everyone sees it?

    package
    {
    PAheader 1.0

    import flash.display. *;
    import flash.events. *;
    import flash.geom. *;

    SerializableAttribute public class PAheader extends MovieClip
    {
    public var headerScreen:Screen = Screen.mainScreen;
    public var hdrLogo;
    public var BLKback;
    public var PRFLAVTR:profileAvatarMC = new profileAvatarMC(); Profile avatar
    public var msgbubble:messageBubbleMC = new messageBubbleMC(); ToolTip
    public var magGlass:magnifyingGlassMC = new magnifyingGlassMC(); In the shape of magnifying glass
    public var ACTDD_BTN:ActionsDDBtnMC = new ActionsDDBtnMC(); ACTIONS drop-down list button.
    public var HISDropD_BTN:HistoryDDBtnMC = new HistoryDDBtnMC(); HISTORY drop-down list button.
    public var REPDD_BTN:ReportsDDBtnMC = new ReportsDDBtnMC(); Button drop-down list of REPORTS.
    public var actionbucket:ActionBucket = new ActionBucket();

    public void PAheader()
    {
    addEventListener (Event.ADDED_TO_STAGE, initPAheader);
    } / - End constructor public function PAheader().

    public void initPAheader(e:Event_=_null):void
    {
    trace("==============================================");
    trace ("PAheader called.");
    trace ("of PAheader: visibleBounds.width:" + headerScreen.visibleBounds.width + "visibleBounds.width:" + headerScreen.visibleBounds.height);
    addEventListener (Event.RESIZE, resizedHeader);

    BLKback.width = AWSplash.resizeAsset(1024,headerScreen.visibleBounds.width,1024);
    BLKback.scaleY = BLKback.scaleX;
    //------------- adding Assets ----------------------------------------------------------------------------------------- ---------------------------------

    -Avatar profile
    PRFLAVTR.x = stage.fullScreenWidth - PRFLAVTR.width - 10;
    PRFLAVTR.y = height/2-PRFLAVTR.height/2;
    addChild (PRFLAVTR);
    -The ToolTip
    msgbubble.x = PRFLAVTR.x - PRFLAVTR.width - 10;
    msgbubble.y = height/2 - msgbubble.height/2;
    addChild (msgbubble);
    -Shaped magnifying glass
    magGlass.x = msgbubble.x - msgbubble.width - 10;
    magGlass.x = msgbubble.x - msgbubble.width - 10;
    magGlass.y = height/2 - magGlass.height/2;
    addChild (magGlass);

    } // ----------------------------------------------------------------------------------------- -------------------------- End public function initPAheader().
    public void resizedHeader(e:Event_=_null):void
    {
    trace ("header REDIMENSIONNE");

    } // ----------------------------------------------------------------------------------------- ------------------------- End public function resizedHeader().

    public void addActionsDDButton(caller:MovieClip):void
    {
    trace ("addActionsDDButton. the appellant is: "+ calling);

    -ACTIONS button
    ACTDD_BTN. Width = AWSplash.resizeAsset(1024,headerScreen.visibleBounds.width,60);
    ACTDD_BTN.addEventListener (MouseEvent.CLICK, clickedACTDD_BTN);
    ACTDD_BTN.addEventListener (MouseEvent.MOUSE_OUT, outACTDD_BTN);
    ACTDD_BTN. ScaleY = ACTDD_BTN.scaleX;
    ACTDD_BTN.x = HISDropD_BTN.x - ACTDD_BTN.width;
    ACTDD_BTN.y = BLKback.y;
    caller.addChild (ACTDD_BTN);
    trace ("added ACTIONS!");

    } / / - End public static void addDDButtons().

    public void addHistoryDDButton(caller:MovieClip):void
    {
    trace ("addHistoryDDButton. the appellant is: "+ calling);
    -HISTORY button
    HISDropD_BTN.width = AWSplash.resizeAsset(1024,headerScreen.visibleBounds.width,60);
    HISDropD_BTN.scaleY = HISDropD_BTN.scaleX;
    HISDropD_BTN.x = headerScreen.visibleBounds.width/2 - HISDropD_BTN.width/2;
    HISDropD_BTN.y = BLKback.y;
    caller.addChild (HISDropD_BTN);
    trace ("added HISTORY!");
    } / / - End addHistoryDDButton() of the public service.

    public void addReportsDDButton(caller:MovieClip):void
    {
    trace ("addReportsDDButton. the appellant is: "+ calling);
    -The REPORTS button
    REPDD_BTN. Width = AWSplash.resizeAsset(1024,headerScreen.visibleBounds.width,60);
    REPDD_BTN. ScaleY = REPDD_BTN.scaleX;
    REPDD_BTN.x = HISDropD_BTN.x + ACTDD_BTN.width;
    REPDD_BTN.y = BLKback.y;
    caller.addChild (REPDD_BTN);
    trace ("added REPORTS!");
    } / / - End addHistoryDDButton() of the public service.

    / * function removeButtons(theCaller:MovieClip) public
    {
    If (theCaller.Contains (HISDropD_BTN): theCaller.contains (ACTDD_BTN): theCaller.contains (REPDD_BTN))
    {
    theCaller.removeChild (HISDropD_BTN);
    theCaller.removeChild (ACTDD_BTN);
    theCaller.removeChild (REPDD_BTN);
    }
    } / / - End public static void removeButtons(). * /

    public void clickedACTDD_BTN(e:MouseEvent_=_null):void
    {
    trace ("Clicked clickedACTDD_BTN!");
    If (Contains (actionbucket))
    {
    trace (this);
    removeChild (actionbucket);
    trace ("1");
    }
    on the other
    {
    trace (this);
    actionbucket. Width = AWSplash.resizeAsset(1024,headerScreen.visibleBounds.width,161);
    actionbucket.scaleY = actionbucket.scaleX;
    actionbucket.x = ACTDD_BTN.x;
    actionbucket.y = ACTDD_BTN.y + ACTDD_BTN.height;
    actionbucket.y = ACTDD_BTN.y;
    addChild (actionbucket);
    trace ("2");
    }
    } / / - End clickedACTDD_BTN() of the public service.

    public void outACTDD_BTN(e:MouseEvent_=_null):void
    {
    If (Contains (actionbucket))
    {
    detectTarget (actionbucket);
    }
    } // ----------------------------------------------------------------------------------------- -------------------------- End public function outACTDD_BTN().

    public void detectTarget(target:MovieClip):Boolean
    {
    var mousePoint:Point = target.localToGlobal (new Point (target.mouseX, target.mouseY));
    If (Target.hitTestPoint (mousePoint.x, mousePoint.y))
    {
    trace ("equity bucket!");
    Returns true;
    }
    on the other
    {
    trace ("not on STOCK bucket!");
    Returns false;
    }
    } // ----------------------------------------------------------------------------------------- -------------------------- End public function detectTarget().
    } // ========================================================================================= ======== End public class PAheader{}.
    } // ========================================================================================= =================== End package{}.

    my mistake, this.addChild (this) is not going to work.

    PAheader is a class and a class is not on stage.

    an instance of the class could be on stage, however.

    and another instance might not be on stage.

    just because you see something that is a member of PAheader class, or maybe just looks like a class member, does not mean that all instances, or even none, are on stage.

    to be sure: trace (this.stage) = null, means the instance you are checking is not on stage.

    "(and I don't know where you want to add this instance of the class, but, assuming that your document is a MovieClip and not a Sprite), MovieClip (root) .addChild (this) might work, although it's bad coding."  and stage.addChild (this) of colin will not work because the stage is not defined in this class.

  • Inside the af AF:commandLink: Iterator not calls actionListener method

    Hi all

    I use Oracle Jdeveloper 11.1.1.7.1.

    I have an ArrayList which I am an iteration in the jsff using af: iterator and display the value in a command link.

    Now, when I click on the order link, the action listener is not called instead the get method of the value of the iterator is called.


    Here is my code jsff:


    " < trh:tableLayout xmlns =" http://MyFaces.Apache.org/Trinidad/HTML "

    ID = 'tl1' >

    < af:iterator id = "i1" var = "var" lines = "10".

    value = "#{backingBeanScope.PortalBean.orderSearchResults}" >

    " < trh:rowLayout xmlns =" http://MyFaces.Apache.org/Trinidad/HTML "

    ID = "rl1" >

    " < trh:cellFormat xmlns =" http://MyFaces.Apache.org/Trinidad/HTML "

    ID = "cf1" >

    < af:panelGroupLayout id = "pgl14" layout = "horizontal" >

    < af:commandLink text = "#{node.orderId}" id = "cl3" "

    actionListener = "#{backingBeanScope.PortalBean.highlightNode} '"

    partialSubmit = "true" / >

    < / af:commandLink >

    < af:spacer width = "10" height = "10" id = "s2" / >

    < / af:panelGroupLayout >

    < / trh:cellFormat >

    < / trh:rowLayout >

    < / af:iterator >

    < / trh:tableLayout >

    Now, whenever I click on the order link, instead of calling the method highlightNode of the bean, it called the getOrderSearchResults() of the portal bean.

    I tried to change that to a button, but no luck, and the worst is that it does not give an error or any exception.

    Someone can suggest, what is the problem here, how can I invoke the listener in action during the click on link getOrderSearchResults() instead.

    Hi user

    y at - it no mandatory field on the page or any validation?

    m not sure, but can you try to change your view beanScope or pageFlow

    Thank you

Maybe you are looking for

  • I used my old firefox data and now he has bugged.

    My problem started after I deleted my profile. Not knowing what I was doing, I deleted my profile and restarted Firefox. I have had no Favorites, my theme had disappeared, etc.. After awhile, I realized how to use my old data from Firefox to retrieve

  • Re: Could not start the camera on Satellite P300

    I have a Satellite P300 and I use Windows Vista. In recent weeks one have a problem starting the camera. I always get the message CEC_Main.exe does not work I need help. Thank you

  • Satellite L850D blue screen towers using Corel Draw X 5 under Win 8

    As in the title, whenever I move an object (or click on the background) in CorelDraw X 5 running under widows 8, the screen goes blue when I release the object that it becomes normal. I also hooked up a different monitor and it is mirrored there.The

  • Blue screen T430s-2352 and Code 101 problem

    Hi all By the use of a month of my T430s, I have met four times with BSOD(Blue Screen) and the two recent showed the same error message: Clock interruption A has not received on a secondary processor within the allotted time interval. And tstop code:

  • M275MFP: Removal of the driver win 10-impossible - App-blocked

    Hello Since I did the upgrade from win 10 last week I can't scan anymore. so I uninstall the HP driver full and tools until I reinstall them. But I do not see. The main problem I have is this. I use the start-> HP and run the program uninstaller. I g