Help to convert this to a machine States

Hello

I feel a little guilty posting this question because there is so much information on break.  I picked up this vi and I would like to add the ability to pause.  I created an example vi that is a dumbed down version of the real one.  My vi has two procedures.  So I created a start-up Test 1 and 2 start Test in this sample vi to ask my question.  The question is, how do I stop the vi.  The user wants to pause, but they'll want to pause to an iteration of the loop.  I have two scenarios, one where the loop is to the event structure and another where a vi with a loop in it are in the case of structure.  I'm not very experienced with the use of the code where the timeout, but I see how to do this when there is only one shot and no loop.  Here, I have two and they all have two loops, so I don't know how to make this work in a nice state machine.  Any help would be appreciated.  In addition, as it is now, I have a sequence in each event.  Frame 1 is used to change the control to the "off" State  However, how can you do this without having the sequence.

Thank you.

Well, you can always do just by using the structure of the event, but it's not a very good way to do it. You must first set up the case of the event to not lock the front panel, so that you can always click on the Pause button so that the test runs. Loop, you must use a while loop instead of a for loop and use a registry change to keep track of which iteration that you do. The iteration of the loop counter is not relevant in this case. If the test is a Subvi then you pass references to controls on the front panel for the Subvi.

See attached the amendment.

Again, this is NOT a recommended approach. I just show it to you to see what it is for your information and education.

Tags: NI Software

Similar Questions

  • need help to convert this procedure used and call in coldfusion

    Hi I'm new to coldfusion and I haed of the code with me and I need it to convert in the stored procedure and will call back within coldfusion. Can someone help me how to make these data to the stored procedure and calling in coldfusion.

    Here is the code of my

    SET NOCOUNT ON

    DECLARE
    @cpt_dpt_cd char (2)
    @cpt_com_cd char (3)
    @sub_com_cd char (5)
    @con_upc_no char (13)
    , @pid_lng_dsc_tx varchar (100)
    , @pid_sht_dsc_tx varchar (100)
    , @rev_by varchar (8)
    @rev_dt datetime


    DECLARE upc_cursor CURSOR FOR
    SELECT *.
    OF di_audit_corp_upc_ldr_tbl
    WHERE con_upc_no IN ((in English only)
    SELECT con_upc_no, COUNT (*)
    TABLE [dbo]. [di_audit_corp_upc_ldr_tbl]
    GROUP BY con_upc_no
    HAVING COUNT (*) > 1
    )
    ORDER BY con_upc_no

    OPEN upc_cursor

    -It is performed while the previous extraction is successful.
    FETCH NEXT from upc_cursor
    IN
    @cpt_dpt_cd
    @cpt_com_cd
    @sub_com_cd
    @con_upc_no
    @pid_lng_dsc_tx
    @pid_sht_dsc_tx
    @rev_by
    @rev_dt

    -Check @FETCH_STATUS to see if he has more lines to fetch.
    WHILE @FETCH_STATUS = 0
    BEGIN
    -If not exists
    IF NOT EXISTS)
    SELECT con_upc_no
    OF dbo.di_audit_corp_upc_tbl
    WHERE con_upc_no = @con_upc_no
    )
    BEGIN
    -Insert record
    PRINT "insert UPC: ' + @con_upc_no"

    INSERT INTO dbo.di_audit_corp_upc_tbl)
    rcp_dpt_cd
    cpt_dpt_cd
    cpt_com_cd
    sub_com_cd
    cas_upc_no
    con_upc_no
    con_upc_tx
    pid_lng_dsc_tx
    pid_sht_dsc_tx
    aut_vld_cd
    rev_by
    rev_dt
    ) (VALUES
    '07'
    @cpt_dpt_cd
    @cpt_com_cd
    @sub_com_cd
    '0000000000000'
    @con_upc_no
    @pid_lng_dsc_tx
    @pid_lng_dsc_tx
    @pid_sht_dsc_tx
    , 'N'
    @rev_by
    @rev_dt
    )
    END
    ON THE OTHER


    BEGIN
    -to jump
    PRINT ' UPC to jump: "+ @con_upc_no
    END
    < cftransaction action = "commit" / >
    -It is performed while the previous extraction is successful.
    FETCH NEXT from upc_cursor
    IN
    @cpt_dpt_cd
    @cpt_com_cd
    @sub_com_cd
    @con_upc_no
    @pid_lng_dsc_tx
    @pid_sht_dsc_tx
    @rev_by
    @rev_dt

    END

    CLOSE Upc_cursor
    DEALLOCATE upc_cursor

    If I understand your SQL code you select some records in the di_audit_corp_upc_ldr_tbl table.  For each record in the results, you insert di_audit_corp_upc_tbl if a matching record does not already exist in di_audit_corp_upc_tbl.  If this summary is correct, you could try rewriting your query to avoid using a cursor.

    Something like the example below might work (I have not tested this code).

    INSERT di_audit_corp_upc_tbl (rcp_dpt_cd, cpt_dpt_cd, cpt_com_cd, sub_com_cd, cas_upc_no, con_upc_no, con_upc_tx, pid_lng_dsc_tx, pid_sht_dsc_tx, aut_vld_cd, rev_by, rev_dt)
    SELECT ' 07', cpt_dpt_cd, cpt_com_cd, sub_com_cd, ' 0000000000000', con_upc_no, pid_lng_dsc_tx, pid_lng_dsc_tx, pid_sht_dsc_tx, "n", rev_by, rev_dt
    From di_audit_corp_upc_ldr_tbl
    WHERE THERE IS NO
    (
    SELECT *.
    OF di_audit_corp_upc_tbl AS B
    WHERE B.con_upc_no = A.con_upc_no
    ) - check to see if the folder already exists in the destination table
       
    AND
    (
    SELECT COUNT (*)
    FROM di_audit_corp_upc_ldr_tbl AS C
    WHERE C.con_upc_no = A.con_upc_no
    ) > 1 - replaces the HAVING clause in the original query used to select cursor

    Note that I assume you are using Microsoft SQL Server.

    For questions about the improvement of SQL queries you could be better off the coast to post this kind of question on a specific forum for the database server you are using.

  • Convert this PLC in LabVIEW (hold pulse signal) function

    Hi, can someone help me convert this simple function PLC (Programmable Logic Controller) in LabVIEW?

    Basically, S1 is a normally open switch and S2 a normally closed switch. K1 is a contactor. Pressing S1 will trigger the switch and switch K1 will hold the value (true) until you press S2 (reset).

    Thank you.

    No worries,.

    Suggest you try to use a value from the State of the lock switch shift register.  Might look like this:

  • How to convert this BSO formulas formulas ASO?

    I need help to convert this BSO formulas formulas ASO:

    BSO formulas:
    12 * ("head count"-> "stopped" / ((@PRIOR("Head Count"-> "Total Active & Leave") + "number of head"-> "Total assets & leave ') / 2));

    'Number of head' is a member of the dimension account
    'Complete' and ' Total assets & leave "are members of the dimension of the State


    Existing Active
    New rental
    Assets
    CARPET
    STD
    OTH
    Leave
    Holidays & total assets
    Volunteer
    Involuntary
    Death
    Retirement
    End of temporary assignment
    Terminated
    LTD
    Total status
    Promotion within level
    Promotion to the next level
    Promotion
    No Total status
    All Status
    Status (Dimension)



    ASO, the formulas will be?

    Thank you

    Try

    CASE WHEN IS([Period].CurrentMember, [Jan]) THEN
    
    12 * (([Head Count], [Terminated] ) /
    ((( [Head Count], [Total Active & Leave], [Dec], [Year].CurrentMember.lag(1) ) +
    ([Head Count], [Total Active & Leave])) / 2))
    ELSE
    12 * (([Head Count], [Terminated] ) /
    ((( [Head Count], [Total Active & Leave], [Time].CurrentMember.lag(1) ) +
    ([Head Count], [Total Active & Leave])) / 2))
    END
    

    Note that this implies that your dimension of the year is in descending order

    Year
    -2007
    -2008
    -2009

    If the year is in ascending order

    Year
    -2009
    -2008
    -2007

    Then, you need to change

    [Year].CurrentMember.lag(1) 
    

    TO

    [Year].CurrentMember.lead(1)
    
  • Please help me solve this statement

    SELECT Didt.displayed_name name.
    DIDT.displayed_course coursename,
    Cour.inst_code,
    DIDT.ched_spcl_ord_no,
    TO_CHAR (didt.so_issue_date, 'fmMONTH DD, YYYY.') so_issue_date,
    day of to_char (didt.graduate_date, 'fmddth'),
    TO_CHAR (didt.graduate_date, 'fmMONTH, YEAR.') graduate_date,.
    DIDT.snumber,
    DIDT.diploma_type,
    DIDT. Honors,
    Double-decode (didt.duplicate_flag, 'Y', 'Duplicate', null)
    OF diap_details didt, courts court
    WHERE diap_no = '962'
    Honors AND is null
    AND diploma_type <>"CERT."
    and didt.grad_course_code = cour.course_code (+)
    -THE CODES ABOVE WORKS FINE, BUT WHEN I ADD ANOTHER SET OF CODES, I GET AN ERROR
    -How can I integrate the code below with the above codes?
    Start
    If: inst_code = "IT" then
    back to the "OFFICE";
    on the other
    Returns a null value.
    end if;
    end;



    can anyone help me solve this problem or is it not possible to do? If its not can someone give me an example or a work around that? Thank you...

    Toad: z would work.

    In PL/SQL Developer: Z would cause "not all variables.

    In SQL * more

    SQL > select last_name from employee where department_id =: y
    2.
    SP2-0552: Bind variable 'Y' not stated.

    Correct: sql * more

    SQL > number var z;
    SQL > exec: z: = 10

    PL/SQL procedure successfully completed.

    A written file afiedt.buf

    1 * Select last_name from employee where department_id =: z
    SQL > /.

    LAST_NAME
    -------------------------
    Whalen

    Correct: In PL/SQL and SQL Developer * more

    Select last_name employees where department_id = z &

    Published by: bobbydj on August 28, 2008 10:52

    Replaced: and x with: and z to remove the smiley

  • Converted to a virtual machine (Windows 2003)

    Hi @ all,

    I tried to convert a virtual machine (Windows Server 2003 Standard Edition) since an ESXi 4.0.0 Server for our new Cluster (ESXi 5.1.0). After 2 hours of waiting, the process failed at 1% with ' error: event.» DiskCloneFailedEvent.summary ".

    ESX server and the virtual machine are in the same network.

    Two weeks before I tried the same Conversion, but had to stop due to a colleague, who needs the machine urgently. At the moment the State of conversion was 9% and I think that he would have been success.


    Here are the logs of the converter and I hope, someone can help me with this question:

    2013-07 - 05T 16: 02:11.950 + 02:00 [02940 info "Default"] connection to the host on port 443 esxserver1

    2013-07 - 05T 16: 02:11.950 + 02:00 [02940 info "Default"] at localVersion is: vim.version.version8

    2013-07 - 05T 16: 02:12.057 + 02:00 [02940 info "Default"] remote version is: vim.version.version5

    2013-07 - 05T 16: 02:12.090 + 02:00 [02940 info "Default"] root user authentication

    2013-07 - 05T 16: 02:12.097 + 02:00 [02940 "Default" error] vim [VimResultFilter] property. UserSession, found ipAddress

    2013-07 - 05T 16: 02:12.097 + 02:00 [02940 "Default" error] vim [VimResultFilter] property. UserSession, userAgent not found

    2013-07 - 05T 16: 02:12.097 + 02:00 [02940 "Default" error] vim [VimResultFilter] property. UserSession callCount not found

    2013-07 - 05T 16: 02:12.117 + 02:00 [02940 info "Default"] connection to the host on port 443 esxvcenter

    2013-07 - 05T 16: 02:12.117 + 02:00 [warning 02956 "Default"] processing response closing in unexpected state: 3

    2013-07 - 05T 16: 02:12.117 + 02:00 [02940 info "Default"] at localVersion is: vim.version.version8

    2013-07 - 05T 16: 02:12.142 + 02:00 [02940 info "Default"] remote version is: vim.version.version8

    2013-07 - 05T 16: 02:12.148 + 02:00 [02940 info 'Default'] user administrator authentication

    2013-07 - 05T 16: 02:12.252 + 02:00 [02940 info "Default"] ComputeResource for vim. HostSystem:host - 9 is vim. ClusterComputeResource:domain - c23

    2013-07 - 05T 16: 02:12.255 + 02:00 [02940 info "Default"] ResourcePool to vim.ComputeResource:domain - c23 is vim. ResourcePool:resgroup - 24

    2013-07 - 05T 16: 02:12.258 + 02:00 [02940 info "Default"] reuse existing connection of VIM to esxvcenter

    2013-07 - 05T 16: 02:12.266 + 02:00 [02940 info "Default"] scheduled timer cancelled, succeeds StopKeepAlive

    2013-07 - 05T 16: 02:12.272 + 02:00 [info vmomi.soapStub 02940 ' [2]'] adapter heel of reset for server < cs p:032592f8, TCP:esxvcenter:443 >: closed

    2013-07 - 05T 16: 02:12.276 + 02:00 [info 02940 ' vmomi.soapStub [1]'] adapter heel of reset for server < cs p:03259078, TCP:esxserver1:443 >: closed

    2013-07 - 05T 16: 02:12.277 + 02:00 [02940 info "Default"] connection to the host on port 443 esxvcenter

    2013-07 - 05T 16: 02:12.277 + 02:00 [02940 info "Default"] at localVersion is: vim.version.version8

    2013-07 - 05T 16: 02:12.298 + 02:00 [02940 info "Default"] remote version is: vim.version.version8

    2013-07 - 05T 16: 02:12.304 + 02:00 [02940 info 'Default'] user administrator authentication

    2013-07 - 05T 16: 02:12.401 + 02:00 [02940 info "Default"] scheduled timer cancelled, succeeds StopKeepAlive

    2013-07 - 05T 16: 02:12.437 + 02:00 [02940 info "Default"] ComputeResource for vim. ResourcePool:resgroup - 24 is vim. ClusterComputeResource:domain - c23

    2013-07 - 05T 16: 02:12.520 + 02:00 [info 02940 ' vmomi.soapStub [3]'] adapter heel of reset for server < cs p:03259078, TCP:esxvcenter:443 >: closed

    2013-07 - 05T 16: 02:12.520 + 02:00 [02940 info "Default"] created a new element of Scheduler with id = '1', "16:02:12.277 05-07-2013" = firstTimeToRun, source = ' ', targetRPOInMinutes = '0 '. -__thiscall Converter::Server:Scheduler:SchedulerItemImpl: ("d:/build/ob/bora-1087880/bora/sysimage/ufad/server/scheduler/schedulerItemImpl.cpp:87")

    2013-07 - 05T 16: 02:12.520 + 02:00 [02940 info 'Default'] point planner with id = '1' created - __thiscall int Converter::Server:Scheduler: ("d:/build/ob/bora-1087880/bora/sysimage/ufad/server/scheduler/priorityQScheduler.cpp:49")

    2013 07 - 05 T 16: 02:12.546 + 02:00 [03756 info "Default"] planning point 1 Planner run at time = 16:02:12.546 2013-07-05. -Sub __thiscall Converter::Server:Scheduler:SimpleScheduler:Run (void) ("d:/build/ob/bora-1087880/bora/sysimage/ufad/server/scheduler/simpleScheduler.cpp:109")

    2013-07 - 05T 16: 02:12.640 + 02:00 [03764 info "Default"] connection to the host on port 443 esxserver1

    2013-07 - 05T 16: 02:12.641 + 02:00 [03764 info "Default"] at localVersion is: vim.version.version8

    2013-07 - 05T 16: 02:12.660 + 02:00 [03764 info "Default"] remote version is: vim.version.version5

    2013-07 - 05T 16: 02:12.665 + 02:00 [03764 info "Default"] root user authentication

    2013-07 - 05T 16: 02:12.673 + 02:00 [error 03764 "Default"] vim [VimResultFilter] property. UserSession, found ipAddress

    2013-07 - 05T 16: 02:12.673 + 02:00 [error 03764 "Default"] vim [VimResultFilter] property. UserSession, userAgent not found

    2013-07 - 05T 16: 02:12.673 + 02:00 [error 03764 "Default"] vim [VimResultFilter] property. UserSession callCount not found

    2013-07 - 05T 16: 02:12.683 + 02:00 [warning 02956 "Default"] processing response closing in unexpected state: 3

    2013-07 - 05T 16: 02:12.693 + 02:00 [03764 info "Default"] connection to the host on port 443 esxvcenter

    2013-07 - 05T 16: 02:12.693 + 02:00 [03764 info "Default"] at localVersion is: vim.version.version8

    2013-07 - 05T 16: 02:12.717 + 02:00 [03764 info "Default"] remote version is: vim.version.version8

    2013-07 - 05T 16: 02:12.722 + 02:00 [03764 info 'Default'] user administrator authentication

    2013-07 - 05T 16: 02:12.818 + 02:00 [03764 info "Default"] ComputeResource for vim. HostSystem:host - 26 is vim. ClusterComputeResource:domain - c23

    2013-07 - 05T 16: 02:12.822 + 02:00 [03764 info "Default"] ResourcePool to vim.ComputeResource:domain - c23 is vim. ResourcePool:resgroup - 24

    2013-07 - 05T 16: 02:12.826 + 02:00 [03764 info "Default"] reuse existing connection of VIM to esxvcenter

    2013-07 - 05T 16: 02:12.844 + 02:00 [03764 info "Default"] scheduled timer cancelled, succeeds StopKeepAlive

    2013-07 - 05T 16: 02:12.850 + 02:00 [info 03764 ' vmomi.soapStub [5]'] adapter heel of reset for server < cs p:00691858, TCP:esxvcenter:443 >: closed

    2013-07 - 05T 16: 02:12.855 + 02:00 [info 03764 ' vmomi.soapStub [4]'] adapter heel of reset for server < cs p:00691758, TCP:esxserver1:443 >: closed

    2013-07 - 05T 16: 02:12.884 + 02:00 [info 01240 "ThreadPool"] Thread has enlisted

    2013-07 - 05T 16: 02:12.977 + 02:00 [error 02956 "Default"] cannot send the response to the client: class Vmacore::SystemException (Die Pipe wird just closed)

    2013-07 - 05T 16: 02:13.019 + 02:00 [03764 info "Default"] Started task 'Task-4' for job = 'job - 5 ", item ="1"- __thiscall Sub Converter::Server:Job:JobProcessorImpl:StartProcessingJobs (void) ("d:/build/ob/bora-1087880/bora/sysimage/lib/converter/server/job/jobProcessorImpl.cpp:385").

    2013-07 - 05T 16: 02:13.051 + 02:00 [info 01240 'Default'] [task, 338] [Task-4] - BEGIN - convert

    2013-07 - 05T 16: 02:13.091 + 02:00 [info 01240 'Default'] [taskSpec, 467] task [Task-4] [TaskMap] - 4:task - 1

    2013-07 - 05T 16: 02:13.111 + 02:00 [02940 info "Default"] ConverterConnection: KeepAlive timer cancelled, StopKeepAlive succeeded

    2013-07 - 05T 16: 02:13.132 + 02:00 [info 02940 ' vmomi.soapStub [0]'] adapter heel of reset for server < cs p:03272018, PIPE:\\.\pipe\vmware-converter-worker-soap >: closed

    2013-07 - 05T 16: 21:49.811 + 02:00 [02960 'Ufa.HTTPService' error] unable to read the request; flow: io_obj p:0 x 03168404, h:-1, < tube "\\.\pipe\vmware-converter-server-soap" >, < pipe "\\.\pipe\vmware-converter-server-soap" > >, error: class Vmacore::TimeoutException (operation timed out)

    2013-07 - 05T 16: 22:14.812 + 02:00 [02956 error 'Ufa.HTTPService'] cannot read the request; flow: io_obj p:0x031683a4, h:-1, < tube "\\.\pipe\vmware-converter-server-soap" >, < pipe "\\.\pipe\vmware-converter-server-soap" > >, error: class Vmacore::TimeoutException (operation timed out)

    2013-07 - 05T 18: 02:04.810 + 02:00 [error 01240 'Default'] [task, 350] [LRO] Unexpected Exception: converter.fault.CloneFault

    2013-07 - 05T 18: 02:04.850 + 02:00 [info 01240 'Default'] [task, 379] [Task-4] - ERROR - convert: converter.fault.CloneFault

    -> (converter.fault.CloneFault) {}

    -> dynamicType = < unset >

    -> faultCause = (vmodl. NULL in MethodFault),

    -> description = 'the operation encountered a network error.

    -> msg = ""

    ->}

    2013-07 - 05T 18: 02:04.850 + 02:00 [info 01240 'Default'] [diagnosticManager, 269] retrieved taskInfo for "converter.task.Task:task - 4" mapping to "converter.task.Task:task - 4".

    2013-07 - 05T 18: 02:04.850 + 02:00 [info 01240 'Default'] [diagnosticManager, 309] the task with id = "4-task" proved to be a task 'recent '.

    2013-07 - 05T 18: 02:04.850 + 02:00 [info 01240 'Default'] [diagnosticManager, 323] no existing group of newspaper found to task with id = 'Task-4 '. The task is still 'young' so a bundle of newspapers going now is assigned.

    2013-07 - 05T 18: 02:04.882 + 02:00 [info 01240 'Default'] [diagnosticManager, 792] recovery job related diagnostic for the tasks of server with id = 'Task-4 '.

    2013-07 - 05T 18: 02:04.931 + 02:00 [info 03760 "Default"] run 0 employment "job-5" finished with a mistake. -struct Converter::Server:Job:JobExecutor:SchedulerUpdateSpec __thiscall Converter::Server:Conversion: ("d:/build/ob/bora-1087880/bora/sysimage/lib/converter/server/conversion/conversionJobExecutorImpl.cpp:405")

    2013-07 - 05T 18: 02:05.053 + 02:00 [info 03760 "Default"] suspended 1 elements of Planner for employment (job-5) - __thiscall Sub Converter::Server:Job:JobProcessorImpl:SuspendJobAux(const_class_Converter::Server::Job::InternalJob_&,class_Converter::VdbConnection_&) ("d:/build/ob/bora-1087880/bora/sysimage/lib/converter/server/job/jobProcessorImpl.cpp:830")

    Thank you

    Thomas

    Exactly, it's a common error.  It is always recommended to clean the source server if the conversion has failed or been arrested before

  • Need help to convert DAQ traditional subvis DAQmx configuration

    I need to convert these screws (of NOR-traditional DAQ) to be used with a new data acquisition card that supports only NI-DAQmx.

    Please help me in this...

    Can I use the same traditional NI DAQ VIs with the NI PCI-6221?  If so, how? This device can be configured for NI DAQ traditional?

    NOR has several resources to help move tradtional DAQ DAQmx. A good place to start is the getting started page. There is a tutorial on how to transition. There is also the compatibility screws which replace certain traditional DAQ functions with wrappers around functions DAQmx. The DAQ example you posted is pretty trivial and really shouldn't take a lot of time to convert once you get a basic understanding of the DAQmx.

  • I have a Dell Inspiron Mini Windows 7 starter from a pawn shop and it has the previous owner on this subject and I can not log on because I need there password. Can someone help me with this?

    I have a Dell Inspiron Mini Windows 7 starter from a pawn shop and it has the previous owner on this subject and I can not log on because I need there password. Can someone help me with this?

    The only safe option is to perform a factory restore. If you do not, then you are likely to be confronted with a machine that is seriously infected or was hacked. Have a look here for instructions:

    http://support.Dell.com/support/topics/global.aspx/support/KCS/document?c=us&l=en&s=Gen&docid=DSN_336966&isLegacy=true
  • They help me with this error March Eclipse + Tomcat 8 + JSF + PrimeFaces OmniFaces?

    Hello friends of the forum!

    I am a JSF tutorial, and when generating a coming sell order page, I get the following error in Tomcat:

    There are 28, 2015 start 13:48:19 org.apache.tomcat.util.digester.SetPropertiesRule

    WARNING: [SetPropertiesRule] {Server/Service/engine/host/context} set the property 'source' 'org.eclipse.jst.jee.server:PrimeFacesVenta6' option did not find a corresponding property.

    There are 28, 2015 connect 13:48:19 org.apache.catalina.startup.VersionLoggerListener

    INFO: Server Version: Apache Tomcat/8.0.24

    There are 28, 2015 connect 13:48:19 org.apache.catalina.startup.VersionLoggerListener

    INFO: Server built: July 1, 2015 20:19:55 UTC

    There are 28, 2015 connect 13:48:19 org.apache.catalina.startup.VersionLoggerListener

    INFO: Number of server: 8.0.24.0

    There are 28, 2015 connect 13:48:19 org.apache.catalina.startup.VersionLoggerListener

    INFO: Name of operating system: Windows Server 2008 R2

    There are 28, 2015 connect 13:48:19 org.apache.catalina.startup.VersionLoggerListener

    INFO: OS Version: 6.1

    There are 28, 2015 connect 13:48:19 org.apache.catalina.startup.VersionLoggerListener

    INFO: Architecture: x 86

    There are 28, 2015 connect 13:48:19 org.apache.catalina.startup.VersionLoggerListener

    INFO: Home of Java: C:\Java-JRE-32

    There are 28, 2015 connect 13:48:19 org.apache.catalina.startup.VersionLoggerListener

    INFO: JVM Version: 1.7.0_72 - b14

    There are 28, 2015 connect 13:48:19 org.apache.catalina.startup.VersionLoggerListener

    INFO: JVM vendor: Oracle Corporation

    There are 28, 2015 connect 13:48:19 org.apache.catalina.startup.VersionLoggerListener

    INFO: CATALINA_BASE: E:\Proyectos\OpenXava\openxava-5.3\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp2

    There are 28, 2015 connect 13:48:19 org.apache.catalina.startup.VersionLoggerListener

    INFO: CATALINA_HOME: C:\Tomcat

    There are 28, 2015 connect 13:48:19 org.apache.catalina.startup.VersionLoggerListener

    INFO: command line argument:-Dcatalina.base=E:\Proyectos\OpenXava\openxava-5.3\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp2

    There are 28, 2015 connect 13:48:19 org.apache.catalina.startup.VersionLoggerListener

    INFO: command line argument:-Dcatalina.home = C:\Tomcat

    There are 28, 2015 connect 13:48:19 org.apache.catalina.startup.VersionLoggerListener

    INFO: command line argument:-Dwtp.deploy=E:\Proyectos\OpenXava\openxava-5.3\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp2\wtpwebapps

    There are 28, 2015 connect 13:48:19 org.apache.catalina.startup.VersionLoggerListener

    INFO: :-Djava.endorsed.dirs=C:\Tomcat\endorsed command line argument

    There are 28, 2015 connect 13:48:19 org.apache.catalina.startup.VersionLoggerListener

    INFO: command line argument:-Dfile.encoding = Cp1252

    There are 28, 2015 13:48:19 org.apache.catalina.core.AprLifecycleListener lifecycleEvent

    NEWS: APR based Apache Tomcat Native library that allows optimal performance in production environments was not found on the java.library.path: C:\Java-JRE-32\bin. C:\Windows\Sun\Java\bin; C:\Windows\System32; C:\Windows; C:/Java-JRE-32/bin/client; C:/Java / JRE / 32/location; C:/Java-JRE-32/lib/i386; C:\Program Files (x 86) \Common Files\Crystal Decisions\2.0\bin\NOTES\; C:\Program Files (x 86) \Common Files\Crystal Decisions\2.0\bin\NOTES\DATA\; C:\Program Files\ibm\gsk8\lib64; C:\Program Files\ibm\gsk8\bin; C:\Informix-SDK-410\bin; C:\Windows\System32; C:\Windows; C:\Windows\System32\Wbem; C:\Windows\system32\WindowsPowerShell\v1.0\; C:\informix\bin; C:\jrex64\bin; C:\jdkx64\bin; C:\Program Files (x86)\MySQL\Connector.J 5.1\;) C:\Program Files (x 86) \ibm\gsk7\bin; C:\Program Files (x 86) \ibm\gsk7\lib; C:\Gradle\bin; C:\JDBC-Informix\lib; C:\Users\gechenique\Downloads\xBaseJ\bin; C:\Program Files (x 86) \Common Files\Bosch\VideoSDK; C:\Eclipse-Luna;.

    There are 28, 2015 init org.apache.coyote.AbstractProtocol 13:48:19

    INFO: Initializing ProtocolHandler ['http-nio-8080"]

    There are 28, 2015 13:48:19 org.apache.tomcat.util.net.NioSelectorPool getSharedSelector

    INFO: Using a switch shared for read/write to servlet

    There are 28, 2015 init org.apache.coyote.AbstractProtocol 13:48:19

    INFO: Initializing ProtocolHandler ["ajp-nio-8009"]

    There are 28, 2015 13:48:19 org.apache.tomcat.util.net.NioSelectorPool getSharedSelector

    INFO: Using a switch shared for read/write to servlet

    There are 28, 2015 13:48:19 org.apache.catalina.startup.Catalina load

    INFO: Initializing processed in ms 780

    There are 28, 2015 13:48:19 org.apache.catalina.core.StandardService startInternal

    INFO: Starting service Catalina

    There are 28, 2015 13:48:19 org.apache.catalina.core.StandardEngine startInternal

    INFO: Starting the Servlet engine: Apache Tomcat/8.0.24

    There are 28, 2015 13:48:20 org.apache.catalina.util.SessionIdGeneratorBase createSecureRandom

    INFO: Creating instance of SecureRandom for the generation of using [SHA1PRNG] session ID a [121] milliseconds.

    There are 28, 2015 13:48:22 org.apache.jasper.servlet.TldScanner scanJars

    INFO: At least one POT has been analyzed for TLDS still did not contain any TLDs. activate record debugging for this logger for a list complete pots that were analysed but found no TLD in their. Skip the useless jars when scanning can improve boot time and JSP compilation time.

    There are 28, 2015 13:48:22 org.omnifaces.ApplicationInitializer logOmniFacesVersion

    INFO: Using version 2.1 OmniFaces

    There are 28, 2015 13:48:22 com.sun.faces.config.ConfigureListener contextInitialized

    INFO: initializing Mojarra 2.2.9 (-SHOT 20141218-0939 https://svn.java.net/svn/mojarra~svn/tags/2.2.9@14083) to the context ' / PrimeFacesVenta6'

    There are 28, 2015 createInstance com.sun.faces.spi.InjectionProviderFactory 13:48:23

    INFO: JSF1048: PreDestroy/PostConstruct annotation present.  Servlet methods marked with these annotations have tell processed annotations.

    There are 28, 2015 13:48:23 com.sun.faces.config.ConfigureListener contextInitialized

    SEVERE: Critical error during deployment:

    java.lang.ExceptionInInitializerError

    to org.omnifaces.application.OmniApplication. < init > (OmniApplication.java:69)

    at org.omnifaces.application.OmniApplicationFactory.createOmniApplication(OmniApplicationFactory.java:89)

    at org.omnifaces.application.OmniApplicationFactory.getApplication(OmniApplicationFactory.java:54)

    at com.sun.faces.application.InjectionApplicationFactory.getApplication (unknown Source)

    at com.sun.faces.config.InitFacesContext.getApplication (unknown Source)

    to com.sun.faces.lifecycle.ClientWindowFactoryImpl. < init >(Unknown Source)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0 (Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance (unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance (unknown Source)

    the impossible (unknown Source)

    to java.lang.Class.newInstance (unknown Source)

    at javax.faces.FactoryFinderInstance.getImplGivenPreviousImpl (unknown Source)

    at javax.faces.FactoryFinderInstance.getImplementationInstance (unknown Source)

    at javax.faces.FactoryFinderInstance.getFactory (unknown Source)

    at javax.faces.FactoryFinder.getFactory (unknown Source)

    at com.sun.faces.config.processor.FactoryConfigProcessor.verifyFactoriesExist (unknown Source)

    at com.sun.faces.config.processor.FactoryConfigProcessor.process (unknown Source)

    at com.sun.faces.config.ConfigManager.initialize (unknown Source)

    at com.sun.faces.config.ConfigureListener.contextInitialized (unknown Source)

    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4729)

    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5167)

    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

    to org.apache.catalina.core.ContainerBase$ StartChild.call (ContainerBase.java:1408)

    to org.apache.catalina.core.ContainerBase$ StartChild.call (ContainerBase.java:1398)

    at java.util.concurrent.FutureTask.run (unknown Source)

    at java.util.concurrent.ThreadPoolExecutor.runWorker (unknown Source)

    to java.util.concurrent.ThreadPoolExecutor$ Worker.run (unknown Source)

    at java.lang.Thread.run (unknown Source)

    Caused by: java.lang.IllegalStateException: CDI API is not available in this environment.

    to org.omnifaces.config.BeanManager. < init > (BeanManager.java:88)

    to org.omnifaces.config.BeanManager. < clinit > (BeanManager.java:49)

    ... 28 more

    Caused by: java.lang.ClassNotFoundException: javax.enterprise.inject.spi.BeanManager

    at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1313)

    at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1164)

    at java.lang.Class.forName0 (Native Method)

    at java.lang.Class.forName (unknown Source)

    to org.omnifaces.config.BeanManager. < init > (BeanManager.java:82)

    ... more than 29

    There are 28, 2015 13:48:23 org.apache.catalina.core.StandardContext listenerStart

    GRAVE: Context Exception initialization instance of listener class com.sun.faces.config.ConfigureListener event sending

    java.lang.RuntimeException: java.lang.ExceptionInInitializerError

    at com.sun.faces.config.ConfigureListener.contextInitialized (unknown Source)

    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4729)

    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5167)

    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

    to org.apache.catalina.core.ContainerBase$ StartChild.call (ContainerBase.java:1408)

    to org.apache.catalina.core.ContainerBase$ StartChild.call (ContainerBase.java:1398)

    at java.util.concurrent.FutureTask.run (unknown Source)

    at java.util.concurrent.ThreadPoolExecutor.runWorker (unknown Source)

    to java.util.concurrent.ThreadPoolExecutor$ Worker.run (unknown Source)

    at java.lang.Thread.run (unknown Source)

    Caused by: java.lang.ExceptionInInitializerError

    to org.omnifaces.application.OmniApplication. < init > (OmniApplication.java:69)

    at org.omnifaces.application.OmniApplicationFactory.createOmniApplication(OmniApplicationFactory.java:89)

    at org.omnifaces.application.OmniApplicationFactory.getApplication(OmniApplicationFactory.java:54)

    at com.sun.faces.application.InjectionApplicationFactory.getApplication (unknown Source)

    at com.sun.faces.config.InitFacesContext.getApplication (unknown Source)

    to com.sun.faces.lifecycle.ClientWindowFactoryImpl. < init >(Unknown Source)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0 (Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance (unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance (unknown Source)

    the impossible (unknown Source)

    to java.lang.Class.newInstance (unknown Source)

    at javax.faces.FactoryFinderInstance.getImplGivenPreviousImpl (unknown Source)

    at javax.faces.FactoryFinderInstance.getImplementationInstance (unknown Source)

    at javax.faces.FactoryFinderInstance.getFactory (unknown Source)

    at javax.faces.FactoryFinder.getFactory (unknown Source)

    at com.sun.faces.config.processor.FactoryConfigProcessor.verifyFactoriesExist (unknown Source)

    at com.sun.faces.config.processor.FactoryConfigProcessor.process (unknown Source)

    at com.sun.faces.config.ConfigManager.initialize (unknown Source)

    ... more than 10

    Caused by: java.lang.IllegalStateException: CDI API is not available in this environment.

    to org.omnifaces.config.BeanManager. < init > (BeanManager.java:88)

    to org.omnifaces.config.BeanManager. < clinit > (BeanManager.java:49)

    ... 28 more

    Caused by: java.lang.ClassNotFoundException: javax.enterprise.inject.spi.BeanManager

    at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1313)

    at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1164)

    at java.lang.Class.forName0 (Native Method)

    at java.lang.Class.forName (unknown Source)

    to org.omnifaces.config.BeanManager. < init > (BeanManager.java:82)

    ... more than 29

    There are 28, 2015 13:48:23 org.apache.catalina.core.StandardContext listenerStart

    GRAVE: Context Exception initialization instance of listener class org.omnifaces.ApplicationListener event sending

    java.lang.NoClassDefFoundError: has not been initialized class org.omnifaces.config.BeanManager

    at org.omnifaces.ApplicationListener.checkCDIAvailable(ApplicationListener.java:63)

    at org.omnifaces.ApplicationListener.contextInitialized(ApplicationListener.java:55)

    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4729)

    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5167)

    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

    to org.apache.catalina.core.ContainerBase$ StartChild.call (ContainerBase.java:1408)

    to org.apache.catalina.core.ContainerBase$ StartChild.call (ContainerBase.java:1398)

    at java.util.concurrent.FutureTask.run (unknown Source)

    at java.util.concurrent.ThreadPoolExecutor.runWorker (unknown Source)

    to java.util.concurrent.ThreadPoolExecutor$ Worker.run (unknown Source)

    at java.lang.Thread.run (unknown Source)

    There are 28, 2015 13:48:23 com.sun.faces.config.ConfigureListener contextInitialized

    INFO: initializing Mojarra 2.2.9 (-SHOT 20141218-0939 https://svn.java.net/svn/mojarra~svn/tags/2.2.9@14083) to the context ' / PrimeFacesVenta6'

    There are 28, 2015 createInstance com.sun.faces.spi.InjectionProviderFactory 13:48:23

    INFO: JSF1048: PreDestroy/PostConstruct annotation present.  Servlet methods marked with these annotations have tell processed annotations.

    There are 28, 2015 13:48:23 com.sun.faces.config.ConfigureListener contextInitialized

    SEVERE: Critical error during deployment:

    java.lang.NoClassDefFoundError: has not been initialized class org.omnifaces.config.BeanManager

    to org.omnifaces.application.OmniApplication. < init > (OmniApplication.java:69)

    at org.omnifaces.application.OmniApplicationFactory.createOmniApplication(OmniApplicationFactory.java:89)

    at org.omnifaces.application.OmniApplicationFactory.getApplication(OmniApplicationFactory.java:54)

    at com.sun.faces.application.InjectionApplicationFactory.getApplication (unknown Source)

    at com.sun.faces.config.InitFacesContext.getApplication (unknown Source)

    to com.sun.faces.lifecycle.ClientWindowFactoryImpl. < init >(Unknown Source)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0 (Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance (unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance (unknown Source)

    the impossible (unknown Source)

    to java.lang.Class.newInstance (unknown Source)

    at javax.faces.FactoryFinderInstance.getImplGivenPreviousImpl (unknown Source)

    at javax.faces.FactoryFinderInstance.getImplementationInstance (unknown Source)

    at javax.faces.FactoryFinderInstance.getFactory (unknown Source)

    at javax.faces.FactoryFinder.getFactory (unknown Source)

    at com.sun.faces.config.processor.FactoryConfigProcessor.verifyFactoriesExist (unknown Source)

    at com.sun.faces.config.processor.FactoryConfigProcessor.process (unknown Source)

    at com.sun.faces.config.ConfigManager.initialize (unknown Source)

    at com.sun.faces.config.ConfigureListener.contextInitialized (unknown Source)

    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4727)

    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5167)

    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

    to org.apache.catalina.core.ContainerBase$ StartChild.call (ContainerBase.java:1408)

    to org.apache.catalina.core.ContainerBase$ StartChild.call (ContainerBase.java:1398)

    at java.util.concurrent.FutureTask.run (unknown Source)

    at java.util.concurrent.ThreadPoolExecutor.runWorker (unknown Source)

    to java.util.concurrent.ThreadPoolExecutor$ Worker.run (unknown Source)

    at java.lang.Thread.run (unknown Source)

    There are 28, 2015 13:48:23 org.apache.catalina.core.StandardContext listenerStart

    GRAVE: Context Exception initialization instance of listener class com.sun.faces.config.ConfigureListener event sending

    java.lang.RuntimeException: java.lang.NoClassDefFoundError: has not been initialized class org.omnifaces.config.BeanManager

    at com.sun.faces.config.ConfigureListener.contextInitialized (unknown Source)

    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4727)

    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5167)

    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

    to org.apache.catalina.core.ContainerBase$ StartChild.call (ContainerBase.java:1408)

    to org.apache.catalina.core.ContainerBase$ StartChild.call (ContainerBase.java:1398)

    at java.util.concurrent.FutureTask.run (unknown Source)

    at java.util.concurrent.ThreadPoolExecutor.runWorker (unknown Source)

    to java.util.concurrent.ThreadPoolExecutor$ Worker.run (unknown Source)

    at java.lang.Thread.run (unknown Source)

    Caused by: java.lang.NoClassDefFoundError: has not been initialized class org.omnifaces.config.BeanManager

    to org.omnifaces.application.OmniApplication. < init > (OmniApplication.java:69)

    at org.omnifaces.application.OmniApplicationFactory.createOmniApplication(OmniApplicationFactory.java:89)

    at org.omnifaces.application.OmniApplicationFactory.getApplication(OmniApplicationFactory.java:54)

    at com.sun.faces.application.InjectionApplicationFactory.getApplication (unknown Source)

    at com.sun.faces.config.InitFacesContext.getApplication (unknown Source)

    to com.sun.faces.lifecycle.ClientWindowFactoryImpl. < init >(Unknown Source)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0 (Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance (unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance (unknown Source)

    the impossible (unknown Source)

    to java.lang.Class.newInstance (unknown Source)

    at javax.faces.FactoryFinderInstance.getImplGivenPreviousImpl (unknown Source)

    at javax.faces.FactoryFinderInstance.getImplementationInstance (unknown Source)

    at javax.faces.FactoryFinderInstance.getFactory (unknown Source)

    at javax.faces.FactoryFinder.getFactory (unknown Source)

    at com.sun.faces.config.processor.FactoryConfigProcessor.verifyFactoriesExist (unknown Source)

    at com.sun.faces.config.processor.FactoryConfigProcessor.process (unknown Source)

    at com.sun.faces.config.ConfigManager.initialize (unknown Source)

    ... more than 10

    There are 28, 2015 13:48:23 org.apache.catalina.core.StandardContext startInternal

    GRAVE: One or more listeners could start. You will find all the details in the appropriate container log file

    There are 28, 2015 13:48:23 org.apache.catalina.core.StandardContext startInternal

    SEVERE: Context [/ PrimeFacesVenta6] startup failed due to previous errors

    There are 28, 2015 13:48:23 org.apache.catalina.core.StandardContext listenerStop

    GRAVE: Sending Exception context destroyed instance of listener class com.sun.faces.config.ConfigureListener event

    java.lang.NoClassDefFoundError: has not been initialized class org.omnifaces.config.BeanManager

    to org.omnifaces.application.OmniApplication. < init > (OmniApplication.java:69)

    at org.omnifaces.application.OmniApplicationFactory.createOmniApplication(OmniApplicationFactory.java:89)

    at org.omnifaces.application.OmniApplicationFactory.getApplication(OmniApplicationFactory.java:54)

    at com.sun.faces.application.InjectionApplicationFactory.getApplication (unknown Source)

    at com.sun.faces.config.InitFacesContext.getApplication (unknown Source)

    at com.sun.faces.config.ConfigureListener.contextDestroyed (unknown Source)

    at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4774)

    at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5390)

    at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)

    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:160)

    to org.apache.catalina.core.ContainerBase$ StartChild.call (ContainerBase.java:1408)

    to org.apache.catalina.core.ContainerBase$ StartChild.call (ContainerBase.java:1398)

    at java.util.concurrent.FutureTask.run (unknown Source)

    at java.util.concurrent.ThreadPoolExecutor.runWorker (unknown Source)

    to java.util.concurrent.ThreadPoolExecutor$ Worker.run (unknown Source)

    at java.lang.Thread.run (unknown Source)

    There are 28, 2015 getFactory javax.faces.FactoryFinderInstance 13:48:23

    SEVERUS: Application has not been properly initialized at startup, could not find factory: javax.faces.application.ApplicationFactory. Try to find relief.

    There are 28, 2015 13:48:23 com.sun.faces.config.ConfigureListener contextDestroyed

    SEVERE: Unexpected Exception When you try to tear down the length of the Mojarra

    java.lang.IllegalStateException: could not find relief for javax.faces.application.ApplicationFactory of the factory.

    at javax.faces.FactoryFinderInstance.getFactory (unknown Source)

    at javax.faces.FactoryFinder.getFactory (unknown Source)

    at com.sun.faces.config.InitFacesContext.getApplication (unknown Source)

    at com.sun.faces.config.ConfigureListener.contextDestroyed (unknown Source)

    at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4776)

    at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5390)

    at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)

    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:160)

    to org.apache.catalina.core.ContainerBase$ StartChild.call (ContainerBase.java:1408)

    to org.apache.catalina.core.ContainerBase$ StartChild.call (ContainerBase.java:1398)

    at java.util.concurrent.FutureTask.run (unknown Source)

    at java.util.concurrent.ThreadPoolExecutor.runWorker (unknown Source)

    to java.util.concurrent.ThreadPoolExecutor$ Worker.run (unknown Source)

    at java.lang.Thread.run (unknown Source)

    There are 28, 2015 start 13:48:23 org.apache.coyote.AbstractProtocol

    INFO: From ProtocolHandler ['http-nio-8080"]

    There are 28, 2015 start 13:48:23 org.apache.coyote.AbstractProtocol

    INFO: From ProtocolHandler ["ajp-nio-8009"]

    There are 28, 2015 start 13:48:23 org.apache.catalina.startup.Catalina

    INFO: 4262 SP server startup

    These errors were installed after Omnifaces to send an object to a bean.

    The page code that generates the error is:

    <! 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://xmlns.JCP.org/JSF/Facelets "" "

    ' xmlns:f = ' http://xmlns.JCP.org/JSF/core "" "

    ' xmlns:h = ' http://xmlns.JCP.org/JSF/HTML "" "

    ' xmlns:p = ' http://PrimeFaces.org/UI ">

    < h:head >

    by default, < title > < ui:insert name = "title" > title < / ui:insert > < / title >

    < / h:head >

    < h:body >

    "< ui:composition template="./WEB-INF/templates/plantilla.xhtml ">

    < ui: set name = "content" >

    < f: event type = listener = "#{personaBean.listar ('F')"preRenderView"}" / > "

    < f: event type = listener = "#{productoBean.listar ('F')"preRenderView"}" / > "

    < h:form >

    < p:outputLabel value = "Persona" >

    < / p:outputLabel >

    < p:selectOneMenu value = "#{ventaBean.venta.persona}" converter = "omnifaces. SelectItemsConverter">

    < f: selectItem noSelectionOption = 'true' itemLabel = "select' Valeurelement = ' #{null}" / >

    "< f: selectItems value =" #{personaBean.lstPersonas} "var = 'by' itemLabel =" #{per.nombre} "Valeurelement =" #{by} "/ >

    < / p:selectOneMenu >

    < p:outputLabel value = "Producto" >

    < / p:outputLabel >

    < p:selectOneMenu value = "#{ventaBean.producto}" converter = "omnifaces. SelectItemsConverter">

    < f: selectItem noSelectionOption = 'true' itemLabel = "select' Valeurelement = ' #{null}" / >

    "< f: selectItems value =" #{productoBean.lstProductos} "var = itemLabel =" #{pro.nombre 'pro'} ' Valeurelement = ' #{pro} "/ >

    < / p:selectOneMenu >

    < p:outputLabel value = "Price" >

    < / p:outputLabel >

    < p:inputText value = "#{ventaBean.cantidad}" / > "

    < p:commandButton value = "Add" actionListener = "#{ventaBean.agregar ()}" updated = "detail" / > ""

    < p:dataTable id = value = "#{ventaBean.lista"detail"} ' var 'det' = >"

    < p:column headerText = "Product number" >

    #{det.producto.nombre}

    < / p:column >

    < p:column headerText = "Price" >

    #{det.producto.precio}

    < / p:column >

    < p:column headerText = "Amount" >

    #{det.cantidad}

    < / p:column >

    < / p:dataTable >

    < p:commandButton value = "Clerk Venta" / >

    < / h:form >

    < / ui: define >

    < / ui:composition >

    < / h:body >

    < / html >

    El Código del bean es el siguiente:

    package com.mitocode.bean;

    import java.util.ArrayList;

    import java.util.List;

    Import javax.faces.bean.ManagedBean;

    Import javax.faces.view.ViewScoped;

    import com.mitocode.model.DetalleVenta;

    import com.mitocode.model.Producto;

    import com.mitocode.model.Venta;

    @ManagedBean

    @ViewScoped

    public class VentaBean {}

    venta of Venta private = new Venta();

    private product product = new Producto();

    private int amount;

    private list < DetalleVenta > lista = new ArrayList < DetalleVenta > ();

    public list < DetalleVenta > getLista() {}

    return the list;

    }

    {} public void setLista (list list < DetalleVenta >)

    This.Lista = list;

    }

    public int getCantidad() {}

    to return the amount;

    }

    {} public void setCantidad (int amount)

    This.Cantidad = amount;

    }

    public getProducto() {} Producto

    return of product;

    }

    {} public void setProducto (product product)

    This.producto = product;

    }

    public getVenta() {} Venta

    return her venta;

    }

    {} public void setVenta (Venta venta)

    This.Venta = venta;

    }

    public void agregar() {}

    Det DetalleVenta = new DetalleVenta();

    det.setCantidad (amount);

    det.setProducto (product);

    This.Lista.Add (Det);

    }

    }

    I googled as could be, but is no solution to my problem.

    Maven already added to the CDI module, as recommended by StackOverflow, which makes the page is rendered, but when any button is active, is displayed a 404 error page.

    Maven is also added to the module "welder".

    What strikes me is that in the tutorial of the CDI and modules 'welder' are not added.

    My work environment is the following:

    Eclipse of March (4.5)

    Mojarra 2.2.9

    5.2 PrimeFaces

    OmniFaces 2.1

    Tomcat 8

    I hope you can help me with this.

    Thank you much in advance.

    Message editado por: gechenique

    Hello

    As the error seems to occur in OmniFaces I recommend the rattling.

    Thank you!

  • I have seconds in digital format, I need to convert this number to format MI: SS

    Hi all

    I have seconds in digital format, I need to convert this number to format MI: SS

    ex SEC 119-> 01:59 you guys can help me?

    s 900-> 15:00

    can you help me?

    Thank you all.

    Hello

    Here's one way:

    SELECT TO_CHAR (TO_DATE (119 ' SSSSS'), 'MI: SS') FROM DUAL;

    SQL > SELECT TO_CHAR (TO_DATE (119 ' SSSSS'), 'MI: SS') FROM DUAL;

    TO_CHAR (TO_DATE(119,'SSSSS'),')

    ------------------------------

    01:59

    SQL >

  • Guys, help me understand this: allocation of disk error

    Hello guys, would appreciate if you help me understand this problem:

    Recently, I deleted my windows 7 x 64 VM, but allocated to this machine (60 GB) disk space DOES NOT seem to be deleted, and it takes a lot of space on my Mac Air. How can I get rid of this disk space? Attach this photo...

    Please, help me to understand this problem. I'm sure GB 63,92 come from somewhere, I don't have such a quantity of files on my Mac.

    BTW if the output of the command is nothing that isn't necessarily a bad thing.

    Also, you might need to take a look at the floppy graphically using a software like disk inventory X as it might make it easier see what fits "The other".

  • Action Script 3 help me with this tutorial?

    Can someone show me what code I am supposed to have done at the end of the tutorial. In my version does not have the button I click to pass the game.

    Activity 3:

    Goal: Creating a new INIT function for the screen 'start '.

    1. the next stage of this game is to create a screen of 'start '. Now, this will be the

    the first thing that loads when the game starts, if the suggestion is to bring us some changes

    the structure of the current game. The first thing is rename:

    private void init(e:Event_=_null):void

    TO:

    private void game(e:Event_=_null):void

    It helps to make this feature more obvious and the most appropriate title.

    2. now that we have made this change, we can recreate a new init function for the

    splash screen. We create this above game function.

    The new init(e:Event_=_null):void public void will contain:

    • Declare the boot as a new getCurrentCard image;

    • Add as a child• position properly in the center of the screen.

    Test and annotate

    3. now that the picture of the Start button appears on the screen in an appropriate way, there

    make clickable. Thus, within the new init function add an EventListener ' ', which is

    a "MouseEvent" CLICK, which will lead you to a new method called "startgame()".

    4. now that the earpiece is in place so we need to make the public function called

    "startgame()", for which the previous listener is pointing. It will look like:

    public void startgame(e:Event):void

    {

    SOME CODE

    }

    This should be under your init function. The part "e: Event" indicates that it will be

    have some kind of action event on to it.

    5 in this method, it must put in place a statement that will send the player to the game

    even when the boot image is clicked. It will be an "If" statement and will look like

    this:

    Start = > the e.target == start = (True) = > removechild (start) = > game() = > stop

    This looks like a pretty poor tutorial.  but

    public void init(e:Event=null):void {}

    go = new getCurrentCard;  You must declare GB

    addChild (GB);

    go.addEventListener (MouseEvent.CLICK, startgame);

    }

    public void startgame(e:Event):void {}

    removeChild (start_mc);  where start_mc is the movieclip of your start screen

    addChild (game_mc);  where game_mc is the movieclip of your game

    }

  • Oracle does not get launched. Can someone help me on this... ?

    Hi friends,

    I am facing a problem like Oracle Forms are not themselves started.
    Can someone help me on this...?

    Waiting for answers

    Thank you
    Sagar

    Hi Sam,

    OS is Windows7, so I think it must be the problem with the file of the Java virtual machine. Navigate to the following location:
    C:\Program Files (x 86) \Oracle\JInitiator 1.3.1.30\bin\hotspot
    Replace the file FMV of 805KB size with a FMV of larger file (say 2, 280KO).

    This should work... Let me know if it worked or not.

    Kind regards
    Rajesh

  • Convert the physical Linux machine with VMware Converter Standalone 4.0.1 on VMware Workstation

    Hello

    I work in a virtualization project, now I test and I want to test the new version of the converter, because I need to convert some Linux machines and I know that with this version is not difficult.

    I do not have the ready virtual infrastructure so I test on a workstation environment. I would like to know if someone has converted a physical Linux machine to virtual and if the destination has VMware workstation 6.5. I know that this is not supported, but this does not mean that you couldn't do.

    When I have to specify the type of destination, I got the error that you could see on the photo.

    Please let me know if you have tested this before and you know how to solve this problem.

    Thanks in advance!

    See you soon

    Malulas,

    Welcome to the Community Forums.

    To do a physical to virtual conversion, you MUST GO to ESX.  It is a requirement under the guidance of the user manual.

    If the virtual machine was already in ESX, you might be able to export to a workstation image while the ESX VM is powered off.

    Sorry for the bad news.

    Kind regards

    EvilOne

    VMware vExpert 2009

    NOTE: If your question or problem has been resolved, please mark this thread as answered and awarded points accordingly.

  • Help to convert as2 as3

    Please, I need help convert this script in as3 bellow. Thank you.

    SCREEN_WIDTH = 800

    screen_height = 200

    frequency = 0

    MovieClip.prototype.serConfeti = function () {}

    This._x = Math.ceil (Math.Random () * SCREEN_WIDTH)

    This._xscale = Math.ceil (Math.Random () * screen_height)

    This ._yscale = this ._xscale

    This.Mover)

    This.coloreame)

    }

    function getPorcentaje() {}

    var number = Math.ceil (Math.random () * 100)

    return number

    }

    getOffset() {} function

    var number = Math.ceil (Math.random () * 255)

    var buleano = Math.round (Math.random () * 1)

    If (buleano == 1) {}

    number = number * 1

    }

    return number

    }

    MovieClip.prototype.coloreame = function () {}

    var color = new Color (this)

    var nuevo_color = new Object()

    nuevo_color. RA = getPorcentaje)

    nuevo_color. RB = GetOffset)

    nuevo_color.GA = getPorcentaje)

    nuevo_color. GB = GetOffset)

    nuevo_color.BA = getPorcentaje)

    nuevo_color.BB = GetOffset)

    my_color.SetTransform (nuevo_color)

    }

    MovieClip.prototype.mover = function () {}

    this.onEnterFrame = function () {}

    If (this ._y < 600) {}

    This ._y += 10

    This ._xscale = Math.random () * 200

    This ._rotation = Math.random () * 360

    } else {}

    this.removeMovieClip)

    }

    }

    }

    MovieClip.prototype.caidaConfeti = function () {}

    this.createEmptyMovieClip("caida_mc",1)

    var count = 0

    var confCount = 1

    This.caida_mc.onEnterFrame = Function () {}

    if(Count<frecuency) {}

    Count ++

    } else {}

    this.attachMovie ("conf", "conf" + confCount, confCount)

    eval("this.caida_mc.conf"+confCount).serConfeti)

    Count = 1

    confCount ++

    }

    }

    }

    //

    _root.caidaConfeti)

    see if it's what you want:

    var screen_width:int = 800;

    var screen_height:int = 200;

    var frecuency:int = 0;

    function coloreame(mc:MovieClip):void { / / can't tell what is your coloreame but try this. }

    var ct:ColorTransform = mc.transform.colorTransform;

    CT. Color = 0xffffff * Math.random ();

    mc.transform.colorTransform = ct;

    }

    function serConfeti(mc:MovieClip):void {}

    MC.x = Math.ceil (Math.random () * screen_width);

    mc.scaleX = mc.scaleY = Math.ceil (Math.random () * screen_height);

    Mover (MC);

    coloreame (MC);

    }

    function mover(mc:MovieClip):void {}

    mc.addEventListener (Event.ENTER_FRAME, moverF);

    }

    function moverF(e:Event):void {}

    var mc:MovieClip = MovieClip (e.currentTarget);

    If (mc.y<>

    MC.y += 10;

    mc.scaleX = Math.random () * 200;

    MC.rotation = Math.random () * 360;

    } else {}

    mc.removeEventListener (Event.ENTER_FRAME, moverF);

    mc.parent.removeChild (mc);

    }

    }

    function caidaConfeti(mc:MovieClip):void {}

    var caida:MovieClip = new MovieClip();

    Caida.Count = 0;

    caida.confCount = 1;

    mc.addChild (caida);

    caida.addEventListener (Event.ENTER_FRAME, enterFrameF);  / / I can't tell when it has to end.

    }

    function enterFrameF(e:Event):void {}

    var caida:MovieClip = MovieClip (e.currentTarget);

    If (caida.count<>

    Caida.Count ++;

    } else {}

    var conf_mc:MovieClip = new conf();

    caida.addChild (conf_mc);

    serConfeti (conf_mc);

    }

    }

    caidaConfeti (this);

Maybe you are looking for

  • What you can say about Satellite L30-134

    I have to buy laptop for office work? and I choose Satellite L30-134? What do you think? It's my first time when I buy the laptop... I have only 700 maybe $ advise you something else? and second question why portable seria L30 have only 1 year warran

  • security mode?

    My little cousin was messing around with my laptop computer and some how got into safe mode. is it possible to get it out?

  • Product key lost after upgrade to windows 7

    Hey,. Just thought it should be mentioned that the lost product key of installed software (legitimately) on upgrades of machines pre windows can be retrieved from the file created 'windows.old' on the C: drive, using key finder software. It saved me

  • How to return data using the object type?

    Hello all - I have an obligation to return the values object type.In the same way aslist - Plan1, Subplan1, Fund1, 2 Fund Fund 3list - Plan2, Subplan2, Fund2list - plane3, Subplan3, not fundsTo achieve this I wrote below proc but its giving as respon

  • Incremental backups of POS?

    Dear guys,so far, I'm not able to tell if the version standard POS is it possible to have incremental backups, do you know if it's possible?Cause I need to run the backup complete and many incremental or VDP consider additional backups as incremental