Loading...
Mark´s Playpen Integrating ExtJS javascript library with Oracle Application Express
APEX_PUBLIC_USER
Value
Rows Displayed
Instructions
View the source for the javascript code to build the customer lookup.

The javascript calls a database procedure:
PROCEDURE customer_lookup
  (p_callback    varchar2
  ,p_query       varchar2 default null
  ,p_limit       number   default 20 
  ,p_start       number   default 0  
  ,p_customer_id number   default null
  );

 
Nothing very tricky on the database side - just a cursor loop, returning records in a JSON format using htp.p statements.
I've rolled my own JSON escape function, but noticed there is one in the FLOWS_030100.wwv_flow_ajax package - must investigate this further.

You'll also notice I over-rode some CSS for the interactive report region to make it look more like the rest of the app. Just enough to show it's do-able.
Holiday Log
Page Comments

Author Comment
Nice work Mark!I try to use this sample to build a search field on a standard ApEx LIST ITEM, but I have problems to view items listed, anche the stored data when I go to edit a record...any suggestion?
sihemit is very nice good application;thank you very much for your help......
regards sihem​
ads adsasdad
sgsfdf sdvsdfds
CineQtest
Partha If you minimize the "more information" and maximize it again (or resize the region), then, the Options in Interactive reports is not displayed properly;
Me Myself and INice interface

I like this editor 
popolvery good job 
hi nice stuff
me Yeah!
natasa Bravo!
ThorVery nice 
MaxDude, this is very good stuff! 
ddd very smart
test test
 
Customer
Home Address
Destination
Holiday Start
Holiday End
Description
kkkkkk, Angela15 Joffre St 000000 WESTERN CREEK TAS 7304France, French Republic16-FEB-200928-OCT-2009-
Doe, sdsdfsdMain Street sdfsdfdfd 568 YOAnguilla18-FEB-200916-FEB-2009jg
Abelaaff, Ellena 235 srt29 Elizabeth Road's Street 30 SANDSTRON234 CA 6639713United States of America---
cabarkapa, vukosav2/482-484 Sandy Bay Rd fsdsdfsd DARLINGHURST NSW 1300Andorra, Principality of10-FEB-200928-FEB-2009-
Abelaaff, Ellena 235 srt29 Elizabeth Road's Street 30 SANDSTRON234 CA 6639713Marshall Islands20-FEB-200928-FEB-2009-
aaa, aaa-Afghanistan19-FEB-200920-FEB-2009kurzurlaub - vermutlich nicht erholsam
Abelaaff, Ellena 235 srt29 Elizabeth Road's Street 30 SANDSTRON234 CA 6639713Haiti, Republic of10-FEB-200927-FEB-2009-
Adams, RFQWADGVAER254 Bathurst Street ff SEACOMBE GARDENS ny 5047Angola, Republic of---
Smith, Bernadette24 Tingira Rd PARRAWEENA NSW 2339Antigua and Barbuda---
kkkkkk, Angela15 Joffre St 000000 WESTERN CREEK TAS 7304Afghanistan26-FEB-200926-MAY-2009Not so good
Adams, RFQWADGVAER254 Bathurst Street ff SEACOMBE GARDENS ny 5047Aruba26-FEB-200927-FEB-2009test
Adamsss, ClaretWqwser test by visitor2 NOONBI NSW 2794Andorra, Principality of18-FEB-200926-FEB-2009qsswsd
kkkkkk, Angela15 Joffre St 000000 WESTERN CREEK TAS 7304Russian Federation01-MAR-200904-MAR-2009FDFDFDFDFDF
kkkkkk, Angela15 Joffre St 000000 WESTERN CREEK TAS 7304Albania, Republic of---
kkkkkk, Angela15 Joffre St 000000 WESTERN CREEK TAS 7304Angola, Republic of03-MAR-200914-OCT-2009-
1 - 15 Next
Page Ref: 200801:2007
Generate: 0.52
  Release 1.0
©2008 Mark Lancaster. All rights reserved.
ExtJs