AutoComplete in InputFields
Hello Guys
So we have a small form in a web dynpro ABAP component where the user writes data based on DataBase Tables Records.
We want to implement something similar to google auto-complete/list of suggestions while hes typing (checking similar records in the database tables).
While doing this on simple HTML / JS would be easy , i have no ideia how to do it in Web Dynpro.
Can any experts give me a suggestion?
Is there a way to Track "onKeyUp" event in Web dynpro ABAP input fields?
is there any way to use Javascript in this example using Web Dynpro ABAP only?
Thanks for the Help
In NetWeaver 7.02 this is feature provided by the Web Dynpro Framework. It is called suggest values. Before that release level, however, it isn't really possible to do yourself without extensive modifications to the WD Framework and rendering. There is no access to the client events via the framework nor can you inject your own custom JavaScript in Web Dynpro.
Similar Messages
-
RE: AutoComplete in Portal
Hi,
How to do autocomplete(like in google search, while typing itself it will retrieve the similar words which matching to yours in dropdown)?
I refered this [link|http://viralpatel.net/blogs/2009/06/tutorial-create-autocomplete-feature-with-java-jsp-jquery.html]
But i dont know how to use $("#country").autocomplete in nwds. It is capuring the Id of the inputfield and setting the autocomplete to the field.
Let me know if anybody done this.
Regards,
MythiliHi Mythili
You can try this for auto complete. Add the below code in your jsp script section.
http://www.java2s.com/Tutorial/JavaScript/0560__GUI-Components/AutocompleteTextboxExample.htm -
InputField Histroy / Browser auto-completition
Hello,
for a current project I need a possibility to use the browsers (internet explorer) auto completition feature in web dynpro and portal.
Since I cannot find any thread in the forum for this topic I open this one.
I found only thread that discuss the inputfield history for business server pages, but none discuss this for web dynpro.
In the html source of the generated site i have found an attribute autocomplete="off" at every input-filed, so i think the autocomplete feature is deactivated.
Now whats the reason for this, and is it possible to enable the autocomplete feature?
It would be kind if anybody can answer my questions or can provide a solution.
Best regards,
Thorsten GawantkaHi Sumit,
all the autocomlete settings are activated in my ie, but it is not used in web dynpro and portal.
btw we use ie7
regards
Thorsten -
Htmlb:inputField always uses encode="TRUE"
Hi,
I have a inputField using data binding. The model field contains "Česká republika", and this code
<htmlb:inputField id="InpSupl" value="//model/edit_wa.supplier" encode="FALSE"/>
Renders to
<input class="sapEdfTxtEnbl" size="60" maxlength="60" name="cont_INVEST_invest_edit_wa.supplier" id="cont_INVEST_InpSupl" value="&#268;eská republika">
How can I prevent this HTML-encoding?
Version 6.40 SP 12.
Thanks,
ThiloHmm, I don't understand all this.
Look here, this is my complete output (sorry about that) of your example.
And you can see, the ampersand is encoded, but I want the letter È (a upper sized C with a ^ on top).
Why does it work at your place?
<html><head><title> </title><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1" ><meta http-equiv="imagetoolbar" content="no"><script type="text/javascript" language="JavaScript" src="/sap/public/bsp/sap/htmlb/events.js"></script><script type="text/javascript" language="JavaScript" src="/sap/public/bsp/sap/htmlb/event_dictionary.js"></script><link id="urstyle" rel="stylesheet" type="text/css" href="/sap/public/bc/ur/Design2002/themes/sap_tradeshow/ur/ur_ie6.css"><link rel="stylesheet" type="text/css" href="/sap/public/bc/ur/Design2002/themes/sap_tradeshow/ur/ur_pop_ie6.css"><script type="text/javascript" language="JavaScript">var popup_emptydoc="/sap/public/bsp/sap/htmlb/domainRelaxOff.htm";var HTMLB_SECTION508 = false;</script><script type="text/javascript" language="JavaScript">var sapUrDomainRelaxing = {NONE:"NONE",MINIMAL:"MINIMAL",MAXIMAL:"MAXIMAL"};ur_system={doc:window.document ,mimepath:"/sap/public/bc/ur/Design2002/themes/sap_tradeshow/common/",stylepath:"/sap/public/bc/ur/Design2002/themes/sap_tradeshow/ur/",emptyhoverurl:"/sap/public/bc/ur/Design2002/themes/sap_tradeshow/common/emptyhover.html",is508:false,direction:"ltr",domainrelaxing:sapUrDomainRelaxing.NONE,browser_abbrev:"ie6",dateformat:1,firstdayofweek:0}</script><script type="text/javascript" language="JavaScript" src="/sap/public/bc/ur/Design2002/js/sapUrMapi_ie6.js"></script><script type="text/javascript" language="JavaScript" src="/sap/public/bc/ur/Design2002/js/popup_ie6.js"></script><script type="text/javascript" language="JavaScript" src="/sap/public/bc/ur/Design2002/js/languages/urMessageBundle_de.js"></script><script type="text/javascript" language="JavaScript" src="/sap/public/bsp/sap/htmlb/misc.js"></script></head><body class="urBdyStd" scroll="AUTO" style="margin-left:2;margin-right:2;margin-top:2;margin-bottom:2">
<input disabled type="hidden" id="htmlb_first_form_id" name="htmlb_first_form_id" value="htmlb_form_1"><form id="htmlb_form_1" name="htmlb_form_1" method="POST" autocomplete="off"><input type="hidden" name="htmlbScrollX"><input type="hidden" name="htmlbScrollY"><input type="hidden" name="htmlbevt_ty"><input type="hidden" name="htmlbdoc_id" value=""><input type="hidden" name="htmlbevt_frm" id="htmlbevt_frm" value="htmlb_form_1"><input type="hidden" name="htmlbevt_oid"><input type="hidden" name="htmlbevt_id"><input type="hidden" name="htmlbevt_cnt"><input type="hidden" name="htmlbevt_par1"><input type="hidden" name="htmlbevt_par2"><input type="hidden" name="htmlbevt_par3"><input type="hidden" name="htmlbevt_par4"><input type="hidden" name="htmlbevt_par5"><input type="hidden" name="htmlbevt_par6"><input type="hidden" name="htmlbevt_par7"><input type="hidden" name="htmlbevt_par8"><input type="hidden" name="htmlbevt_par9"><input type="hidden" name="onInputProcessing" value="htmlb"><input type="hidden" name="htmlb_form_1_complete" id="htmlb_form_1_complete" code="OK"><input type="hidden" name="sap-htmlb-design" id="sap-htmlb-design" value="">
<span id="InpSupl-r" class="urEdf2Whl"><input type="Text" class="urEdf2TxtEnbl" autocomplete="off" id="InpSupl" ct="InputField" name="InpSupl" st="" value="&#268;eská republika" onblur="sapUrMapi_InputField_Blur('InpSupl',event)" onkeydown="sapUrMapi_InputField_keydown('InpSupl',event)" onkeyup="sapUrMapi_InputField_KeyUp('InpSupl',event)" onfocus="sapUrMapi_InputField_focus('InpSupl',event)"></span>
</form>
<script language="JavaScript">
function sapArrErase(){if(typeof(sapUrMapi_PcTabSeq_Registry)=='undefined') return;sapUrMapi_PcTabSeq_Registry1=sapUrMapi_PcTabSeq_Registry;sapUrMapi_PcTabSeq_Registry=new Array();for(var p in sapUrMapi_PcTabSeq_Registry1){if(document.getElementById(p)!=null)sapUrMapi_PcTabSeq_Registry[p]=true;}}function sapOnResize(){sapArrErase();;}window.onresize=sapOnResize;window.attachEvent ('onload', sapOnResize);
</script><script language="JavaScript">sapUrMapi_initLinkStatus();</script><noscript><iframe style="position:absolute;top:0;left:0;width:100%;height:150%" src="?sap-bsp-exception=NO_JS"></iframe></noscript><script language="JavaScript">if(document.cookie==null||document.cookie.indexOf("sap-contextid")<0){location.assign("?sap-bsp-exception=NO_CK");}</script></body></html>
In my opinion the inputField always does a encode="TRUE" and I don't have a chance to set it to FALSE. -
Outlook autocomplete cache stops working for multiple users at the same time
Hi there
Ever since we upgraded our Exchange 2010 to Exchange 2013 we have had problems with the autocomplete cache in Outlook 2010.
We have 700 users and about once per week I get a call about the autocomplete cache. A few users are on cached mode, but most use online mode. The problem appears on both, but it can usually be corrected by /cleanautocompletecache.
Granted, the autocomplete cache gets corrupted sometimes, but it seems to happen a lot for us. I have noticed that often more than one user experiences the problem at the same time, and, since the problem starting after upgrading Exchange, I suspect that
the issue is with Exchange and not Outlook. Yesterday three users complained about the cache at the same time.
I know how to get a broken cache going again - that is not the issue. The issue is keeping this from happening so often.
Anyone out there able to help?
Thanks!
/AndersHi ,
Based on my knowledge , when you tried to send an email to a recipient in the same exchange organisation then the recipient address will be resolved in to legacy dn value and then that email will be delivered to destination mailbox by pointing towards to
that legacy dn value.
For the external recipients exchange user the smtp address to get it delivered.
For your issue :
Based upon the NDR message , we need to covert those values in to x500 format and add it to respective recipient mailbox as an x500 address.Then These erorrs will happen if the x500 value of the destination recipient is not available on it's maibox
and that would be the cause of the NDR for most of the times.Some time as you said autocomplete cache would get corrupted on the client end but it is very rare.
How to convert NDR to x500 address format :
http://msexchangeguru.com/2012/03/15/x500/
How to avoid getting such kind of NDR'S :
https://www.simple-talk.com/sysadmin/exchange/exchange-e-mail-addresses-and-the-outlook-address-cache/
In case if you don't want the users to use the autocomplete cache when composing the new emails :
In group policy we can use the office templates to disable the below mentioned option.
1.use autocomplete to suggest the names ---> this option will comes under the advanced settings on the outlook client.
In case if you don't want the users to use the autocomplete cache when composing the new emails as well as if you wanted to delete that autocomplete then you need to choose one more option along with the first one.
1.Empty autocomplete cache.
Please reply me if anyhitng is unclear.
Thanks & Regards S.Nithyanandham -
I recently dl'd all of the Norton 360 v5.0.1.29 Liveupdates and synced everything to expose the latest Norton toolbar add-in. When I try to sign into any saved web page such as my email account, neither of the apps. are auto completing the form with userID and password details!?? Can someone help me ressolve this issue?
Thanks . . .
TomJNo I am talking about the functionality of using Norton to autocomplete my signin details such as USERID and PASSWORD information that is usually required to access a particular website's forums & subscriber features.
Thanks . . .
TomJ -
Autocomplete search not working in a visual webpart
I have a webservice that gives me some data from a sharePoint list.
I am trying to use that webservice for an autosuggest textbox in a application using jquery.
i can browse the webservice and invoke the operations directly.
But i am getting error in the jquery all the time saying 500 internal server error.
i can browse the web service without any issue if i go to the url.
here is my code
**jQUERY**
$(document).ready(function () {
$('#<%=txt_search.ClientID%>').autocomplete({
source: function (request, response) {
$.ajax({
url: "/_layouts/service/getdata.asmx/Returndata",
data: request.term,
dataType: "json",
type: "POST",
contentType: "application/json; charset=utf-8",
error: function (XMLHttpRequest, textStatus, errorThrown) {
alert(textStatus);
minLength:2
**here is my webservice method code which returns array of strings**
public string [] Returndata()
List<String> _data = new List<string>();
String title = string.Empty;
String keycontent = string.Empty;
SPList list = SPContext.Current.Web.Lists.TryGetList("Data");
foreach (SPListItem _item in list.Items)
title = (string)_item["Title"];
_data.Add(title);
return _data.ToArray();
if i browse to the method directly like this i can see the array of strings
http://sharepointsite/_layouts/service/getdata.asmx/Returndata like below
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<ArrayOfString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://tempuri.org/">
<string>Child Care Assistance</string>
<string>TANF</string>
<string>Child Care Subsidies</string>
<string>Child Care Settings</string>
<string>Regulation Status</string>
<string>Family Copayments</string>
<string>Reasons For Care</string>
<string>Child Care Development Fund</string>
<string>ACF-801 Child Care Monthly Case Record Form</string>
<string>Air Pollutants</string>
<string>Clean Air Act</string>
I am struggling why i am having an error any help
kukdaiHi,
If you only want to get data from list and achieve the
Autocomplete search function in SharePoint 2013, we can use SharePoint REST API and jQuery to achieve it.
Here are two blog for your reference:
Working with SharePoint list data - OData, REST and JavaScript
http://www.plusconsulting.com/blog/2013/05/crud-on-list-items-using-rest-services-jquery/
Using jQuery UI autocomplete with the REST API to get search results in the search box
http://blogs.msdn.com/b/murads/archive/2013/02/20/using-jquery-ui-autocomplete-with-the-rest-api-to-get-search-results-in-the-search-box.aspx
Best Regards
Dennis Guo
TechNet Community Support -
After I open Firefox I start typing the URL. After each letter I see autocomplete suggestions. Imagine I type "g", then "o" (google is shown as autocomplete), but then I enter "a". Since I have no pages that begin with "goa", autocomplete is hidden and the problem is, I can no longer type anything. All my key strokes are now ignored (backspace, enter... it dosen't matter). But I still see the cursor blinking after "goa".
I have discovered that Firefox must be focused on some other interface element (not in the address bar), because if I press the TAB key, the focus is again shifted to the address bar and I can continue typing. Sometimes I have to press TAB 2 or 3 times while entering an address to be able to write what I want. It looks like every time autocomplete is closed, the program focus leaves the address bar.
I've been having this problem for at least 4 or 5 versions of Firefox and it does not happen on every Firefox session. It can be solved by closing Firefox and opening it again. Pressing the TAB key has become kind of a reflex, so it's just annoying and I can work around it.
But why is this happening?Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
*Do not click the Reset button on the Safe mode start window or otherwise make changes.
*https://support.mozilla.org/kb/Safe+Mode
*https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes -
Deleted contacts still show up in autocomplete list
I have an iphone 4. I deleted some contacts from my contact list, and they still show up in the autocomplete list when I type an email and start typing a contact in the 'to' field. How do I get them to not be in that list anymore? Is it possible?
The only way to get rid of the autocomplete list is to restore your phone as NEW.
-
Autocomplete and linking issues with gchat on apple messages
So I'm having a couple related(ish) problems with apple messages and gchat/hangouts/whatever it's called these days and imessage on my laptop:
1) Gchat contacts sometimes do and sometimes don't autocomplete when i cmd+n for a new message and then start typing in the 'send to' field. this occurs irrespective of whether i try to start a jabber conversation via typing their email or via typing their name. I've noticed a couple of semi-consistent factors that seem to be impacting it, at least sometimes, but can't pinpoint anything entirely consistent:
-It seems to be more problematic with contacts that I have their (google) email address on their contacts card in my icloud account on my actual computer/iphone (as opposed to not having them linked to a contact, and them being merely listed on my gchat friends list by virtue of being imported when i created the account)
-It seems to be more problematic with buddies that i have had more recent contact with, so that their existing conversation is closer to the top of the messages window (and plus, even this isn't entirely consistent - sometimes it lets me type and find their jabber account even if i chatted yesterday and it's second or third on the list, other times it just returns no results in the address field, and other times (when they're a contact with email address as well as phone number) it only gives me their imessage account but their jabber doesn't show up and i have to go to my buddy list to find them)
Any thoughts? It's sometimes easier to just do cmd+n and type a friend's name even if i have an existing conversation with them relatively top to the close of the list, than manually finding them in the list or looking at the buddy list or using the search bar. cmd+n typically works at least with imessage conversations, and sometimes even with jabber accounts/gchat, so it doesn't seem like this is merely a feature that doesn't exist.
2) This might be less of a bug and more of a feature, but i'm wondering if there's a way to deactivate it. A lot of my friends have both imessages and gchat, and i have their google email and phone number on their contact card. in this case, apple messages, seemingly arbitrarily, alternates back and forth betweeen gchatting them and imessaging them in the same conversation. it doesn't always correspond to their away/available status on gchat, and even when it does correspond, i'd still prefer to be able to manually override to send an imessage even if they are available on gchat, I'd prefer to just have separate conversations going for imessage and gchat (because a lot of my friends just never look at one or the other depending on whether they are or arent near their computer, so i need to be able to control where the message goes). I do have a separate jabber conversation with John Smith from their imessage, but within the imessage conversation it still sometimes switches to jabber. It seems like this only happens for contacts that have both email and imessaage on their vcard, but i'd prefer not to delete the email address from their vcard just to resolve this issue, since the email address on contact comes in handy for purposes other than gchat. is there any workaround/way to disable this auto-switching between imessage and gchat accounts in the same conversation, while keeping contacts' email and phone number linked on their vcard?
3) Some, but not all, of my android friends show up as having imessage when i type their name to contact via gchat. sometimes it says imessages for their phone number, and sometimes instead for their gmail (or both). With respect to the issue when it happens in phone number form: i've checked their contact cards and their phone number is just listed as mobile (not iphone or anything, though i'm unsure if the category of phone number actually tells the phone whether they have imessage, or if it recognizes (in this case, incorrectly) on its own). Of course the imessage won't actually send, but it's pretty annoying (especially in light of the problem from #1). Is their any way to tell messages that this person doesn't have imessage so it stops saying they do?
Couldn't decide whether to post these separately or together, but since they may or may not be related i opted for the latter. sorry for the length. searched for all 3 and didn't find anything quite on point.
macbook pro, mid-2010, 15"
Mavericks 10.9.2
messages v8.0Hi,
Re 1)
If a Buddy (Google, AIM or Yahoo) is in the Buddy list as just the ID or Screen Name then broadly speaking they are not in your Contacts list.
As such they will not show a "Real Name".
However any Buddy can be added to the Contacts List even if you don't add a "Real Name"
This in itself can also cause issues as the Contacts app does not create what it sees as Duplicate cards.
i.e. you cannot create two cards with the name John Smith.
It is easier if the ID/Screen Name becomes the "Real Name".
I have three Macs
On each the My Card for myself reflects the Computer it is from and those Cards are synced on my iMac.
Some of the various Jabber and AIM Screen Names are linked to the particular computers.
That means if I type "ra" as the start of my Name in the "to" spot I get this:-
First is a national breakdown service for helping out with cars (as opposed to any other breakdown)
The next is a Buddy that I have hidden.
It lists Apple ID and telephone numbers that it thinks are iMessages compatible (it thinks all numbers are valid) liked to be G4 tower's card.
It continues listing AIM, Jabber, Yahoo and other iMessages accounts as well as the Bonjour contact details.
As you can see some at the bottom are IDs and Screen Names that are not associated with any of the Address Cards.
In these cases my name from part of the ID so "ra" picks then up.
As you can see you should get AIM, Jabber (Google), iMessages and Yahoo account indicated.
That should then lead to 2)
Once in the conversation you can use the "To" spot to change which ID you are calling and therefore effectively change which service you are using.
In this Pic I have chosen to call Myself (easy with multiple accounts)
My iMac My Card has no jabber account listed so you only see iMessages and AIM option listed.
I can "call" my main AIM name (ralphjohnsr) from the other three Accounts linked to this Card.
From your end it may look like a random switch but in fact is most likely from an incoming change by the Buddy/Contact.
You can make the change by using the "To" spot and a drop down
The centralised messages in the chat should tell you of Changes as will the ID in the text field before typing
Re 3)
It will depend on what their Apple ID is.
Some have had @mac.com names for a long time and linked them to MobileMe than more recently iCloud.
Some linked their @me.com names form MobileMe to iCloud at the Change.
Most recently iCloud IDs have been given @iCloud.com emails from the start.
However any email can be used as an Apple ID.
The pic above has my Apple ID partially hidden for that lower iMessages info across the center.
You may find that some people are using their Google ID as their Apple ID AND also using it as both the iMessages registered name and the Google ID in the Messages app.
Lets explain this another way.
When iChat 1 came out Apple joined the AIM service with it (it did AIM and Bonjour which was then called Rendezvous)
At that time Apple entered in to an agreement with AIM that any Apple Issued ID would be a valid AIM Screen Name.
At that time the Apple Service was .Mac and @mac.com IDs were being issued as paid for accounts, Trial Accounts and after while Lapsed paid for accounts.
These all worked as iChat/AIM Screen Names.
Then Apple changed to MobileMe and issued @me.com IDs
The trials only lated until you ended them and the IDs no longer worked in iChat after that as valid AIM Screen Names and nor did lapsed Paid For accounts.
More recently Apple have stopped a paid for Service and moved to iCloud.
At the change you could link Any Apple ID to iCloud and you got an @me.com ID from the iCloud server (it could be the same as the on MobileMe but did seem to be "separate").
Later these became @iCloud.com IDs (Some people have both under iCloud and in some cases linking @mac.com names to MobileMe @me.com accounts for email still continues).
To be clear you could link Any existing email ID to iCloud such as Google ID.
But broadly I am speaking of gaining various Apple Issued IDs over time that may or may not be linked to one account.
These Apple Issued IDs works as Valid AIM Screen Names in Messages. (the iCloud issued ones don't work in iChat 5 or earlier though).
I linked an external to Apple dial-up Email that has been my long time Apple ID to iCloud and got an @me.com ID at first and later an @icloud.com one as well.
I can use these two separately in Messages as Valid AIM names.
Someone using their Google ID as their Apple ID could use it as the iMessages registered Name AND as the GoogleTalk/Jabber entry as well.
This might explain why it looks like they are swapping about.
There can be one other explanation and that is dependent on where they are logged in.
Obviously a GoogleTalk user can log in to the Google web Mail page and use Talk there.
Although I don't use Google+ I presume there is a similar web page to chat from there.
This would limit them to being "On Google" rather than iMessages when they sent a messages to you.
Re GoogleTalk
Obviously Android is Google.
The Account settings at Google incudes the "products" you can link and use from your Account.
Previously with a Google Mail Account that included enabling "Talk" which then allowed you to chat from the Web Mail Page login (or your chosen Jabber able app)
Now Google use Google+ and this seems to give you automatic access to "Talk" to the extent it is no longer something you have to Activate.
I am wondering if using a Android phone is linked to having a Google+ account and that the phone number can be part of that ID set up (similar to iMessages and iPhone Numbers).
If it does it would then depend if the phone is linked to both the Number and the Google ID as to what they can login as in certain situations.
I am not sure I have covered everything but I think I have covered most things.
From what you post I am not sure that there is an issue or not although I have posted what is normal and expected I think there are some fringe things that are an issue.
9:46 pm Tuesday; April 15, 2014
iMac 2.5Ghz i5 2011 (Mavericks 10.9)
G4/1GhzDual MDD (Leopard 10.5.8)
MacBookPro 2Gb (Snow Leopard 10.6.8)
Mac OS X (10.6.8),
Couple of iPhones and an iPad -
Getting Values from RFC into inputfield
hi all,
I want an inputfield with the list of values from an RFC
like there should be an inputfield in which i can enter my onw value or select a value from combobox like list
that means a combo box with inputfield is required
please help
thanks
GauravHi Gaurav,
As far as I know there is no UI element provided that fits your requirement.
Regards,
Murtuza -
Case: When I go to Tools - Options - Privacy then Location Bar options, there should be another option to where we can disable auto-complete from the Location Bar without messing with other settings. Example #1: I click "Nothing" and then I gotta type in the website I wanna go to every single time. Example #2: I click "History & Bookmarks" and then it auto-completes. Is there any other option just to disable Auto-Complete all together??
Is inline autocomplete enabled?
See:
* http://kb.mozillazine.org/Inline_autocomplete -
Interactive report search field with autocomplete , is it possible ?
Hi all,
As you know the APEX provides an in-built search for interactive reports . I would like to know if its possible to add autocomplete feature to this ?
Thanks & regards
UmerIts nor working for me .
1) I created an textfiled item- P2_REPORT_SEARCH
2) added an interadctive report with the source as
SELECT * FROM (
select "WSR"."ID" as "ID",
"WSR"."USER_ID" as "USER_ID",
"WSR"."FROM_DATE" as "FROM_DATE",
"WSR"."TO_DATE" as "TO_DATE",
"WSR"."ACTIVITIES" as "ACTIVITIES",
"WSR"."PROJECT" as "PROJECT",
'delete' from
"WSR" "WSR"
where
("WSR"."USER_ID" = NVL(v('APP_USER'),USER) OR NVL(v('APP_USER'),USER) = 'ADMIN' ) AND (
"WSR"."FROM_DATE"=to_char(sysdate+ (2-to_char(sysdate,'D')))
where (
instr(upper("USER_ID"),upper(nvl(:P2_REPORT_SEARCH,"USER_ID"))) > 0 or
instr(upper("ACTIVITIES"),upper(nvl(:P2_REPORT_SEARCH,"ACTIVITIES"))) > 0
instr(upper("PROJECT"),upper(nvl(:P2_REPORT_SEARCH,"PROJECT"))) > 0
)3) added the folowing query to html header ,
<script>
apex.jQuery('#report_' + pId + '_catch').trigger('apexbeforerefresh', pId);
var l_URL =
'p='+$v('pFlowId')+':'+$v('pFlowStepId')+':'+$v('pInstance')+':FLOW_PPR_OUTPUT_R'+pId+'_';
if (pRefreshMode) {
if (pRefreshMode === 'current'){
// do nothing to url here
} else if (pRefreshMode === 'reset') {
l_URL += 'reset_R_' + pId;
} else {
if (!!pSort) {
l_URL += pSort+'::RP&fsp_region_id='+pId;
} else {
l_URL +=
'pg_R_'+pId+':NO&pg_max_rows='+pMax+'&pg_min_row='+pMin+'&pg_rows_fetched='+pFetched;
l_URL += ':NO::P2_REPORT_SEARCH:' + $('#P2_REPORT_SEARCH').val();
var lRequest = new apex.ajax.url(l_URL,
function(pResponse){
var l_s = pResponse.readyState;
var l_Id = lRequest.report_id;
if(l_s == 1){
}else if(l_s == 2||l_s == 3){
}else if(l_s == 4){
var lTemp = $u_js_temp_drop();
apex.jQuery('#report_'+l_Id+'_catch').attr('id', 'report_'+l_Id+'_catch_old');
apex.jQuery(lTemp).html(pResponse.responseText);
apex.jQuery('#report_'+l_Id+'_catch_old').replaceWith(apex.jQuery('#report_'+l_Id+'_catch'));
apex.jQuery(lTemp).empty();
apex.jQuery('#report_' + pId + '_catch').trigger('apexafterrefresh', pId);
}else{return false;}
lRequest.report_id = pId;
lRequest._get();
return;
</script>
4) a dynamic action:
>
Name: Instant Search
Event: Key Release
Items: P2_REPORT_SEARCH
Condition: No Condition
Action: Refresh
Fire when event result is: True
Selection type: Region
Region: WSR(Interactive reoprt region)5) When I enter the query in P2_REPORT_SEARCH , no change happens in the result set of IR
Edited by: Nice1 on May 16, 2012 1:12 AM -
Autocomplete does not work (no drop-down-menu)
Hi all
I'm trying to setup the autocomplete-input, but it doesn't
work. When I type anything into the textbox, the animated image
beside the box shows activity and I see the submitted data from the
backend in debug mode, but the drop-down-menu with the matching
records does not appear.
if I build a static list of possible choices in the
cfinput-tag, it works.
my cfc returns an array and this is serialized as JSON in the
calling backend-template (see code below). In source code view of
the html-page, I see lots of java-script and CSS inserted into the
page.
any ideas?
stefan
calling template:
<cfsilent>
<cfscript>
//Get Query
locationArray =
application.addressDao.findLocation(url.term);
</cfscript>
</cfsilent>
<cfoutput>#serializeJSON(locationArray)#</cfoutput>
relevant part of CFC:
<cfloop query="qLocations">
<cfset arrayAppend(records, fPLZ & " " &
fOrtschaft)>
</cfloop>
<cfreturn records/>
form-page:
<cfform action="" method="post" name="editForm"
id="editForm">
Dynamische Auswahlliste: <br />
<cfinput type="text" name="ziplocation"
autosuggest="url:ajaxLocationAutoComplete.cfm?term={cfautosuggestvalue}"
autosuggestMinLength="3" maxResultsDisplay="10"><br
/>
<br />
</cfform>Rather a general answer I am afraid, as I can not see an obvious problem & solution:
# Note for any one off problems with sites it is always worth clearing cookies for that site and cache [[How to clear the Firefox cache]] &[[Delete cookies to remove the information websites have stored on your computer]]
# Try in safemode (see [[Troubleshoot Firefox issues using Safe Mode]]) that is accessible from your Firefox Button. (but at this stage do not yet try the reset)
#* next try in safemode and also disable the java plugin that you have (Safe mode disables extensions not plugins)
#* for info: note Java and Javascript are different animals: http://kb.mozillazine.org/JavaScript_is_not_Java
# if the above do not help then try the Firefox reset, '''but''' be aware you will loose open tabs, extensions, and certain preferences, you may need to bookmark things first so you can find them again see [[Reset Firefox – easily fix most problems]] -
How can i disable form autocompletion in beta 4?
Yeha, I ran multiple times through the options of beta 4 but couldn't find any solutions do deactivate the autocompletion in forms. E.g. e-mail addresses or usernames.
Firefox (or Tools) > Options > Privacy > History: Firefox will: "Use custom settings for history"
[ ] "Remember search and form history"
Maybe you are looking for
-
Hi mates, ive decide to make a patch for modbin6 1.00.38 to improve stability and minise risk of modding the BIOS. for users which is reading this post if never heard about MODBIN better avoid reading below. its nice program for basic BIOS mod, simpl
-
Why won't my iMac apps retain there preference settings?
Why won't my Intel iMac apps retain their preference settings?
-
Is it possible to upgrade a machine, running 10.5.8 with Bootcamp, to 10.6? I tried running the upgrade from within 10.5.8 and the process failed. I would like to know why, but do not know where to look. I can't find where the log files for that woul
-
Insert data from one form to another table
I have a form which of course insert data into table1, i created a process within this form and include a sql statement to achieve this for me. My thoughts are this will take whatever is the value from the form and insert it into table2. INSERT INTO
-
Hi, I'm getting a "the address you entrered doesn't match your banks records" etc message when I try and buy an app. I have re-entered my info, there is ZERO errors in the format. I have used iTunes for 6 years with no issues. Next step? All of the