Is it possible to use Checkboxes with Table Views?

Hi,
I need help with adding checkbox. Here is the detail of what I have.
In my application page, I have the Region Definition:
Type - SQL Query (PL/SQL Function body Returning SQL Query)
Region Source -
DECLARE
l_sql VARCHAR2(50);
BEGIN
Call Function_One(arg1, arg2 ..) ;
IF ( :P11_REQ = Value1 ) THEN
l_sql := ' SELECT Col1, Col2, Col3 FROM View1 ' ;
ELSE
l_sql := ' SELECT Col1, Col2, Col3 FROM View2 ' ;
END IF;
RETURN l_sql;
END;
Please note:
1. ' View1 ' and ' View2 ' are views on two tables.
2. The checkboxes are needed to select rows from these views to be inserted into another table for further processing.
Questions:
1. Can Checkboxes be added to views also, or, to tables only?
2. If checkboxes can be added to views, How can I do that to each of the rows that will be returned?
3. Is there a way to use ' Select * FROM View1 ', and be able to add the checkbox to each of the rows ?
Would appreciate your help.
Vasan

Vasan,
I usually call a plsql function to generate the HTML when I need a custom component like that. ie: create a procedure in a package. this should give you the idea. I usually create a dynamic plsql region to call the below procedure like this
begin
printTableWithCheckboxes();
endl;
procedure printTableWithCheckboxes is
begin
htp.p('<table>');
for rec in (select id, name from test) loop
htp.p('<tr>');
htp.p('<td><input type="checkbox" name="' || rec.name || '" value="' || rec.id || '" /> </td>');
htp.p('</tr>');
end loop;
end printTableWithCheckBoxes;

Similar Messages

  • Is it possible to use FaceTime With my two IPad With the same email address? I Will Google to china next month And i would like to communicate With my kids.

    IS it possible to use FaceTime With my two IPad That has the same address? I Will Go to China soon And i would like to discuss With my kids from there i.e. One IPad in China And one in Montréal.

    No, this is not possible.  It would be like dialing your own phone number.  You must verify an additional new email address for your second iPad.  See the following link which will tell you how to do this.  You will need to add this new address to Facetime app in one of your iPads.
    http://support.apple.com/kb/HE68

  • Using checkboxes with JOption Pane

    Hi, I having abit of trouble trying to implement a search utility into my swing based program. What I want is something also the lines of the "Find" feature available in MS Word and IE. Hence I want a message, input dialog box but also a checkbox to check does the user what to search for case sensitive material. So far I've been using JOptionPane and my code is as follows...
    String userInput = (String) JOptionPane.showInputDialog(null,"Enter Search Criteria:\n",     "Search Dialog",JOptionPane.QUESTION_MESSAGE,null,null,"");
    However it seems I cannot use checkboxes with this. Any idea how I could go about doing this using JOptionPane or if not would someone care to shed some light on how I might accomplish it?
    Thanks in advance,
    Simon

    JOptionPanes can be extended, but you would rather want to make a JDialog.
    Because you might also offer regular expression search (free in java 1.4),
    or search-and-replace.
    A google search will give examples like at the koders site.
    In general it pays to have all those little dialogs really user-friendly, say saving the last N sought terms + whether case-sensitive or not.
    Joop

  • Hi all, I want to know if is possible to use imessage with iphones in different countries, like bb??, Hi all, I want to know if is possible to use imessage with iphones in different countries, like bb??

    Hi all, I want to know if is possible to use imessage with people in a different contry

    yes it is possible to use imessage with your contacts in different countries.

  • Possible to use BlazeDS with GAE Java?

    Is it possible to use BlazeDS with the new GAE Java update? It's working on the local development server, but not on the online one. Apparently, BlazeDS uses some Java classes not in GAE's whitelist yet. Any workarounds? PyAMF on GAE works fine for Python, but I'd like to use BlazeDS and Java. Thanks!

    Yes, it is very much possible. I have done the integration, please check the steps in my post.
    http://sixtyfourarts.blogspot.com/2009/05/gae-integration-with-blazeds-in-eclipse.html

  • Ist it possible to use icloud with iphone3g

    ist it possible to use icloud with iphone3g

    The only formally supported thing is manually setting up an iCloud mail account. Even though Find My Phone will seemingly connect my iPhone 3G doesn't show up as it being connected through the iCloud web site.
    http://support.apple.com/kb/HT4864

  • Is it possible to use Blockbuster with AppleTV?

    Is it possible to use Blockbuster with AppleTV.  I bought the AppleTV 06/2012 at an Apple Store...not sure if I have v1 or v2.  Thx

    Not natively. If they have an app and it's enabled for airplay you could use an IOS device to beam content.

  • IS IT POSSIBLE TO USE HIBERNATE WITH NETBEAN?

    Hi and Happy New year,
    Please, is it possible to use hibernate with netbean. If yes, where can I get the materials on the configuration.
    Thanks
    Emeka

    NetBeans is an IDE. Hibernate is a data access API/solution. So not sure what you're asking. If you want to know if NetBeans IDE has Hibernate integration, go look at NetBeans feature set and/or plugins. Either way, Google...

  • Is it possible to use jdbcappender with jboss's logger?

    Hi
    Is it possible to use JDBCAppender with org.jboss.logging.Logger instead of org.apache.log4j.Logger? secondly can i also use jboss.logging.logger to send my logs to the database (not manually, using configuration file as with apache.log4j) ?
    TIA.

    Back in my days, when you were new to Java, you wrote all sorts of stupid console programs and crapplets to get the hang of it.
    Anyway, without seeing JBoss' logging framework, I'm gonna say "no, you can't" unless they've actually bothered to make it compatible with commons-logging (or was that log4j). However, you probably could write your own JDBCAppender for their framework or at least a small adapter that would forward the logging requests to log4j.

  • Is it possible to use emoji with email on snow leopard

    Is it possible to use emoji with email on snow leopard?

    Probably not, since those are Lion/ML items and SL doesn't have them. That's my WAG.

  • Is it possible to use iMessage with restrictions turned on?

    Is it possible to use iMessage with restrictions turned on?
    To be more specfic is it possible to use iMessage with the camera feature block via restrictions?  It appears that iMessage cannot be use with the Camera restricted, but I want to verify my experience with the community.
    Thanks

    Other users have reported the same blocking.  This one gives a good explaination.
    https://discussions.apple.com/message/16411942#16411942

  • Is it possible to use aim with a mac for free?

    Is it possible to use aim with a mac for free?

    If you mean the application AIM for Mac, it will depend on your download speed.
    If you mean "Can I use iChat with an AIM a screen name and does it cost anything ?" then the answer is Yes you can and no it does not cost and there is no download to do.
    If you mean "Can I use the AIM service with an @mac screen name and can this be done for free ? " then the answer is again yes.
    A trail account cost nothing and will work in ichat after the 60 days is up
    A Paid for but Lapsed account will also work in iChat and for this purpose can now be considered free.
    As I said and hinted at before your first question does not make it clear what you are actually asking.
    The Application AIM for Mac is stuck at version 4.7 and does not do Video or Audio Only chats.
    It has things that are useful in tweaking Buddy Lists in iChat but it is not specifically needed to contact AIM Buddies.
    9:00 PM Tuesday; June 24, 2008

  • Ok so I have a free standing iSight Cam, is it possible to use it with my white MacBook ? and if so how do I go about it ? I've tried researching for updates, drives but need help.

    Ok so I have a free standing iSight Cam, is it possible to use it with my white MacBook ? and if so how do I go about it ? I've tried researching for updates, drives but need help. Can someone give me some direction ?

    jpatricio787 wrote: ... is it possible to use it with my white MacBook ?...
    OK so yes, but if, and only if:
    (1) your MacBook has a Firewire port (not all do)
        - and -
    (2) your old external iSight camera works (not all do)
        - and -
    (3) your MacBook is working properly.
    If you are not certain whether your MacBook model has Firewire, you can search MacBook Technical Specifications for your model.  Alternatively, check the  User Guide Manual that came with your MacBook for the information you need to be certain.
    If you are not certain that your old external iSight camera works, you can test it using the suggestions in this link.
    jpatricio787 wrote: ... if so how do I go about it ? ...
    Follow the instructions in your iSight User's Guide to connect and turn on the iSight.  Then launch the Apple app you want to use with your iSight.  If you need more information about using an app, search for "camera" (without the quote marks) in the Help menu choice for the app.
    jpatricio787 wrote:... Can someone give me some direction ?
    If you need more direction, post back the specifics of what you still need.  We will offer further direction based on the details of your reply.
    Message was edited by: EZ Jim
    Mac OSX 10.9.3

  • How do I use the option "table view" in NetWeaver 2004s Query Designer?

    Dear,
    We have used NetWeaver 2004s Query Designer, We found a strange problem. The option to select table view is not available. It is greyed out. How can you select table view (tabular) in 2004s Query Designer?
    I have read the help doc about tabular view of NetWeaver 2004s Query Designer, I check my query, it has only one structure . but the option is still greyed out. I rebuild the query with 3.x Query Designer in tabular view, and reopen it with 2004s Query Designer, So there is a tab named "tabular view" display, but the option to select table view is still not available, and when users view the query result in web , it is still not in tabular view display. So I am confused, is there a bug with NetWeaver 2004s Query Designer?
    Please help me. Thanks!

    Note 1002271. Seach this note to use key word "table view"

  • Working with Table views

    Hi Experts,
      I have created a view with table view. I have created the context node and mentioned the internal table to read the data from DB tables. I am filling my internal table and unable to bind the internal table data to table view. Please help me
    Regards,
    Anand

    Hi Ashish,
      Thanks for the reply. The issue is
      1. I have created a new view with table view
      2. Created the controller class for the view
      3. Created the context node and iterator
      4. In the Create context node method, I am reading the DB tables and filling my internal table.
      5. Here we need to Bind the internal table data to Contextnode/Table. Please help me in this.
      6. After Data binding, then I have to call typed_context->contextnode->build_table().
    the view code is
       <crmic:tableView id="tv1"
                         navigationMode   ="BYPAGE"
                         table            ="//LnkObjIBaseList/Table"
                         onRowSelection   ="select"
                         selectedRowIndex ="<%=LnkObjIBaseList->SELECTED_INDEX%>"
                         selectedRowIndexTable="<%=LnkObjIBaseList->SELECTION_TAB%>"
                         selectionMode    ="SINGLESELECT"
                         visibleRowCount  ="6"
                         fillUpEmptyRows  = "TRUE"
                         width            ="100%"
                         iterator = "<%= LnkObjIBaseList->iterator %>">
    Some where I am missing to bind the internal table data to the wrapper class
    Regards,
    Anand

Maybe you are looking for

  • How can i get my ringtones on iPhone without directly syncing iTunes

    I currently use match and the iPhone 5. I chose not to driectly sync with iTunes and all is fine except I no longer have my ringtones. How can I get my old ringtones on the new iPhone. I can't find them with Match. Thanks.

  • Mac Pro not sending video to my DV Camera

    Hi, I have been editing on a PowerMac G5 using FCP 5.1.4 and outputting to tape on my Sony TRV900 MiniDV camera with no problems for over a year. I have recently bought a Mac Pro, and although I can get footage OFF to camera, the Mac Pro appears not

  • Foxit PhantomPDF for Mozilla Plugin Can't Update

    When I seek to open a file http://www. ....xyz.pdf within Firefox 17.0.1, message "This plugin is vulnerable and should be updated. Check (here) for updates. Click here (anywhere on screen) to activate the Foxit PhantomPDF for Mozilla plugin." When I

  • Mat views

    what does the term materialized views implies in oracle database.what is the purpose of using them in the oracle database.please explain me Regards Aram

  • Easiest way to open a text alert on the home sceen...

    As im fairly new to my E71 this might be a silly question but when i get a text alert on my home screen is there a button (or a way) i can open it without having to scroll to it first? I know if i hold the left softkey down it will read it but i woul