How to make a popup list referencing to a another table cell?
I'm trying to build this:
In a table I get values for area, perimeters and volumes of floor walls ceiling etc.
On another table there's a description of the building process (like demolition of a wall or floor...)
and i would like to choose with a drop down menu one of the value already in the first Table. So to append a cost for unit and calculate the amount for that quantity.
I've not understood if this is possible throught VLOOKUP.
hi ,
This is the code for displaying popup window...
DATA: l_cmp_api TYPE REF TO if_wd_component,
l_window_manager TYPE REF TO if_wd_window_manager,
l_popup TYPE REF TO if_wd_window,
l_text TYPE string_table,
l_api TYPE REF TO if_wd_view_controller,
message TYPE string.
l_cmp_api = wd_comp_controller->wd_get_api( ).
l_window_manager = l_cmp_api->get_window_manager( ).
message = 'Invalid Material'.
APPEND message TO l_text.
l_popup = l_window_manager->create_popup_to_confirm(
text = l_text
message_type = if_wd_window=>CO_MSG_TYPE_ERROR
window_position = if_wd_window=>co_center ).
l_popup->open( ).
Edited by: sreelakshmi.B on Jul 24, 2009 10:14 AM
Similar Messages
-
How to make a SELECT LIST READONLY
Hi,
I have a form to update the existing values in a table. Primary column is based on a Select List.
So when user goto update screen they SHOULD NOT BE ABLE TO CHANGE the primary filed(means the value display in the Select List).
SO to make this one I have make that select list read only. But not like other items even when we make select list read only it still allow user to change the value. So basically read only property not working for select text.
There are many post in this regading same issue. Some of them recomended to make it disabled. But when we make a item disabled then when user POST that form, Apex not POST any disabled item values. Basically disabled items values not passing next form. So making item dissable also not a solution.
I have read almost 20 post in here regarrding this and didnt get any solution for this. So please let me know if anyone knows how to make a select list read only (which is working same as read only text boxes, means that value pass when user POST the form).
Thanks in advance...
mcYou define a function(this is based aorund jQuery selectors) in the page header like
<script>
var makereadonly = function(selector, makeReadonly) {
$(selector).filter("select").each(function(i){
var select = $(this);
//remove any existing readonly handler
if(this.readonlyFn) select.unbind("change", this.readonlyFn);
if(this.readonlyIndex) this.readonlyIndex = null;
if(makeReadonly) {
this.readonlyIndex = this.selectedIndex;
$(this).css('background-color','#CDCDCD'); //Adds a background colour to readonly item
this.readonlyFn = function(){
this.selectedIndex = this.readonlyIndex;
select.bind("change", this.readonlyFn);
//For input items
$(selector).filter("input,textarea").attr('readOnly','readOnly');
$(selector).filter("input,textarea").css('background-color','#CDCDCD');
</script>and apply it using a jQuery selector (call it in the "execute on page load" or any other JS code)
makereadonly('#ITEMNAME1,#ITEMNAME2,#ITEMNAME3',true);Not that all of these methods(that act at the client side) will only prevent the user from modifying it 'normally', they could manipulate these readonly items using Javascript(or using firebug or any tool like that). So its better to make sure that your don't use the item value(from the page) for processing. -
How can make the events listed in my chalenda become automatically a reminder in the reminder?:
Welcome to the Apple community.
Calendar and reminders are two different and separate apps, you cannot transfer information between the two of them. -
How to make a select list editable or searchable like the combobox
Does anybody know, How to make a select list editable or searchable like the combobox? Do we need a plugin here, where I can get it.
Hi Nilesh,
If this is what you are looking for http://apex.oracle.com/pls/apex/f?p=32395:3:1202144397644679
get the combobox plug-in
http://www.apex-plugin.com/oracle-apex-plugins/item-plugin/searchable-combobox.html
I have not tried this though. Found it while searching for some other plug-ins.
Regards,
-Senthil -
How to make a row as selected in output internal table in oops ALV
Hi All,
I have ALV grid output using oops ALV concept, in my output i have a checkbox as first column when i select this checkbox and press a push button 'Print' which is there above ALV grid that particular line in output table should get selected and i need to code some logic for printing selected row.
how to make the particluar row in the output internal table to be selected and where to write the logic for print once it is pressed?
Thanks in advance
Srilakshmi.but the checkbox is not getting set in internal table when i select some checkboxes.
can anybody explain y the checkbox in internal table not set?
Hi Srilakshmi,
As explained by Uwe, when we change a field ( say check box ) in ALV grid, the view (frontend) changes (showing the tick mark) but the changed data ( normally ) is not transfered to the backend.
We can initiate this data transfer by just registering the cl_gui_alv_grid=>mc_evt_modified edit event
go_grid->set_table_for_first_display( CHANGING it_fieldcatalog = pt_fieldcat
it_outtab = pt_outtab ).
go_grid->set_ready_for_input( 1 ).
go_grid->register_edit_event( EXPORTING i_event_id = cl_gui_alv_grid=>mc_evt_modified ). " This does the trick
Now as soon as we check a checkbox, the data_changed event is triggered.
This initiates data transfer to the backend and the checkbox field in internal table is updated.
check the below code for example.
DATA: go_cont TYPE REF TO cl_gui_custom_container,
go_grid TYPE REF TO cl_gui_alv_grid,
gt_fieldcat TYPE lvc_t_fcat,
gv_language TYPE spras VALUE 'E',
gt_outtab TYPE TABLE OF bus_loca_demo WITH HEADER LINE.
START-OF-SELECTION.
CALL SCREEN 100.
* MODULE PBO OUTPUT *
MODULE pbo OUTPUT.
SET PF-STATUS 'BASIC'.
SET TITLEBAR '001'.
PERFORM create_and_init_alv CHANGING gt_outtab[]
gt_fieldcat.
ENDMODULE. "pbo OUTPUT
* MODULE PAI INPUT *
MODULE pai INPUT.
CASE sy-ucomm.
WHEN 'BACK'.
SET SCREEN 0. LEAVE SCREEN.
WHEN 'PRINT'.
BREAK-POINT.
ENDCASE.
ENDMODULE. "pai INPUT
FORM create_and_init_alv CHANGING pt_outtab LIKE gt_outtab[]
pt_fieldcat TYPE lvc_t_fcat.
CHECK go_cont IS NOT BOUND.
CREATE OBJECT go_cont
EXPORTING
container_name = 'CUSTOM'.
CREATE OBJECT go_grid
EXPORTING
i_parent = go_cont.
PERFORM build_display_table.
PERFORM build_fieldcat CHANGING pt_fieldcat.
go_grid->set_table_for_first_display( CHANGING it_fieldcatalog = pt_fieldcat
it_outtab = pt_outtab ).
go_grid->set_ready_for_input( 1 ).
go_grid->register_edit_event( EXPORTING i_event_id = cl_gui_alv_grid=>mc_evt_modified ). " This does the trick
ENDFORM. "CREATE_AND_INIT_ALV
FORM build_display_table.
FREE gt_outtab.
DO 10 TIMES.
gt_outtab-creation_partner = sy-index.
gt_outtab-date_field = sy-datum.
APPEND gt_outtab.
ENDDO.
ENDFORM. "build_display_table
FORM build_fieldcat CHANGING pt_fieldcat TYPE lvc_t_fcat.
DATA ls_fcat TYPE lvc_s_fcat.
CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
EXPORTING
i_structure_name = 'BUS_LOCA_DEMO'
CHANGING
ct_fieldcat = pt_fieldcat.
LOOP AT pt_fieldcat INTO ls_fcat.
CASE ls_fcat-fieldname.
WHEN 'CHECKBOX'.
ls_fcat-checkbox = 'X'.
ls_fcat-edit = abap_true.
MODIFY pt_fieldcat FROM ls_fcat.
WHEN 'ENTER_FIELD' OR 'DBLCLICK_FIELD'.
ls_fcat-no_out = abap_true.
MODIFY pt_fieldcat FROM ls_fcat.
ENDCASE.
ENDLOOP.
ENDFORM. "build_fieldcat
Cheers,
Jose. -
How to make few columns of single record inactive in Table conrol?
Hi all,
Scenario is like this : i have one table control , it is displaying 10 records , in that first four columns are editable. Now my requirement is, whenever record having intial values( suppose one record having initial values among ten) except key field , we need to deactive that particular record , now table control should contain ten records , but nine records are in editable state and one record in non editable state .
How to make few columns of single record inactive in Table conrol?
Thanks in advance.hi there...
select the column that u want to convert to non editable mode in the screen layout. then double click on it. go to the attributes tab and uncheck the input chk box. the check box will become disabled for input. u can do this for any number of columns.
if u want to do it dyanamically, loop at screen. check for the screen element's name. when itmatches the column u want to disable, simply set the input value as 0.
dont forget to modify sscreen after setting the attribute values.
i hope this helps.
do reward if helpful. -
How do I set a BG Image for a specific Table Cell?
Hello...
How do I set a Background Image for a specific table cell
without it affecting the main page background image?
thanks
JUse CSS -
td.special { background-image:url(foo.gif); }
will style this table cell only -
<td class="special">
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"JSloanSDRE" <[email protected]> wrote in
message
news:g2dl7n$pf5$[email protected]..
> Hello...
>
> How do I set a Background Image for a specific table
cell without it
> affecting the main page background image?
>
> thanks
> J -
Outlook 2010 - how to make "global address list" display larger?
Does anyone know how to make the "global address list" box and text appear larger in Outlook 2010?
ThanksWhat do you mean? Can you please explain in detail?
Blog |
Get Your Exchange Powershell Tip of the Day from here -
How to make hidden Drop Lists functional in RBList Subforms?
I have created a form that contains 3 isolated Radio Button lists, each with hidden subforms that are unique per each button.
Two of my RBLists and subforms work perfectly, showing hidden Drop Down List options and other fields as they should when a button is selected.
However, RBList3 presents the Drop Down lists as user entry fields only. Each hidden subform in RBList3 contains one drop down menu and one text box for instructions.
I've used the same javascript to hide/show hidden fields when buttons are selected. All settings seem to match up. Here is a sample of my code:
if(RBList3.F.rawValue != 2)
this.presence = "hidden";
newsubform.presence = "hidden";
else if(RBList3.F.rawValue == 2)
this.presence = "visible";
newsubform.presence = "hidden";
Does anyone have any suggestions for how to make my Drop Down Lists in RBList3 show as functional Drop lists?
I have attached the form for reference.See example #62 on my blog for a 10.1.3 example:
http://tinyurl.com/smuench-adf-examples
For a tutorial on how to create them using the new features we enable in 11g, see my Oracle Magazine article:
Defining Cascading List of Values -
How to make multi select list as dropdown??
Hi friends,
using apex 4.0
i want to make multi select list as dropdown,how can i do this??
thanks in advance.. :)mn123 wrote:
using apex 4.0You MUST include the following information with every question:
<li>Full APEX version
<li>Full DB version and edition
<li>Web server architecture (EPG, OHS or APEX listener)
<li>Browser(s) and version(s) used
<li>Theme
<li>Template(s)
<li>Region/item type(s)
This cuts down on the need for a lot of follow-up questions or second-guessing. Appropriate solutions may differ according to any of these variables.
i want to make multi select list as dropdown,how can i do this??Please define exactly what you mean by "multi select list" and "dropdown".
Do you mean displaying a multi-select enabled select list as a drop-down list rather than as a list box? If so, this is not possible using standard APEX/web browser controls. -
Popup display ( How to make synchronous popup)
Hi All,
I'm using below code to display popup & no issue with that it's working fine but this is asynchronous display. I want to make popup to synchronous so that i can able to use popup input values in next step to perform some other logic. Please advice me how to make popup to synchronous.
data: l_cmp_api type ref to if_wd_component,
l_window_manager type ref to if_wd_window_manager.
l_cmp_api = wd_comp_controller->wd_get_api( ).
l_window_manager = l_cmp_api->get_window_manager( ).
if wd_this->m_popup is initial.
wd_this->m_popup = l_window_manager->create_window(
window_name = 'TAXWARE_WINDOW'
TITLE = 'Limit Selection'
close_button = abap_true
button_kind = if_wd_window=>co_buttons_okcancel ).
endif.
wd_this->m_popup->open( ).
Thanks & Regards,
Anil.Hello, Anil,
In WDA there's no way to do this. What you have to do is subscribe to a popup button event, and when the user clicks on a button, it will fire your event.
data: l_cmp_api type ref to if_wd_component,
l_window_manager type ref to if_wd_window_manager.
l_cmp_api = wd_comp_controller->wd_get_api( ).
l_window_manager = l_cmp_api->get_window_manager( ).
if wd_this->m_popup is initial.
wd_this->m_popup = l_window_manager->create_window(
window_name = 'TAXWARE_WINDOW'
title = 'Limit Selection'
close_button = abap_true
button_kind = if_wd_window=>co_buttons_okcancel ).
wd_this->m_popup->subscribe_to_button_event(
button = if_wd_window=>co_button_ok
action_name = 'ACTION_OK'
action_view = l_cmp_api
is_default_button = abap_true ).
wd_this->m_popup->subscribe_to_button_event(
button = if_wd_window=>co_button_cancel
action_name = 'ACTION_CANCEL'
action_view = l_cmp_api
is_default_button = abap_false ).
endif.
wd_this->m_popup->open( ).
Then you create the ACTION_CANCEL and ACTION_OK events, and do your logic.
Regards,
Andre -
How to make a alphabetical list of names
How to create an alphabetical list of names
Dale:
In the Photos window turn off the Event Titles so all you see are the photos. Then sort by keyword, ascending or desending. The photos without a keyword will be at one end of the display of photos. Find all of the photo without a keyword and batch add a new, unique keyword. Then make a smart album with the criteria Keyword is not "XXXX".
Do you Twango?
TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
I've written an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 08 libraries. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file. -
How to make a hierarchical list of file/folders like in the Finder
Hi,
I have a hard drive that I'm going to use as a safety backup. I've filled it with files and folders and am going to store it off site. I'd like to retain a list of what I've got on there, for reference.
I can make a complete list of what's on there, with UNIX 'ls -R', but it's huge and you can't encapsulate the folders, it just lists everything. I need a document that reproduces the list of files and folders in the same way that the finder does. Is there any program that does that?
Thanks
BobI've seen third-party backup utilities that provide that sort of catalogue interface, but I can't name any off hand.
Yep, I even used to have one, way back in OS 7 thru 8.6 on my 8600. I think it was something from Iomega, they used to give you several free tools, and I believe a catalogue maker was one of them. I think it broke with some version of OS 9, and I got a shareware program called DiskTracker. Both did exactly what is wanted: they would catalog any sort of disk, be it drive, removable media (I had a bunch of Syquest EZDrive cartrides), even CDs. You would open the file in the program, and navigate just like in the Finder. Don't remember just how much information was preserved about files.
Try going to VersionTracker, and do a search on disk inventory or catalog software, I'm sure there are still such things around, though I doubt they would be free.
Francine
Francine
Schwieder -
How to make a smart list of photos containing any keyword
I want to get all my keywords embedded. I think a workaround is to make a smart list that has all my photos which contain any key word. Export all these photos. Then import them back in using auto arrange by event.
How do I make a smart list that contains all photos with any keyword (I dont see that as a choice) and will this workaround work?
thanksDale:
In the Photos window turn off the Event Titles so all you see are the photos. Then sort by keyword, ascending or desending. The photos without a keyword will be at one end of the display of photos. Find all of the photo without a keyword and batch add a new, unique keyword. Then make a smart album with the criteria Keyword is not "XXXX".
Do you Twango?
TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
I've written an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 08 libraries. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file. -
How to make a linked list?
I've seen how to implement a linked list in oracle ? but it's not what I'm interested in.
First of all, it is just a curiosity, no serious task behind it. I think I've almost made a linked list (of chars) type, however it misses the notion of empty list and thus I virtually cannot construct it.
create or replace type LString as object
head Char,
tail ref LString,
member function cons(
p_x Char)
return LString
create or replace type body LString is
member function cons(
p_x Char)
return LString
is
xs LString;
begin
xs := LString(head => p_x, tail => self.tail);
return xs;
end;
end;I need to be able to make empty list to construct other lists, for example:
empty_lstring.cons('H').cons('i').cons('!')
How can I do it?
Edited by: 922141 on 12.07.2012 7:02I need to be able to make empty list to construct other lists, for example:
empty_lstring.cons('H').cons('i').cons('!')
Why ? Can you mention one procedural language who can do this? I can't! Can you?
Sybrand Bakker
Senior Oracle DBA
Maybe you are looking for
-
IBooks Author in-line tables are being cut off
iBooks Author in-line tables are being cut off at the bottom of a column, instead of flowing to the next column, or moving the entire table. The entire point of marking a table as in-line, is to get it to move as text is inteserted before it. But w
-
Why are my images way smaller when exporting out of Aperture?
I import my photos, work on them...it's going well...but, once I export them out to put them on a external harddrive, the photos are going from approx. 3 mb at 300dpi...to about 700kb-1mb at 300 dpi. I'm exporting them as jpeg at full size. I didn't
-
How do I get an audio file from i Movie to a CD?
My Daughter has created a an audio clip using iMovie and we need to burn into onto a CD or import to itunes/ipod. Is that possible?
-
This is for Server based Office 2013 - using Word All computer work stations are running Windows 7 professional I have Word 97 - 2003 templates saved on the shared drive on the server. I have these templates "pinned" to the opening page on all serve
-
Create a single .swf or .fla file?
Hello, I and an experienced graphic designer who does not know how to use Flash but could easily create a flash piece with mouse changes to state from your Catalyst software. I am very, very excited about your product! I would prefer not to have to l