Checkboxes persistance in PCR development

Hello ALL,
I am using checkbox group within JSP iView in the PCR development in MSS. Business package is 60.1.
I am unable to persist the checkboxes data (if checked
by user should remain checked after roundtrip.)
What data element should be used for checkboxes while defining characteristics?
What data is available in backend for checkboxes?
The Development guide in section 7.6 says that checkboxes are never used in the PCR framework.
Can anybody suggest on this by examples?

Here is a workaround for the problem you are facing with checkboxes.
The sample code below could be used for every checkbox on the PCR form. When the checkbox is checked, a values of 'X' is passed to R/3 and when left unchecked it's blank. In R/3, this should be handled appropriately.
CHKBOX_CHKT_NAME is the name of the characteristic as defined in the scenario.
<input type="hidden" id="CHKBOX_CHKT_NAME" name="CHKBOX_CHKT_NAME" value='<%= ISR.getValue("CHKBOX_CHKT_NAME") %>'>
<% if ( ( ISR.getValue("CHKBOX_CHKT_NAME").equalsIgnoreCase("X")) ) { %>
                         <hbj:checkbox
                                 id="CHKBOX_CHKT_NAME"
                                 checked="true"
                                  />
<% } else { %>
                         <hbj:checkbox
                                 id="CHKBOX_CHKT_NAME"
                                 checked="false" />
<% } %>

Similar Messages

  • JSTL checkbox persisting

    I'm having problems with a checkbox always being checked. no matter if I have unchecked it or not when my form is returned to my action class the checkbox is always on. I have seen several threads mentioning this, but none seemed to give me the answer I was looking for. Can anyone look at this and tell me what they see wrong?
    I basically need a way to change the value of the form while it is still on the jsp...
    I have tried calling a function on the onclick event... but it won't even call the function?
    Any help would be greatly appreciated.
    <td><fmt:message key="VTFHLForm.crossPlan" />
          <INPUT type="checkbox" name="crossPlan"  
              <c:if test="${session.VTFHLForm.crossPlan eq on}">checked</c:if>/>          
    </td>

    ok I just changed the way I was doing this... may not be better but I was at witts end with it.... I have set it up to use 0 and 1 for the values of the check box... here is a piece of my jsp code.
    <%!
    String codeVal = null;
    String chkBxVal = null;
    %>
    <table class="OmniDlgTable">
         <tr>
              <td>
              <table>
                   <tr>
                        <td><INPUT type="submit" name="MoreUp" align="left"
                             value="<fmt:message key='Browse.moreup' />"
                             onclick="buttonClick(this);" /></td>
                        <td>
                             <fmt:message key="VTFHLForm.crossPlan" />
                             <%chkBxVal = VTFHLForm.getCrossPlan();%>
                             <INPUT type="hidden" name="crossPlan" value="<%=chkBxVal%>" />
                             <%=chkBxVal%>
                             <%if (chkBxVal != null && chkBxVal.equals("1")) {%>
                                  <INPUT type="checkbox" checked name="crossPlan" onClick="return toggleCheckBoxValue(this);" /> 
                             <%} else {%>
                                <INPUT type="checkbox" name="crossPlan" onClick="return toggleCheckBoxValue(this);" /> 
                             <%}%>the function toggleCheckBoxValue just changes the value of chkBxVal to 0 or 1... it is being called.
    but when I get back to the action class the crossPlan value is still 0 even after I have checked it.
    here is my code for the function
    <script LANGUAGE="JavaScript">
               function toggleCheckBoxValue(chkBox){
                    alert("here");
                 if(chkBox.checked == true){//was unchecked and is checked now, so set the value to 1
                 alert("here1");
                    chkBox.value= 1;       
                 }else{          
                 alert("here2"); 
                    chkBox.value = 0;
         </script>I have the alerts in there just to verify that it is stepping in... and it is...

  • Why do I get a blue rectangle covering photo in Develop module?

    I have purchased upgrade to LR6 (or is it LR CC?).  The new software downloaded, installed, updated the catalog so it seems to function normally.  When I first opened the program, it seemed ok, but soon a large blue rectangle (with an X across it) appeared over the selected photo in the Library module.  I signed out and signed back in; I restarted my computer.  The rectangle was still there, but I saw that no module was highlighted.  When I clicked on Library, the rectangle disappeared.  So, I thought I'd fixed the problem.  BUT, the rectangle persists in the Develop module (only there).  The controls do seem to work (if I click the crop rectangle, I can see it in the upper right preview window), but I can't see through the rectangle to actually edit anything. 
    Any ideas?  (I run Windows 7, 64-bit)
    Gail Goldey

    Dear Jim,
    I appreciate your continuing help on this.  What I've been told is that
    this suggestion is a bit backwards. System is set up to use whichever card
    the software calls for.  Computer has no way of knowing what LR wants or
    needs; it's the software (LR) that has to choose among the available
    cards.  I don't know how to tell LR to choose the NVIDIA--LR should be set
    up to make that choice.  So, this sounds like a software problem.  Perhaps
    you can ask how to tell LR to do this?  I'm not sure I can find this out.
    (LR5.7 didn't have this issue, so it's somewhere in the changed software;
    system is unchanged.)
    The following is generic--but I hope you'll find it of some use.
    I can't be alone in being frustrated by the need for expert advice whenever
    Adobe does a software update or upgrade.  If my system is adequate and
    up-to-date, why should it take hours and hours of my time (and yours), and
    possibly some esoteric tweak, to fix a problem?
    Though you have been working hard to be helpful, Adobe generally is
    not--unless one wants to spend hours repeating oneself on the phone and
    days waiting for a query to reach the proper level, etc.  Been there; done
    that.  It isn't fun.  Even community inquiries (like how to deal with the
    awful new Windows email interface) more often than not go unanswered.
    Adobe seems to be trying to get individual and non-professional
    photographers to increase or upgrade their involvement with Adobe software
    and related products. Perhaps many such users would be happy to turn off
    their GPUsas I am notbut it seems to me that Adobe needs to think more
    about how ordinary people, not just sophisticated computer users, can work
    with its software.  I'm pretty sure that expert users also would be happier
    with more seamless transitions.
    Thanks for hearing me out.  Trying to be helpful and not just complaining.
    Gail

  • Alternative data source for EO and VO

    It is usually the requirement to customize the Entity Objects and View Objects so that they can work with data sources different than database schema objects (tables, views,...), some examples are Web Service or Oracle Coherence cache.
    I have developed mini projects using both data sources mentioned, by overriding relevant methods in the implementation EO and VO classes. There is one limitation I realize when developing these projects. Although both the EO and VO rely directly and completely on the alternative data sources (Web Service and Coherence), still there must be a schema object existing in the local database to back the EO and VO. This is because I still have to call super methods from ViewObjImpl and EntityImpl, and these methods are still doing some operations with the schema objects, and without these objects, ORA-00942: table or view does not exist will be thrown.
    For example, after overriding executeQueryForCollection in ViewObjImpl to take data from web service, it is still necessary to call super.executeQueryForCollection so that data will actually appear on the web page, and without the schema objects, this method will throw ORA-00942.
    My question is, is there any way to completely eliminate the need of schema objects in EO and VO? I know the answer (if exist) will be complicated but I'm willing to explore.
    Thanks.

    Thanks Timo,
    I figured out how to achieve this.
    Basically when creating the EO, I did not specify the schema object in the first step, and for each attribute that I created in the wizard, I also unchecked the checkbox "persistent". I could then create VO based on this EO and override all the necessary methods in the EO and VO so they can do CRUD operations via Web Service.
    In the case of only creating an VO (read-only, for retrieving/reading data only), I could also mark each attribute as "transient" by checking a checkbox in the creation wizard.
    Edited by: nhd on May 7, 2013 8:01 PM

  • Problems with ADF auto submit.

    Hi,
    I am new to ADF application development and I face an issue while working with the auto submit attribute.Please help me if I am doing anything wrong. The scenario is as follows....
    I have a adf table where columns values needs to be entered by the user thorough LOV, inputtext box and checkboxes. For the sake off validation to occur while typing manually in the lov fields we have included auto submit in LOV field. We have set auto submit to true to other fields also to set the values as in while we change it since it was refreshing the values to it previous state/empty when the LOV field get loaded.
    Now the problem is that when I change value in a text field and without shifting the focus (the auto submit is not triggered yet), I click the check box (now auto submit is triggered for the input text box) to deselect/select. What happens is that the checkbox gets refreshed back to it previous state (since the change event for the input box is in progress when I clicked the checkbox).
    What I do have in my code when I debug is the getter setter methods in the viewRowImpl class for that table view object is called 5-6 times before it renders the page. I tried to figure it out by understanding the phases in the life cycle but I couldnt get it right......
    I like to add that i didnt implement any value change listener thinking it will increase complexity. Correct me if I am wrong.....
    So pls help me with these .
    1. how to make the checkbox persist even if I change it before the change event autoSubmit process is in progress for other fields.
    2. Why is the getter methods called 5-6 time before it get the page rendered ?.
    3. Is it a mistake I did implement the valueChangeListener to set the values.
    4. Finally is there any alternate way to implement the above scenario more efficiently.
    thank you.....

    Hi subu,
    I am sorry that have not got it right.... let me explain in with an example code.
    <af:table value="............"
    var="row"
    rows="..........."
    selectedRowKeys="........................."
    selectionListener="........................."
    rowSelection="single" id="t1" styleClass="SimpleTable"
    contentDelivery="immediate"
    columnSelection="none"
    disableColumnReordering="true"
    horizontalGridVisible="false"
    verticalGridVisible="false" dontPersist="ALL"
    partialTriggers="........................."
    autoHeightRows="5"
    binding=".........................">
    <af:column headerText="..............................." id="c6" width="45">
    <af:inputListOfValues id="bankTypeId" value="......" required="......" columns="...." autoSubmit="true">
    <f:validator binding="..............................."/>
    </af:inputListOfValues>
    </af:column>
    <af:column sortProperty="....," sortable="false" id="c3" width="75">
    <af:inputText value="....." required="....." autoSubmit="true" id="it23" >
    <f:validator binding="...."/>
    </af:inputText>
    </af:column>
    <af:column sortProperty="PayableByBacs" sortable="false" headerText="......." id="c7" width="60" align="center">
    <af:selectBooleanCheckbox value="...." autoSubmit="true" id="sbc2"/>
    </af:column>
    </af:table>
    Now the when I change value in 'bankTypeId' (LOV) the other pre-entered values gets refreshed even though they have no partial trigger. So I have included the autosubmit to the checkbox and text field too.....
    Now the value stays when I change the LOV field value. But When I enter a new value in the text field (it23) and without shifting the focus I change the selectBooleanCheckbox value. It load for a second and the value gets changed to previous value.
    I think now I made myself little bit more clearer.... Pls do tell if there needs any more clarity.
    Thank you.......

  • ConsoleOne and Windows 7

    With the rapid oncoming inevitability of Windows 7 and having completely skipped Vista as a viable Enterprise OS I've been doing a bit of testing.
    I have had Windows 7 x64 Build 7232 running as my primary OS for a bit over a week now and I have to say that it's quite an accomplished presentation. Using the Novell Client 2 for Windows Vista/2008 I have managed to set up my desktop in a thoroughly usable manner with a fully working GroupWise 8 client, properly mapping drives (after an initial odd process of having to re-enter my Tree and Context a couple of times it now goes in an maps all drives seamlessly), and up until yesterday when I allowed my machine to sleep overnight a fully working ConsoleOne.
    It appears that the Novell Client, Groupwise and especially ConsoleOne do not like being recovered out of Sleep as all the network connections are dropped and do not recover gracefully. Groupwise and the drive mappings were not an issue as rebooting and logging in again resolved that issue without much fuss. ConsoleOne on the other hand has not recovered gracefully at all. Now when attempting to make a change to a user I get communication errors and when trying to change a users password I get the following error:
    (Error 0x8801) A request was attempted with and invalid or nonattached connection handle.
    Further investigation (i.e. clicking on Details :) ) produces this:
    0x8801 CONN INVALID
    Source
    Client Services
    Explanation
    An attempt by an application to request a connection failed. If a connection is closed, it becomes invalid.
    Possible Cause
    The connection handle that is being used by the requesting application no longer refers to a given connection slot in the requester's connection table. In this case, the application, such as an executable file or driver, might be out of date.
    Possible Cause
    An application might request that a connection be closed without any regard to other applications that point to the open connection.
    Action
    Try the task again. If the error persists, contact the developer of the application for the latest version of the application.
    Possible Cause
    The server ran out of connections.
    Action
    To free a connection, have a user who is connected to the server log out. Or, to increase the number of connections allowed for that server, go to a workstation where a user is connected to the server and has Supervisor rights, and increase the number of connections allowed.
    Possible Cause
    The software might not allow more connections for the client. For example, in some of the NetWare 3.12 utilities, like MAP and CAPTURE, this error will be returned if the workstation is attached to 9 or more servers. In NetWare 3.12, these utilities were designed to provide functionality for only 8 servers.
    Action
    If you desire to increase the number of connections that a workstation can have, use a version of the software that will allow more connections. The utilities in NetWare 4 and later versions allow this number of connections.
    Possible Cause
    The connection might have been closed at the server, such as by an administrator clearing a connection using MONITOR.
    Action
    If desired, have the user log in again to the network.
    A trademark symbol (,TM, etc.) denotes a Novell trademark. An asterisk (*) denotes a third-party trademark. For information on trademarks, see Legal Notices.
    Error Codes Contents
    So - a little ambiguous in the Possible Cause/Action scenarios. I did try uninstalling my Novell Client and re-installing without NMAS as this has been known to cause issues.
    The other thing I would've liked to have tried was re-installing ConsoleOne - but there is the small issue of C1 checking for an up to date version of the Novell Client being present and as was entirely expected C1 doesn't recognise the Beta Novell Client 2 for Windows Vista/2008 as being a viable up to date Windows client and promptly boots you out of the install siting that version 4.91 is a much more up to date client and that I should install that instead before trying to update C1... Nice...
    You might ask how I got C1 working on Windows 7 in the first place - well it was fairly straight forward - I copied the installation off the network rather than trying to do a local install as I have seen many instances of people having to do registry hacks to get it installing - this doesn't make much sense to me as the reality is that the majority of enterprise environments use Windows and within the next 6-12 months Windows 7 is going to start having a level of penetration making our having to administer to it inevitable.
    Not being able to administer to your environment because the tools don't work is not really acceptable. Granted W7 is in RC1 at the moment and as such is not strictly a released OS and as such isn't 'supported' surely it's better to start looking into this stuff sooner rather than later. I'd use iManager but it is an utterly painful and woefully non-intuitive tool when compared to C1. There is a HUGE amount of work left to go toward making that one a viable admin tool.
    So rant over - my questions:
    1. Is ConsoleOne a dead admin tool and is it something that we as network administrators should be fogetting in favor of iMangler?
    2. Does anyone have a more definitive idea what might be causeing the 0x8801 CONN INVALID error and what might be a way of fixing it as for now ConsoleOne is a significantly better admin tool for us.
    3. Are the any plans for Windows 7 support and when is Novell going to start making this support available to the end users?
    4. As far as Novell admin tools go - am I missing something? Is there a super intuitive clever admin tool out there that nicely centralises our workload?
    Many thanks!
    Steve

    Originally Posted by Marcel_Cox
    Well, Novell doesn't support running ConsoleOne on anything beyond Windows
    XP. About the time NetWare 6.0 was relased more than half a dozen years
    ago, Novell decided that the future direction was iManager and that all
    new poroducts should be managed through iMAnager. Alas, as so often,
    Novell doesn't have the power to impose its own decisions to its own
    product teams and so some teams continued to use ConsoleOne as their main
    management tool, even though the death of ConsoleOne was clearly and
    loudly announced in advance. This now leaves the customers in the bad
    situation that a recently shipped product like Groupwise 8 uses a dead an
    unsupported Management tool ConsoleOne.
    Bad is one way to put it, extremely amateurish is another. How can a company as large and established as Novell after six years still get this realtively basic thing so wrong? Don't get me wrong, I've been a Novell fan for years but, there is something terribly wrong with the development process if upper management can't control their own dev teams!
    So not only are we as customers faced with a piecemeal approach to our admin processes but we're also going to have to face having to administer with externally unsupported tools whilst the dev teams still insist on plugging away with them. Personally I'd start putting my time an effort back into getting ConsoleOne into a usable state as it is far superior (I can't believe I'm saying this about Conslow 1 ;) ) admin tool compared to the entirely unintuitive iManager. Either that or employ some accessability specialists to work on iManager because in it's current state it is not a particularily friendly structure to work through.
    Originally Posted by Marcel_Cox
    Now the fact that you first got ConsoleOne to work is because you have
    been using an older version of ConsoleOne which didn't check for the
    client version yet. That last version of consoleOne does in fact include a
    client version check and refuses to run on a client with a version number
    less than 4.91 (assuming of course the v4.91 client for Windows XP). Now
    the newer clients for Vista and beyond have version numbers 1 and 2 which
    are of course lower than 4.91 and therefore ConsoleOne refuses to run. You
    can however cheat and make ConsoleOne think you have a newer client
    version. This is described here:
    Installing and Running ConsoleOne on Windows Vista
    Cheers for the reply Marcel, I do appreciate it despite my gripes about the situation. I used the registry hack and it did allow me to install 1.3.6h successfully - after renaming the old install directory of course. Unfortunately I still have the same issue as before. I also tried installing 1.3.6h over the top of the old install as well so that it carried across all my snapins with the same unsuccessful result.
    Currently any user password resets are being done via iManager, which by the way I still have to figure out how to assign roles etc to myself, using an admin user account which is not overly desireable. Any major changes are still being done through ConsoleOne with my dual booted XP install which seems perfectly happy.
    Being completely aware of how annoying it is to hear someone b*tch and moan about and issue and not offer any solutions I would offer my services/suggestions as a long time admin for a potential remodeling of iManager to a much more usable and admin friendly interface however I have no idea either who to talk to or whether they would listen.
    Anyway - again I appreciate your response and if anything else comes to mind please let me know!

  • I want to print the front panel without all the header stuff while the vi is running

    I want to print the vi front panel without all the header information that Labview puts at the top. I want to do all this while the vi is running by pushing a button.

    One option is to use the the 'Print VI to Printer' method. Beware that invoking this method repeatedly with complex front panels has caused me graphics problems in my VI's display that persist until the development environment or the built .exe app is exited and re-entered.
    See: http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=5065000000080000005F5A0000&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0&USEARCHCONTEXT_QUESTION_0=spaz+print&USEARCHCONTEXT_QUESTION_S=0
    NI has confirmed this to be a bug in 6.0x and 6.1 and has indicated that it will be fixed in the next version.
    I was forced to fall back on the Append Front Panel Image to Report.vi in the report toolkit. Which does not produce printed graphs of as high as quality as the Print VI to
    printer method.

  • Import Word 2007 Form check boxes undefined

    Any one have any idea on how to get the forms wizard to import the field property names for check boxes in an Adobe form?
    I have a Word 2007 form which I have tried saving as a .doc, .dot, dotm, .docx and no matter what format I choose, I cannot get the check box fields to import.  I used the legacy checkbox field under the developer ribbon in Word 2007 to create the check boxes.   I have tried to import with protection on the word form enabled and stopped but it doesn't make a difference. The check box fields come across fine but the name and the text fields both say undefined rather then display the field name given in Word.  I am using Adobe 9 pro.  I have checked my Adobe preferences in Word and made sure all the boxes were checked for converting bookmarks but it still did not make a difference.  The text fields are importing fine with the property field names.
    Here is an example:
    I have a yes check box that is labeled StorageY and a no checkbox labeled StorageN for the properties in Word.  I then went to the form wizard in Adobe 9 and selected start with existing form and selected the fillable word form I created with the check boxes.  I imported it and the check box properties say Undefined for both storageY and storageN.   There are about 60 check boxes in the document and I don't want to retype them every time in Adobe when the word form is updated and has to be conveted again.
    I sure hope there is a solution.
    Thanks.

    Thanks for the information but I respectfully disagree with "there is no import".  If you open Adobe Acrobat
    9 pro and go to Forms, Start Forms Wizard, select An Existing electronic document and click on Next. Select "import" a file from file system and browse for the word document and click on Next.
    Using this method not only runs the automatic field recognition you were referring to, it also brings in all the word form field text and formats with the exception of the check boxes.  My only guess is the problem has something to do specifically with the check box fields as it does bring over the radio button text.  A lot less work to keep the form updated.  It rocks.  You should try it some time.
    Word 2007 pdf writer does the same thing as the openoffice.org but neither bring across the form field info.  They just create a starting point and you would have to use the method you described above to create the fillable form.

  • Multiple Aggregate Tables in OBIEE

    We are experiencing a funky issue with the use of aggregate tables. Unfortunately, I am not seeing any obvious way in the documentation or blogs to remedy this issue.
    Leveraging the Aggregate Persistance Wizard we developed 2 aggregates for our data set.
    1st is a monthly aggregate with a rollup data set and the 2nd is the daily aggregate with a more limited data set.
    For a set of monthly queries and dashboards both aggregates will produce the correct results, but the monthly agg does it 10 times faster <5 sec. However, for some reason the BI Server is choosing the daily aggregate instead.
    Any ideas on how we can force / hint for the BI server to use the monthly aggregate first if it can?Thanks,
    Michael

    The log, unfortunately, is to big to in its entirety, but here is the example of the queries that go against the daily aggregate as oppose to the monthly:
    +++Administrator:7a0000:7a0001:----2009/06/10 09:04:48
    -------------------- General Query Info:
    Repository: Star, Subject Area: EnterpriseBI, Presentation: EVSalesReporting
    +++Administrator:7a0000:7a0001:----2009/06/10 09:05:14
    -------------------- Sending query to database named BONARDEV (id: <<6974073>>):
    select D3.c4 as c1,
    D3.c5 as c2,
    D3.c2 as c3,
    D3.c1 as c4,
    D3.c6 as c5,
    D3.c7 as c6,
    D3.c8 as c7,
    D3.c3 as c8
    from
    (select D1.c1 as c1,
    D1.c2 as c2,
    D1.c3 as c3,
    D1.c4 as c4,
    D1.c5 as c5,
    D1.c6 as c6,
    D1.c7 as c7,
    D1.c8 as c8
    from
    (select sum(T31738.Curr_Day00015AE1) as c1,
    D47.c8 as c2,
    D47.c4 as c3,
    T31723.Trade_Clas0001777C as c4,
    D47.c3 as c5,
    D47.c7 as c6,
    D47.c6 as c7,
    D47.c5 as c8,
    ROW_NUMBER() OVER (PARTITION BY T31723.Trade_Clas0001777C, D47.c4 ORDER BY T31723.Trade_Clas0001777C ASC, D47.c4 ASC) as c9
    from
    SA_Trade_C000176D4 T31723,
    SA_Organiz00015413 T31635,
    ag_Sales_Metrics_2 T31738,
    (select distinct D1.c1 + 1 as c1,
    D1.c2 as c2,
    D1.c3 as c3
    from
    (select min(D1.c1) over (partition by D1.c4) as c1,
    min(D1.c2) over (partition by D1.c4, D1.c3) as c2,
    D1.c3 as c3
    from
    (select Case when case D1.c5 when 1 then D1.c3 else NULL end is not null then Rank() OVER ( ORDER BY case D1.c5 when 1 then D1.c3 else NULL end ASC NULLS LAST ) end as c1,
    Case when case D1.c6 when 1 then D1.c3 else NULL end is not null then Rank() OVER ( PARTITION BY D1.c4 ORDER BY case D1.c6 when 1 then D1.c3 else NULL end ASC NULLS LAST ) end as c2,
    D1.c3 as c3,
    D1.c4 as c4
    from
    (select T31704.Date_ID00016FBC as c3,
    T31704.Calendar_Y00014B57 as c4,
    ROW_NUMBER() OVER (PARTITION BY T31704.Calendar_Y00014B57 ORDER BY T31704.Calendar_Y00014B57 DESC) as c5,
    ROW_NUMBER() OVER (PARTITION BY T31704.Calendar_Y00014B57, T31704.Date_ID00016FBC ORDER BY T31704.Calendar_Y00014B57 DESC, T31704.Date_ID00016FBC DESC) as c6
    from
    SA_Day00015E8E T31704
    ) D1
    ) D1
    ) D1
    ) D48,
    (select distinct min(D1.c1) over (partition by D1.c6) as c1,
    min(D1.c2) over (partition by D1.c6, D1.c4) as c2,
    D1.c3 as c3,
    D1.c4 as c4,
    D1.c5 as c5,
    D1.c6 as c6,
    D1.c7 as c7,
    D1.c8 as c8
    from
    (select Case when case D1.c9 when 1 then D1.c4 else NULL end is not null then Rank() OVER ( ORDER BY case D1.c9 when 1 then D1.c4 else NULL end ASC NULLS LAST ) end as c1,
    Case when case D1.c10 when 1 then D1.c4 else NULL end is not null then Rank() OVER ( PARTITION BY D1.c6 ORDER BY case D1.c10 when 1 then D1.c4 else NULL end ASC NULLS LAST ) end as c2,
    D1.c3 as c3,
    D1.c4 as c4,
    D1.c5 as c5,
    D1.c6 as c6,
    D1.c7 as c7,
    D1.c8 as c8
    from
    (select T31704.Calendar_M00014B4D as c3,
    T31704.Date_ID00016FBC as c4,
    T31704.Calendar_Q00014B51 as c5,
    T31704.Calendar_Y00014B57 as c6,
    T31704.Month_End_00014B6D as c7,
    T31704.Calendar_D00014B5B as c8,
    ROW_NUMBER() OVER (PARTITION BY T31704.Calendar_Y00014B57 ORDER BY T31704.Calendar_Y00014B57 DESC) as c9,
    ROW_NUMBER() OVER (PARTITION BY T31704.Calendar_Y00014B57, T31704.Date_ID00016FBC ORDER BY T31704.Calendar_Y00014B57 DESC, T31704.Date_ID00016FBC DESC) as c10
    from
    SA_Day00015E8E T31704
    ) D1
    ) D1
    ) D47
    where ( T31635.Organizati00014BB3 = T31738.Organizati00014BB3 and T31723.Trade_Clas0001777D = T31738.Trade_Clas0001777D and T31635.Business_U00014BC5 = 'EVD' and T31738.Date_ID00016FBC = D48.c3 and D47.c1 = D48.c1 and D47.c3 = '2009 / 05' and (T31723.Trade_Clas0001777C in ('Redemption', 'Sale')) and D47.c2 >= D48.c2 )
    group by T31723.Trade_Clas0001777C, D47.c3, D47.c4, D47.c5, D47.c6, D47.c7, D47.c8
    ) D1
    where ( D1.c9 = 1 )
    ) D3
    order by c8, c2, c1
    +++Administrator:7a0000:7a0001:----2009/06/10 09:05:14
    -------------------- Sending query to database named BONARDEV (id: <<6977524>>):
    select D4.c4 as c1,
    D4.c5 as c2,
    D4.c2 as c3,
    D4.c1 as c4,
    D4.c6 as c5,
    D4.c7 as c6,
    D4.c8 as c7,
    D4.c3 as c8
    from
    (select D1.c1 as c1,
    D1.c2 as c2,
    D1.c3 as c3,
    D1.c4 as c4,
    D1.c5 as c5,
    D1.c6 as c6,
    D1.c7 as c7,
    D1.c8 as c8
    from
    (select sum(T31738.Curr_Day00015AE1) as c1,
    D49.c3 as c2,
    D49.c5 as c3,
    T31723.Trade_Clas0001777C as c4,
    D49.c4 as c5,
    D49.c7 as c6,
    D49.c8 as c7,
    D49.c6 as c8,
    ROW_NUMBER() OVER (PARTITION BY T31723.Trade_Clas0001777C, D49.c5 ORDER BY T31723.Trade_Clas0001777C ASC, D49.c5 ASC) as c9
    from
    SA_Trade_C000176D4 T31723,
    SA_Organiz00015413 T31635,
    ag_Sales_Metrics_2 T31738,
    (select distinct min(D1.c1) over (partition by D1.c4) as c1,
    min(D1.c2) over (partition by D1.c4, D1.c3) as c2,
    D1.c3 as c3
    from
    (select Case when case D1.c5 when 1 then D1.c3 else NULL end is not null then Rank() OVER ( ORDER BY case D1.c5 when 1 then D1.c3 else NULL end ASC NULLS LAST ) end as c1,
    Case when case D1.c6 when 1 then D1.c3 else NULL end is not null then Rank() OVER ( PARTITION BY D1.c4 ORDER BY case D1.c6 when 1 then D1.c3 else NULL end ASC NULLS LAST ) end as c2,
    D1.c3 as c3,
    D1.c4 as c4
    from
    (select T31704.Date_ID00016FBC as c3,
    T31704.Calendar_Y00014B57 as c4,
    ROW_NUMBER() OVER (PARTITION BY T31704.Calendar_Y00014B57 ORDER BY T31704.Calendar_Y00014B57 DESC) as c5,
    ROW_NUMBER() OVER (PARTITION BY T31704.Calendar_Y00014B57, T31704.Date_ID00016FBC ORDER BY T31704.Calendar_Y00014B57 DESC, T31704.Date_ID00016FBC DESC) as c6
    from
    SA_Day00015E8E T31704
    ) D1
    ) D1
    ) D50,
    (select distinct min(D1.c1) over (partition by D1.c8) as c1,
    min(D1.c2) over (partition by D1.c8, D1.c5) as c2,
    D1.c3 as c3,
    D1.c4 as c4,
    D1.c5 as c5,
    D1.c6 as c6,
    D1.c7 as c7,
    D1.c8 as c8
    from
    (select Case when case D1.c9 when 1 then D1.c5 else NULL end is not null then Rank() OVER ( ORDER BY case D1.c9 when 1 then D1.c5 else NULL end ASC NULLS LAST ) end as c1,
    Case when case D1.c10 when 1 then D1.c5 else NULL end is not null then Rank() OVER ( PARTITION BY D1.c8 ORDER BY case D1.c10 when 1 then D1.c5 else NULL end ASC NULLS LAST ) end as c2,
    D1.c3 as c3,
    D1.c4 as c4,
    D1.c5 as c5,
    D1.c6 as c6,
    D1.c7 as c7,
    D1.c8 as c8
    from
    (select T31704.Calendar_D00014B5B as c3,
    T31704.Calendar_M00014B4D as c4,
    T31704.Date_ID00016FBC as c5,
    T31704.Calendar_Q00014B51 as c6,
    T31704.Month_End_00014B6D as c7,
    T31704.Calendar_Y00014B57 as c8,
    ROW_NUMBER() OVER (PARTITION BY T31704.Calendar_Y00014B57 ORDER BY T31704.Calendar_Y00014B57 DESC) as c9,
    ROW_NUMBER() OVER (PARTITION BY T31704.Calendar_Y00014B57, T31704.Date_ID00016FBC ORDER BY T31704.Calendar_Y00014B57 DESC, T31704.Date_ID00016FBC DESC) as c10
    from
    SA_Day00015E8E T31704
    ) D1
    ) D1
    ) D49
    where ( T31635.Organizati00014BB3 = T31738.Organizati00014BB3 and T31723.Trade_Clas0001777D = T31738.Trade_Clas0001777D and T31635.Business_U00014BC5 = 'EVD' and T31738.Date_ID00016FBC = D50.c3 and D49.c1 = D50.c1 and D49.c4 = '2009 / 05' and (T31723.Trade_Clas0001777C in ('Redemption', 'Sale')) and D49.c2 >= D50.c2 )
    group by T31723.Trade_Clas0001777C, D49.c3, D49.c4, D49.c5, D49.c6, D49.c7, D49.c8
    ) D1
    where ( D1.c9 = 1 )
    ) D4
    order by c8, c2, c1

  • How to handle html:multibox in jsp with ADF Data Binding

    Hi,
    I like to use html:multibox feature in my jsp with ADF Data Binding. I am able to retrieve checked values in the DataForwardAction form. However, when the page is refreshed, the checkboxes are not persistent and yet an error showing
    "JBO-25009: unable to create object type ....oracle.jbo.domain.Array" appears.
    Here is my jsp code:
    <c:forEach var="type" items="${bindings.SystemTypeView1.rangeSet}">
    <c:if test="${Row['SystemGroup'] == type['SystemGroup']}">
    <br>
    <html:multibox property="selectedSystemType">
    <c:out value="${type.SystemType}"/>
    </html:multibox>
    <c:out value="${type.TypeDesc}"/>
    </c:if>
    </c:forEach>
    Can anyone tell me how to handle html:multibox with ADF Data Binding and make the checkboxes persistent.

    Generally this can be done.
    I see a problem with your use case, which has nothing to do with jdev or java:
    How do you identify the user when he comes back to finish the form?
    For this you can't use information like session cookie or IP address because they change.
    So you have to save some information about the user which lets you identify him when he comes back. All other requirements can be implemented by ADF.
    Timo

  • SDK Subclassing Components Discussion, What Do You Think?

    Take this message as a blog, thought, discussion, or really whatever you feel like it should be, but I felt this should dually be noted some where within a Flex community and what better place than here.  This is a bit of a vent, or more like a "why did they do it this way"...so take it as you please.
    In my past, I feel that I've had the most trouble with Flex in subclassing to get my components exactly how I want them.  Mainly because some components are up to the neck in private variables/functions that simply overriding the class becomes an entirely new component that's copy and pasted (bad, very bad!) to work or look a certain way and hoping that you don't get runtime errors.
    For example, MenuBars are up to the teeth in private properties/functions.  The class has this dreaded private variable MARGIN_WIDTH which tags about 10 pixels of extended menubar to the ends for some reason... To actually get rid of it, you have to recreate the variable and with that comes copy and pasting the measure and updateDisplay methods.
    My job persists that we develop an application that is aesthetically appealing and different.  I very well agree with them and it's very rewarding to get it to work.  But hacking components to death, isn't really a long term goal if this SDK flips over like it did from AS2 to AS3.  I think most visual components should inherently have Protected all over the place instead of Private.  What are your thoughts?
    I came across a discussion within a Yahoo group that clarified more on why so many components are kept private and it's tagged below, definitely worth a read.
    Thanks,
    Skitch
    I think what he is referring to is that within the Adobe Framework it
    is standard practice to declare event handlers in a component as
    private.
    When you (as a component developer) come to subclass the component
    and need to override the event handling functionality of the super
    class you cant as the handler is private. You can add another handler
    for the same event which is very ineffecient but in any case you cant
    stop the superclass handler from executing.
    The only exceptions to handlers being private rule seems to me where
    other Adobe dev's needed to extend a particular class and bumped in
    to this very same issue so they went and changed that particular
    super class handler to protected, lucky them!
    i.e in the framework there are 7 private and 1 protected
    mouseOverHandlers, the 1 being ListBase obviously where the DataGrid
    and Tree developer found they needed to override it.
    and to be honest, as I have said before, the "report this one
    function/var at a time" is unworkable/impractical, it needs someone
    at Adobe to take a fresh look at the whole framework from the
    perspective of a component developer. Yeah I understand component
    developers represent an insignificant blip on the radar (though maybe
    thats because the framework is so difficult to extend in the first
    place)
    Cheers!
    TGIF!
    source: http://www.mail-archive.com/[email protected]/msg02258.html//www.mail-archive.com/[email protected]/msg02258.html

    hi,
    I think the argument for the way components are written becomes less critical now that visual and functionality have been separated in spark, there is a lot more freedom in the ability to completely change a component visually and even adjust its behaviour simply by modifying a skin. Once people realise the power of the new skinning architecture I am sure we will see some incredible aesthetics and functionality and all done without the need to play with sdk behaviour or even create a custom component.
    David.

  • Where can I find the 'Tools' menu on my iMac? OS is 10.9.5, Safari is 7.1.3.

    Hi All,
    Does anyone know how I can access the 'Tools' menu that I think should be on the top tool bar? I have searched on the net for help without any success.
    Thanks,
    David.

    You must be thinking about another browser. FireFox has a Tools menu--Safari does not. Most of the things FireFox puts under its Tools menu are found in Safari preferences.
    Editing or customizing the toolbar is accessible through Safari's View menu. If you need advanced features found unde "Web Developer" in the FireFox Tools menu, you can activate Safari's "Develop" menu by doing Safari > Preferencs and selecting the "Advanced "tab. At the bottom is a checkbox to show the Develop menu.
    Here is a comparison. FireFox's "Tools" menu with the web developer options expanded:
    Safari's "Develop" menu after activation:

  • Bookmarks no longer sort / take ages to sort

    Running Firefox 3.6.13 on Windows 7 Ultimate. Recently downgraded from Firefox 4 beta 7 due to too many addons not being updated or compatible with the betas yet. Anyway, my problem is this:
    I have a fair amount of bookmarks. 606 at the moment. 99% of them are not in subfolders - they are just loose under Bookmarks Menu. This is how I like it, since I don't actually use the menu anyway, I call up my bookmarks from the location bar by typing. So I don't see much point in organising them all. However, I do need them sorting alphabetically, since I also use the Firefox Home app on my iPod Touch, and here I wish to see all my bookmarks in a nice long sorted list. Now, before 3.6.13, I never had a problem with sorting... I'd simply right-click "Organise Bookmarks" on the Bookmarks menu, and choose "Sort By Name". This would sort everything nicely. Another way was to open the Library, and do the same thing on the Boomarks Menu item in the navigation tree on the left. All bookmarks would be sorted instantly and perfectly.
    However, in Firefox 4 beta 7, it would sort them very slowly, in fact you'd actually SEE bookmarks moving up and down the list in slow-motion! If done via the Library, the context-menu would actually stop appearing on right-click. Performing a right-click in another application or elsewhere in Firefox would restore the menu. Downgrading back to 3.6.13 has not resolved these problems. So is this a new problem, or something left over from Firefox 4 beta 7?
    On the same topic, using the column headers to sort in the Library did not used to actually save them in this order, since performing a sync with another computer/device would show them unsorted on the new device. Is this now fixed, or it it only intended to sort that current view and not be persistent?

    The developer of SortPlaces has a support page here. <br />
    http://www.andyhalford.com/sortplaces/support.html <br />
    ''Not a lot of information there, but some tips about reading and sending him error messages about SortPlaces problems - so he can help you figure it out.''
    It's a good idea to turn off Sync while sorting bookmarks, so that Firefox isn't sending each and every change to the Sync server as it happens. Turn it back on when you're done with sorting.

  • Vendor Details Needed

    Dear Experts,
    For one of our development, we need vendor details such as vendor name and number.
    will you please help me, in which tables i will get these details.
    I have already checked these tables; VENMAP, BUT000, BUT001 AND BUT020.,but it is of no use.
    Appreciate earlier and correct  response.
    Thanx & Rgds
    SriRaM

    HI Atul,
    Thanks for replying...
    Presently we are working on SRM 5.0
    It is a PCR development.
    in this development, whenever user wants to see the details of SC , first it searches in database, then searches in Archive files.
    our present requirment is that, we have to bring the vendor name and vendor number fields in Archiving Info structure. since these fields are not present in Standard AIS, we have created Z info structure and adding extra fields such as Price , qty, currency and approver etc.. etc..
    i have checked the BUT000, i am unable to identify the vendor details.
    please help me out to get the vendor fields ..
    Thanks in advance
    Regards
    SRiraM

  • My Threads Takes 90 secs to Complete or Timeout

    Occasionally works in a few seconds, but 80% of the time very, very slow or it times out.  When it works, it is for a few days, then it goes back to the slow/fail mode.
    Browser IE 11.
    Am I doing anything wrong?
    Thanks.
    Kalman Toth Database & OLAP Architect
    SELECT Video Tutorials 4 Hours
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

    no way to filter down to say one month.
    I don't have any Alerts any more but I imagine that they have an RSS feed?  You could have more control over them that way.
    Press a link which would take me to my last page of alerts (currently this is not an options) then using say checkboxes mark them, press a button to unsubscribe.
    I thought that is what they do have--paged lists which you can only operate on one page at a time.  In that case there may be an implicit &page= variable in the URL you could try exploiting.  The most glaring deficiency in the UX about Alerts
    is that you can't toggle them from a message list, e.g. the My Threads list, where you can see the icon but do nothing with until you open the thread. 
    At one point there was a bug in here which made the Alert me checkbox persist no matter how hard I tried to keep it off.  I'm turning it on again now so I can see how it really works but I certainly hope it isn't as much work to undo as I remember.
    Robert Aldwinckle
    Edit:  no RSS feed for Alerts at least not with the URL that I constructed from the one for My Threads.  E.g. just overtype threads in that URL with alerts.  Result:  an apparent redirect to the normal Alerts page, ignoring all the parameters
    but leaving them in the Address bar.

Maybe you are looking for