Train model process - How to reset its max path

Hi everyone,
Could someone please point me into any document or give me any advice on how I can clear the max path of the process train. The process train that I created is called every time by the registration user who enters many applications. Each application creates a process train with the 8 pages they need to go through. The first time it works perfectly, but the second time, because they finished the first process, the component still thinks that they already went through all the pages and allows them to click the last page. I noticed the class is based on a session bean so I suppose somewhere I need to call clearMaxPath() from class ProcessMenuModel. I have been trying to create a method in the main class but it seems I cannot access this method. Any ideas would be appreciated. The class where I was trying to add this method is below:
package esolve.userinterface.menu;
import java.beans.IntrospectionException;
import java.io.Serializable;
import oracle.adf.view.faces.model.MenuModel;
import oracle.adf.view.faces.model.ProcessMenuModel;
public class ProcessTrainModelAdapter implements Serializable {
private String _propertyName = null;
private Object _instance = null;
private transient MenuModel _model = null;
private Object _maxPathKey = null;
public MenuModel getModel() throws IntrospectionException {
if (_model == null)
_model = new ProcessMenuModel(getInstance(),
getViewIdProperty(),
getMaxPathKey());
return _model;
public String getViewIdProperty() {
return _propertyName;
* Sets the property to use to get at view id
* @param propertyName
public void setViewIdProperty(String propertyName) {
_propertyName = propertyName;
_model = null;
public Object getInstance() {
return _instance;
* Sets the treeModel
* @param instance must be something that can be converted into a TreeModel
public void setInstance(Object instance) {
_instance = instance;
_model = null;
public Object getMaxPathKey()
return _maxPathKey;
public void setMaxPathKey(Object maxPathKey)
_maxPathKey = maxPathKey;
And from the faces config this is the session bean
<!--Step 4. create the train menu model -->
<managed-bean>
<managed-bean-name>createTrainMenuModel</managed-bean-name>
<managed-bean-class>esolve.userinterface.menu.ProcessTrainModelAdapter</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
<managed-property>
<property-name>maxPathKey</property-name>
<value>8</value>
</managed-property>
<managed-property>
<property-name>viewIdProperty</property-name>
<value>viewId</value>
</managed-property>
<managed-property>
<property-name>instance</property-name>
<value>#{createTrainNodes}</value>
</managed-property>
</managed-bean>

Hi Dennis,
Please see example code. In here it works well because of the change of data source. If you use a .json file rather than json object as data source ( I don't know how to do it in JSBin), bugs appear as I mentioned above.
Here's a simple test case using .json file as data source, hope it helps to make me understood:
Step1. select "item 0" , and check "mcb0_0" & "mcb0_1".
Step2. select "item 1". See what happens.
Result:
1."mcb1_0" & "mcb1_1" are automatically selected.------- WRONG.
2. The value of MultiComboBox is mcb0_0mcb0_1.--------WRONG.

Similar Messages

  • FLIR camera Attributes incorrect - how to reset in MAX

    Hi,
    This concerns a system which uses a FLIR A series GigE camera which has been running for some years. The camera failed and a new one was acquired, however it seems FLIR have changed some of the names of the cameras GeniCam attributes in the new firmware, so our Labview software does not work with the new camera.We installed and older version of the software but the attribute names that MAX is using for the camera are still the ones from the new firmware version so MAX gives errors when trying to connect
    For example, in the old firmware there was an attribute : CameraAttribute::ImageSizeControl PixelFormat
    in the new firmware it appears to be CameraAttribute::ImageFormatControl PixelFormat
    Since the camera now has the old firmware it is expecting ...ImageSizeControl.., but in the icd it is  ..ImageFormatControl...
    Where does MAX get this information from? How do I reset this in MAX? I have tried deleting the cameras .icd file but it makes no difference,
    Thanks,
    Mike

    Try this if it helps
    http://digital.ni.com/public.nsf/allkb/2C7480E8569​87FFF862573AE005AB0D9
    Thanks
    uday,
    Please Mark the solution as accepted if your problem is solved and help author by clicking on kudoes
    Certified LabVIEW Associate Developer (CLAD) Using LV13

  • How to go around max path lenght in Solaris

    Hi, I have really special question. I have been searching internet for answers, but nothnig satisfy my needs.
    I found some basic info in http://forums.sun.com/thread.jspa?threadID=5357258
    I need to store realy huge amount of files and i have been searchnig for suitable FS. I have found ZFS wich is ideal for my needs. My problem is, that file path is limited to 1024 chars. Please don't say, that is long enough, i need more. This limitation is "guaranteed limit for the length of a path that system calls will deal with" so is it possible to raise this number or somehow to go around it?? I wrote test programs in Java nad C++ and both stops creating dirs when file path was about 1024.
    For example in Windows is path limit 260 chars, but it is only backward compatibility, so using Win API it is possible to have path length about 32 000. Exists something similar in solaris?
    And next question is about ZFS. It is better to have huge amount of files in dir tree or all files in one dir (if it is not limited like file path)? For human is better dirs, i know, but my files wont be human-browsable.
    dir tree:        in one dir:
    /0/0.ext         /00.ext
    /0/0/0.ext       /000.ext
    /0/0/0/0.ext     /0000.ext
    /0/0/0/1.ext     /0001.extwich type of storage has better efficiency in ZFS?
    Thanks

    I have made some tests and here are results:
    OS: OpenSolaris 2009.06 (console mode, not Gnome)
    FS: ZFS
    CPU: Intel Pentium 4
    RAM: 1 GB (free 500 MB before start)
    Test 1 - ZFS
    Files: about 220,000 (system) + 12,356,630 (generated and tested files)
    File size: 1024 B
    Generation speed: about 1200 files per second
    Deleting speed: 10 hours
    +-----+---------+--------+--------+-------------+
    |found|  files  |  time  |  avrg  | readed data |
    +-----+---------+--------+--------+-------------+
    | yes |   1,024 | 45 sec |  44 ms |       1 MiB |
    | yes |   1,024 | 37 sec |  36 ms |       1 MiB |
    | yes |   1,024 | 50 sec |  49 ms |       1 MiB |
    | yes |   1,024 | 42 sec |  41 ms |       1 MiB |
    | yes |   1,024 | 36 sec |  35 ms |       1 MiB |
    | yes |   1,024 | 48 sec |  47 ms |       1 MiB |
    | yes |   1,024 | 40 sec |  39 ms |       1 MiB |
    | yes |   1,024 | 36 sec |  35 ms |       1 MiB |
    | yes |   1,024 | 51 sec |  50 ms |       1 MiB |
    | yes |   1,024 | 43 sec |  42 ms |       1 MiB |
    | yes |   1,024 | 47 sec |  46 ms |       1 MiB |
    | yes |   1,024 | 48 sec |  46 ms |       1 MiB |
    | yes |   1,024 | 42 sec |  41 ms |       1 MiB |
    | yes |   1,024 | 47 sec |  46 ms |       1 MiB |
    | yes |   1,024 | 42 sec |  41 ms |       1 MiB |
    | yes |   1,024 | 45 sec |  44 ms |       1 MiB |
    | yes |   1,024 | 43 sec |  42 ms |       1 MiB |
    | yes |   1,024 | 37 sec |  37 ms |       1 MiB |
    | yes |   1,024 | 49 sec |  48 ms |       1 MiB |
    | yes |   1,024 | 46 sec |  44 ms |       1 MiB |
    +-----+---------+--------+--------+-------------+
    Test 2 - MySQL
    Records: 16,777,214
    Record data size: 1024 B
    Size of table: 16.6 GiB
    Generation speed: about 700 files per second
    Deleting speed: 30 seconds
    +-----+---------+--------+--------+-------------+
    |found| entries |  time  |  avrg  | readed data |
    +-----+---------+--------+--------+-------------+
    | yes |   1,024 |  1 min |  66 ms |       1 MiB |
    | yes |   1,024 | 41 sec |  40 ms |       1 MiB |
    | yes |   1,024 | 41 sec |  40 ms |       1 MiB |
    | yes |   1,024 | 43 sec |  42 ms |       1 MiB |
    | yes |   1,024 | 41 sec |  40 ms |       1 MiB |
    | yes |   1,024 | 41 sec |  40 ms |       1 MiB |
    | yes |   1,024 | 40 sec |  39 ms |       1 MiB |
    | yes |   1,024 | 41 sec |  40 ms |       1 MiB |
    | yes |   1,024 | 40 sec |  39 ms |       1 MiB |
    | yes |   1,024 | 41 sec |  40 ms |       1 MiB |
    | yes |   1,024 | 40 sec |  39 ms |       1 MiB |
    | yes |   1,024 | 40 sec |  39 ms |       1 MiB |
    | yes |   1,024 | 40 sec |  39 ms |       1 MiB |
    | yes |   1,024 | 40 sec |  39 ms |       1 MiB |
    | yes |   1,024 | 41 sec |  40 ms |       1 MiB |
    | yes |   1,024 | 40 sec |  40 ms |       1 MiB |
    | yes |   1,024 | 40 sec |  39 ms |       1 MiB |
    | yes |   1,024 | 40 sec |  39 ms |       1 MiB |
    | yes |   1,024 | 40 sec |  39 ms |       1 MiB |
    | yes |   1,024 | 39 sec |  38 ms |       1 MiB |
    +-----+---------+--------+--------+-------------+So both ways are very similar, but MySQL was little faster and has more entries. My test computer is very bad, so it is hard to say wich way will be faster on some server with more RAM, fasters discs and CPU. But you were right, because MySQL was faster than FS. So maybe i will use database insteda of FS, because there is no limit and i can save som other info wich is in file's data now. Thanks that you compel me to try it.

  • How to create process train model in jheadstart

    Hello
    im trying to create a process train model through jheadstart but i can't
    please if there is any idea about this help me

    Hello,
    In JHeadstart you can create a wizard that contains a process train model. The JHeadstart Developers Guide that comes with your download of JHeadstart contains the documentation you need to create such a wizard.
    Hope this helps,
    Evert-Jan de Bruin

  • I have the ipad 1, ios 5.1 is its max, and garage band requires ios 7.0, how do i buy garage band version 1.3, its the only one that will work, apple is so hard to get a hold of on these kind of things.

    I have the ipad 1, Ios 5.1 is its max, and garage band requires ios 7.0, how do i buy garage band version 1.3, its the only one that will work, apple is so hard to get a hold of on these kind of things.

    Unfortunately the answer is still no.

  • How to increas the max user process number in Solaris 11?

    Hey
    Could anyone told me how to increas the max user process number in Solaris 11? I tried below as described in https://blogs.oracle.com/hasham/entry/solaris_10_increasing_number_of , but it cannot work.
    set pidmax=60000
    set maxusers = 4096
    set maxuprc = 50000
    set max_nprocs = 50000
    Thanks!
    Edited by: 966272 on Oct 18, 2012 7:38 AM

    Perhaps you should work your original forum post:
    Oracle 11g installation fail on Solaris 11 64bit - ORA-00443
    through to a resolution before you complicate things that likely don't apply.
    You make an assumption in that other post about exceeding various maximums. That may be true or it may not be true. Since the installation of a database program seems to be your actual expectation, go work that forum thread instead.

  • Having variations of same business process, How to model?

    Customer has several variations of the same business process. How to model them in Solution manager's project implementation tools? I actually created this same question in 'Business process expert' forum, so please read the whole story there and earn your points there.
    Having variations of same business process, How to model?
    Best regards,
    Kimmo

    Hi Kimmo,
    I wouldn't use process steps to refine processes. This is incompatible to SAP implementation content coming from BPR (Business Process Repository). But a good idea would be to copy the main business process e.g. "Sales order processing" into two new processes on the same level, e.g. "Sales order processing by manual input" (variation1) or "Sales order processing by incoming interface" (variation2). Then you can use the Compare Button on the variations to see if any changes have been on the main business process and copy them to the variations. This minimizes the effort to keep track of changes after creating the variations. When you run transaction SA_PROJECT_UPGRADE on that project these changes even get flagged. Mostly this function is used to upgrade against BPR or a template project but it works also for copies inside a project e.g. to model variations.
    Regards
    Andreas

  • How to reset nokia e7-00 so its back to original??...

    does anyone know how to reset a nokia e7-00 back to its original state so all data, pics, messages, videos etc tec is all deleted??? 
    End result i want my phone to start from fresh - as if iv just bought it from the shop.  
    nokia e7-00 is my first ever nokia phone
    Solved!
    Go to Solution.

    Restore Original settings
    If you want to have it "super clean", use hard reset *#7370# , otherwise the above link.
    Nokia 808 again (delight Belle), Nokia E7 and X7 ( again, all on Delight Belle...after some time on Nokia Lumia 925 (retired), 1020 (not that great)and Lumia 820 (Replaced my router at home, great for internet sharing).., N9 The best device ever (use it as much as Lumia 1020), Nokia 700 (Sport Phone/My Love :-) ) Nokia 701, Nokia E6 (Should have a follow-up from Nokia among with larger screen, NFC, Autofocus), Lumia 800 (Retired After 6 weeks), -Sports Tracker-Nokia Internet Radio-Handy Safe-Skype-Bambuser-Screenshot app pro-fMobi-ComingNext-Manual TaskSwitcher-jagiTimer-Easy StopWatch-Boldbeast-Equalizer-Financial Calculator-WiMP Music-YTasks-Davi-Thumbnail Folders-BizCalendar-Tiny7-Situations-nn reeder-Sport Timer-CameraLover-CameraPro-GrabRadio-LiveScore-Poddi-Gravity-SkyFilesPro

  • How to reset Deskjet All in one printer 2645 to its default setting?

    how to reset Deskjet All in one printer 2645 to its default setting?So I can change the paper size.

    We have difficulty in using the printer for "photocopy" purposes. This is because our printer doesn't have "specific options" for paper sizes. When copying, the only option default in our printer was : A4 plain, A4 photo & 4 x 6.. Our question is, how can we have the "specific options" for paper sizes ( legal, letter, or A4 size )? Do we need to "restore to defaults" our printer? Can you give us a step-by-step instructions to deal with our problem? Thanks.

  • I need help changing my security information because i forgot it and i clicked forgot your answers on the apple website and its sopost to send me an email saying how to reset it but i never got an email

    i need help changing my security information because i forgot it and i clicked forgot your answers on the apple website and its sopost to send me an email saying how to reset it but i never got an email.

    Contact iTunes support:
    http://www.apple.com/support/itunes/contact/

  • HT1687 Anyone know how to reset my iphone vm password while in Canada and not turning on cellular so I don't get charged for roaming? Verizon says its an iphone issue and Apple says to contact my carrier?!

    Anyone know how to reset my iphone vm password (so I can listen to my messages) while in Canada and not turning on cellular so I don't get charged for roaming? Verizon says its an iphone issue and Apple says to contact my carrier?! I don't want to pay for roaming and I am able to use my phone fine and also connect to wifi while at friend's houses etc.

    It's not a Verizon reset - under General and phone there is a place to reset my password however I can't do it without cellular turned on.

  • How to reset auto-join in wifi after its been disabled

    under my wifi connection i told it to disable the auto join how do i reactivate it

    1. See my User Tip for some help: Some Solutions for Resetting Forgotten Security Questions: Apple Support Communities.
    2. Here are two different but direct methods:
        a. Send Apple an email request at: Apple - Support - iTunes Store - Contact Us.
        b. Call Apple Support in your country: Customer Service: Contacting Apple for support
            and service.
    3. For other queries about Apple ID see Frequently asked questions about Apple ID.
    4. Rescue email address and how to reset Apple ID security questions

  • How to Reset Windows 8 Admin Password without Disk

    Problem:Forgot Windows 8 admin password and no reset disk available, how can I reset Windows 8 admin password? On the occasion, how to reset password on Windows 8 seems to be our problematic issue. However, the problem looks difficult, not difficult actually. Two factors make efforts on it. One is the new characteristics of Windows 8 system, the other is software technology development. So just let me help you to solve it. Just choose one and put it into practice:1. Get User password via Windows Password Hint.2. Get into computer with PIN code, and reset password for locked account.3. Login windows 8 Via Microsoft MSN Account.4. Reset Windows password with another available admin account.5. Reset Windows 8 password with iSunshare password tool. These methods will be introduced in details for people who have encountered or are facing this problem. 1. Get Administrator password via Windows Password HintWhen we are creating our Windows system account and login password, a password hint will be asked to set up for preparation. This password hint had better can remind you, only just you of lost or forgotten password. So it couldn’t like the password, but is related to your login password. As a result, while you type a wrong password, the password hint will pops up below the password input box. Based on the password hint, you can think of your origin password.  As seen above, my password hint is email [email protected], and my Windows 8 login password is the same as the password of email. So when the password hint pops up, I will think of Windows login password instantly. 2. Get into computer with PIN code, and reset password for locked accountPIN code is a quick, convenient way to sign in to this PC by using a 4-digit code. If you have ever created one, this may be the most simplest and effective method for Windows 8 password reset. Totally two steps are needed. Step 1: Sign in with PIN code
    When you forgot your local account password in the login page, sign-in options is provided for you to choose. Click the Sign-in options, there are two options, Password and PIN. Choose PIN, and input 4-digit code in the box. Then you can sign in to your computer successfully. Step 2: Press Windows +X, and click on Command Prompt (Admin) and Yes. Step 3: On the Command Prompt, type in: Net User <user name> <new password> and press Enter to reset a new password for Windows 8.  Command Prompt screen appears, input the words like the words in the red box, user name is iSunshare, new password is 12345, and then press Enter to complete the Windows password reset process.  3. Login windows 8 Via Microsoft MSN AccountIf your computer has set up to sign in to Windows 8 with Microsoft account, and you can login Windows with it, and create a PIN that any user who has a password must enter it when waking this PC, and then login with PIN code, reset password with Command Prompt. 4. Reset Windows 8 Password with Another available Admin AccountIf there is another admin account available, log on to Windows with this account first, and then reset other accounts passwords would be easy.
    >> Enter Computer Management screen
    Click My Computer to select Manage to enter this screen
    >> Set password for account you want to reset
    Click Local Users and Groups, choose Users, and right-click the account you want to reset its password to choose Set Password. 5. Reset Windows 8 password with iSunshare password toolWhen you have no password reset disk, the first and most important effort of Windows password recovery advanced tool is to create a password reset disk. How to reset Windows 8 forgotten password step by step by iSunshare Windows Genius Advanced? Follow the below steps.Step 1: Download iSunshare Windows password recovery advanced tool from iSunshare official website. Install and launch it on an accessible computer.Step 2: Create a password reset disk
    Insert writable USB or CD/DVD into accessible computer and select correct media type, and then click Begin burning to burn the removable device. Until the message “Successfully burning” pops up, it means password reset disk has been created completely.
    Step 3: Boot from USB or CD/DVD Setup
    >> Insert the removable device to your locked computer
    >> Boot your locked computer, and press DEL or F2 at the same time to enter BIOS setting screen
    >> Reset removable device as the first boot device under Boot option
    >> Windows password reset screen appears after all the above settingsStep 4: Reset Windows 8 forgotten password
    After all the above settings, Windows password reset screen appears.
    >> Select the Windows system type and the account you want to reset its password. Or you can add a new account for Windows 8.
    >> Click “Reboot” to restart your computer, then you could login Windows 8 without password successfully.   Source: Reset Windows 8 Password without Disk

    A few days ago, I had met the headache things that I had forgotten Windows 8 password. The login screen rejected my passwords. I was frustrated because there was very important data on my disk and I couldn’t reinstall the OS. ………….
    I fortunately got to know the PCUnlocker program, which is a professional windows password recovery tool for us to reset windows 8 password instantly yet no data loss.

  • How to Reset Windows 2008/R2 Domain Administrator Password

    How to Reset Windows Server 2008/R2 Domain Administrator password if forgot or lost it?
    It is annoying and bad to forget a Windows Server 2008/r2 Domain administrator login password. It is troublesome unless you have that Windows Server 2008/r2 password reset disk. We can still find several tricks to reset Windows Server Domain password but they require a mass of operations and waste a lot of time. For example, you can reset Windows Server 2008/R2 domain administrator password with an installation disk but it requires you to type a mass of command line. So today I want to share everyone an omnipotent method to reset Windows Server 2008/R2 Domain/local administrator password. You need the following 3 things.
    An accessible PC.
    A USB/CD/DVD flash drive.
    The Windows password reset tool Daossoft Windows Password Rescuer.
    Then it requires 4 steps as below:
    Step 1: Download and install Daossoft Windows Password Rescuer into that accessible computer.
    Step 2: Burn it to the flash drive.
    Step 3: Boot your Windows Server computer from the flash drive.
    Step 4: Follow its instruction and click “Reset Password” button to reset your Windows 2008/R2 Domain/Local administrator password.
    More details in this video: Windows Server 2008 R2 Password Reset - Reset Domain or Local Password.

    It wasn't difficult to reset the domain password and I think Microsoft's policy of not providing an easy forward way is to create an
    illusion of security which is not there. Linux systems that are much more secure that MSFT software allow easy password reset when physical access is there so why not include the same tools in System Repair tools or using F8?
    Anyhow, this guide helped me reset the password in 5 minutes. Read the bottom of it to find the scripted / automatic version of the process:
    http://www.petri.co.il/reset_domain_admin_password_in_windows_server_2003_ad.htm
    Thanks,

  • How to set the report path in a model plugin

    I am trying to figure out how to set the report path in a process model plug-in. I can seem to figure out how to get access to it. It seems like this would be a reasonable thing to do since the plug-ins are for results processing. Does anyone know how to do this? We typically use the Sequential process model but I am trying to keep my plug-in as independent of that as possible. 
    Thanks.
    Solved!
    Go to Solution.

    If I understand, you want your plug-in, when enabled, to alter the settings of any other instances of the NI report plug-in such that their reports share the same directory as your plug-in is configured to use.
    If so, your plug-in can access and modify the settings of all other plug-in instances. All instances are passed to all plug-in entries point in the plugins array sub-property of the ModelConfiguration parameter. You can iterate through this array. Any element of the array with a Base.SequenceFilename equal to "NI_ReportGenerator.seq" is an instance of the NI report plug-in. Its report options are stored in the element under PluginSpecific.Options.
    You can change the report options to what ever you want. Note that the ReportOptions model callback is called from the Initialize model-plugin entry point, so you might want to ensure that your changes are applied after that, so they aren't overwritten. To do that, you could make your changes in the the Initialize entry point of your plug-in, and ensure that your plugin runs last. To make it run last, you could set the FileGlobals.ModelPluginComponentDescription.Default.Base.RunOrder in your plug-in file to a value greater than 0, such as 1.0 (see TestStand Help>>Fundamentals>>Process Model Architecture>>Process Model Plug-in Architecture>>Structure of Plug-in Sequence Files>>Model Plug-in Entry Points>>Order of Entry Point Execution at Run Time).

Maybe you are looking for

  • Error installing Oracle 10g on Windows XP SP2

    Hi I had an error message at the end of the setup. Error instantiating EM configuration files. Log about the error is below. thanks in advance for your help OS:windows xp sp2 C:\oracle\product\10.2.0\db_1\cfgtoollogs\dbca\orcl\emconfig.log Dec 7, 200

  • HT1933 cant find out email receipt of purchase order

    i cant receive email reply with purchased order code even thought my bank recorded patment

  • Can't open any apps on my mac book pro that i downloaded from the cloud

    can't open any apps in i-tunes on my mac book pro that i downloaded from the cloud

  • REG : SYNC/ASYNC bridge

    Hi all,              I have a scenario where my sender is a syncronus and receiver is asyncronus. I have used sync/async bridge in BPM to acheive this.But when i send the input data from runtime workbench with QOS as BEST EFFORT i  got the following

  • System gets slow

    Dear Experts, Please solve my query, Today my server is getting slow and I checked my buffer levels and I found that buffer levels are in red color and shows below 75% and after some time it increased automatically up to  normal buffer levels I donu2