Using data web beans with data tags

I've a master-detail relationship, and i use a view current record to show the master record and a row tag in create mode, to insert a record in the detail table.
Do i need to populate the primary key of detail table or they are automatically populate like edit current record?
Thanks
null

Your DataWebBean is using a different application module instance thatn your datatags. Make the following changes:
1. remove the calls to
<%
// make sure the application is registered
oracle.jbo.html.jsp.JSPApplicationRegistry.registerApplicationFromPropertyFile(session , "PrjSegJSP_PkgSeg_PkgSegModule");
%>
2. change the following statement
tb.initialize(application,session, request,response,out,"PrjSegJSP_PkgSeg_PkgSegModule.KssegtrolesView");
to
tb.initialize(application,session, request,response,out,"PkgSegModule.KssegtrolesView");
3. Add a releaseAppResources tag to the end of both pages. The KssegtrolesView_Insert.jsp page should use reserved mode and the KssegtrolesView_SubmitInsertForm.jsp should be suing stateful mode.
You have now told the DWB to use the same am pool and application instance as the DataTag.
null

Similar Messages

  • How to use a Web Template with queries from multiple BW Systems?

    Hi all,
    can anybody help me how to use a Web Template with queries (DATA PROVIDER)in it from multiple BW Systems?
    Thanks in advance, best regards
    Frank

    Great! Thanks for the quick response.
    Have you tried this for XMLA datasources created within the EP system also?
    i.e use Web Analyzer to create a view from the XMLA source and use that view within WAD?
    Thanks.

  • How do I use Edge Web Fonts with Muse?

    How do I use Edge Web Fonts with Muse - is it an update to load, a stand alone, how does it interface with Muse? I've updated to CC but have no info on this.

    Hello,
    Is there a reason why you want to use Edge Web Fonts with Adobe Muse?
    Assuming you wish to improve typography of your web pages, you should know that Muse is fully integrated with Typekit. This allows you to access and apply over 500 web fonts from within Muse. Here's how you do it:
    Select a text component within Muse, and click the Text drop-down.
    Select Add Web Fonts option, to pop-open the Add Web Fonts dialog.
    Browse and apply fonts per your design needs.
    Muse also allows you to create paragraph styles that you can save and apply to chunks of text, a la InDesign. Watch this video for more information: http://tv.adobe.com/watch/muse-feature-tour/using-typekit-with-adobe-muse/
    Also take a look at these help files to see if they help you:
    http://helpx.adobe.com/muse/tutorials/typography-muse-part-1.html
    http://helpx.adobe.com/muse/tutorials/typography-muse-part-2.html
    http://helpx.adobe.com/muse/tutorials/typography-muse-part-3.html
    Hope this helps!
    Regards,
    Suhas Yogin

  • Anyone Tried Using Sharepoint Web Services with BPEL?

    I've tried using SharePoint Web Services with BPEL, I'm able set it to use the sharepoint web service as a partner link in orchestration, but when I try to compile the bpel file, I get a "error: null" on the compiler log for the *.bpel file.
    Anyone have any success with using Sharepoint Web Services with BPEL?

    Hi,
    Please refer the below article and browse code.
    http://code.msdn.microsoft.com/Remote-Authentication-in-b7b6f43c
    Thanks,
    Srikanth

  • Aladdin eToken using the Web browsing with Firefox. Firefox often asked to enter a password eToken. How to turn off the continuous requests?

    Aladdin eToken using the Web browsing with Firefox. Firefox often asked to enter a password eToken. How to turn off the continuous requests

    I have found a solution.
    For all they wont use a etoken to surf.
    Go to extras, options then extendet and go to cryptographic module and unload the etoken. To unload the etoken you must selekt etoken not the name of the token.
    i have translate the menu names from german to english.

  • JDeveloper Team: How Do I minimize the number of Oracle Sessions using Data Tags?

    I am trying to create a stateful application thru my JSP pages. Everytime there is a reference to the application module using the data tag, it looks like it creates a new Oracle Session. But thats not what I want to do.
    I have a module in which my first JSP page allows viewing of the data and in subsequent pages I allow insert, update, delete, commit etc.
    My Questions:
    1) The problem that I am encountering is that every new page that I go to creates a new Oracle session even though I specify the "Stateful" release mode.
    How do I avoid this?
    It looks like , if one browser user can potentially create 10-20 oracle sessions thru one module, imagine what the impact will be when we have hundreds of users.
    2) The sample JSP pages I saw has the username and password hard coded in it every time. Why? For a stateful application can I not specify the username and password just once and have the other JSP pages use the same userid and password.
    What are the pros and cons? I thought if I don't use the username and password in all the JSP pages then it probably will not create additional Oracle sessions but that is not true!!
    3) If it creates several Oracle sessions , will it not cause locking problems? If so, How do I minimize locking problems in a stateful application.
    JDeveloper Team Please advise!!
    AM I missing something? I would appreciate if someone can help me out!
    null

    Thanks a lot for the information. That thread was indeed very helpful. But it still didn't answer all my questions:
    1) In the thread you mentioned, it mostly talks about Web beans. In a jsp page (using Web bean) we need to first invoke setReleaseApplicationResources(true) and then invoke releaseApplicationResources().
    Does this apply to data tags? I mean I have a tag <jbo:ReleasePageResources releasemode="Stateful" />. Is this enough to release the application module back to the pool or do I have to have something equivalent of setReleaseApplicationResources(true)?
    2. In a stateful application, the state of an application is maintained between requests via a browser cookie. For each browser, you can have one state per application module class. I was attempting to run "several browser sessions from the same machine" and the end result was that I got errors and unpredictable results ie it returned me far fewer rows then I saw originally. Should I be actually be running the browser session from different machines?
    3. In JDeveloper Documentation (section About Application Module pooling) there is a note section : "If the application module is not recycled the data stays the same. However if the application module was recycled and then activated through a failover, the activation logic re-executes the view objects, so it may bring in more or less rows then originally seen by the clients due to any database updates that have occured."
    This is exactly what is happening to me? How do I get rid of this problem? I want to be able to see all the original rows + any new rows That have been committed. Please advise!
    4. Are the JDBC connections tied to application module instances? Is it one JDBC connection per application module instance? So, in a stateful JSP, if I end up using a different application I also get a different JDBC connection. IS this true?
    5. Does the no of application module instances depend on the no of available JDBC connections? Because it looks like if you set the max no of connections to "5" and set the max no of application module instances to "10", It will be able to instantiate only "5" application module instances due to the limitation set by connection pool.
    6. At times I get errors which indicates that the row in view object does not exist. Is this something familiar? Or is it the same problem that John discussed in his thread.
    Thanks in advance!

  • Error using Data Tags

    I am working with the example explained in http://technet.oracle.com:89/ubb/Forum2/HTML/006025.html using the Row Data Tag to make a search, but I found an error message: 0. Why?
    The source code for search.jsp is:
    <%@ page language = "java" errorPage="errorpage.jsp" import = "java.util.*, oracle.jbo.*, javax.naming.*, oracle.jdeveloper.html.*, oracle.jbo.html.databeans.*" contentType="text/html;charset=ISO-8859-1" %>
    <%
    // make sure the application is registered
    oracle.jbo.html.jsp.JSPApplicationRegistry.registerApplicationFromPropertyFile(session , "JSP_bc4j_Bc4jModule");
    %>
    <HTML>
    <HEAD>
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
    <META NAME="GENERATOR" CONTENT="Oracle JDeveloper">
    <TITLE>Search </TITLE>
    </HEAD>
    <BODY>
    <%@ taglib uri="/webapp/DataTags.tld" prefix="jbo" %>
    <jbo:ApplicationModule configname="bc4j.Bc4jModule.Bc4jModuleLocal" id="Bc4jModule" username="iessuser" password="iess" />
    <jbo:DataSource id="dtsmaster" appid="Bc4jModule" viewobject="KspcotempleadorView" ></jbo:DataSource>
    <table border="1">
    <jbo:RowsetIterate datasource="dtsmaster" >
    <TR>
    <TD>">See this record</a></TD>
    <TD>Nombre del Empleador:</TD><TD><jbo:ShowValue datasource="dtsmaster" dataitem="Nomemp" ></jbo:ShowValue></TD>
    </TR>
    </jbo:RowsetIterate>
    </table>
    </BODY>
    </HTML>
    <jbo:ReleasePageResources releasemode="Stateless" />
    And the source code for search2.jsp is:
    <%@ page language = "java" errorPage="errorpage.jsp" import = "java.util.*, oracle.jbo.*, javax.naming.*, oracle.jdeveloper.html.*, oracle.jbo.html.databeans.*" contentType="text/html;charset=ISO-8859-1" %>
    <HTML>
    <HEAD>
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
    <META NAME="GENERATOR" CONTENT="Oracle JDeveloper">
    <TITLE>
    Busqueda finalizada
    </TITLE>
    </HEAD>
    <BODY>
    <%@ taglib uri="/webapp/DataTags.tld" prefix="jbo" %>
    <jbo:ApplicationModule configname="bc4j.Bc4jModule.Bc4jModuleLocal" id="Bc4jModule" username="iessuser" password="iess" />
    <jbo:DataSource id="dtsmaster" appid="Bc4jModule" viewobject="KspcotempleadorView" ></jbo:DataSource>
    <jbo:Row id="masterRow" datasource="dtsmaster" rowkeyparam="RowKeyValue" action="Find" ></jbo:Row>
    <jbo:RefreshDataSource datasource="dtsmaster" />
    <jbo:DataSource id="dtsDetail" appid="Bc4jModule" viewobject="KspcotemplocView" ></jbo:DataSource>
    <h2> Nombre del Empleador: <jbo:ShowValue datasource="dtsmaster" dataitem="Nomemp" ></jbo:ShowValue></h2>
    <table border="1">
    <jbo:RowsetIterate datasource="dtsdetail" >
    <TR><TD>Employee Name</TD><TD><jbo:ShowValue datasource="dtsdetail" dataitem="Empdir" ></jbo:ShowValue></TD></TR>
    </jbo:RowsetIterate>
    </HTML>
    Please could anybody help me with this??

    I looked at this thread
    Update XML doc
    But this thread is more to do with the problem associated with setting the current row.
    My problem is in the first step i.e retreiving the RowKey value.
    ODRApplications ->Master View created by query on one table
    ODRUserReportList -> Detail View created by query joining various tables
    Here is my Jsp Code
    <%@ taglib uri="/webapp/DataTags.tld" prefix="jbo" %>
    <%
         oracle.jbo.html.jsp.JSPApplicationRegistry.registerApplicationFromPropertyFile(session , "odr_fe_real_odrn_ODRMenuModule");
    %>
    <jbo:ApplicationModule configname="odrn.ODRMenuModule.ODRMenuModuleLocal" id="ODRMenuModule" username="portal_apps" password="portal_apps" />
    <jbo:DataSource id="ODRApplications" appid="ODRMenuModule" viewobject="ODRApplications" rangesize="1" ></jbo:DataSource>
    <jbo:DataSource id="ODRUserReportList" appid="ODRMenuModule" viewobject="ODRUserReportList" rangesize="10" ></jbo:DataSource>
    <script>
    function execq(RV){
    alert(RV);
    window.location="menu1.jsp?RowKeyValue="+RV;
    </script>
    <BODY>
    <% if (request.getParameter("RowKeyValue") !=null) { %>
    <jbo:Row id="masterRow" datasource="ODRApplications" action="Find" rowkeyparam="RowKeyValue" >
    </jbo:Row>
    <% } %>
    <select onchange="execq(this.value)">
    <jbo:RowsetIterate datasource="ODRApplications" >
    <option VALUE="<jbo:ShowValue datasource="ODRApplications" dataitem="RowKey" ></jbo:ShowValue>">
    <jbo:ShowValue datasource="ODRApplications" dataitem="ApplicationName" ></jbo:ShowValue>
    <jbo:ShowValue datasource="ODRApplications" dataitem="RowKey" > </jbo:ShowValue>
    <!--the above line displays 0000 for RowKey -->
    </OPTION>
    </jbo:RowsetIterate>
    </select>
    </jsp:useBean>
    <jbo:RowsetIterate datasource="ODRUserReportList" >
    <br>
    <jbo:ShowValue datasource="ODRUserReportList" dataitem="DisplayName" ></jbo:ShowValue>
    <jbo:ShowValue datasource="ODRUserReportList" dataitem="RowKey" ></jbo:ShowValue>
    <!--the above line displays 0000 for RowKey -->
    <br>
    </jbo:RowsetIterate>
    </jsp:useBean>
    <BODY>
    </HTML>
    Thanks in advance

  • Using office web apps with SharePoint 2013

    Hi,
    I would like to use office web apps in our SharePoint 2013 environment. I would like to know if OWA has to have a dedicated server or can I install it on the SharePoint 2013 app server.
    Sherazad

    With SharePoint 2013, Office Web Apps cannot be installed on the SharePoint Server, it must be installed on its own server, not shared with any other IIS-based service (it essentially "takes over" IIS).
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • NAC - Using ActiveX web agent with low level user

    Hi:
    I have NAC installed in-band and running. We have a group of test taker with user rights to the PC. The ActiveX web agent will not load and the Java agent does not start.
    Any suggestion o dealing with some low secuirty issue and the browser.
    Thanks
    Dan

    Hi Eduardo,
    We can check all the requirement rules, but notes,
    this check is works well with native win agents, so I assume the CAM Requirements and Rules side is ok.
    Pls. confirm, there is no matter how I'd like to check win patches (via web or with client) at Checks/Rules/Roles/Requirements config.
    Attila

  • Printing web page with select tags in IE9 and a .cfm file-only the original selected option prints

    My web page has a select tag and cfselect tags and when I print the page with a different option other than the originally selected option the print for both types of select tags reverts back to the original selection and ignores the new selection.  This happens in IE9 and .cfm files but not when the page is printed in IE8 or IE7 modes (tried in the F12 Developer Tools.)  It also needs to be a .cfm file.  FireFox printed the pages correctly for any combination.
    This was done on a Dell and ThinkCentre computers under Windows 7.  Also, I was able to reproduce the same problem on an different university web site where a selection box would revert back to the original selection for printing on a .cfm page and would print properly on a .PHP page at the same site.
    For my site, I used a print button which calls print() and right clicked and chose print and got the same results no matter which method was used.  I only had the right click method on the third party web site.
    I know this is probably a bit narrow an issue but, any help would be appreciated.

    It appears that it is probably an IE9 bug.
    I simplified the problem by turning the page source taken from the brouser of the original .cfm into an html file and found that it would still print improperly.
    When I eliminated the various parts of the file I found that it would print correctly only when I removed the first line, the "DOC type" line.
    The page will print the newly selected option but then I lose the style sheet.
    If it does not work in an HTML file it must be IE.  It is not the .cfm.  The reason that it did not work for .cfm files, is that they always have a "DOC type" statement.
    I have put the issue into an MSDN forum in addition to the one mentioned previously.

  • ESSO-LM Template for Web App with select tag

    Hi everyone,
    I am tasked with creating a template for a web application and the desired behaviour is that when logging into the application the language will be selected from <select> list.
    It seems that the ESSO only allows to choose from the list only based on the the title="xxx" the xxx between <option>xxx</option> tags (the actual code is <option value="yy" title="xxx">xxx</option>). The problem I face is that the "xxx" string changes based on the language selected (e.g. when English version is selected, xxx values are in English; if German is selected, xxx values are in German; etc.).
    Is there any way ESSO can change the language in the list (using the Input Element Type "Select-One") using the value="yy" or do I have to push for the universal, language independent, naming convention for "xxx" string?
    Thank you for your time.
    Ondrej

    did you try passing the period without the separator
    0122006

  • How to use iPhoto web gallery with iWeb & personal domain name

    So, another question about iWeb 08:
    I've set up my site to use a personal domain name, like www.mypersonaldomain.com. I've configured everything with my DNS settings so that it actually points to my iWeb site, and I'm happy about that.
    However, I've imported a few iPhoto '08 web galleries into my site, but when I browse to them by going to www.mypersonaldomain.com and clicking on the link for my gallery, it goes to a URL that actually shows my .mac account, i.e. gallery.mac.com/sockdaddy/gallery1/photo.jpg
    Is there any way to have the web galleries that I'm using become a more transparent part of my iWeb site, and use my personal domain?

    I've never done this on .Mac but I do use this on my server. I don't see why it wouldn't work.
    In iPhoto select your web gallery and in the "file" menu select "export" and then "Web Page".
    Select your options and click "Export" to the desktop.
    There are now 4 folders and an index.html file.
    Change the name of the index file to whatever you want to call the page e.g WebGallery.html
    Now go to Finder/Go/iDisk/My iDisk/Web/Sites and open your website folder.
    Drag and drop the 4 folders and the html file from your desktop into this.
    Create a link to this from your website in the "link" inspector and choose "external page".
    The URL for the link will be the same as any other page on your site except WebGallery is substituted for the page name.
    If you check the "open link in new window" you won't have to worry about the fact that you don't have a link back to your site from the WebGallery page.

  • Using Lightroom web galleries with iWEB

    Adobe Lightroom has a very nice gallery template that can be used to create a gallery page. It outputs the page to a folder with the associated files, includingindex.html.
    I would like to use this approach for presenting the galleries rather than the photo pages in the iWEB template I am using.
    I have searched here, the Adobe forums as well as some dedicated to photography.
    A solution escapes me.
    I have no interest in learning HTML or other website programming skills.
    I am looking for a cut and paste solution.
    Thanks.
    David

    Ok now I'm assuming you have a .mac account like you said. When you click on the icon of the idisk in your finder, close finder and open idisk from your desktop. Then go through the hierarchy as I said, and drop your folder in the final iWeb folder. The page has to generate at that point. Then do what I told you to do i.e. http..........to see the page. Once you get the established address of the page, copy it. Then go to your iweb doc and establish a page where you would have text and maybe an image to link to your new gallery. Go into your inspector click on make hyperlink active and and enable as a hyperlink when you either highlight your text you want or the image that's going to link to your gallery. This is going to be an external page you want to link to so put that in. Then paste your new gallery page address into the area to let it know. Let it know you want to open page in a new window...check that, and that should be it. But you must delete the apple address in the external page info thats already their. Also, what version of iweb do you have? I have '08. My external pages were with either iphoto or a photoshop web gallery.
    I hope I didn't confuse you further.....Good luck.....Christina

  • How to use same web cams with jmf?

    Hello, I'm doing a project with netbeans 4.1 and I need to use two webcams,the same model web cams.The problem is that jmf only detects one of this. I read that if you open two jmfStudio you can use two cams but I want do this programming in java.
    Somebody have any idea?
    Thanks for all

    Hello,
    Maybe you have already solve your problem...I think you could use something like this:
    Vector deviceListVector;
        deviceListVector = CaptureDeviceManager.getDeviceList(null);
              if (deviceListVector.size() == 0)
                   System.out.println("I can't find devices");
                   System.exit(0);
              if (deviceListVector == null)
                   System.out.println("I can't find devices");
                   System.exit(0);
              for ( int x = 0; x < deviceListVector.size(); x++)
                   CaptureDeviceInfo deviceInfo = (CaptureDeviceInfo) deviceListVector.elementAt(x);
                   String deviceInfoText = deviceInfo.getName();
                   System.out.println(deviceInfoText);
              }In this way you can see which devices are conected. I don�t know if it will be useful. :)
    ane

  • Using a style sheet with iterator tags

    I am trying to color every other row in a result set that uses iterator tags to display the results.
    Does anyone know how to do this? I am trying to do this with a style but nothing happens.

    for(int i=0;i<size;i++) {
    String colour="";
    if(i%2==0)
    colour="#ffffff";
    else
    colour="#cccccc";
    out.println("<TR bgcolor="+colour+">");
    }

Maybe you are looking for

  • Problem printing to a PC based HP from MAC OSX 10.3.9 w/ router

    I have the following Belkin Router; F5D7230-4. The router is hardwired to the PC and has a F380 (F300 series) HP printer USB hardwired. I also have a iMAC G5 OS x 10.3.9 which is online, connected to the router via a ethernet cable. I have no wireles

  • Import Manager - Exception Handling

    Hi All, While importing the records using MDIS, some files are not getting imported and go to the "Structural Exceptions". In order to find out the exceptions, i tried to login into Import manager using the following: Type : Port Remote System : MDC

  • Font for Web question

    In the past I have used PS CS's text and saved the file as an image (with a black background for a black webpage)to use on a the page page. Now I am re-doing my website and I think I should be using Illustrator. Is that correct or is there a way to u

  • Burning info CD's using Disk Utility?

    Ok, I've got a combo drive (a few years old, on my iBook G3). I'm trying to burn information CDs using Disk Utility. I've got the dmg in disk utility, I select it and click burn. It then asks what speed I want to burn the disk at etc etc. So, I selec

  • Photoshop 7 will not launch. I tried many things, re install, checking pref

    I can't even get to the main menu. Any suggestions? G5 Mac OS X (10.4.9) G5   Mac OS X (10.4.9)