InputListOfValues. returnPopupListener does not change Value in ADFTable.

Hello!
Maybe my approach is incorrect? I want, that inputListOfValues has returned values in two fields of ADFtable.
I have inputListOfValues. It has returnPopupListener = returnListener.
<af:inputListOfValues label="#{bindings.myCVO1.hints.ID.label}"
popupTitle=""
id="IDid"
value="#{row.ID}"
returnPopupListener="#{backingBeanScope.backing.returnListener}"
model="#{bindings.IDListOfValue.listOfValuesModel}"
searchDesc=""/>
Problem: In ADFTable value does not change. And in viewobject value has changed.
public void returnListener(ReturnPopupEvent returnPopupEvent) { 
//access UI component instance from return event
RichInputListOfValues lovField =
(RichInputListOfValues)returnPopupEvent.getSource();
//The LOVModel gives us access to the Collection Model and
//ADF tree binding used to populate the lookup table
ListOfValuesModel lovModel = lovField.getModel();
CollectionModel collectionModel =
lovModel.getTableModel().getCollectionModel();
//The collection model wraps an instance of the ADF
//FacesCtrlHierBinding, which is casted to JUCtrlHierBinding
JUCtrlHierBinding treeBinding =
(JUCtrlHierBinding) collectionModel.getWrappedData();
//the selected rows are defined in a RowKeySet.As the LOV table only
//supports single selections, there is only one entry in the rks
RowKeySet rks = (RowKeySet) returnPopupEvent.getReturnValue();
//the ADF Faces table row key is a list. The list contains the
//oracle.jbo.Key
List tableRowKey = (List) rks.iterator().next();
//get the iterator binding for the LOV lookup table binding
DCIteratorBinding dciter = treeBinding.getDCIteratorBinding();
//get the selected row by its JBO key
Key key = (Key) tableRowKey.get(0);
Row rw = dciter.findRowByKeyString(key.toStringFormat(true));
DCBindingContainer binding=(DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
DCIteratorBinding iterator=binding.findIteratorBinding("myIterator");
ViewObjectImpl vo=(ViewObjectImpl)iterator.getViewObject();
Row row=vo.getCurrentRow();
System.out.println(vo.getCurrentRowIndex());
row.setAttribute("ID",rw.getAttribute(0));
row.setAttribute("Name",rw.getAttribute(1));
//In viewobject value has changed.
System.out.println(row.getAttribute("ID")+" - "+row.getAttribute("Name"));
}

Frank, I have defined in the model multiple attributes:
<ListBinding
Name="LOV_SpecialServiceGid"
ListVOName="AccessorialCodeVO1"
ListRangeSize="10"
NullValueFlag="none"
NullValueId="LOV_SpecialServiceGid_LOVUIHints_NullValueId"
MRUCount="0">
*<AttrArray Name="AttrNames">*
*<Item Value="SpecialServiceGid"/>*
*</AttrArray>*
*<AttrArray Name="DerivedAttrNames">*
*<Item Value="SpecialServiceDesc"/>*
*</AttrArray>*
*<AttrArray Name="ListAttrNames">*
*<Item Value="AccessorialCodeGid"/>*
*<Item Value="AccessorialDesc"/>*
*</AttrArray>*
<AttrArray Name="ListDisplayAttrNames">
<Item Value="AccessorialCodeGid"/>
<Item Value="AccessorialDesc"/>
</AttrArray>
<DisplayCriteria/>
</ListBinding>
But value is returned only in SpecialServiceGid, in SpecialServiceDesc is not returned.
In pageDefinition has defined:
<listOfValues StaticList="false" IterBinding="ShipmentStatusCVO1Iterator"
Uses="LOV_SpecialServiceGid" id="SpecialServiceGidListOfValue"/>
Maybe I have not identified all in pageDefinition?

Similar Messages

  • Virtual key figure BADI - does not change value

    I wrote a badi for virtual key figure according to guidelines from an SDN doc on how to create virtual chars and kf's.
    However, the value of the key figure is not changed at all. Below is my code. Please see what I'm doing wrong
    method IF_EX_RSR_OLAP_BADI~DEFINE.
       APPEND 'ZRANKS' TO c_t_kyfnm.
    endmethod.
    method IF_EX_RSR_OLAP_BADI~COMPUTE.
      if P_KYF_ZRANKS > 0.
        assign component p_kyf_zranks of structure c_s_data
        to <fs_ranks>.
        <fs_ranks> = '1.0'.
      endif.
    endmethod.

    There is something you need to do which I have not seen described in any of the documention here.
    You need to copy the source code for the INITIALIZE method directly from the code given in the example class CL_EXM_IM_RSR_OLAP_BAPI. That is where the P_KYF<object> and P_CHA<object> attributes are assigned their values. If you do not copy this code into your own implementation, these attributes have no value in the COMPUTE method and your code will probably not work.
    Bryan

  • Tables are deleted but database size does not change in sql server 2008r2

    Hi All,
    20GB Tables are deleted in my database but database size does not change and disk size showing same size.

    Hi ,
    I have ran the Disk usage by Top Tables report and Identified couple of tables with unwanted data for last 5 years. I have deleted the data for the first 3 years and then ran the Disk usage by Top Tables report again. When I compared the report before
    and after the data deletion, I have noticed certain facts which is not matching with what I know or learned from experts like you. The following are the points where I am looking for clarification:
    1.Reserved (KB) has been reduced. I was expecting the data Reserved (KB) will remain the same after the data deletion. 
    2. The Data(KB) and Indexes(KB) fields have been reduced as expected. The Unused(KB) field have been increased as expected.
    I was expecting the total of Data(KB) and Indexes(KB) field space gained will be equal to the Unused(KB) field gained after deleting the data. But that is not the case. When I deducted(subtracted) the difference in  the Reserved(KB)(Difference before
    and after data deletion) field from the Total of space gained from the data deletion is equal to the Unused(KB) gained field value.
    I am not a SQL expert and not questioning but trying to understand whether we really gain space by deleting data from the tables. Also keen to get the concepts right, but my testing by deleting some records confused me.
    Looking ahead to all your expert advice.
    Thanks,
    Vennayat

  • Cascading LOVs (APEX 4.1) problem, using in report does not set values

    Hi,
    i am using APEX 4.1.0.00.32 and i have a simple report as
    SQL:*
    SELECT * from region
    WHERE region like '%'||P3_REGION||'%'
    and country like '%'||P3_COUNTRY||'%'
    and city like '%'||P3_CITY||'%'
    Items:*
    P3_REGION:
    select distinct region as d, region as r from region
    Display Null value: YES
    Null display value: - select -
    Null return value: +0+
    P3_COUNTRY:
    select distinct country as d, country as r from region where region = :P3_REGION
    Display Null value: YES
    Null display value: - select -
    Null return value: +0+
    Cascading LOV Parent Item(s): P3_REGION
    P3_CITY:
    +select distinct city as d, city as r from region where country = :P3_COUNTRY
    Display Null value: YES
    Null display value: - select -
    Null return value: +0+
    Cascading LOV Parent Item(s): P3_COUNTRY
    The LOVs work fine and the correct values are displayed if cascading through them
    So in the last step i want to filter the report with the values that were selected in the lovs. And this i get not working.
    I tried to add a button with SUBMIT of the page. After choosing values in all LOVs and clicking the SUBMIT button the page submits, alle LOVs are cleared (with value - select -) and the report shows all rows.
    I tried to change the button to "redirect to Page 3" and setting the values P3_REGION, P3_COUNTRY, P3_CITY to &P3_REGION., &P3_COUNTRY., &P3_CITY. but without success.
    I tried to use the setting "Page Action when Value Changed" to "Submit" and/or "Redirect and set value" for all Item LOVs and/or only the last item LOV, but then the cascade of the LOVs does not work properly and the report does not change too.
    I am confused as i don´t know what i can do until now. I think this should be an easy requirement to limit/filter the report with values in the LOVs.
    Furthermore it should be possible to choose only the region LOV and then limit the report with that region (without choosing country and city)
    Thanks in advance!

    Hi Dan,
    thank you for your answer. I have the solution now from Kleber_M, this works.
    Dan McGhan wrote:
    1. Use bind variables in my query. It would look something like:
    SELECT *
    FROM region
    WHERE region LIKE '%'|| :P3_REGION ||'%'
    AND country LIKE '%'|| :P3_COUNTRY ||'%'
    AND city LIKE '%'|| :P3_CITY ||'%'
    This was only a mistake when writing the post, i forgot the colon. I use bind variables of course.
    2. Make sure you have a comma separated list of item names that the report depends on beneath the SQL Query where it says Page Items to Submit. This will make sure that the value of those items on the page are bound into session state prior to the query executing.I tried this, too, but without success...
    3. Use Dynamic Actions to perform the refresh action when any of the three items changes. This would be both more performant and a better experience for the end user than a full page refresh.How can i do this. This sounds good, because when refreshing the page often some items oder actions are done that i don´t want to.
    Regards,
    Matze

  • Iak file does not change channel config?

    I am relatively new to Lab-View so please bear with me
    I have multiple iak files setup for different vi's that require some different ranges on the AI-100 modules I am using (FP-1601 Ethernet module). My problem is when I start a vi, with the iak file path needed wired to the FP-open tag, it does not change the channel configuration from whatever is currently on the modules themselves.
    Is this correct? I know I can get the channels to update to the iak file by opening it in FP explorer and editing the device clicking on the channel config and syncing to the file. This will be very tedious for the un-trained test monkey these different programs are designed for. Am I missing some option somewhere that syncs the modules t
    o the iak file when you open a field point session?

    From a program perspective, the IAK file is solely used to provide channel mapping information. From a FieldPoint Explorer (or NI-FP) perspective, the IAK file contains all channel naming information, communication mapping information and channel configuration information. In FieldPoint Explorer (3.0.2 or less), the only way to change the channel configuration between IAK's, is to switch IAK's in FP Explorer and right click on each (and every) FieldPoint IO Module, choosed Edit This Device and then choose Channel Configuration. When the dialog box asks you whether to use the Device or File settings, choose File. In NI-FP 4.0, there exists an option to download the entire configuration to an entire bank at a time, but there is still no method of downloading the co
    nfiguration file programmaticly at run time.
    However, another option in the form of the Ethernet Configuration VI's exists. They allow you to programmatically configure each channel (range & attributes). For an understanding of the range and attribute values, you can cross reference the FP-1000/1001 Programmers Reference Manual.
    Regards,
    Aaron
    Regards,
    Aaron

  • Changing cell padding does not change margin

    The text in the cell of an existing table is clearly indented from the cell border.   However, the cell padding is set to 0.  When I change the cell padding to 10, 50, or any other number, the text margin does not change.
    I am trying to create another table.  The text in the new table is flush left.  Whatever I set the cell padding to, the text margin does not change.
    The documentation indicates that the only way to change the cell margins is to change cell padding.  Obviously that does not work.  How do I change the cell padding?
    Thank you.
    Cathy

    Can you please anwser couple of queries to nail down the issue?
    1) Please let us know the Contribute Version and OS you are using.
    2) Is this happening with a particular page?
    3) Can you try creating a new blank page, insert a table and modify the Cell Padding value.Check whether it is getting reflected and also verify the cell padding parameter is added in the code.
    4) Previously if it worked and broken suddently, please try clearing the Contribute preference. Refer to the blog post, blogs.adobe.com/contribute/2011/11/launch-contribute-freshly-by-deleting-preferences.html

  • When I try to upload a file it goes through the correct proceedure, but does not change the remote file i.e.Index.htm

    Hi
    I have an uploading problem to the server. The problem is when I try to upload a file it goes through the correct proceedure,
    but does not change the remote file i.e.Index.htm, or three stages1.htm.
    My Localroot folder is C:\Gods Plan Web\
    The site map layout is C:\Gods Plan Web\Index.htm
    The folder for the remote site is /public_html/
    Should the local root folder mirror the remote site, i.e./public_html/
    if this is so, what should I put into the
    (a) Local Root Folder box?
    (b) site map layout box?
    The FTP is performing well other than changing the intended file.

    You should be uploading only the contents of your local root to the public_html folder (remote root).
    The index.html you use as your site's home page needs to be in your site root. If you look at your Files window in DW, you should have something like the following...
    Site - Whatever you named your site
         index.html
         images
         pages
              page1.html
              page2.html
    If you have any folder between Site - and the index.html page, like...
    Site - Whatever you named your site
         mywebsite
              index.html
    It will upload to the public_html while still in that folder, so to find your page online, you would need to type something like...
    www.mydomain.com/mywebsite
    public_html should NOT appear within your local files and if it existed there, would cause a redundancy if uploaded. You would need to type www.yourdomain.com/public_html to see the uploaded pages.
    If you could post a screen shot of your expanded Files window while connected to the server (just connect and click the Expand button in Files, don't drill down into any of the directories), we may be able to see the issue.

  • When I convert my pdf doc to word, the fonts go really weird and it also puts some text into boxes. when I try to select the test and change the font, it does not change it properly?

    When I convert my pdf doc to word, the fonts go really weird and it also puts some text into boxes. when I try to select the text and change the font, it does not change it properly? This is making it impossible to amend.

    Hi Janedance1,
    If the PDF that you converted already has searchable text, please try disabling OCR as described in this document: How to disable Optical Character Recognition (OCR) when converting PDF to Word or Excel. (If the PDF was created from a scanned document and doesn't already have searchable text, disabling OCR isn't a great option, as the text won't be searchable/editable in the converted Word doc.)
    Please let us know how it goes.
    Best,
    Sara

  • Error msg, "Maximum selection does not contain value 9999999999.

    Hi, I am getting this error wile doing Reclassification of HFM Movement.
    Error msg, "Maximum selection does not contain value 9999999999 of subassignment HFM CD2 & Asset Type "                                         
    in the Data Monitor, ( in Reclass Net Reserve). While running BCF task for a company for period 16/2009     
    Actually, We have converted the consolidation area from XX(2009) to YY(2010).
    Before this task, user has performed the balance carry forward.
    My Analysis is as follows:-
    Method Used in this Reclassification                                         
    RECYX (Reclassify HFM Movement at YE lvl 10)                                        
         TRIGGER                                   
         Items : 100-299, 9900-9999                                   
         HFM Movement Type : O200 to O300                                   
         Posting Level : 10                                   
         TARGET                                   
         Items : 100-299, 9900-9999                                   
         Move : O100C                                   
         Posting Level : 10                                   
         HFM CD2 and Asset type : Ticked                                    
    After TEST run in UCMON, the error message comes :-                                        
    The "HFM CD2 & Asset Type value 9999999999" is not maintained in Breakdown Categories Y500, Y700  etc.                                        
    Breakdown categories in Workbench                                        
    Maintained as "OPTIONAL, Initialized value allowed".                                        
    Single Selection                                         
    1A                                        
    1B                                        
    AR                                        
    GA                                        
    Default Selection                                        
    99999999999                                        
    BCS CUBE                                         
    HFM CD2 & Asset Type - coming blank               
    LOTR                                        
    HFM CD2 & Asset Type - Coming blank     
    Please help to go forward.
    In Anticipation,
    Deepankar Jain

    Thanks a lot Dan for the reply.
    Yes, the single selection is 1A, 1B etc, I agree that including this default value 9999999999 in single selection will resolve this issue, but the BREAK DOWN TYPE is OPTIONAL, that means It will also consider a blank value, right?
    Also, In the method defined for RECLASSIFICATION in workbench, in the TARGET parameters, the" HFM CD2 and Asset Type"  is blank but the "DEFAULT is TICKED" which makes it a mandatory derivation rule.
    Please correct me if I am wrong.
    Your replies on it are highly appreciated.
    Thanks and Regards,
    Deepankar

  • Maximum selection does not contain value 600 of subassignment Subitem-error

    Hi All,
    I'm getting the following error when i tried to load the file through data stream.
    Maximum selection does not contain value 600 of subassignment Subitem
    Message no. UCD1038
    Diagnosis
    The posting item 11100100 has breakdown category BR01 for which a maximum selection was maintained for subassignment Subitem. The current posting value, however, is not in this maximum selection.
    System Response
    The posting is not possible.
    Procedure
    Check the maximum selection and the posting.
    I have already refered the earlier threads but its of no use for me. I have checked my setting w.r.t to FS item breakdown category, Max selection in breakdown category and  sub items all the setting are fine, even i applied the OSS notes no-1074599 still i'm facing the same issue.
    Can any one help me with this regards, thanks in advance.
    Regards,
    Magesh

    Hi Dan,
    Yes, breakdown category has been assigned with a sub item category which in turn assigned to subitems and this sub item is a part of the sub item category which is assigned in max. selection.
    Let me know if you want any more information on the same.
    Regards,
    Magesh

  • In Adobe Acrobat X Standard, our user used to be able to resize drawings to 8.5 x 10, it stopped working yesterday. It allows her to do this without an error but the size does not change?

    In Adobe Acrobat X Standard, our user used to be able to resize drawings to 8.5 x 10, it stopped working yesterday. It allows her to do this without an error but the size does not change?

    Try unmounting the volume on your iMac using Disk Utility. Then mount it again. You may need to reboot the laptop or relaunch its Finder process (using the Force Quit window) after remounting the drive on your iMac. Remember that no process may be accessing any files on the drive you plan to unmount, or the unmount will fail. Unmounting and remounting an external drive on my iMac made it become visible on my MacBook Pro after it had disappeared.

  • I am unable to redeem my purchase of a Photoshop Elements 12 software license.  After entering the redemption code and clicking on the Redeem button, nothing happens.  No error message.  Screen does not change.

    I am unable to redeem my purchase of a Photoshop Elements 12 software license.  After entering the redemption code and clicking on the Redeem button, nothing happens.  No error message.  Screen does not change.

    try using a different browser, or contact support Contact Customer Care

  • ICal failing to run applescripts: The 'Open' button does not change to 'Run', and the script file is opened but not executed on alert.

    iCal failing to run applescripts: The 'Open' button does not change to 'Run', and the script file is opened but not executed.

    Calendar (not called iCal anymore) does not include that capability any longer, apparently.  What you have to do now is go to Automator and create a Calendar Alert action.  You can add a Run AppleScript object to the action and paste in your script there, then when you save it, it will become available as a choice in the alert menu in Calendar.

  • STMS problem ( import status - import runnig does not change)

    I have the same problem like this:
    While Transporting request in our production server the status of request from import running (truck sign) does not change.
    But the effect of the request is seen in the production but status does not change.
    see :Re: STMS problem ( import status - import runnig does not change)
    I did se14 as experts suggested, the history truck sign go away,seem work fine,
    but when new request need STMS to trans, the truck sign happened again,
    I need you help,thank you!

    thanks for all reply,
    the last two answers are the same,I think this is the right key,
    I'm a ABAPer actually,yesterday I asked our headquarters  basis to help,
    and I don't know what he did,now this problem is be solved,
    PS:I use AL11 to find .LOB now,but not find(maybe it's deleted by our basis),
    thanks again!

  • I am in Muse 2014.3. When I edit a page, in the preview everything looks fine, but when I upload it to FTP, the page does not change, even when I upload the whole site. Is this a bug? I don't know what to do.

    I am in Muse 2014.3. When I edit a page, in the preview everything looks fine, but when I upload it to FTP, the page does not change, even when I upload the whole site. Is this a bug? I don't know what to do.

    Hi Jaap,
    Are you sure about your FTP credentials (FTP folder and site URL) that you are using for the upload? Are you able to see the updated files in the remote directory of the FTP server, after you finish uploading the muse file, using an external FTP client like FileZilla?
    Thanks
    -Prashanth

Maybe you are looking for