Location of rules of custom error event text

Hello

I'm trying to locate an existing modules for Spanish. The text of rules has been translated by copying the EXEs/mid files and editing text, as described in the help files. However, there is a problem with the custom error text view. Our modules contains custom rules for error events:

Example:
error ("this is my custom error message") if
...


How to read the message above in Spanish? I tried to make a copy of the < modules > .xml file and name < modules > again. < local > .xml (and add a "XML: lang =" parameters regional <>' attribute of the file "). This doesn't seem to work. Should I do anything different? Is this a known issue? I use v10.1 OPA. Is this possible in the new version 10.2?

Thank you!

Full translation is supported in v10.2 OPA with the translation of documents, which includes the text of all error and the warning events defined in the documents of the rule. The .xml file is language-independent.

Tags: Oracle Applications

Similar Questions

  • Error rings using codes.txt and error do not allow entries parameter as rings custom error message?

    The ring of the error is very useful, especially with its parameterized inputs, you can specific with %s, %f and %d parameters.  I would do the same thing in my error codes fixed using the ring of the error so that I can locate them in several languages, but it seems that LabVIEW files text Project never error codes detect or accept parameter entries, you get a ring of the error, but no input parameter.  If you use the same string in a client error code, it gives the setting entry but then his hard-coded and you can not locate it.  What gives?

    Is there another way to configure the rings of error to use a project file for the error codes but still supports parameter entries?

    Thank you Esteban but I think you're confusing what I'm asking.  The ring of the error is for the treatment of custom error codes.  Built in UNITS in the project files error may not take parameters, while that of custom, those who can.  See my screenshot.

  • The bean code is not activate when-custom-point-event trigger

    I wrote a java bean to read card reader Omnikey.  It works - almost.  When-custom-point-event is not fired.  Get the key of the reader in the java console, but then follows an exception.  The exeption complains, I believe, m_handler null variable in dispatchMessage() call which is what should be pulled when-custom-point-event in the form. I'm missing something minor and that everything works.  See Oracle Forms java console ATR key followed then path exception at the bottom of this post.  I have to FBean.Enable_Event.  What would be the name of the event listener?   I got the kifani of this example code: https://community.oracle.com/thread/68004------ this example isn't mention or implement a listener.  I just need to return the key and place it in a named text field: test.atr.

    a time new form instance

    FBean.Register_Bean('TEST.) CARD_READER_BEAN_AREA', 1, 'CardReader.CardReaderWrapper');

    FBean.set_logging_mode('TEST.) CARD_READER_BEAN_AREA', 1, FBEAN. LOG_ALL);

    button with when button pressed

    fbean. Invoke('TEST.) CARD_READER_BEAN_AREA', 1, 'main');

    When-custom-point-event

    DECLARE
    eventName varchar2 (30): =: system.custom_item_event;
    eventValues ParamList;
    number of eventValueType;
    tempString varchar2 (100);
    BEGIN
    IF (eventName = "CARDINFO_EVENT") THEN
    eventValues: = get_parameter_list(:system.custom_item_event_parameters);
    get_parameter_attr (eventValues, 'CARDINFO_DATA', eventValueType tempString);
    END IF;

    - Then do something with tempString...
    -for example
    -message ("payload has been: ' |") tempString);
    : test. ATR: = tempString;
    END;

    Java Bean code...

    package, card reader;

    import java.util.List;

    Javax.smartcardio import. *;

    Import oracle.forms.ui.VBean;
    Import oracle.forms.properties.ID;
    Import oracle.forms.handler.IHandler;
    Import oracle.forms.ui.CustomEvent;

    SerializableAttribute public class CardReaderWrapper extends kifani {
    Property registered under the name of the custom event
    Call it what you want...
    public static String strOut = null; used in part of the code ATR

    public static final ID CARDINFO_EVENT = ID.registerProperty ("CARDINFO_EVENT");

    Property to set the name of the parameter that contains the payload
    the event - for example your data
    public static final ID CARDINFO_DATA = ID.registerProperty ("CARDINFO_DATA");

    A reference to the Forms Manager associated with this component.
    It is used to send custom form events
    private IHandler m_handler = null;

    /**
    * Method of the oracle.forms.ui.IView class and substitute of the kifani
    * base class.  This life cycle method is called one time what forms creates a
    the instance of the JavaBean.
    *
    < B > @param Manager < /b > a reference to the handler for the JavaBean class.
    */
    {} public void init (Manager IHandler)
    Manager = m_handler;
    Super.init (Handler);
    }

    /**
    * Function to dispatch an event and the data payload
    * Return to forms
    * In this case, we use the pre-defined event and the IDs payload
    *
    @param payload < b > < /b > to return to the event data.
    */
    Private Sub dispatchMessage (String payload) {}
    try {}
    The CustomEvent = new CustomEvent (m_handler, CARDINFO_EVENT);
    m_handler. SetProperty (CARDINFO_DATA, payload);
    super.dispatchCustomEvent (this);
    } catch (Exception e) {}
    e.printStackTrace ();
    }
    }


    the rest of your bean code follows
    and calls the dispatchMethod() method, which precedes
    to contact forms

    Public Shared Sub main (String [] args) {}

    CRW CardReaderWrapper = new CardReaderWrapper();
    Plant of TerminalFactory = TerminalFactory.getDefault ();

    CardTerminals cardTerminals = factory.terminals ();
    The list < CardTerminal > cardTerminalList;

    try {}

    cardTerminalList = cardTerminals.list ();

    for (CardTerminal cardTerminal: cardTerminalList) {}

    If (cardTerminal.isCardPresent ()) {}
    Card card;

    try {}

    map = cardTerminal.connect ("T = 0");

    card.beginExclusive ();
    } catch (CardException e) {}
    strOut = ("8"); This card but with card error
    System.out.println (strOut);
    crw.dispatchMessage (strOut);
    continue;
    }
    ATR atr = card.getATR ();

    Byte [] atrBytes = atr.getBytes ();
    System.out.println ("0" + javax.xml.bind.DatatypeConverter.printHexBinary (atrBytes));
    strOut = '0' + javax.xml.bind.DatatypeConverter.printHexBinary (atrBytes);
    card.endExclusive ();
    Card.Disconnect (true);

    crw.dispatchMessage (strOut);
    }

    }

    } catch (CardException e) {}
    System.out.println("7"); no card reader not connected? ») ;
    crw.dispatchMessage("7");

    }
    If (strOut == null) {}
    System.out.println("9");
    crw.dispatchMessage("9");
    }
    }


    }

    Key to Java Console ATR with the Exception

    0 3B0500026E05BA

    java.lang.IllegalArgumentException: null source

    to impossible. < init >(Unknown Source)

    to oracle.forms.ui.CustomEvent. < init >(Unknown Source)

    at CardReader.CardReaderWrapper.dispatchMessage (CardReaderWrapper.java:48)

    at CardReader.CardReaderWrapper.main (CardReaderWrapper.java:97)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke (unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke (unknown Source)

    at java.lang.reflect.Method.invoke (unknown Source)

    at oracle.forms.beans.MethodHelperPM.invokeMethod (unknown Source)

    at oracle.forms.beans.MethodPM.setProperty (unknown Source)

    at oracle.forms.ui.VBean.setBeanProperty (unknown Source)

    at oracle.forms.ui.VBean.setProperty (unknown Source)

    at oracle.forms.handler.ComponentItem.setCustomProperty (unknown Source)

    at oracle.forms.handler.ComponentItem.onUpdate (unknown Source)

    at oracle.forms.handler.JavaContainer.onUpdate (unknown Source)

    at oracle.forms.handler.UICommon.onUpdate (unknown Source)

    at oracle.forms.engine.Runform.onUpdateHandler (unknown Source)

    at oracle.forms.engine.Runform.processMessage (unknown Source)

    at oracle.forms.engine.Runform.processSet (unknown Source)

    at oracle.forms.engine.Runform.onMessageReal (unknown Source)

    at oracle.forms.engine.Runform.onMessage (unknown Source)

    at oracle.forms.engine.Runform.processEventEnd (unknown Source)

    at oracle.ewt.lwAWT.LWComponent.redispatchEvent (unknown Source)

    at oracle.ewt.lwAWT.LWComponent.processEvent (unknown Source)

    at java.awt.Component.dispatchEventImpl (unknown Source)

    at java.awt.Container.dispatchEventImpl (unknown Source)

    at java.awt.Component.dispatchEvent (unknown Source)

    at java.awt.LightweightDispatcher.retargetMouseEvent (unknown Source)

    at java.awt.LightweightDispatcher.processMouseEvent (unknown Source)

    at java.awt.LightweightDispatcher.dispatchEvent (unknown Source)

    at java.awt.Container.dispatchEventImpl (unknown Source)

    at java.awt.Window.dispatchEventImpl (unknown Source)

    at java.awt.Component.dispatchEvent (unknown Source)

    at java.awt.EventQueue.dispatchEventImpl (unknown Source)

    at java.awt.EventQueue.access$ 500 (unknown Source)

    in java.awt.EventQueue$ 3.run (unknown Source)

    in java.awt.EventQueue$ 3.run (unknown Source)

    at java.security.AccessController.doPrivileged (Native Method)

    in java.security.ProtectionDomain$ JavaSecurityAccessImpl.doIntersectionPrivilege (unknown Source)

    in java.security.ProtectionDomain$ JavaSecurityAccessImpl.doIntersectionPrivilege (unknown Source)

    in java.awt.EventQueue$ 4.run (unknown Source)

    in java.awt.EventQueue$ 4.run (unknown Source)

    at java.security.AccessController.doPrivileged (Native Method)

    in java.security.ProtectionDomain$ JavaSecurityAccessImpl.doIntersectionPrivilege (unknown Source)

    at java.awt.EventQueue.dispatchEvent (unknown Source)

    at java.awt.EventDispatchThread.pumpOneEventForFilters (unknown Source)

    at java.awt.EventDispatchThread.pumpEventsForFilter (unknown Source)

    at java.awt.EventDispatchThread.pumpEventsForHierarchy (unknown Source)

    at java.awt.EventDispatchThread.pumpEvents (unknown Source)

    at java.awt.EventDispatchThread.pumpEvents (unknown Source)

    at java.awt.EventDispatchThread.run (unknown Source)

    Well... I solved this problem by making static m_handler.  Now I have another question.  I post another question...

  • Errors in text or Web Twitter sites

    Hello

    I receive errors of text on the Web page of Twitter.com and sees only a few bars / broken characters e.g. here - http://i39.tinypic.com/34t4yma.jpg

    However when starting in safe mode I do not get errors on the site of Twitter.com e.g. here - http://i41.tinypic.com/9ibl1s.jpg

    It seems that the only site that has this problem as well as a few other similar sites, has been like this for a few months.

    Other Solutions, I tried:

    -Created the new profile / result = same error

    -People with disabilities all extensions/add-ons custom = same error

    -Disabled the Antivirus software? / result = same error

    -Start in SafeMode fixed = /result

    How to eliminate this problem without starting in safe mode?

    Twitter.com also works very well in other browsers.

    Thank you

    Hello

    Safe mode also disables hardware acceleration in addition to the installed Extensions, themes (appearance). The manual hardware acceleration setting is in Tools (Alt + T) > Options > Advanced > general > use hardware acceleration when available. You may need to reboot after disabling/enabling the option. Options > Advanced

    Options

    Hardware acceleration.

  • Executable cannot find the custom error code file

    I'm building a LabVIEW 2013 application on a Windows 7 computer and deploying it to a Windows XP computer. My application has a custom error code file, stored in -- errors.txt, but my executable on the Windows XP machine can't find the custom error file and returns only the string of appeal for all errors that occur.

    When you use is not an installer, I tried to copy the error code at all locations listed here: http://digital.ni.com/public.nsf/allkb/6077DBEDA4F9FEE3862571F600449501 but the application still does not load the custom errors. I have the box checked to "Error Codes customized Include" in the construction specifications.

    When an executable of construction and the development of Windows 7 to XP, where do I put the custom error code file? It is found in Program Files (x 86), but find not because it's XP?

    It's been a few months that I posted this question and I do not know if someone cares about this track, but the solution I found was to put the custom in error code file \National Instruments\Shared\Errors\English\

    There are other places that the runtime will look for the custom error codes (I tried all the ones listed above), if the same error codes exist in 2 places the error popup will appear two error messages. Error default 1, it looks like:

    LabVIEW: An input parameter is not valid. For example if the input is a path, the path can contain a character not allowed by the operating system such as? or @.
    =========================
    NOR-488: Command requires GPIB controller charge controller.

    So if you have a custom error code file and it is available in 2 places that LabVIEW RTE check error codes, you will get the same message before and after the =.

    List the error as "still included" file when building the executable or by checking the box to include files in error did not tour, obviously. Unless you create a Setup program to distribute the application, the error code file must be moved manually. Shared\Errors file works best for me because it's a place that makes sense.

    Also, don't worry - it doesn't me taken 5 months to understand this point, I do not update all my loyal followers (ha) with a solution.

  • Error event 4

    I'm getting this on multiple machines, I checked to see if there are the same name of server accounts, but there isn't. Any idea?

    Journal: System
    Type: error
    Event: 4
    Alarm hour: 2016-10-03 12:39:03Z
    Event time: 17:38:02 UTC 3 October 2016
    Source: Microsoft-Windows-Security-Kerberos
    Category: no
    User name: n/a
    Computer: vcbepo1.corp.core.bank
    Description: The Kerberos client received a KRB_AP_ERR_MODIFIED error from the server of wks347$. The target name was cifs/WKS395, which indicates that the target server could not decrypt the ticket provided by the customer. This can occur when target server principal name (SPN) is registered on one different account that the target service uses. Ensure that the target THAT SPN is registered only on the account used by the server. This error can also occur if the password service target account is different from what is set up on the Kerberos key for this service target Distribution Center. Make sure that the service on the server and the KDC are configured to use the same password. If the server name is not complete, and the target domain is different from the customer area), check if it is the same name of server accounts in these two areas, or use the fully qualified name to identify the server.

    Hello

    To better assist you, please see this link about Kerberos Client Configuration Event ID 4.

    Let us know how it goes.

    Kind regards.

  • Custom internal events?

    Hello

    I create custom internal events and I want to use in the program generator for the update CRM program.

    I have some doubts

    My first doubt is

    1. I'm not able to use the default event in the update CRM programs. Get there or I'm facing this problem only?

    2 - when I create custom event for partner campaign, it only shows "last SFDC campaign ID" card with 'Campaign ID', but if I create external call with default internal event it displays "Campaign ID" field card with "campaign ID". Why this is happening?

    3 - Suppose I created the custom event that is associated with campaign manager and mapped 'campaign ID' to 'last SFDC ID campaign. "

    one - and now I have three active campaigns, my all three campaigns are driver program that helps me associate campaign.

    b he has even contacts that I added to the campaign.

    c now the thing is if someone has submitted the form through Country1, the ID of the last campaign SFDC will be Country1, and if the same person submits the form from 2 then the last campaign SFDC ID will be 2.

    d I want to associate lead even with all three campaigns automatically.

    e If the id of the campaign takes the value of the ID of the last campaign SFDC then how will I be able to associate led to three different campaigns at the same time?

    I would like to know if someone does not understand my concern.

    Any help will be appreciated.

    Thanks in advance.

    Nabila,

    1. I'm not able to use the default event in the update CRM programs. Get there or I'm facing this problem only?

    Right - program Builder uses "Custom Events" default "internal events" just happen and are not triggered by PB

    2 - when I create custom event for partner campaign, it only shows "last SFDC campaign ID" card with 'Campaign ID', but if I create external call with default internal event it displays "Campaign ID" field card with "campaign ID". Why this is happening?

    Custom events using level contact (or perspective, business, card data) fields and not the system as internal events.

    3 - Suppose I created the custom event that is associated with campaign manager and mapped 'campaign ID' to 'last SFDC ID campaign. "

    one - and now I have three active campaigns, my all three campaigns are driver program that helps me associate campaign.

    b he has even contacts that I added to the campaign.

    c now the thing is if someone has submitted the form through Country1, the ID of the last campaign SFDC will be Country1, and if the same person submits the form from 2 then the last campaign SFDC ID will be 2.

    d I want to associate lead even with all three campaigns automatically.

    e If the id of the campaign takes the value of the ID of the last campaign SFDC then how will I be able to associate led to three different campaigns at the same time?

    Some ways of inheritance to do this, use the 'rules of campaign response' to trigger the internal events for the campaign response.  You will need to maintain a list of Member default campaign status values and define the rules first. (page 31 of the administration_guide_-_Campaigns_v1 [1].3_Oct_2009.pdf)  I don't know if he has done to Topliners - you can always ask MOM (the site uses dynamic content Eloqua of rules so actually, you have to fill out a form to trigger an email to see content - sorry.)

  • Creating a custom string of text

    I have 4 text boxes. They are events, city, Email and chain

    If Las Vegas is entered in the City text box, I want the text box to a string to read "City: Las Vegas.

    If BK is entered in the event text box and Las Vegas entered the City text box, I want the text box to a string to read "Event: BK City: Las Vegas.

    If [email protected] entered in the Email text box, and there is no data in the event, or the city of text boxes, I want the text box string read ' Email: [email protected] .

    I can enter data into the string text box, but if one of the 3 text boxes is empty my text string box reads something like that ' event: Email: . " [email protected] City: '

    If one of the event, city, and/or Email text boxes is empty, I don't want the text associated with the data will appear in the Srtring text box.

    I'm a novice at javascript. Any help is very appreciated.

    Ok. You must instead use the mouse upward, and could be replaced by the script:

    Script mouse upward to a button

    (function () {}

    Get the field values as strings

    sEvent var = this.getField("Event").valueAsString;

    var sCity = this.getField("City").valueAsString;

    var sEmail = this.getField("Email").valueAsString;

    Get a reference to the output field

    var fOutput = this.getField ("String");

    var sOutput = "", aOutput = [];  Initialize the production chain and table

    Set the output array

    If (sEvent) {}

    aOutput.push ("Event:" + sEvent);

    }

    If (sCity) {}

    aOutput.push ("City:" + sCity);

    }

    If (sEmail) {}

    aOutput.push ("Email:" + sEmail);

    }

    Join the elements of the array into a string, separated by a space

    If (aOutput.length > 0) {}

    sOutput = aOutput.join("");

    }

    Set the value of the field on the output string

    fOutput.value = sOutput;

    })();

    If you want it to happen automatically, you can use the custom calculation script next to the field "String".

    Custom string field calculation script

    (function () {}

    Get the field values as strings

    sEvent var = this.getField("Event").valueAsString;

    var sCity = this.getField("City").valueAsString;

    var sEmail = this.getField("Email").valueAsString;

    var sOutput = "", aOutput = [];  Initialize the production chain and table

    Set the output array

    If (sEvent) {}

    aOutput.push ("Event:" + sEvent);

    }

    If (sCity) {}

    aOutput.push ("City:" + sCity);

    }

    If (sEmail) {}

    aOutput.push ("Email:" + sEmail);

    }

    Join the elements of the array into a string, separated by a space

    If (aOutput.length > 0) {}

    sOutput = aOutput.join("");

    }

    Set the value of this field to the output string

    Event.Value = sOutput;

    })();

  • Error: event. ReconfigurationFailedEvent.summary Windows Server 2003

    Hi all

    My customer has a Windows Server 2003 R2 Standard Edition, which failed to P2V conversion around 97-98%.

    The error on the GUI is: error: event. ReconfigurationFailedEvent.summary

    Then, I found a discussion on communities vmware (link below), and this person had the same problem as mine. So, I tried a lot of changes on my server but nothing works.

    Failed: Could not find the system volume, reconfiguration is not possible.

    I have attached my exported logs.

    Thanks in advance for your help

    Do not delete the boot.ini file! It is your Windows startup configuration.

    You should remove \boot folder or as an alternative just rename it to \boot.bak for example.

    HTH

  • ActionScript 3 + PHP: TypeError: Error #2007: text parameter must be non-null.

    HI - still new to flash as3 and php.

    This is a page of contact form - user highlights information - I'm to receive their information to an e-mail address

    so the get variables sent from php to the .swf file.

    I got these errors and not knowing how to fix them.

    any help would be appreciated. Thank you in advance, really.

    Here are the errors in flash - as3 - and configuration of php code code.

    errors:

    ActionScript 3 + PHP: TypeError: Error #2007: text parameter must be non-null:

    to flash. text::TextField / set text()

    at kwangjaekim_fla::wholeform_16/completeHandler()

    at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()

    at flash.events::EventDispatcher/dispatchEvent()

    at flash.net::URLLoader/flash.net:URLLoader::onComplete()

    My as3 code is the following:

    construct the name of the variable for the loader Variables URLS

    var variables: URLVariables = new URLVariables();

    Build the varSend variable

    var varSend:URLRequest = new URLRequest ("contact_parse.php");

    varSend.method = URLRequestMethod.POST;

    variable = varSend.data;

    Build the varLoader variable

    var varLoader:URLLoader = new URLLoader;

    varLoader.dataFormat = pouvez;

    varLoader.addEventListener (Event.COMPLETE, completeHandler);

    Manager for the realization of PHP script and the return of the status

    function completeHandler(event:Event):void {}

    value is cleared to «»

    name_txt. Text = "";

    contact_txt. Text = "";

    msg_txt. Text = "";

    Load the PHP here answer

    status_txt. Text = event.target.data.return_msg;

    }

    Add the submit button click event listener

    submit_btn.addEventListener (MouseEvent.CLICK, ValidateAndSend);

    function ValidateAndSend

    function ValidateAndSend(event:MouseEvent):void {}

    field validation

    {if(!name_txt.) Length)}

    status_txt. Text = "Please enter your name";

    } else {if(!contact_txt.length)

    status_txt. Text = "Please enter your Contact details";

    } else {if(!msg_txt.length)

    status_txt. Text = "Please enter your Message";

    } else {}

    loan form for sending variables

    variables.userName = name_txt.text;

    variables.userContact = contact_txt.text;

    variables.userMsg = msg_txt.text;

    Send data to PHP now

    varLoader.load (varSend);

    submit_btn.addEventListener (MouseEvent.CLICK, function() {MovieClip (parent) .gotoAndPlay (151)});

    } / / Close another condition to handle errors

    } / / Close accept and send service

    my php code is:

    <? PHP

    Create local variables of PHP from the info the user given in the form of Flash

    $senderName = $_POST ['userName'];

    $senderEmail = $_POST ['userContact'];

    $senderMessage = $_POST ['userMsg"];

    Strip slashes on local variables

    $senderName = stripslashes ($senderName);

    $senderContact = stripslashes ($senderContact);

    $senderMessage = stripslashes ($senderMessage);

    //!!!!!!!!!!!!!!!!!!!!!!!!!     change this to my email address!

    $to = "put iny me email address ';

    Put the Email address of the sender here

    $from = "$senderContact";

    $subject = "your site contact";

    Start the HTML e-mail Message

    $message = < < < EOF

    < html >

    < body bgcolor = "#FFFFFF" >

    < b > name < /b > = $senderName < br / > < br / >

    < b > Contact < /b > = < a href = "mailto:$senderContact" > $senderEmail < /a > < br / > < br / >

    < b > < /b > Message = $senderMessage < br / >

    < / body >

    < / html >

    EXPRESSIONS OF FOLKLORE;

    end of message

    $headers = "from: $from\r\n;

    $headers. = "content-type: text/html\r\n";

    $to = "$to";

    mail ($ $subject, $message, $headers);

    Exit();

    ? >

    Thank you once again

    Jay

    As I said, the PHP is not the value you are trying to assign to the text property of the textfield status_txt.  If you try to assign an undefined value.  Somewhere in your PHP, you do an echo of this value...

    echo "return_msg is whatever the message ';.

  • Custom itemRender event shipping

    Hi all. Have a problem with the custom itemRender event.

    First of all, I created TileList:

    < mx:TileList height = "544" width = "575" dataProvider = "{favourite}" id = "FavoriteTileList".
    itemDoubleClick = "onFavoritesClick (event)" x "5" = "
    doubleClickEnabled = "true".
    itemRenderer = "FavoriteItemRender" >
    < / mx:TileList >

    Then, I created new itemRender:

    package
    {

    import flash.events.MouseEvent;

    Import mx.containers.HBox;
    Import mx.containers.VBox;
    Import mx.controls.Image;
    Import mx.controls.Label;
    Import mx.controls.LinkButton;
    Import mx.controls.Spacer;
    Import mx.controls.listClasses.IListItemRenderer;
    Import mx.core.UIComponent;
    Mx.events import. *;

    SerializableAttribute public class FavoriteItemRender extends UIComponent implements IListItemRenderer
    {

    Internal variable for the value of the property.
    private var _data:Object;

    private var hBox:HBox;
    private var vBox:VBox;
    private var image: Image;
    private var textLabel:Label;
    private var deleteFavorite:LinkButton;
    private var hSpacer:Spacer;
    private var vSpacer:Spacer;

    [Bindable] public var myData:DataModel = new DataModel();
    Do the data property bindable.
    [Bindable ("dataChange")]

    public void FavoriteItemRender()
    {
    Super();
    this.explicitHeight = 150;
    this.explicitWidth = 150;
    }

    Define the getter method.
    public function get data (): object {}
    return _data;
    }

    Define the Set accessor method and dispatches an event when the property
    changes to support data binding.
    public function set {data(value:Object):void}
    _data = value;

    myData = new DataModel();
    myData.source = value.source;
    myData.text = value.text;
    myData.tag = value.tag;
    myData.carNumber = value.car_id;

    invalidateProperties();
    dispatchEvent (new FlexEvent (FlexEvent.DATA_CHANGE));
    }

    override protected function createChildren() (): void
    {
    super.createChildren ();

    this.explicitHeight = 150;
    this.explicitWidth = 150;

    vBox = new VBox();
    vBox.explicitHeight = 150;
    vBox.percentWidth = 100;
    vBox.setStyle ("horizontalAlign", "center");
    vBox.setStyle ("verticalAlign", "top");
    addChild (vBox);

    image = new Image();
    image.explicitHeight = 100;
    image.explicitWidth = 120;
    vBox.addChild (image);

    vSpacer = new Spacer();
    vSpacer.explicitHeight = 10;
    vBox.horizontalScrollPolicy = 'off ';
    vBox.verticalScrollPolicy = 'off ';
    vBox.addChild (vSpacer);

    hBox = new HBox();
    hBox.setStyle ("horizontalAlign", "center");
    hBox.explicitHeight = 30;
    hBox.percentWidth = 100;
    hBox.horizontalScrollPolicy = 'off ';
    hBox.verticalScrollPolicy = 'off ';
    vBox.addChild (hBox);

    hSpacer = new Spacer();
    hSpacer.explicitWidth = 10;

    textLabel = new Sun;

    deleteFavorite = new LinkButton();
    deleteFavorite.label = 'X '.
    deleteFavorite.setStyle("color","#06ADE4");
    deleteFavorite.addEventListener (MouseEvent.CLICK, handleDeleteClick);

    hBox.addChild (textLabel);
    hBox.addChild (deleteFavorite);
    hBox.addChild (hSpacer);


    }

    override protected function commitProperties (): void
    {
    super.commitProperties ();



    textLabel.text = myData.text;
    image.source = myData.source;
    }

    override the updateDisplayList(unscaledWidth:Number,_unscaledHeight:Number):void function
    {
    super.updateDisplayList (unscaledWidth, unscaledHeight);

    vBox.move (0,0);
    vBox.setActualSize ((unscaledWidth-4), unscaledHeight);
    }

    private function handleDeleteClick (event: MouseEvent): void
    {
    dispatchEvent (new DeleteFavoriteEvent (myData.carNumber));
    }

    }
    }

    As you can see I have manage, click link button to send my own DeleteFavoriteEvent event. As I first thought this event to malleable in the mxml file with TileList parent will be sufficiently defined in the init section:

    addEventListener (DeleteFavoriteEvent.DELETE_FAVORITE, deleteFavorite);

    But it 'doesn't work. As at the time I find I should addEventListener to object instance that will send, for as far as I understand to listen to this event, I should write something like this:

    (Instance FavoriteItemRender) .addEventListener (DeleteFavoriteEvent.DELETE_FAVORITE, deleteFavorite);

    in the mxml with TileLIst definition file? But I have no instance of it, because to help

    < mx:TileList height = "544" width = "575" dataProvider = "{favourite}" id = "FavoriteTileList".
    itemRenderer = "FavoriteItemRender" >

    Give me counsel how to listen itemRender parent mxml file event where the final TileList?

    private function handleDeleteClick (event: MouseEvent): void

    {
    dispatchEvent (new DeleteFavoriteEvent (myData.carNumber));
    }

    As you can see I have manage, click link button to send my own DeleteFavoriteEvent event. As I first thought this event to malleable in the mxml file with TileList parent will be sufficiently defined in the init section:

    addEventListener (DeleteFavoriteEvent.DELETE_FAVORITE, deleteFavorite);

    But it 'doesn't work. As at the time I find I should addEventListener to object instance that will send, for as far as I understand to listen to this event, I should write something like this:

    (Instance FavoriteItemRender) .addEventListener (DeleteFavoriteEvent.DELETE_FAVOR ITE, deleteFavorite);

    in the mxml with TileLIst definition file? But I have no instance of it, because to help


    itemRenderer = "FavoriteItemRender" >

    the

    Give me counsel how to listen itemRender parent mxml file event where the final TileList?

    I guess the problem lies in what parateters you pass to your constructor DeleteFavoriteEvent. In fact, it is a parameter, you do not pass: bubbles. It is default to false, which means that your event not be the propagation phase. This is why he does not move to the top of the display list and TileList of your parents does not. So just pass 'true' as second parameter to the constructor of the event and see if that helps:

    private function handleDeleteClick (event: MouseEvent): void
    {
    dispatchEvent (new DeleteFavoriteEvent (myData.carNumber, true));
    }

    Now I don't know if it's appropriate way to atchieve your goal (whatever it is). In my opinion, the stuffing out of your custom to the display list events is not applausable. But that's just my opinion after all.

  • Custom error page

    I create a page error customized for my site avoid the dreaded 'big box gray"CF by default.

    I want to send an email to both myself and the other developer of web that includes the name of the page and the details of the error, the error page.

    I use this in application.cfm:

    And in error.cfm, I have a < intrusion via cfmail > tag.  However, none of the ColdFusion on the error page runs.  What is the right method to accomplish what I want to do the error page?

    According to the CF docs, it depends on the type of error thrown as what you can do in it

    Validation

    Cannot use the CFML tags.

    Can use HTML tags.

    Can use variables Error.InvalidFields, Error.validationHeader, and Error.validationFooter placing them with number signs (#).

    Cannot use all the other CFML variables.

    Request

    Cannot use the CFML tags.

    Can use HTML tags.

    Can use CFML error variables up, such as Error.Diagnostics, placing them with signs.

    Cannot use other CFML variables.

    Exception

    Can use the complete CFML syntax, including the labels, the functions and variables.

    Can use the standard CFML error nine variables and cfcatch. Use the error or cferror as prefix for the two types of variables.

    Can use other variables defined by the application of CFML.

    To view any CFML variable, use the cfoutput tag.

    Your other option is to use an application.cfc with the cf docs below onError function example

    (Arguments.EventName IS onApplicationEnd) >

    An unexpected error has occurred.

    Please provide the following information to technical support:

    Error event: #EventName #.

    Error details:

    It can easily be replaced to send an email after writing in the newspaper and then by displaying an inclusion of your custom error page.

    I'd do it for you, but I ran out of time. If I have the chance later I put it together for you.

    I hope this helps.

    Richard

  • Custom error Page how AAU take the return URL

    Hi all

    I create a custom error page and I was wondering is there a way to take
    the URL to which the error.

    Example:

    While watching http://my_site.com/sectionA/
    you follow the link to http://my_site.com/sectionB/
    Unfortunately http://my_site.com/sectionB/ does not exist
    and you are redirected to my page http://my_site.com/errorPage/ error

    Is it possible when I'm on http://my_site.com/errorPage/ to know that
    It was who raises the error http://my_site.com/sectionB/

    Thanks in advance,
    Fr. Ilian Iliev

    Is - this site studio?

    Go to the url that was bad, redirected to your section of custom errors, and then in the url, add? IsJava = 1, and then press ENTER. This returns the data that is located behind the page.

    One of the variables I see is called originalSiteRelativeUrl and it seems to contain information you're looking for.

    Give that a try and let us know!

  • JavaScript Application error: TypeError: text is not defined

    Every time I open Firefox I get this Application JavaScript error: TypeError: text is not defined.
    For now, I have my disabled add ons and restarted with the same result.
    Re installed my JavaScript, with the same result.
    When I went back to check my Add ons, all my plug-ins have disappeared.
    Said that my Javascript has been disabled due to version problems. It is after that I had to uninstall all versions of Java and had reinstalled Java from your difficulty.
    I like my Fire Fox. Everyone says go to Chrome and I don't want Chrome, I want my Fire Fox works correctly. Is not adversely make my browsing, but never had this problem and am having a problem with the patches that are given.
    Thanks for any help in advance.

    This problem may be caused by an extension that is not working properly.

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox/tools > Modules > appearance/themes).

    If this does not work in mode without failure, then disable all extensions and then try to find out who is the cause by allowing both the problem reappears.

    • Choose "Disable all add-ons" on issues to troubleshoot Firefox in Safe Mode to set window to disable all extensions.
    • Close and restart Firefox after each change through "file > exit ' (Mac: ' Firefox > leave";) Linux: "file > exit ')
  • Range of custom error codes and error rings/Labview 2013 SP1

    Hello

    for the error message personalized codes there are these assigned ranges:
    -8999-by-8000
    5000 to 9999
    500 000 to 599 999

    If I create an "error ring" in Labview 2013 SP1, then I am able to choose predefined error codes or I can put in some custom error codes. Curious as I was I chose 'Labview' in the menu drop down and looked up some error codes. I noticed that there are some affected error codes that are of the order of custom error codes (see attachment) of 538170 to 538193.

    Is this a bug or feature? What is the impact if I defined error codes customized with identical, already existing error codes?

    Kind regards

    Thomas

    Thomas,

    It seems you have installed ModBus library. As it is an additional package, picking "custom error codes" is not bad even if the library fits in LV...

    Norbert

Maybe you are looking for