View Link and and navigate between pages problem...

Hi, everyone! Hope someone can help with my problem. In DB I have one table with informationa about Employees and Jobs. From this one table I made one EO from which I made 2 VO - EmployeeVO and JobsVO. I link these two VO with ViewLink - EmpJobVL (1 to 1 realtionship).
Then I created 2 .jspx pages. In one page I droped EmployeeVO but in second page I droped JobsVO. In page template I put button with which I can navigate between these two pages.
The problem is... when I run my employee page and navigate to correct record with "next" button and then try to navigate to jobs page then in jobs page I can't see correct record. I always see there first record. Why it is so and what can I do?
Hope that someone helps me,
Best regards, Debuger!

Hi Debuger,
     No probs, U can keep ur Jspx as such u just need to clean up ur PageDefs..... Dont struggle more urself its such a easy job...
     Delete all ur page def entries and then have a copy of ur jspx coding in a notepad and delete that too....
make ur jspx and page def a fresh one re-drag ur VOs and paste ur jspx codings again
Ur VOs will get binded automatically......... :)
Regards,
Suganth.G

Similar Messages

  • Hyperlinks (target="_blank") and buttons on same page problem.

    Another interesting problem.
    I have a hyperlink that is set to open in a new window (target='_blank') and execute the 'hyperlink1_action' on the server.
    The framework executes the javascript function 'hyperlink_submit' (in the formElements.js library) when a hyperlink is clicked. This function sets the 'target' property on the form and also creates a hidden field that identifies the hyperlink that was clicked.
    This works fine and a new window open up with the required data.
    However, now if I click a BUTTON on the ORIGINAL page, a NEW WINDOW pops up and the WRONG DATA is displayed due to the form target setting and hidden field that were created by the 'hyperlink_submit' function called prevously - ie. the changes to the form made by the 'hyperlink_submit' function are NOT rolledback/overwritten when the button is clicked. How annoying!!!
    Am I doing something completely wrong or what?
    Anyway, I feel better now. Have a nice day!
    Message was edited by:
    thepigs2
    OK. In the absence of any replies, I've come up with this superhack that I put at the end of the page which fixes the form...
    <f:verbatim>
    <script>
    var f = document.getElementById('form1');
    f.oldsubmit = f.submit;
    f.submit=function() { setTimeout(function(){resetForm(f);},250);return f.oldsubmit(); }
    function resetForm(f)
    f.target='';
    for( var i=f.childNodes.length-1; i >=0; i-- ){
    var n = f.childNodes;
    if (n && n.name)
    if (n.name.indexOf('_submittedField')>-1)
    f.removeChild(n);
    </script>
    </f:verbatim>

    Guillaume,
    The built-in tabular form feature only supports one tabular form on each page. You'll have to put the two forms on separate pages. Or use simple reports as the detail reports with edit links to an edit form page.
    Regards,
    Marc

  • Saving netConnection and netGroup connection between pages.

    Is it possible to save a connection to Stratus between pages somehow?
    For example i have layout on my website, where my Stratus based app is located on all pages.
    When user is walking along the pages of my website Stratus app should reconnect on each page, which is not good i must admit, because it takes time to gather all information about the group clients again, reconnect to some stream maybe and so on.

    It's interesting solution. I'll try it tomorrow.
    But would be really awesome if Adobe could create such storage in Flash Player.
    Which could keep connections alive and all gathered data about group(s) as well.
    It's an interesting idea and it will reduce connections made to Stratus.
    Maybe some of Adobe officials will answer if there are any future plans on that feature.
    Any solutions will be welcomed here as well.

  • Best practices for pass collections and to navigate between 2 view endlessl

    Hello, I have a doubt about efficiency and optimization of memory in this case. I have a managedBean for to show a activities´s list, then I can select one activity and the application redirects another view. This view is controlled for another managedBean for to show the specificied activity.
    My idea is pass the collection and the id of specificied activity to he second managedBean, and since second managedBean pass the collection to the first managedBean.
    I had thought pass properties by request and retrieve in the second bean, but I am not sure wich scope to usea in both bean. Because, the first bean pass collection to the first again.
    I also thought to use SessionScope in both bean, but I doubt about efficiency of memory in this case.
    How to pass parameters is not yet defined:
    -Using h:link and attributes
    - Using setPropertyactionListener between both bean
    -Others who do not know
    First managedBean (show list)
    @ManagedBean(name="actividades")
    @ViewScoped I'm not sure which scope to use
    public class ActividadesController implements Serializable {
         private static final long serialVersionUID = 1L;
         private final static Logger logger=Logger.getLogger(ActividadesController.class);
         private List<Actividad> listado; All activities
         @ManagedProperty(value="#{actividadBO}")
         private ActividadBO actividadBo;
         @ManagedProperty(value="#{asociaciones}")
         private AsociacionController asociacionController;
    /** methods **/
    Second managedBean (specified activity)
    @ManagedBean(name="actV")
    @ViewScoped I'm not sure which scope to use
    public class ActividadView implements Serializable {
         private static final long serialVersionUID = 1L;
         private Actividad actividad;
         private String comentario;
    private List<Actividad> listado; All activities for to avoid having to search again
         @ManagedProperty(value="#{actividadBO}")
         private ActividadBO actividadBo;
         private Integer idActividad;
         @PostConstruct
         public void init(){
              //actividad=actividadBo.get(idActividad);
              actividad=actividadBo.get(idActividad);
              actualizarComentarios(actividad.getIdActividad());
              actualizarAdjuntos(actividad.getIdActividad());
    /** methods **/
    Any suggestions??
    Kind regards.

    Hello, I have a doubt about efficiency and optimization of memory in this case. I have a managedBean for to show a activities´s list, then I can select one activity and the application redirects another view. This view is controlled for another managedBean for to show the specificied activity.
    My idea is pass the collection and the id of specificied activity to he second managedBean, and since second managedBean pass the collection to the first managedBean.
    I had thought pass properties by request and retrieve in the second bean, but I am not sure wich scope to usea in both bean. Because, the first bean pass collection to the first again.
    I also thought to use SessionScope in both bean, but I doubt about efficiency of memory in this case.
    How to pass parameters is not yet defined:
    -Using h:link and attributes
    - Using setPropertyactionListener between both bean
    -Others who do not know
    First managedBean (show list)
    @ManagedBean(name="actividades")
    @ViewScoped I'm not sure which scope to use
    public class ActividadesController implements Serializable {
         private static final long serialVersionUID = 1L;
         private final static Logger logger=Logger.getLogger(ActividadesController.class);
         private List<Actividad> listado; All activities
         @ManagedProperty(value="#{actividadBO}")
         private ActividadBO actividadBo;
         @ManagedProperty(value="#{asociaciones}")
         private AsociacionController asociacionController;
    /** methods **/
    Second managedBean (specified activity)
    @ManagedBean(name="actV")
    @ViewScoped I'm not sure which scope to use
    public class ActividadView implements Serializable {
         private static final long serialVersionUID = 1L;
         private Actividad actividad;
         private String comentario;
    private List<Actividad> listado; All activities for to avoid having to search again
         @ManagedProperty(value="#{actividadBO}")
         private ActividadBO actividadBo;
         private Integer idActividad;
         @PostConstruct
         public void init(){
              //actividad=actividadBo.get(idActividad);
              actividad=actividadBo.get(idActividad);
              actualizarComentarios(actividad.getIdActividad());
              actualizarAdjuntos(actividad.getIdActividad());
    /** methods **/
    Any suggestions??
    Kind regards.

  • Navigate between pages in JSP

    i have multiple .jsp pages. in the sequence of
    login.jsp-->DiaryPages.jsp-- EITHER-Open.jsp OR read.jsp
    now what i get is i am able to go to "DiaryPages.jsp" from 'logIn.jsp" using <jsp:forward page = "DiaryPages.jsp"> but in "DiaryPages.jsp" when i use <jsp:forward page = "Open.jsp"> or <jsp:forward page = "Read.jsp"> to go to either of these pages ,depending upon a few conditions , i still get redirected back to log in page
    so forward tag is kinda working here like a toggle here between first two pages and it's completely ignoring the forward tag in the second file, what am i doing wrong here ? any help --------------Please

    One suggestion - consider using Struts framework. You can control the flow of the application from an XML configuration file and don't have to have such logic in the JSP itself.

  • Shared layers between pages problem!

    Hi guys
      In Fireworks Cs5 every time i create an element on a new page it appears on all the other pages, which is very annoying.
    I've not set any page as a master page, so i don't know why this is happening. Can anyone tell me how to turn of whatever setting that's making this happen.
    Thanks.

    Open the Layers Panel menu and turn on single layer editing.

  • Oracle OAF Row Reference when navigate between Pages

    Hi,
    I have a requirement where i have PAGE A with multiple rows.For each row there is a button, when i click the button i am calling the PAGE B.
    On PAGE B i am entering some values ,on returning to the PAGE A i need to assign those values(Entered on PAGE B) to the row from where i called the PAGE B
    Code in PFR
    =============
    I am using the below lines  under the Click even of the PAGE A Button
               String rowref = pageContext.getParameter(OAWebBeanConstants.EVENT_SOURCE_ROW_REFERENCE);
                 OARow ref_row = (OARow)am.findRowByRef(rowref);
    But how i can refer this  in the Process Request of the PAGE A when i return from PAGE B?
    Thanks
    Kiran

    Hi,
    This you may have to track the row which you have updated based on some unique id in the vo and for the same id once you come back..you need to populate the VO.
    But my question..cant you handle the first page VO in the second page itself and populate/update the required vo attributes and save.
    So automatically it will come in the first page.
    Thanks
    Bharat

  • View link creation on two view objects, and both view objects are populated program(not from sql)

    I have master and detail VO , both views data is loaded in program. Now for show/hide feature, I create View Link Object and using one element from both child and master VO , View Link Object created properly.
    But I can not able to add that view link object into AM.
    Now because of that , I cannot say what is a instance name of that view link object.
    Hence getting following error  -- Invalid or missing view link. Please attach view link with the bean.
    Please can you provide some directions.

    I have master and detail VO , both views data is loaded in program. Now for show/hide feature, I create View Link Object and using one element from both child and master VO , View Link Object created properly.
    But I can not able to add that view link object into AM.
    Now because of that , I cannot say what is a instance name of that view link object.
    Hence getting following error  -- Invalid or missing view link. Please attach view link with the bean.
    Please can you provide some directions.

  • SWF flickers/flashes when moving between pages

    IDCS4 export to SWF with page transitions. Not sure if anyone else is having this problem, but when I navigate between pages, the interactive items/buttons seem to flash or flicker once after each transition.
    Does anyone know how to resolve? I'm building a small booklet in IDCS4. Nothing fancy about it, just a few pages that I want the viewer to be able to navigate through. The flickering is driving me nuts and I can't seem to figure out why it's happening. I've tried just about every setting, searched the net and have found nothing on the subject.
    Any help would be greatly appreciated. Thanks in advance!
    Mark

    Happens with all transitions. Seems to be a bug and I've sent my notes to Adobe. Other posting can be found
    here.
    Hopefully they'll fix it in the future, 'cause it's a great feature.

  • Teamviewer changing lists as navigate through pages-probl for anyone else?

    Hi All,
    We're using R/3 4.7, ESS 50.4 and MSS 6.1.20.  After much correspondence with SAP we have discovered that the teamviewer does not behave the way we thought/want it to.
    Basically as the teamviewer is applied on a page basis, each page gets their own teamviewer.  In our teamviewer we have 3 distinct lists of employees.  So if on one page you were looking at list 2 and you navigate to a different page, we expected to be on the same list.  Unfortunately, if the teamviewer on the new page was previsouly looking at a different list, say list 3, the employees for list 3 would be displayed.
    This is not what we want.  In essence we want the teamviewer to work off the MY Staff workset, so that when you navigate between pages, the teamviewer will remain on the same employee in the same list.  This to me is the most user friendly way and the way that makes the most sense. 
    If a manager wanted to view data for a single employee from a number of pages, (s)he could quite possibly have to reset the teamviewer on each page and select the employee again.  This is totally unacceptable..
    Has anyone else been bothered by this?  Did anyone come up with a solution?  I can't believe that this issue has not arisen before.  I would be interested to hear similar stories.
    Many Thanks,
    Liz.

    After much correspondence with sap, this is infact the expected behaviour on the team viewer

  • Master/Details Relationship using View Links is not not population data

    Hi,
    I have problem in generating proper data in master/detail relationship using view links passing three parameters between two custom tables can guide me the steps and process how i will able to generate and acheive this requirement.
    very urgent
    Please suggest me

    Without further details, I'd suggest reviewing the following Section of the Fusion Developers Guide:
    http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/web_masterdetail.htm#ADFFD758
    I've done this many times without issue.

  • Change View Link SQL dynamically

    Hi,
    How i can modify the View Link SQL dynamically?
    I have View Link CategoryVL and it is working fine with master (CategoryVO) & details (CoursesVO) tables and the two VO's are not based on EO. but i want to add more columns to the View Link SQL in PFR.
    Please advicse.
    thanks in advance.
    Regards....Ashraf

    Hitesh,
    This a very generic case and happens when the source VO join attribute and destination VO join attribute are not of same type, i.e. data type and data length. Make sure that is happening in your case, this will solve your problem.
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Custom VO: checking view link params

    Hi!
    I am writing a custom ViewObjectImpl to retrieve data from webservices.
    I am now implementing master-detail functionality via the view links.
    I know that in the executeQueryForCollection the query will get executed, and that all named parameters will be passed using a Object[]. When the query is executed via a view link, a Bind_Attribute parameter will be passed.
    Only, how can I dynamically map this name on the corresponding view object attribute? The name of the bind parameter contains the attribute name of the source view object, but I need the name of the destination view object attribute.
    I tried looking into the results of getViewLinks(), but I do not find any methods that can return me the view link definition and corresponding attributes.
    Is this possible?
    Jeroen van Veldhuizen

    Hi,
    I had also the same problem, I needed to query two tables which are in a Master-Detail relationship, the only way to do this is to write a new bean, extendind the FindForm bean to make a query like this:
    select * from mastertable where condition4mt and pk_mastertable in ( select fk_pk_mastertable from detailtable where condition4dt)
    So after this you get a pointer in the master table, but your condition to the detailtable is not considered from the ViewCurrentRecord Bean. I didn't go further to extend the ViewcurrentRecord bean, because this solved my problem, besides I think it would be also very difficult.
    JDevTEAM !!! are you planing to solve this king of problem ???
    I know that I can force the VO.setWhereClause() to force some condition on the detail, but are you planing to extend the ViewCurrentRecord bean to have also a master-detail view with a restriction also on the detail table ???
    TIA,
    Seb.

  • How to open and navigate between human task forms in a same page?

    Hi
    I use Oracle BPM 11.1.1.5
    I have a question about taskflows in BPM Application.
    In ADF web application, I create a sipmle task flow and insert view id and bind these to jspx pages, my pages are opend in same page when
    return an outcome.
    For exapmle I have three pages like A,B,C.
    In task flow, insert three view ids and bind to A,B,C.
    My first pages is A, and when outcome is B navigate to B, when my outcome is C then navigate to C in a same page not separate pages.
    But my problem is here.. in BPM Application when create task forms, every task has a separate task flow that there exist a single view id and a wild card flow in it.
    In BPM workspace when initiate human task form is closed, I should press refresh button to see next human task form in task list table.
    I tried to create a simple task flow and insert human task forms in it and navigate between these.. but show human task form in wrong display and don`t show some component and human task payload.
    Now, my question : How to open and navigate between human task forms in a same page like software installation?

    Having a separate Data Control for each human task is normally the case. There is a way to assign multiple human tasks to a single data control (and one task flow), but I don't think that this is going to help you with what I think you're trying to do.
    If your human task is called "EmployeeDetail", then you'd use the data control associated with this for the UI pages in the task flow diagram that is associated with this human task. For example, you might have a first page that has just the basic employee information - the fields (at least the ID field) would come from the EmployeeDetail data control. When the end user clicks "Next", you might have this UI page flow to a second UI page in the task flow diagram that has the employee's address information. You might place the address fields from the EmployeeDetail data control onto this second UI page.
    You might be asking how the work item instance can automatically flow to the next interactive activity in the process while staying inside the first interactive activity's human task's task flow diagram. This is not how it works - the task flow diagram models the end user interaction while inside a single human task that is tied to a specific interactive activity in the process. If you want a the end user to be able to move the instance through multiple interactive activities in the process in one interaction, look at "Activity Guides". Activity Guides do a nice job of this.
    Dan

  • Internet Explorer and FireFox do not support Go To A Page View links

    Internet Explorer and FireFox do not support Go To A Page View links between PDFs created with Acrobat 8 Professional. Safari does support the links. Similar problem on both PC and Mac.
    Two possible errors occur: (1) the error message “page not found”; or (2) nothing at all happens – the reader does not leave the page.
    Do you have any suggestions?

    Check the target field in the Firefox desktop shortcut and make sure that you do not start Firefox with the -no-remote switch or have set the environment variable MOZ_NO_REMOTE=1 (Control Panel > System > Advanced > Environment variables).
    Always make sure to start at least the default profile without the -no-remote command line switch.
    If you need to have more than one profile open at the same time then start subsequent instances with the -no-remote command line switch.
    You can not send links from other programs to a Firefox instance that is started with the -no-remote switch.
    In such a case you need to drag links in a Firefox window or paste the link in the location bar.

Maybe you are looking for