Af:query component added field not removed when remove icon is clicked
I have an af:query component on a popup dialog. In advanced mode when I add a field, the new field appears in the searchRegion followed by a red X remove icon. If I subsequently click that remove icon, the query refreshes, the red icon is gone, but the newly added field still remains. The query component is linked to a standard VO query executable in the bindings. There is no custom processing of the value, model, queryListener or the queryOperationListener. In all other respects the query component works fine. The only problem is a newly added field not being removed when the remove icon is clicked. Here's how the component is setup (an added wrinkle is that the query component is hosted in a Declarative Component, so that makes this code a little harder to decipher).
Does anyone know where I should start looking for this? Hopefully I don't have to implement my own queryOperationListener.
JDev version is Build JDEVADF_11.1.1.4.0_GENERIC_101227.1736.5923
--- snippet from the page fragment ------
<af:popup id="frmsLstPU" contentDelivery="lazyUncached">
<af:dialog id="d1" type="ok"
styleClass="AFStretchWidth" resize="on"
stretchChildren="first" contentWidth="840"
contentHeight="480"
title="#{UnifiedResourceBundle['FORMSLIST.DIALOG.TITLE']}">
<idmkr_adf:Correspondence_Formslist_Query idmkr_query_model="#{bindings.FormVOFlatQueryCriteriaQuery}"
idmkr_table_binding="#{viewScope.FormsListBacking}"
idmkr_table_model="#{bindings.FormVOFlatQuery1}"
idmkr_bindings="#{bindings}"
idmkr_resourcebundle="#{preferences}"
idmkr_printStreamBean="#{viewScope.FormsList}"
id="cf1">
</idmkr_adf:Correspondence_Formslist_Query>
</af:dialog>
</af:popup>
-- snippet from the Correspondence_Formslist_Query declarative component ------
<af:query id="qryId1"
headerText="#{UnifiedResourceBundle['FORMSLIST.QUERY.SEARCH.TEXT']}"
disclosed="true"
value="#{attrs.idmkr_query_model.queryDescriptor}"
model="#{attrs.idmkr_query_model.queryModel}"
queryListener="#{attrs.idmkr_query_model.processQuery}"
queryOperationListener="#{attrs.idmkr_query_model.processQueryOperation}"
resultComponentId="::resId1" displayMode="default"
styleClass="AFStretchWidth"
rows="4" maxColumns="2"/>
I have changed the contentDelivery from "lazyUncached" to "immediate" and the same problem occurs. Thank your for your suggestion.
Similar Messages
-
Firefox will not load when the icon is clicked
I have been running Firefox for a few months now on my Windows 7 64-bit Laptop, however recently when I clicked the firefox icon the firefox window does not appear, I have attempted restarting my computer, allowing firefox on my firewall, running firefox with admin permissions, reinstalling firefox, but none of these methods seem to work. I haven't recently installed any add-ons or updated my firefox. Any solutions?
Did you remove the Firefox program folder before reinstalling Firefox?
Do a clean reinstall and delete the Firefox program folder (C:\Program Files\Mozilla Firefox\) before reinstalling a fresh copy of Firefox.
*http://kb.mozillazine.org/Installation_directory
Download a fresh Firefox copy and save the file to the desktop.
*Firefox 15.0.x: http://www.mozilla.org/en-US/firefox/all.html
Uninstall your current Firefox version, if possible, to cleanup the Windows registry and settings in security software.
*Do NOT remove personal data when you uninstall your current Firefox version, because all profile folders will be removed and you will also lose your personal data like bookmarks and passwords from profiles of other Firefox versions.
Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.
*It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
*http://kb.mozillazine.org/Uninstalling_Firefox
Your bookmarks and other profile data are stored in the Firefox Profile Folder and won't be affected by an uninstall and (re)install, but make sure that "remove personal data" is NOT selected when you uninstall Firefox.
If you keep having problems then also create a new profile.
*http://kb.mozillazine.org/Profile_folder_-_Firefox
*http://kb.mozillazine.org/Profile_backup
*http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Clean_reinstall -
Finder window does not open when dock icon is clicked
Hi would like some help
When I click the finder icon in the dock nothing happens, the only way I can get finder open is to go file>new finder window
just started doing this 1 day ago ?
thanksHave you got an instance of finder open in another desktop? If you right click on the finder icon you can show all windows, then close any that are open. Failing that relaunch finder, if you click on the Apple in the top menu bar, go to force quit, and select finder, then relaunch it to see if it solves your problem.
I once had this problem when I had left a finder window open in a connected tv screen, disconnected the tv and had the same problem of not being able to open finder normally. -
Field not visible when uploading the file in application ser
Hi,
I have added a new field at the end of a structure and When i upload the data in the application server it is not visible there. The new field length is 30chars(say field 'A') and the one just before this one is 250 chars(say field 'B'). When i reduce the length of field 'B' to 30 chars or 40 chars the value which i populated in field 'A' is visble in the output file.
Since the complete file was not visible in AL11 transaction, i used the CG3Y tcode as well to download the data to presentation server so that i can view the complete file. Even after downlaoding in presentation server the new field value is not visible.
Can anyone please suggest why is the value in field 'A' not visible when the length of field 'B' is 250 chars? Also, how can i display the value of the new field in the application server.I cannot change the layout of the structure as per the requirement. Any help will be very useful.
Thanks in advance,
Sneha.Hi Sneha.. Happy new year
<you subject is missing ver from the server, thats why your server doesnt like you :P>
-ok, lets go step by step. how did you upload the file?
-after uploading the file check the file in OS level(goto SM69, execute CAT, in additional parameter (not in parameter) give the full path (case sensitive), execute. ). here you can see the actual content of the file... check you data is present or not
-which structure are you using to download and upload? a temp work area.. then please provide the WA details, so that i can try on my system.
lets see what happens next
one more thing: regarding AL11, it can read upto length 510 characters. check program RSWATCH0 form SHOW_FILE. here the read dataset into butffer is 510 characters. -
Field not updating when switching fields.
I am using Oracle Forms Builder 10g and I created a procedure to get the data from a related table into the data block
PROCEDURE GET_MODEL_VAL IS
CURSOR MODEL_VAL IS
SELECT VMODEL_NAME
FROM VEHICLE, VEHICLE_MODEL
WHERE :VEHICLE.VEHICLE_ID = VEHICLE.VEHICLE_ID
AND :VEHICLE.VMODEL_ID = VEHICLE_MODEL.VMODEL_ID;
BEGIN
OPEN MODEL_VAL;
FETCH MODEL_VAL INTO
:VEHICLE.VMODEL_NAME;
IF MODEL_VAL %NOTFOUND THEN
:VEHICLE.VMODEL_NAME := NULL;
END IF;
CLOSE MODEL_VAL;
EXCEPTION
WHEN NO_DATA_FOUND THEN
MESSAGE ('Model Data Not Found');
WHEN OTHERS THEN
MESSAGE ('Post-Query Unsuccessful');
END;And I created an on validate trigger to check if the FK is valid and then call the above pcedure
DECLARE
NUM NUMBER;
BEGIN
SELECT COUNT(*) INTO NUM
FROM VEHICLE, VEHICLE_MODEL
WHERE :VEHICLE.VMODEL_ID = VEHICLE_MODEL.VMODEL_ID;
IF
NUM = 0 THEN
DISPLAY_VMID_ALERT;
RAISE FORM_TRIGGER_FAILURE;
END IF;
GET_MODEL_VAL;
END;Now here's the fun part. If I am updating the record when I tab or click away from the VMODEL_ID field the VMODEL_NAME field updates and everything is fine, however during an insert it does not.
Any insight?
The Oracle Peon...
Edited by: Oracle Peon on Apr 25, 2013 10:18 AM
Edited by: Oracle Peon on Apr 25, 2013 10:31 AM
Edited by: Oracle Peon on Apr 25, 2013 11:25 AMI was just typing up a response to you Steve when it hit me, the VEHICLE_ID isn't in the database yet during an insert.
WHERE :VEHICLE.VEHICLE_ID = VEHICLE.VEHICLE_ID
AND :VEHICLE.VMODEL_ID = VEHICLE_MODEL.VMODEL_ID;should be
WHERE :VEHICLE.VMODEL_ID = VEHICLE_MODEL.VMODEL_ID;Now I'm a bit new to Oracle so excuse my ignorance but you and Amatu lost me in your explanation.
I'm going to mark this as answered but I'd appreciate either a little more detail on what you guys did answer or some links to help me learn a bit more.
Thanks...
The Oracle Peon...
Edited by: Oracle Peon on Apr 25, 2013 11:25 AM -
Newly added field not getting displayed in ALV output
Hi All,
I'm adding one more field/column to be displayed in an old existing program that uses REUSE_ALV_FIELDCATALOG_MERGE to generate the ALV fieldcat.
DATA: BEGIN OF it_salary OCCURS 0,
pernr LIKE pa0000-pernr,
ename LIKE pa0001-ename,
rtext like lv_rtext, -
added field
waers LIKE pa0008-waers
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
i_program_name = driver
i_internal_tabname = 'IT_SALARY'
i_client_never_display = 'X'
i_inclname = driver
CHANGING
ct_fieldcat = lv_fieldcat[]
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3.
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
i_callback_program = driver
it_fieldcat = lv_fieldcat[]
i_default = 'X'
i_save = 'A'
is_variant = lv_tmplt
is_layout = lv_ls_layout
i_callback_user_command = 'USER_COMMAND'
TABLES
t_outtab = it_salary
EXCEPTIONS
program_error = 1
OTHERS = 2.
The newly added field is not getting populated in the lv_fieldcat table. Tried running programs BALVBUFDEL,
BCALV_BUFFER_DEL_SHARED then logging off and logging in but of no help.
Please provide suggestion for this issue.
Regards,
Sridevi SHi,
Fieldcat is buffered - so use
I_BYPASSING_BUFFER = 'X'
Since a while CL_GUI_ALV_GRID is available which does NOT need any fieldcat (is determined internally using RTTI). It is worth playing around whith this class if you have some time. This class is recommended for ALV Output by SAP (but no edit is possible - was never supported officially).
A simple use would be:
data: gt_output type standard table of (adjust!).
*simple ALV output
data go_alv type ref to cl_salv_table.
data go_functions type ref to cl_salv_functions_list.
data go_columns type ref to cl_salv_columns_table.
data go_column type ref to cl_salv_column_table.
*Exceprion handlig
data: go_exception type ref to cx_root,
gv_errortext type string.
** fill table gt_output ...
** ALV output
if not gt_output is initial.
try.
call method cl_salv_table=>factory
importing
r_salv_table = go_alv
changing
t_table = gt_output.
catch cx_salv_msg into go_exception.
gv_errortext = go_exception->get_text( ).
message gv_errortext type 'A'.
endtry.
* enable all standard ALV functions
go_functions = go_alv->get_functions( ).
go_functions->set_all( ).
* hide MANDT
go_columns = go_alv->get_columns( ).
go_column ?= go_columns->get_column( columnname = 'MANDT' ).
go_column->set_technical( ).
go_alv->display( ).
Kind regards,
Holger -
Added fields not appearing in the DSO transformations.
Hi,
I have added three new info objects into data fields in the DSO then activated and not appearing added fields in the transformations.
Please suggest me,
regards,
Jayapal.Hi Jayapal,
i dont know whether it would help you...you can give a try on it.
Instead of deleting the Transformation, just delete the mappings if any in the transformation.
Goto DS->Fields Tab-->In the Column Template info Object. Try mapping corresponding IO with the Source IO.
Then it will show a pop up give Copy . Activate the DS.
Goto Info Provider>Select the Transformation> If it is active-->reactivate it by clicking the Pencil Icon with glass and click activate icon.
If its not active, then reactivate it again by clicking the Pencil Icon with glass.
Let me know if it Works... Cheers
Regards,
Syed
Edited by: shameer83in on Nov 20, 2009 12:10 PM -
Hi guys, so we have 2 iPhones in my house, both on the same Apple ID so that my mum and I can share everything. I have just got an iPad mini, and would like to use iMessage on it with my phone number, but the iPad only picks up other more recently added number (not mine, my mums) when I go to message settings. Is there a way to make the iPad default to other number?
Using FaceTime http://support.apple.com/kb/ht4319
Troubleshooting FaceTime http://support.apple.com/kb/TS3367
The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
http://tinyurl.com/a7odey8
Troubleshooting FaceTime and iMessage activation
http://support.apple.com/kb/TS4268
iOS: About Messages
http://support.apple.com/kb/HT3529
Troubleshooting Messages http://support.apple.com/kb/TS2755
Cheers, Tom -
Auto suggest behavior for af:query component LOV fields.
Hi,
I am new to ADF development and need help on implementing auto suggest behavior to the LOV fields generated by af:query component. For inputList and inputCombo.. fields we can add af:autosuggestbehavior tag to enable this. How do we enable the same for af:query generated LOV fields.
Regards,
C.RThanks Timo for such a quick response.
JDev version we are using is 11.1.1.6.0
Unfortunately, we have gone too far with the AF:Query and Everything else is working apart from Auto-Suggest on AF:Query. Now will take a lot of time to implement and test. Also, users will have to spend considerable time to test it again.
Thanks and Regards,
Satya -
Why does item in drop down address not delete when selected and right click on delete
on version 14.1 - to delete an item in dropdown address box, told to put item in address line the right click and select delete - this clears address line but item remains in drop down box and does not go away -why does item not clear when returning to drop down to check on this
system is XP and ff 14.1dud the maintenance add on link you noted - sorry to say problem is the same - when trying to delete an item in the drop down list, i put it in the address line then right click and click delete - it clears from address line but it does not clear from the drop down list ---- please define in detail how to get item cleared from address line to also clear from dropdown list - thank you for your patience - I would simply like to clean up and unclutter the dropdown list without deleting entire history ---thank you
-
Xcode Open my App when Its Icon is clicked?
I made a simple app using xcode, but it has one issue.
When I close its only window, I can't open it again. If I click the icon, nothing happens. How do I make it so the window opens every time I click the icon in the dock?
ThanksAssuming your window is not released when it is closed, you can add the applicationShouldHandleReopen:hasVisibleWindows: method to your AppDelegate and bring your window back to the front - for example (mainWindow in the following is an outlet to your main window):
on applicationShouldHandleReopen_hasVisibleWindows_(theApplication, flag)
mainWindow's makeKeyAndOrderFront_(me)
return true
end applicationShouldHandleReopen_hasVisibleWindows_ -
Setting up Private Browsing window to open up when Safari icon is clicked on first.
Setting up Private Browsing window to open up when only Safari icon is clicked on first, and remains after shut down.
Hi css,
Welcome to the Apple Support Communities!
I understand that you would like to click on Safari in your Dock and have it open a new Safari Window. As you said in your post, clicking on Safari in the Dock brings the Safari window forward. There are a couple of possibilities to help resolve this situation. You can control-click (right click if enabled) on Safari in your Dock which will give you the option to open a new window. You can also click and hold on Safari, otherwise known as Press, to display these same options.
Mac OS X: Additional features of the Dock - Apple Support
Mouse clicks and key combinations for the Dock
Control-click
Reveals contextual menu for item. Menu choices vary per application or file. When used on Dock separator, it reveals Dock preferences. There you can turn magnification and hiding on or off, change the position of the Dock on screen, and change the minimization effect. Choose Dock Preferences to see more options.
Press
Reveals contextual menu for item. Menu choices vary per application or file.
Cheers,
Joe -
Upgraded to ios5 and now no non-apple applications installed on my iPad will launch when their icon is clicked
Try downloading any free app from the store (as that appears to reset something) and then re-try them - the free app can then be deleted.
If that doesn't work then you could try a reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot. -
Payment Card field not required when terms Credit Card is selected
Hi all,
I am trying to make Payment Card fields required when the user selects Credit Card as Payment terms. Right now it allows to save the Sales Order even if there is no credit card number entered, even though the Payment Terms has been selected as Credit Card. I found a note 606494 but it has to do with a component we don't even have installed, so I could not implement it. Did not have any luck searching the forums. Please help!
Thanks,
SergiyCheck the settings -
Set Up Payment Guarantees
Define Forms of Payment Guarantee
Transaction: OVFD
Tables: T691K
Action: R/3 is delivered with form 02 defined for payment cards. Other than the descriptor, the only other entry should be 3 in the column labeled PymtGuaCat
Define Payment Guarantee Procedure
Transaction:
Tables: T691M/T691O
Action: Define a procedure and a description.
Forms of Payment Guarantee and make the following entries Sequential Number 1
Payment Guarantee Form 02
Routine Number 0 Routine Number can be used to validate payment card presence.
Define Customer Payment Guarantee Flag
Transaction:
Tables: T691P
Action: Define a flag to be stored in table.
Create Customer Payment Guarantee = Payment Card Payment Cards (All Customers can use Payment Cards).
Define Sales Document Payment Guarantee Flag
Transaction:
Tables: T691R
Action: Define the flag that will be associated with sales document types that are relevant for payment cards
Assign Sales Document Payment Guarantee Flag
Transaction:
Tables: TVAK
Action: Assign the document flag type the sales documents types that are relevant for payment cards.
Determine Payment Guarantee Procedure
Transaction: OVFJ
Tables: T691U
Action: Combine the Customer flag and the sales document flag to derive the payment guarantee procedure
Payment Card Configuration
Define Card Types
Transaction:
Tables: TVCIN
Action: Create the different card types plus the routine that validates the card for length and prefix (etc )
Visa , Mastercard, American Express, and Discover
Create the following entries for each payment card
AMEX American Express ZCCARD_CHECK_AMEX Month
DC Discover Card ZCCARD_CHECK_DC Month
MC Mastercard ZCCARD_CHECK_MC Month
VISA Visa ZCCARD_CHECK_VISA Month
Regards
Sai -
Goods recipient field not available when creating a service purchase req
We are trying to create a release strategy for purchase requisitions with acount assignments K, F and P. The release strategy would use the requisitioner and goods recipient fields to determine the release group. The issue is when creating a purchase req with item category D for any account assignment, the recipient field cannot be populated. It is greyed out. I tried setting the field as mandatory in the IMG at the account assignment level but it doesn't prompt me for a recipient if item category D is entered. Is there a way to allow this field to be populated? I don't care if the value is transferred to the purchase order but I need it populated to determine the appropriate release strategy. We are not using workflow so that is not an option. Any suggestions would be appreciated.
Srinivas, I appreciate the response but the requisitioner field is not the problem. I can set that field to mandatory. The issue is I cannot populate the recipient field that's located on the account assignment tab of the purchase req. The recipient field can be populated if the item category field is blank but as soon as I populate the item category with D for service, the recipient field is unavailable. Is there a way to populate this field when the item category is D?
Maybe you are looking for
-
Upload failed "network failure"
Why is it that I get upload failed "network failure" msg on folio builder, immedieatly hit retry and it goes thru, or after several trys it goes thru? Or sometimes it goes on the first try, and then I make a small change and the upload will not work
-
Change the kernel keymap and xkbd keyboard layout?
I'd like to remap CTRL+(Left,Right,Up,Down) to Begin,End,PgUp,PgDown And i've to say that i almost succeded, but probably there's a better way. For the tty, i made a modified it.map.gz called itCtrlArrows.map.gz, put it into /usr/share/kbd/keymaps/i3
-
EXEC SQL and DBIF_DSQL2_CONNECTERR error
Hello, Currently our shipping system is communicating with SAP below are the parameters used: <SAPProgramID>kewill_LXD</SAPProgramID> <SAPGatewayHost>10.XX.40.XX</SAPGatewayHost> <SAPGatewayService>sapgw00</SAPGatewayService> <TransHandlerCon
-
hi friends, I want to convert time into words . example 17:49 i want to convert it into seventeen forty nine hrs is there any function module . if so please revert back me
-
How do I apply transitions.
Hi guys, I have started working with adobe premiere 5.5, but I have got a problem regarding the dragging the transitions to the timeline. I imported the file and dragged it to the timeline, but when it comes to the Effects I cannot drag any video or