Links associated with a table of names/ids

Is there a better way to do this in faces?
My page has a table of names, I wish to associate a modify/delete actions with each one, allowing the user to just click say the modify link on one and end up in a page to modify that entry. I ended up generate the links as something like:
<table>
<tr>
<h:form>
<input name="scoutId" type="hidden" value="${scoutBean.scoutId}"/>
<h:commandLink action="#{scoutListActionBean.doModify}" value="Modify Scout"/>
</h:form>
</td>
<td>
<h:form>
<input name="scoutId" type="hidden" value="${scoutBean.scoutId}"/>
<h:commandLink action="#{scoutListActionBean.doRemove}" value="Remove Scout"/>
</h:form>
</tr>
</table>
Then in my action routine, I find the value associated with the request paramter "scoutId" to prepopulate the next modify/delete page.
This seemed pretty clumsy to me, anybody got a better way?

Yes. Try DBA_TRIGGER_COLS (or the USER, ALL variants)
APC

Similar Messages

  • ERROR_NOT_FOUND: there is no credentials associated with the given resource name. + WCF Service while Retrieving WindowsCredentials

    Hi guys,
    I am struck with a problem while retrieving the Windows Credentials from WCF service.
    1. I have used WSHttpBinding.
    2. I have configured the Website and App pool to run under a specific user who is an Administrator for the server.
    3. I have created the windows Credential of Generic type using Credential manager with the same user.
    4. I configured the Website to allow only Anonymous and Windows Authentication in IIS (IIS Version: 8.5).
    5. I tried the same code in the same server by logging into server with same user and debug the service. The service is returning the windows Credential requested.
    6. But i am unable to retrieve the Windows Credentials from the same code when published in IIS in the same server.
    i configure the Security in Server and client as below:
       <bindings>
          <wsHttpBinding>
            <binding name="wsHttpEndpointBinding">
              <security mode="Transport" >
                <transport clientCredentialType="Windows"/>            
              </security>
            </binding>
          </wsHttpBinding>
        </bindings>
    7. I tried to read the error code generated by Credential Manager API from  my code and it returned the below error when i am accessing the deployed service.
    ERROR_NOT_FOUND: there is no credentials associated with the given resource name.
    8. I have also checked this with other environments out side my virtual machine with the same code and config file. All environments it is working fine except my environment. Can any body help me out on this...

    Hi pavan kumar,
        As per this case, I have shared the details below :
    1.where you got stuck & receive error message whether in service side or client side ?
    2.if its in service side, then I suggest you to enable tracing on wcf service for debugging purpose to findout the root cause.
    3.For configure tracing refer here "https://msdn.microsoft.com/en-us/library/ms733025.aspx"
    4.To know about WCF Extensibility – System.Diagnostic Tracing ,then refer the below link
    http://blogs.msdn.com/b/carlosfigueira/archive/2011/08/02/wcf-extensibility-system-diagnostic-tracing.aspx
    5.If its in Client side, Please make sure that the client is in the same or trust domain as service. 

  • Is there a way to access Time Machine files associated with an old user name?

    My iMac was running super slow and there was a bunch of programs, etc. that I wanted to get rid of anyway so I thought I would do a "clean install" from my Snow Leopard disc.  I moved items on my desktop to my Seagate external drive and then unplugged it.  I have had Time Machine saving to it for a long time so I was confident I could just move a few items (pictures, music, etc.) back on to my hard drive when the install was completed.  To my surprise, when I went to Time Machine I found the items I had moved from my desktop but no earlier versions of my other files. 
    In researching this issue a little bit, it appears that perhaps I created a new user name when I did the install and that my historical items are likely still on the Seagate but stored somewhere associated with my old user name.  I understand that if I can change my user name back to the original that I may be able to access the items and transfer the items I want.  To compound the situation, I have no idea what my old user name even was.
    Does this make sense to Mac experts out there?
    If so, is there a way to see the old user names and access the Time Machine files?
    I've been avoiding telling my wife that I may have lost all our kid photos so I'm desperately hoping someone can help.

    The problem is that Time Machine detects your new OS X copy as a new Mac and it doesn't let you access to your backups. To access to them, see > http://pondini.org/TM/E3.html
    Another option would be to access to your backups manually. Open a Finder window, select the Time Machine drive in the sidebar and go to Backups.backupdb > your computer's name > one of the backups > your partition's name, and copy the data you want

  • Adding/removing many-to-many associations with intersection tables

    Hello,
    I am using Jdeveloper 11g with ADFBC.
    I have some many to many associations in my application. For example User and Category are associated and there is an intersection entity (UserCategory - Columns are UserId, CategoryId) to save these associations.
    What is the correct method for adding or removing categories assigned to user?
    Thanks.
    Edited by: Deniz Gulmez on 01-Nov-2009 03:25

    I found an example for Jdeveloper 10g, which is discussed [ADF] Adding/deleting entries in a many-to-many relationship
    In that example, many-to-many association is defined as two 1-to-many associations. Actually i've been searching since last week for an example which is made with many-to-many associations but no help. I will change my Model structure if it is not an efficient way to define many-to-many associations with intersection tables.
    I wonder if it is possible to write some methods like :
    addCategoryToUser(String userId, String categoryId)
    removeCategoryToUser(String userId, String categoryId)
    addCategories(String userId, List categoryIds)
    vs.
    Of course i am able to do these by creating a new Row in UserCategoryView (Intersection view), setting it's attributes and saving. Or the opposite, finding the row in intersection table and deleting it.
    For example:
    public void removeCategoryFromUser(String userId, String categoryId){
    ViewObjectImpl vo = this.getUserCategories1();
    vo.setWhereClause("USER_ID = :userId AND CATEGORY_ID = :categoryId");
    vo.defineNamedWhereClauseParam("userId", null, null);
    vo.defineNamedWhereClauseParam("categoryId", null, null);
    vo.setNamedWhereClauseParam("userId", userId);
    vo.setNamedWhereClauseParam("categoryId", categoryId);
    vo.executeQuery();
    Row row = vo.first();
    row.remove();
    I wonder if there is a more efficient way. Any samples would be appreciated.
    Edited by: Deniz Gulmez on 01-Nov-2009 05:49

  • Content of add-ons, except Weatherbug, periodically requiring deletion of all cookies, restart of compute and re-sign in to Google and YahooMail; the links associated with the add-on remain active

    The content of my add-ons, except Weatherbug, periodically disappear. I have to delete all cookies, restart compute and re-sign-in to Google and YahooMail. Everything is fine for a while and then the content of the add-ons goes away again. The links associated with the add-on remains at the top of the now content-vacant boxes and still work. This problem appears to have cropped-up after the last Firefox update.

    To: David Messner,
    As we cannot login we cannot raise a ticket with billing or anything else for azure.
    Have two valid azure subscriptions, one microsoft account (ex-liveid/ex-officelive) and an organisation account (err microsoft office365).
    Cannot access the azure portal!
    Please raise a ticket for my as it is impossible for me to do so, the system is broken, the website workflow is flawed.
    Dave
    ps: cleared cache several times, IE11, does not work from Win 8.1, 8.0 or 7. It is broken totally.
    The only possible advised support is "
    United Kingdom   
            +44   
            (0)844 800 2400
    and believe my that is not a real option. The two times in the past I phoned in I got absolutely nowhere after weeks and the communication just died. Yes, it is that bad.
    Dave Baker | AIDE for LightSwitch | Xpert360 blog | twitter : @xpert360 | Xpert360 website | Opinions are my own. For better forums, remember to mark posts as helpful/answer.

  • Segmens associated with the table

    Hi,
    in 10g R2 , in OEM grid (or DB control) how can I see the segmens associated with a table ?
    Thank you.

    user522961 wrote:
    thank Viendra, but as a dba I should know also use OEM grid, should'nt I ?
    how can I see the segmens associated with a table ?Well, as a dba , you must know what Segment or Extent basically mean as well! Where do you think that this information would be stored and why? What does it mean even by "segments associated with a table" ? If you had said extents, it would had made some sense but IMHO, what you said isn't an appropriate statement.
    For GUI, either DBC or GC( both are same when you come to the Administration page), search for tables and that's all about it.
    HTH
    Aman....

  • How to find all tables that are associated with a given domain name.

    I want to find all table, excluding the structures, of a given domain name, say, waers.
    Some of the tables are directly contains the domains while others are related with a data element which is connected to that domain.
    I want to find tables for all two case -either tables connected directly to the domain or connected via data element- and exclude the structures.
    thanks in advance.

    Hi,
    The following thing may help you.
    in se11-> search for tables having names like 'DD*'.
    From this list of tables you can find the required table to get domain, data element nad table name.
    one way of doing it:
    SELECT rollname domname
      FROM dd04l
      INTO CORRESPONDING FIELDS OF TABLE it_tab.
    SELECT rollname tabname
      FROM dd03l
      INTO CORRESPONDING FIELDS OF TABLE it_tab1
      FOR ALL ENTRIES IN it_tab
      WHERE rollname = it_tab-rollname.
    SORT it_tab1.
    DELETE ADJACENT DUPLICATES FROM it_tab1.
    LOOP AT it_tab1 INTO wa_tab.
      MODIFY it_tab FROM wa_tab
      TRANSPORTING tabname
      WHERE rollname = wa_tab-rollname.
    ENDLOOP.
    LOOP AT it_tab INTO wa_tab.
      WRITE:/ wa_tab-domname,
              wa_tab-tabname.
    ENDLOOP.
    Regards,
    Manoj Kumar P

  • Sun java Creator, Table component vanishes when associating with the table

    I am trying to develop JSF page with a table component and associating a table (users) to the table component.
    I have created datasource and i can see the data in the SQL editor in Sun Java Creator.
    But when i try to associate the table component with the table(users).
    I table component vanishes.
    I dont understand what is the problem.
    Can anybody help me.

    The default theme is localized. If you look at <Creator-install>/rave2.0/modules/ext/locale
    you should see the localized default theme jars. Not sure which locale you are. You can put your localized jar here. Add the localized jar to your web application via library manager for it to be included in the deployed war file
    - Winston
    http://blogs.sun.com/winston

  • How to retreive dynamicly  the name of  a trigger associated with a table

    Hi,
    Comming from Ms-Access and SQL Server, i use triggers (build by omwb) to get automaticaly a new value to primary keyes (during the insert phase).
    Is it possible to retreive by sql, schema... the name of a trigger associate to a specific col in a specific table ?
    Regards.

    Hi,
    Comming from Ms-Access and SQL Server, i use triggers (build by omwb) to get automaticaly a new value to primary keyes (during the insert phase).
    Is it possible to retreive by sql, schema... the name of a trigger associate to a specific col in a specific table ?
    Regards. For update triggers try this:
         select trigger_name from all_trigger_cols
         where
              table_owner = 'DEMO' and
              table_name = 'DEMO_BILLING' and
              column_name = 'PAID' and
              column_list = 'YES';
    For insert triggers you can refer to all_triggers.
    Regards,
    Robin.
    Robin Bothwell
    Software Developer
    Compuware/Numega
    1-800-462-7740x16609
    <http://www.compuware.com/products/devpartner/db/visualstudio.htm>

  • Query to determined what tables are associated with parent table

    Hello -
    how would I query the data dictionary to determine what tables are referenced by a parent table via Pk/FK relationship?
    Thanks in advance!
    Mike

    Hi,
    Try this:
    UNDEFINE table
    UNDEFINE owner
    ACCEPT owner CHAR PROMPT 'Enter Owner: '
    ACCEPT table CHAR PROMPT 'Enter Table: '
    COLUMN y new_value sid NOPRINT
    SELECT name||'_'||TO_CHAR(sysdate, 'ddmonyy_hh24miss') y FROM v$database;
    SPOOL constraints_&owner..&table..&sid..txt
    SELECT a.constraint_name constraint, DECODE(a.constraint_type,
                                                                  'C', 'Check',
                                                                  'P', 'Primary Key',
                                                                  'U', 'Unique Key',
                                                                  'R', 'Referential Integrity',
                                                                  'V', 'With Check Option',
                                                                  'O', 'With Read Only') constraint_type,
           a.index_name, a.owner||'.'||a.table_name table, a.status,
           DECODE(a.r_owner||'.'||a.r_constraint_name,'.',null,a.r_owner||'.'||a.r_constraint_name) rconstraint,
           f.constraint_name fconstraint, DECODE(f.owner||'.'||f.table_name,'.',null,f.owner||'.'||f.table_name) ftable,
           f.status fstatus
    FROM dba_constraints a, dba_constraints f
    WHERE a.owner = f.r_owner(+) AND
          a.constraint_name = f.r_constraint_name(+) AND
          a.owner LIKE UPPER('&owner') AND
          a.table_name LIKE UPPER('&tabla')
    ORDER BY 3,1;
    SELECT constraint_name constraint, owner||'.'||table_name||'.'||column_name column, position
    FROM dba_cons_columns
    WHERE owner LIKE UPPER('&owner') AND
          table_name LIKE UPPER('&tabla')
    ORDER BY 1,2;
    SPOOL OFF
    UNDEFINE table
    UNDEFINE owner
    PROMPT
    PROMPT ******************************************** DEPENDENCIES ************************************************************
    PROMPT
    UNDEFINE object
    UNDEFINE owner
    UNDEFINE type
    ACCEPT owner CHAR PROMPT 'Enter Owner: '
    ACCEPT object CHAR PROMPT 'Enter Object: '
    ACCEPT type CHAR PROMPT 'Enter Type: '
    COLUMN REFERENCED_LINK_NAME FORMAT a10
    PROMPT ******************************************** OBJECTS WITH DIRECT REFERENCE
    SELECT owner||'.'||name object, type , referenced_owner||'.'||referenced_name robject, referenced_type rtype,                    dependency_type, referenced_link_name
    FROM dba_dependencies
    WHERE owner LIKE UPPER('&owner') AND
          name LIKE UPPER('&object');
    execute deptree_fill('&type','&owner','&object');
    PROMPT ********************************************  DEPENDENCIES TREE
    SELECT nested_level, schema||'.'||name object, type, seq#
    FROM deptree
    ORDER BY seq#;
    UNDEFINE object
    UNDEFINE owner
    UNDEFINE typeCheers,
    Francisco Munoz Alvarez
    http://www.oraclenz.com

  • GUI_DOWNLOAD with Internal table column names

    Hi!
    I am using FM 'GUI_DOWNLOAD' to download internal table to excel sheet. But, I am finding internal tables values only into excel sheet. I want Internal Table's column name as well. Please help me. and guide me.
    Thanks in advance.
    -Rupesh kayasth.

    Hi Rupesh,
        You have two tables in the Tables parameter. One is DATA_TAB where you have to provide the internal table name which data you want to download. Second one is Field Names where you can provide the column names for the internal table fields. Concatenate the column names in a string and pass it to Fields names table.
    Regards,
      Jayaram...
    Message was edited by:
            Jayarama Sarma Mudda

  • Link OID with existing tables

    Is it possible to use existing tables to host some of the informations or do I have to create a new database from scratch for OID ?
    If I have to create a new database how can I synchronize information from the LDAP directory and my tables ?
    Any help is welcome.
    Monique

    Hello everyone:
    Let me try to answer these question one at a time.
    Monique:
    You do not need to create a new database to install OiD. You can use an existing databse but keep this in mind. The database must be a compatible version for OiD. For instance, if you are installing version 2.0.6 of OiD, then the database you install it on must be version 8.1.6
    OiD will create its own schema of table and views. It will not use any exisiting ones that you have created. So the choice is yours. You can create a new database at the time you install OiD or use an existing one. I hope this answers your questions. If not post another.
    Thank you Eddie for your "2 cents" on alternative ways of viewing data in our LDAP server. I want to emphasize a word you used and that word is "browse". Browsing the LDAP server with a SQL type of tool is ok but manipulation of the data should only be done with an approved tool. You wouldnt want to change information in OiD via SQL even though you can. Oracle wants you to treat OiD as if it was an LDAP server because thats what it is. So you should only use standard V2 and V3 LDAP protocol for changing any data. There are a number of 3rd party programs that you can also use to manipulate data in our LDAP server such as JNDI, Netscapes LDAP SDK, and of course Oracles own C, and PL/SQL LDAP API's.
    The database user's that own all of the OiD schema objects are ODS and ODSCOMMON.
    Last but not least Norzaimi:
    Go to www.oracle.com On that website click on the search button and enter "Internet Directory" without the quotes. Leave off the word "Oracle". This should return you about a dozen articles with some very good information. Let me know if you are still unable to see this.
    Thanks,
    Jay
    null

  • My sister's phone number keeps associating with my mother's name

    When I type in sister's phone number to call or message, my mother's name keeps quick filling.  This happens when I try to imessage.  I have already deleted off my mother's contact.  Sister's information still associates with mother's name.  How to associate sister's number with sister's name?

    Contact your cell carrier.

  • How to find the Infoset associated with a table

    Which table in SAP R/3 4.6c stores the table used in Infoset.
    Eg: would like to see table : MSEG used in which Infoset.
    I would like to know the Joins used in Infoset
    Table : AQGSCAT give only the Main table used in the Infoset.
    But, I would like to know where and all MSEG is used

    Hi,
    1. BW infoset is a join between two ODS, so, there is no table.
    2. BW infoset is not the same than R/3 infoset. You won't find it in SQ02
    go throgh the below the link,
    http://help.sap.com/saphelp_bw33/helpdata/en/ed/084e3ce0f9fe3fe10000000a114084/content.htm
    Hareesh

  • Can submit buttons or links associated with post or get requests work on iPad's Adobe Reader?

    Hi,
    I'm trying to call a JSPs from a PDF file using submit buttons and links created dynamically in a Java (iText) code.
    All buttons and links work fine in my PC but no buttons or dynamically generated links work in my iPad (Adobe Reader 11.0.1).
    Could anyone please let me know in case a workaround exists for this problem?
    Thanks in advance,
    Marcelo 

    Michael,
    Thank you for your comment.
    I know it is not supported. But I’m wondering whether a workaround solution was implemented somewhere. I’m sure people are trying to submit PDF’s data or even the full documents from their iPads without sending them as an e-Mail's attachement.
    Regards,
    Marcelo

Maybe you are looking for