FocusManager breakage on return to a view with destructionPolicy="never"

Hi,
OK, so I have a view based application with an underlying view containing a core module of my application that I want to keep available. Therefore, I have set destructionPolicy="never" to keep it in memory. This works.
I also have a TextArea that I add to the view at various times and call TextArea.setFocus(); to draw up the soft keyboard on update complete. This works.
I also have a separate view that I push onto my ViewNavigator to perform a couple of related tasks, then pop it off to return to the main view once I am done. This works.
BUT...
When I return from displaying my subview, focusManager will no longer respond to my TextArea.setFocus() call.
EG: focusManager.getFocus() returns null no matter how often nor in what manner I call TextArea.setFocus();
This means that I can no longer edit any text in my main view.
Short of a (non-trivial and undesirable) workaround to replace the main view every time, which would mean re-architecting the core and unnecessarily reinitialising a number of display objects, is there any reason anybody can see for focusManager to fail in this way?
Cheers,
G

Dagnamit and gnnngringichyeAAUUUUURGHH!
OK, so I've found _one_ of the issues...
I was using stage text skin as I wanted (_NEEDED_) to use the spell checker and so to eliminate a costly and unnecessary programming subsystem from this legacy app. Trouble is, the stage text skin and _only_ the stage text skin is utterly, utterly banjaxed by views being added and removed.
skinClass
:ClassReference("spark.skins.mobile.StageTextAreaSkin"
Once I swapped to TextAreaSkin everything worked the way it was meant to...
skinClass
:ClassReference("spark.skins.mobile.TextAreaSkin"
Apart, that is, from the (@{{ing spell correction.
Grr. Now to add the spell checker back in... Some how.
G

Similar Messages

  • Env: Weblogic 8.1.5 Getting empty return in test view with new data

    Hi, I am using Weblogic 8.1.5, Basically a run down of this issue is that my response in test view, is completely Empty when I add a new piece of data in the response current code example below:
      SuccessResponseType srtype = SuccessResponseType.Factory.newInstance();
                srtype.setFacDesig(inFacDesig);
                srtype.setFacType(inFacType);
                srtype.setFacTermA(inTermA);
                srtype.setFacTermZ(inTermZ);
                srtype.setNotes(NoteRtn);
                srtype.setE3Array(rtn);
                Response.setSuccessResponse(srtype);Basically when srtype.setNotes(NoteRtn); is added in test view NONE of the values get populated, but once I comment srtype.setNotes(NoteRtn); out all the other values get populated in the response. At this point I am just plugging dummy data for the value of NoteRtn just to figure out why its doing this. Here is some example output.
    This is a response when the new line is commented out : (Its a decent amount of stuff so I cut some out, but you get the idea)
    <ns:successResponse>
    <ns:FacDesig>20027</ns:FacDesig>
    <ns:FacType>T1F</ns:FacType>
    <ns:FacTermA>MMPHTNMAFD1</ns:FacTermA>
    <ns:FacTermZ>MMPHTNMA43T</ns:FacTermZ>
    <ns:E3info>
    <ns:E3FacDesig>7101</ns:E3FacDesig>
    <ns:E3FacType>E3</ns:E3FacType>
    </ns:E3info>
    </ns:successResponse>
    This is what I get when I add in srtype.setNotes(NoteRtn);
    <ns:successResponse>
    </ns:successResponse>
    its just completely empty. My experience with weblogic and webservices is limited as it is, I am basically looking for someone to point me in the right direction for getting this resolved. I did not code the app I am just enhancing to in essence just add 2 strings of data to the response. The .xsd file is properly set up with the new elements and the response in the .xsd is properly set up. I am just at a loss as to what can cause the whole response to go kaput, by adding one more response type.
    Anyway, Thanks in advance

    Hi, I am using Weblogic 8.1.5, Basically a run down of this issue is that my response in test view, is completely Empty when I add a new piece of data in the response current code example below:
      SuccessResponseType srtype = SuccessResponseType.Factory.newInstance();
                srtype.setFacDesig(inFacDesig);
                srtype.setFacType(inFacType);
                srtype.setFacTermA(inTermA);
                srtype.setFacTermZ(inTermZ);
                srtype.setNotes(NoteRtn);
                srtype.setE3Array(rtn);
                Response.setSuccessResponse(srtype);Basically when srtype.setNotes(NoteRtn); is added in test view NONE of the values get populated, but once I comment srtype.setNotes(NoteRtn); out all the other values get populated in the response. At this point I am just plugging dummy data for the value of NoteRtn just to figure out why its doing this. Here is some example output.
    This is a response when the new line is commented out : (Its a decent amount of stuff so I cut some out, but you get the idea)
    <ns:successResponse>
    <ns:FacDesig>20027</ns:FacDesig>
    <ns:FacType>T1F</ns:FacType>
    <ns:FacTermA>MMPHTNMAFD1</ns:FacTermA>
    <ns:FacTermZ>MMPHTNMA43T</ns:FacTermZ>
    <ns:E3info>
    <ns:E3FacDesig>7101</ns:E3FacDesig>
    <ns:E3FacType>E3</ns:E3FacType>
    </ns:E3info>
    </ns:successResponse>
    This is what I get when I add in srtype.setNotes(NoteRtn);
    <ns:successResponse>
    </ns:successResponse>
    its just completely empty. My experience with weblogic and webservices is limited as it is, I am basically looking for someone to point me in the right direction for getting this resolved. I did not code the app I am just enhancing to in essence just add 2 strings of data to the response. The .xsd file is properly set up with the new elements and the response in the .xsd is properly set up. I am just at a loss as to what can cause the whole response to go kaput, by adding one more response type.
    Anyway, Thanks in advance

  • Flex mobile paged list troubles with destructionPolicy

    Hello,
    i have set a list with data paging in a flex mobile view with destructionPolicy=never, when coming back to this view i get some errors when the paging mechanism is triggered (there is no errors when all of the items were previously fetched).
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at mx.data::RPCDataServiceAdapter/http://www.adobe.com/2006/flex/mx/internal::addPagingParameters()[C:\depot\DataServices\br anches\milestone\lcds45_fb45\frameworks\projects\data\src\mx\data\RPCDataServiceAdapter.as :1108]
    at mx.data::RPCDataServiceAdapter/pageQuery()[C:\depot\DataServices\branches\milestone\lcds4 5_fb45\frameworks\projects\data\src\mx\data\RPCDataServiceAdapter.as:411]
    at mx.data::RPCDataServiceAdapter/processDataMessage()[C:\depot\DataServices\branches\milest one\lcds45_fb45\frameworks\projects\data\src\mx\data\RPCDataServiceAdapter.as:1069]
    at RPCDataServiceRequest/invoke()[C:\depot\DataServices\branches\milestone\lcds45_fb45\frame works\projects\data\src\mx\data\RPCDataServiceAdapter.as:1786]
    at mx.data::DataStore/http://www.adobe.com/2006/flex/mx/internal::invoke()[C:\depot\DataServices\branches\milest one\lcds45_fb45\frameworks\projects\data\src\mx\data\DataStore.as:3497]
    at Function/<anonymous>()[C:\depot\DataServices\branches\milestone\lcds45_fb45\frameworks\pr ojects\data\src\mx\data\DataStore.as:1716]
    at mx.data::DataStore/http://www.adobe.com/2006/flex/mx/internal::fill()[C:\depot\DataServices\branches\mileston e\lcds45_fb45\frameworks\projects\data\src\mx\data\DataStore.as:1767]
    at mx.data::DataStore/http://www.adobe.com/2006/flex/mx/internal::processPageRequest()[C:\depot\DataServices\bra nches\milestone\lcds45_fb45\frameworks\projects\data\src\mx\data\DataStore.as:1854]
    at mx.data::ConcreteDataService/http://www.adobe.com/2006/flex/mx/internal::processPageRequest()[C:\depot\DataServices\bra nches\milestone\lcds45_fb45\frameworks\projects\data\src\mx\data\ConcreteDataService.as:50 35]
    at mx.data::DataList/http://www.adobe.com/2006/flex/mx/internal::requestItemAt()[C:\depot\DataServices\branches \milestone\lcds45_fb45\frameworks\projects\data\src\mx\data\DataList.as:1201]
    at mx.data::DataList/getItemAt()[C:\depot\DataServices\branches\milestone\lcds45_fb45\framew orks\projects\data\src\mx\data\DataList.as:364]
    at mx.collections::ListCollectionView/getItemAt()[E:\dev\4.5.1\frameworks\projects\framework \src\mx\collections\ListCollectionView.as:511]
    at mx.collections::AsyncListView/getItemAt()[E:\dev\4.5.1\frameworks\projects\framework\src\ mx\collections\AsyncListView.as:701]
    at spark.components::DataGroup/getVirtualElementAt()[E:\dev\4.5.1\frameworks\projects\spark\ src\spark\components\DataGroup.as:1446]
    at spark.layouts::VerticalLayout/updateDisplayListVirtual()[E:\dev\4.5.1\frameworks\projects \spark\src\spark\layouts\VerticalLayout.as:1807]
    at spark.layouts::VerticalLayout/updateDisplayList()[E:\dev\4.5.1\frameworks\projects\spark\ src\spark\layouts\VerticalLayout.as:2105]
    at spark.components.supportClasses::GroupBase/updateDisplayList()[E:\dev\4.5.1\frameworks\pr ojects\spark\src\spark\components\supportClasses\GroupBase.as:1294]
    at spark.components::DataGroup/updateDisplayList()[E:\dev\4.5.1\frameworks\projects\spark\sr c\spark\components\DataGroup.as:1373]
    at mx.core::UIComponent/validateDisplayList()[E:\dev\4.5.1\frameworks\projects\framework\src \mx\core\UIComponent.as:8989]
    at mx.managers::LayoutManager/validateDisplayList()[E:\dev\4.5.1\frameworks\projects\framewo rk\src\mx\managers\LayoutManager.as:736]
    at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.5.1\frameworks\projects\frame work\src\mx\managers\LayoutManager.as:819]
    at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\4.5.1\frameworks\projec ts\framework\src\mx\managers\LayoutManager.as:1180]
    at flash.utils::Timer/_timerDispatch()
    at flash.utils::Timer/tick()
    is there any way to prevent this ?

    Nobody any idea?
    i tried it like its described in this article:
    Declaring file type associations
    http://livedocs.adobe.com/flex/3/html/help.html?content=File_formats_1.html
    but i can't get it running for my mobile project. The  type associations works fine in my desktop air application but it doesn't work in my mobile app. Is this  type associations stuff supposed to be working on mobile devices / android?

  • Problem in CR XI returning Views with PUBLIC synonyms

    I am having problem in CR XI returning Views with PUBLIC synonym.
    I can see the tables and stored procedures with PUBLIC synonym but not VIEWS.
    This is a simple View that has a PUBLIC synonym to it. I have granted the user SELECT access to the underlying Views.
    I checked the boxes in Report > Options for all the combinations possible one by one but to no avail.
    I connect CR to the instance as a specific user , password. But when I go to Views (and Tables) there is nothing visible.
    I tried PRIVATE synonyms and when I go to Views (and Tables) the views are visible, but now the Fields are not visible.
    In SQL+ and Oracle SQL Developer connected as the same user , password everything looks ok.
    Any help will be appreciated.

    Hi Wayne,
    Sorry for the delay. Not sure where this post came from.... must have been transferred from another forum.
    R1 is no longer support nor are updates available. You can upgrade to CR Xi R2 for free, it's end of life now also but has all of the latest patches included.
    Install with your XI R1 keycode and then test again.
    http://downloads.businessobjects.com/akdlm/crystalreports/crxir2_sp4_full_bld_0-20008684.exe
    http://downloads.businessobjects.com/akdlm/crystalreports/CRYSTALREPORTS06_0-20008684.EXE
    Thank you
    Don

  • How to update a list in parent view with data from child view/window ?

    I have a view named AccountListView that displays some buttons and a list of accounts.Its viewmodel is called AccountListViewModel and has a collection : ObservableCollection<AccountViewModel>. What I'd like to acomplish: whenever I press the Add/Edit
    Button from the AccountListView to open a new window/usercontrol, i.e. AccountView and bind it to an instance of AccountViewModel that will have some fields to fill in and a Submit and Cancel buttons. How can I update the ObservableCollection<AccountViewModel>
    from  inside the child view, so when I click on the Submit button from AccountViewModel it will return an AccountViewModel object with the data I filled in and add it to the observablecollection. Would notifications from prism be the right way ? Should
    I include code from the AccountListViewModel and AccountViewModel ?

    The way to communicate between view models in Prism is to use the EventAggregator. You raise an event from view model A and subscribe and handle this event in view model B. I have written a blog post about it which should be helpful here:
    http://blog.magnusmontin.net/2014/02/28/using-the-event-aggregator-pattern-to-communicate-between-view-models/.
    In your case you could define an event that carries an AccountViewModel object and pass this one from view model A to view model B:
    public class AccountViewModelEvent : CompositePresentationEvent<AccountViewModel>
    Please refer to the blog post for more information and a complete code example.
    Hope that helps.
    Please remember to close your threads by marking helpful posts as answer and then start a new thread if you have a new question. Please don't ask several questions in the same thread.

  • Error when using Analytic view with Input Parameters

    Hi,
    I am trying to create an info space based on my Analytic view which has input parameters. The infospace is validated and indexed without any issue. However when I ran the view, I get an error (50011) as it is unable to fetch any results. I tried using an infospace based on Calculation view with input parameters and the explorer view works without any issue.
    Has anyone faced similar issues?
    We are using HANA SP 6 rev 67 and BI 4.0 SP 4.
    Also is there a way to enable input prompts for the users when they refresh the BO Explorer view? If not currently available is there any work around ?
    Thanks

    Hello George,
    I don't have any personalization set on the info space. Also I am using mapped Account in BI to connect to HANA. The confusing part is that it is able to validate the infospace with the input parameters and index it. However query does not return any results. I even tried running the same query which explorer sends to HANA in the SQL editor and there too the same results,the query does not return anything. The model does return data when I do a data preview and if accessed from other tools like AAO.
    Also when I use SSO connection to HANA, indexing of the infospace fails. Where can I see the error log?
    Thanks,

  • Error while using Analytic view with BO explorer

    Hi,
    I am trying to create an info space based on my Analytic view which has input parameters. The infospace is validated and indexed without any issue. However when I ran the view, I get an error (50011) as it is unable to fetch any results. I tried using an infospace based on Calculation view with input parameters and the explorer view works without any issue.
    Has anyone faced similar issues?
    We are using HANA SP 6 rev 67 and BI 4.0 SP 4.
    Also is there a way to enable input prompts for the users when they refresh the BO Explorer view? If not currently available is there any work around ?
    Thanks

    Hello George,
    I don't have any personalization set on the info space. Also I am using mapped Account in BI to connect to HANA. The confusing part is that it is able to validate the infospace with the input parameters and index it. However query does not return any results. I even tried running the same query which explorer sends to HANA in the SQL editor and there too the same results,the query does not return anything. The model does return data when I do a data preview and if accessed from other tools like AAO.
    Also when I use SSO connection to HANA, indexing of the infospace fails. Where can I see the error log?
    Thanks,

  • "Refresh after" insert fails for DB-View with INSTEAD OF Triggers

    Hi,
    I have a database view with INSTEAD OF triggers defined for INSERT, UPDATE, DELETE.
    For some EO attributes the refresh after insert and update is defined.
    Posting to database fails.
    According to Database 9.2 Manual and a previous thread (BC4J and Updatable Views the RETURNING clause is not allowed for database views with INSTEAD OF triggers.
    Is there a workaround so the refresh after is done, but without the RETURNING feature?
    I only need to refresh some values. The PK i can set in the create method of the EO so refresh via a additional SELECT would be possible.
    If not Feature Request:
    Add the possibility to do the "refresh after ..." with a 2nd SELECT using the PK instead of using the RETURNING clause.
    Of course then it is not possible to set the PK in the database trigger. PK has to be set in the create method of the EO.
    Thanks,
    Markus
    GEMS IT

    Hi Markus,
    Turning on the stack trace (-Djbo.debugout put=Console - in the Project/runner) did help and I should have done it sooner. Turns out that when I constructed my EO based upon a database view - I should have left out the PKs of the base tables.
    In my case, I am using an "Instead Of Trigger" to populate a multi-table arrangement (parent - child - grandChild - greatGrandChild relationship) where all base tables are using dbSequence/dbTriggers.
    Final analysis - I would like to see BC4J handle this situation. I do not want to use View-Links and I should * not * have to resort to stored procedures and BC4J/doDML. If I construct a DB View this is participating in an parent - child - grandChild - greatGrandChild relationship that are using dbSequence/dbTriggers, then BC4J should be smart enough to construct VO knowing that I want to do insert, update, delete, selects - based upon this structure.
    Thanks Markus,
    Bill G...

  • How to create a view with parameters; read the documentation but nothing!

    Hello!
    I'm new to the Oracle world but together with my coworkers we need to very quickly study Oracle to figure out whether we'll add Oracle to our list of supported databases or not.
    Question: How do I create a view with parameters?
    I've read the documentation but I could not find this! I found the sql syntax to create a view but no parameters whatsoever...
    I have found on the web some very complicated way of doing this, but doesn't Oracle support Views with parameters?
    The goal here is to return a recordset, don't forget, so,please don't speak about stored procedures unless you are going to tell me how to get a recordset out of a stored procedure! ;)
    Thanks for all your help and attention!
    Jorge C.

    You can set up a parameterized view via context as follows:
    1. Set up a procedure to set your context values:
    create or replace procedure p_set_context (p_context IN VARCHAR2,p_param_name IN VARCHAR2,p_value IN VARCHAR2)
    as
    BEGIN
    sys.dbms_session.set_context(p_context,p_param_name,p_value);
    END;
    2. Create your context using the procedure you just created
    create or replace context my_ctx using p_set_context
    3. This is the test table I'll use
    create table my_table(col1 number)
    and populate it:
    begin
    for v_index in 1..10
    loop
    insert into my_table values(v_index);
    end loop;
    end;
    and the view that will be parameterised
    create or replace view v_my_table as select col1 from my_table where col1 between sys_context('my_ctx','start_range') and sys_context('my_ctx','end_range')
    4. Now set the parameters using the procedure above.
    begin
    p_set_context('my_ctx','start_range','1');
    p_set_context('my_ctx','end_range','5');
    end;
    5. Selecting from my_table will give you 1 to 10 (no surprise there :-) )
    selectng from v_my_table will give you 1 to 5
    You can use the context to set formats etc using the same principle. A common gotcha to watch for is trying to set the context directly using DBMS_SESSION.SET_CONTEXT instead of creating a procedure. This belongs to SYS and SYS won't have the privileges to set your context so you get an insufficient privileges result leading to much headscratching and unnecessary grants (at least that's my understanding of it).
    Sorry Jorge, as you're new to Oracle I should also have pointed out for completeness sake, that you can change the parameters at any time through recalling the p_set_context, for example, following on from above, after your "select * from v_my_table" and seeing 1 to 5, you could then do
    begin
    p_set_context('my_ctx','start_range','3');
    end;
    and when you requery 'Select * from v_my_table' you will now see rows 3 to 5.
    Bit of a simplistic example, but you can see how easy it is. :-)
    Message was edited by:
    ian512

  • Problems on selecting views with french characters into column names

    Hi All,
    I have views with column names such as "Détermination Planimétriq" or "Année de construction:*";
    I can get in my c# function this columns names from ALL_VIEWS dictionary table, but if I try to make a selectionby use of an OracleCommand, Oracle returns an "Invalid identifier" error:
    SELECT "Détermination Planimétriq" FROM mytable;
    System.Data.OracleClient.OracleException (0x80131938): ORA-00904: "Determination Planimetriq": invalid identifier at System.Data.OracleClient.OracleConnection.CheckError(OciErrorHandle errorHandle, Int32 rc) at ...
    Any suggestion?...

    Be wary of using character codes outside the Western European "simple" alphanumeric [A-Z0-9] for object names, i.e. columns, table names, function and procedure names, and so on.
    First reason, there is a 30 character limit for most object names, and characters that have to be spelled out with unicode characters take more space, i.e.:
    select dump( 'Détermination Planimétriq'  ) from dual;
    DUMP('D?TERMINATIONPLANIM?TRIQ')
    Typ=96 Len=29: 68,239,[ ... ]Although the varchar string for that column name looks like 25 characters, it needs room for 29 to store the e<acute> character. And could also depend on the client settings. Using case sensitive names is not a best practice, its better to avoid specifying objects with the double quotes.
    http://docs.oracle.com/cd/E11882_01/server.112/e26088/sql_elements008.htm#i27570

  • ORA-01446 when selecting ROWID from View with Union

    I have a View that uses a Union to select from 3 tables. I would like the View to return the ROWID for the record that is returned so that I can update it in my form. The View compiles fine but when I select from the View I get ORA-01446 error.
    Example of my view:
    SELECT ROWID, col_a, col_b, col_c
    FROM tab_a
    UNION ALL
    SELECT ROWID, col_a, col_b, col_c
    FROM tab_b
    UNION ALL
    SELECT ROWID, col_a, col_b, col_c
    FROM tab_c
    I need the ROWID because my tables do not contain UNIQUE/PRIMARY key constraints. In my form I want to update the view with an underlying INSTEAD OF database trigger.
    Any suggestions?

    I think it will work if you give the column an alias (ie a name after the first rowid) and select that instead.
    You will probably also need another column in your view indicating which table the row came from if you want to update it.

  • Creating a view with a primary key

    I want to create a view with a defined primary key. I understand
    the view is created within a select statement, but do not
    understand how you would define a particular field as a primary
    key in the view. Also if your select statement attempts to build
    the view and has duplicate keys in the select result set, what
    would happen when the duplicate key is found? Would it just not
    include the duplicate key in the view?
    Thanks in advance for your help.
    -Pat

    I have a rather difficult problem with duplicate invoice numbers
    contained in unique records. In other words I have many records
    that appear as follows:
    3593, 0004009090, CUSTOMER, TAX, 20000117,014011976-01
    4411, 0004009090, CUSTOMER, TAX, 20000718,014011976-01
    The last field is invoice number '014011976-01' In my case I am
    building a flat file using UTL_FILE for loading into SAP
    Business Warehouse. In SAP I need to have Invoice number as a
    key in which case I can't have duplicate invoice numbers. All
    the SQL I have tried to date returns a large amount of records
    similar to the above records. I am selecting these records from
    4 different schemas which represent 4 different companies. I
    realize the data is the problem and that the vendor of the
    product I am working with should not allow records with
    duplicate invoice numbers, but I have to get the data loaded as
    that is what they want and are paying for. So back to my View. I
    was hoping to create a view and be able to work in the view to
    remove duplicate records prior to writing them to a file. Any
    suggestions are welcomed.
    Thanks
    -Pat

  • Create view with order by

    I am in a 8i SQL class where I "learned" that the order by clause can not be used when creating a view. This surprised me as I am sure I have done so in the past. After talking with the instructor we found that:
    create view viewname as
    select * from table order by column
    worked, while:
    create view viewname as
    (select * from table order by column)
    returns:
    ORA-00907: missing right parenthesis
    And
    create view viewname as
    (select * from table)
    works as well.
    Anyone understand why?
    Thanks
    null

    The queries are theoretically different.
    Example 1 is a view with an order by clause.
    Example 2 is a view of the result of an ordered query.
    Example 3 is a view of the result of an unordered query
    Just another example of how people are smarter than machines, I suppose.

  • Is it possible to create views with parameters ?

    Hi,
    As MS-Access, is it possible to create views with parameters ?
    Ms-Access syntax : parameters [a] text; select * from table where code = [a]
    If yes, can you give samples ?
    Regards
    Pascal

    I suggest you you write a stored procedure that returns a recordset in oracle. Then execute the stored procedure and loop through the record set.
    Look in in MS Knowledgebase searching on ADO Stored Proceedures for the VB/C++/VBS .. code.
    Look in in Oracle PL/SQL guide for the Stored Proceedure code.

  • Warn by leaving a form view with unsaved changes

    Hello JSF / Richfaces users,
    maybe that's not the first time, that someone asks this question here, but unfortunately I couldn't found any concrete examples on the forum. So I'd like really to get your help:
    I'd like to put some "input listeners" on my form views, so that when the user makes changes (typing in inputText, selection another value in selectMenu or checking a Checkbox), then he clicks on another Button / Link without saving, he shoudl will be warned by a dialog box remebering him to save the changes or leaving the view without saving (changes will be lost).
    I tried at first to put a boolean "inputChanged" on my Bean, then setting it to true with an adapted event (onchange) by each component. And by the buttons/links which link to another page I tried to show a <rich:modalpanel> once the value of "inputChanged" is true but I couldn't realize this conditions.
    Thereafter I found a solution based on Javascript:
    <script language="javascript" type="text/javascript">
        // Keep flag when something had changed
        var changed = false;
        Save in "changed" flag, whether an input had been done by the user.
        after that the calling of this method will be removed
        from the corresponding attribute of the input elements,
        in order to avoid redundant method calls */
        function storeChange(aChanged, aElement) {
            changed = aChanged;
            aElement.setAttribute('onchange', '');
        Finally and when the "changed" flag is true, a confirmation message will be shown
        to confirm whether the page could be left.  
        window.onbeforeunload=function unloadAlert() {
            if(changed) {
                return 'You have unsaved changes on the page. If you click on OK, the changes will be lost';
            return null;
    </script>{code}
    And in the view:
    {code}<a4j:form>
            <h:outputLabel id="label_name" value="Name" for="in_name" />
            <h:inputText id="in_name" value="#{bean.name}"
                onchange="storeChange(true, this)" />
            <br />
            <h:outputLabel id="label_email" value="E-Mail" for="in_email" />
            <h:inputText id="in_email" value="#{bean.email}"
                onchange="storeChange(true, this)" />
            <br />
            <a4j:commandButton oncomplete="javascript:changed=false"
                value="Save" />
        </a4j:form>{code}
    And now I'd
    like rather than the JS terriying dialog box, a user-friendly rich:modalPanel which should do the same function.
    For any
    indication I will be very very thankful                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Hi David,
    Thank for the prompt answer. I've tried that before but I have put that in checkin action. So that didn't work before but now as per your suggestion it works nicely. The form isn't evaluated.
    However, this time my changes aren't reflected on the user.. Basically what I do is
    - checkout user view (with empty form) (in an activity)
    - update user view (in another activity)
    - check in user view (in another activity)
    however, changes are discarded. I used winmerge to compare and saw exactly the necessary fields are updated after update activity. but after checkin no changes are reflected. so what should I do now :(
    Relevant actions are:
    <Action id='0' application='com.waveset.session.WorkflowServices'>
              <Argument name='op' value='checkoutView'/>
              <Argument name='viewId'>
                <concat>
                  <s>User:</s>
                  <ref>accountId</ref>
                </concat>
              </Argument>
              <Argument name='type' value='User'/>
              <Argument name='id' value='$(accountId)'/>
              <Argument name='Form' value='Empty Form' />
              <Return from='view' to='user'/>
              <Return from='WF_ACTION_ERROR' to='error'/>
            </Action>
            <Action id='0' application='com.waveset.session.WorkflowServices'>
              <Argument name='op' value='checkinView'/>
              <Argument name='view' value='$(user)'/>
              <Return from='WF_ACTION_ERROR' to='error'/>
            </Action>

Maybe you are looking for

  • Workstation Logo Contest - Facebook Fans Favorite Pick

    Hey MSI Workstation Fans! Thanks for your great work, we are glad to receive so many cool designs! Let's help yourself a chance to win the "Facebook Fans Favorite Pick" prize –  EIZO 24.1-inch monitor ColorEdge CX240 valued at USD$1,499- by inviting

  • URGENT : Error: nca_connect_server: cannot communicate host ...on port....

    URGENT : Error: nca_connect_server: cannot communicate host ...on port.... Platform : front end - Forms6i App Server - Oracle 9iAS Testing tool - Mercurry Load Runner 8.0 Database - Oracle 9i Hi Gurus, I am trying to run a script in Load runner but i

  • How to develop most economical source in BMM layer

    how to develop most economical source in logical table under BMM layrer->Logical Source

  • ICal on iPad times are different?

    When I try to import my schedule from my MBP to iCal on my iPad I get an error.  I think the error is because the iPad time and the time on iCal are different, on the iPad.  I am not able to figure out how to reset the iCal time on my iPad to corresp

  • Is there any way to revert to the previous version of Firefox.

    when i try to open my webmail, using the appropriate password i get the following message: https://webmail.primus.ca/parse.php?file=html/english/xp/xp.html&frame=1 I'd hardly find it necessary to contact the web provider, except for that, so i'd be c