How to implement a back functionally like the back of the browser

Hi, I have a commandImageLink("go back") in a template jspx. How to implement the back functionally like the back of the browser with a managed bean method??. For know I m not using task flows.

I think you can use a javascript method to go back to the previous browser page.
http://javascript.about.com/library/blback.htm
http://www.pageresource.com/jscript/jhist.htm
http://www.w3schools.com/jsref/met_his_back.asp
Perhaps you find something useful and related to backing beans here:
http://adfdevelopers.blogspot.com/2009/04/some-handy-code-for-backing-beans-adf.html
NA
http://nickaiva.blogspot.com

Similar Messages

  • How to Implement custom share functionality in SharePoint 2013 document Lib programmatically?

    Hi,
    I have created custom action for Share functionality in document library.
    On Share action i'm showing Model pop up with Share form with addition functionality.
    I am developing custom share functionality because there is some addition functionality related to this.
    How to Implement custom share functionality in SharePoint 2013  document Lib pro-grammatically?
    Regards,
    - Siddhehswar

    Hi Siddhehswar:
    I would suggest that you use the
    Ribbon. Because this is a flexible way for SharePoint. In my project experience, I always suggest my customers to use it. In the feature, if my customers have customization about permission then i can accomplish this as soon
    as possible. Simple put, I utilize this perfect mechanism to resolve our complex project requirement. Maybe we customize Upload/ Edit/ Modify/ Barcode/ Send mail etc... For example:
    We customize <Edit> Ribbon. As shown below.
    When user click <Edit Item>, the system will
    render customized pop up window.
    Will

  • How to implement Shopping cart functionality in weblogic portal 10.3

    Hi,
    Can someone help me out on how to implement Shopping cart functionality in weblogic portal 10.3?
    Thanks,
    Uttam

    One piece of advise I can give is to NOT* use the Shopping Cart fuctnionality inherent in WLP (com.beasys.commerce.ebusiness.shoppingcart. The Online Commerce functionality in WebLogic Portal has been deprecated.
    Brad

  • How do I create a calendar like I did with the Appleworks Assistant?

    How do I create a calendar like I do with the Appleworks Assistant under Starting Points? I don't see any calendar templates in Pages.

    Pages doesn't have any such features. Pages do lack a lot that AW has. Nor can Number do it.
    Go to iworkcommunity.com and search for a calendar template.

  • How XAI implements 'get more' function in CC&B pages

    Hi all,
    There is a 'get more' button in CC&B page if you list more than 50 records, just clicking the button when I wanna get last records , but how should i implement the same function by XAI, I have researched much time about this issue and gotten nothing. so had Anybody here encounterd the same issue? and have solved it?
    any help would be appreciated.

    The get more function works in the browser becuase there is a seperate "list" servlet which retrievs the data. It relies on certain HTTP context data for correct operation. Unfortunately the "get more" function is not supported by the XAI Servlet (it does not about the HTTP context data). Your only option is to roll your own paging mechnaism for the data you require.
    The pattern goes likes this...
    1. Work out the SQL for what you want to paginate
    2. Create a new "List Service" class that will act as the underlying service
    3. Annotate the service with inputs which include the page size, and the page number you want to retrieve
    4. Annotate the service with a list data that will be returned
    5. Use the page size and page number to create and execute the query and build the return result
    6. Register the service as an XAI Inbound Service
    7. Deploy the code
    8. Test using Dynamic Submission
    eg. Here is an example of Get More for Lookup Values....
    import com.splwg.base.api.BusinessEntity;
    import com.splwg.base.api.SimpleEntityList;
    import com.splwg.base.api.service.DataElement;
    import com.splwg.base.api.service.ItemList;
    import com.splwg.base.api.service.ListBody;
    import com.splwg.base.domain.common.lookup.LookupField_Id;
    import com.splwg.base.domain.common.lookup.LookupValue;
    import com.splwg.base.domain.common.lookup.LookupValue_Id;
    import com.splwg.base.support.service.metainfo.ListBodyField;
    import com.splwg.shared.environ.ServiceListConstant;
    import com.splwg.shared.logging.Logger;
    import com.splwg.shared.logging.LoggerFactory;
    * @author edhoi
    @ListService (name = CmGetMoreListValues, size = 10000, program = CMLGETMRL, service = CMLGETMRL,
    * body = @DataElement (contents = { @DataField (name = COUNTER)
    * , @RowField (entity = lookupValue, name = lookupValue)}),
    * headerFields = { @DataField (name = ELEM_SIZE)
    * , @DataField (name = FIELD_NAME)
    * , @DataField (name = FIELD_VALUE)})
    public class CmGetMoreListMaintenance extends CmGetMoreListMaintenance_Gen {
         private static final Logger LOG = LoggerFactory.getLogger(CmGetMoreListMaintenance.class);
         @Override
         protected ItemList<DataElement> readList() {
              // Call CmGetMoreBusinessComponent
              CmGetMoreBusinessComponent cmGetMoreBusinessComponent = CmGetMoreBusinessComponent.Factory
                        .newInstance();
              LookupField_Id lookupField_Id = new LookupField_Id(getHeader().get(
                        CmGetMoreListMaintenance.STRUCTURE.HEADER.FIELD_NAME));
              LookupValue_Id lookupValueId = new LookupValue_Id(lookupField_Id,
                        getHeader().get(
                                  CmGetMoreListMaintenance.STRUCTURE.HEADER.FIELD_VALUE));
              BigInteger pageSize = getHeader().get(
                        CmGetMoreListMaintenance.STRUCTURE.HEADER.ELEM_SIZE);
              LookupValue lastValue = lookupValueId.getEntity();
              List<LookupValue> values = cmGetMoreBusinessComponent
                        .getLookupValuePageData(lookupField_Id, lastValue, pageSize
                                  .intValue());
              long count = cmGetMoreBusinessComponent
                        .countLookupValues(lookupField_Id);
              if (values.size() > 0) {
                   lastValue = values.get(values.size() - 1);
              } else {
                   lastValue = null;
              ItemList<DataElement> itemList = new ItemList<DataElement>(CmGetMoreListMaintenance.STRUCTURE.list_CmGetMoreListValues.name);
              ListBody listBody = itemList.newListBody();
              listBody.put(CmGetMoreListMaintenance.STRUCTURE.list_CmGetMoreListValues.COUNTER, new BigInteger(
                        Long.toString(count)));
              if(lastValue != null) {
                   listBody.put(CmGetMoreListMaintenance.STRUCTURE.list_CmGetMoreListValues.FIELD_VALUE, lastValue.getId().getFieldValue());
              for (LookupValue value : values) {
                   DataElement listElement= itemList.newDataElement();
                   listElement.addRow(value.getDTO());
              return itemList;
         @Override
         protected void afterPopulateList_CmGetMoreListValues(
                   ItemList<DataElement> targetList, SimpleEntityList sourceList,
                   BusinessEntity sourceListParent) {
              // TODO Auto-generated method stub
              super.afterPopulateList_CmGetMoreListValues(targetList, sourceList,
                        sourceListParent);
    }

  • How to implement this calendar function in ABAP code

    Hi everyone,
    Our requirement is : Give a date (e.g. YYYY.MM.DD, 1983.12.26), then we need to know which weekday it is. Is there a existing FM for this fuction? or how to implement it in ABAP?
    Thanks a lot for any hint
    Best regards
    Deyang

    Hi Deyang Liu,
        Could you please check these the below links they would give you some idea ....[SAP Calendar Control|http://help.sap.com/printdocu/core/print46b/en/data/en/pdf/BCCICALENDAR/SAP_KALENDER.pdf]
    [Calendar functions |http://help.sap.com/saphelp_nw04/Helpdata/EN/2a/fa00f6493111d182b70000e829fbfe/content.htm]
    [SAP Functions|http://abap4.tripod.com/SAP_Functions.html]
    [Determine calendar |http://help.sap.com/saphelp_nw04/helpdata/en/2a/fa00e9493111d182b70000e829fbfe/content.htm]
    Regards,
    S.Manu

  • How to implement a callback function using LabView's Call Library Function Node?

    I am trying to call a fuction from a SDK.dll library using the Call Library Function Node. The SDK was provided to
    me and I do not have the source code, just the .dll and .h files.
    The SdkSetPropertyEventHandler function has a callback fuction as one of its parameters. How do I implement the
    callback using the CLF node? I am a good LabView programmer but this is my first time using the Call Library
    Function Node. I have read all the info I can find on NI's web site and the discussion board but cannot figure
    this one out. I am using LabView 8.6.
    The SDK.h deacribes the function as:
    //  Function:   SdkSetPropertyEventHandler
    SdkError SDKAPI SdkSetPropertyEventHandler(
                SdkCameraRef                    inCameraRef,
                SdkPropertyEvent                inEvnet,          
                SdkPropertyEventHandler         inPropertyEventHandler,
                SdkVoid*                        inContext );
    //  Description:
    //       Registers a callback function for receiving status
    //          change notification events for property states on a camera.
    //  Parameters:
    //       In:    inCameraRef - Designate the camera object.
    //              inEvent - Designate one or all events to be supplemented.
    //              inPropertyEventHandler - Designate the pointer to the callback
    //                      function for receiving property-related camera events.
    //              inContext - Designate application information to be passed by
    //                      means of the callback function. Any data needed for
    //                      your application can be passed.
    //      Out:    None
    //  Returns:    Any of the sdk errors.
    A separate header file called SDKTypes.h contains the following data:
    typedef  SdkUInt32  SdkPropertyEvent;
    typedef  SdkUInt32  SdkPropertyID;
    typedef  void       SdkVoid;
    typedef  struct __SdkObject*    SdkBaseRef;
    typedef  SdkBaseRef    SdkCameraRef;
     SdkPropertyEventHandler
    typedef SdkError ( SDKCALLBACK *SdkPropertyEventHandler )(
                        SdkPropertyEvent        inEvent,
                        SdkPropertyID           inPropertyID,
                        SdkUInt32               inParam,
                        SdkVoid *               inContext );
    Thanks for your help.
    Alejandro
    Solved!
    Go to Solution.

    alejandroandreatta wrote:
    I am trying to call a fuction from a SDK.dll library using the Call Library Function Node. The SDK was provided to
    me and I do not have the source code, just the .dll and .h files.
    The SdkSetPropertyEventHandler function has a callback fuction as one of its parameters. How do I implement the
    callback using the CLF node? I am a good LabView programmer but this is my first time using the Call Library
    Function Node. I have read all the info I can find on NI's web site and the discussion board but cannot figure
    this one out. I am using LabView 8.6.
    Basically you do not do that. LabVIEW does not know pointers and certainly not function pointers. What you should do instead is writing a C DLL that implements the callback and also exports a function to be called by LabVIEW that translates between the callback and a LabVIEW user event. Look for PostLVUserEvent() here on the NI site to find examples how to do that.
    Rolf Kalbermatter
    Message Edited by rolfk on 02-11-2009 08:00 PM
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • How to implement a chat functionality?

    Hi guys! I was wondering if anyone of you knows how to implement a one-on-one Chat function with servlet/JSP as the GUI and the servlet would do most of the logic processing. This servlet would know to whom the data/message is to be sent and who sent the message. I really need this. I hope someone knows. Thanks! =)

    check out this link for ideas. You may even want to use the technology.
    http://developer.java.sun.com/developer/technicalArticles/Networking/jxta2.0/

  • How to implement Review Page functionality

    Hi,
    I developed one custom Page, In that page user will enter data and click on Submit.
    Requirement is before submitting, user needs review the data and click on submit.
    Please suggest how to implement this functionality.
    Thanks in Advance,
    Hanimi.

    So far I have noticed that the best idea will be to recreate and code by
    myself. As You probably know each SSHR function ends with review page that shows the changes I just want the same.
    So problem that I have is, I need to implement Dynamic Approvals so the
    employee should be able to see who is going to approve and add approvers if
    neccessary. And I cannot find any information on how to code that.
    I jsut want the same functionality as in standard modules.

  • How to implement a Magnifier function

    Could someone tell me how to implement a magnifer effect in a Java application not Java Applet.
    Some example will be fine.
    Thanks

    If it works in an applet, it should work in an application. If there is an applet-specific method being used, many of those methods reappear in Toolkit. I think I've seen applets with source code like that at [url http://javaboutique.internet.com/]Java Boutique.

  • How to implement copy paste functionality with IE

    Hi Experts,
    I am working on jdev 11.1.1.6.0, I have requirement to implement copy & paste functionality with IE Browser in ADF table. I have followed below link to implement the functionality.
    http://one-size-doesnt-fit-all.blogspot.com/2011/04/aftable-restoring-basic-browser-copy.html
    But copy&functionality is working fine, but when table loading I lost vertical/horizontal scroll bar. Can any one suggest me what is wrong here/what i am missing here.
    My logic:
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:c="http://java.sun.com/jsp/jstl/core"
              xmlns:sni="/SNIDeclarativeComponentLib">
      <c:set var="tumuiBundle" value="#{adfBundle['sni.tum.view.TestUIBundle']}"/>
      <af:resource type="javascript">
        var globalLastVisitedField = null;
        function captureTableFieldName()
          return function (evt)
            evt.cancel();
            globalLastVisitedField = evt.getSource();
        function copyMenu(evt)
          if (globalLastVisitedField == null)
            alert("copyMenu() Error: No field could be
                                     identified to be in focus");
          else if (navigator.appName != "Microsoft Internet
                                     Explorer")
            alert("Copy function is only
                                     supported in Microsoft Internet Explorer");
          else
            var txt = globalLastVisitedField.getProperty("ItemValue");
            window.clipboardData.setData('Text', "" + txt);
          evt.cancel();
      </af:resource>
      <af:subform id="f1" defaultCommand="srchcb">
        <af:panelStretchLayout id="psl1" topHeight="auto" bottomHeight="auto"
                               styleClass="AFStretchWidth">
          <f:facet name="center">
            <af:panelCollection id="tab" styleClass="AFStretchWidth">
              <af:table value="#{bindings.TestVO.collectionModel}"
                        var="row"
                        rows="#{bindings.TestVO.rangeSize}"
                        emptyText="#{bindings.TestVO.viewable ? 'No data to display.' : 'Access Denied.'}"
                        fetchSize="#{bindings.TestVO.rangeSize}"
                        rowBandingInterval="1"
                        selectionListener="#{bindings.TestVO.collectionModel.makeCurrent}"
                        rowSelection="multiple"
                        id="Table" styleClass="AFStretchWidth"
                        contentDelivery="immediate">
                <f:facet name="contextMenu">
                  <af:popup id="pMenu" contentDelivery="lazyUncached">
                    <af:menu id="mMenu">
                      <af:commandMenuItem text="Copy" id="cmiCopy">
                        <af:clientListener method="copyMenu" type="action"/>
                      </af:commandMenuItem>
                    </af:menu>
                  </af:popup>
                </f:facet>
                <af:column sortProperty="Name" sortable="true"
                           headerText="#{bindings.TestVO.hints.Name.label}"
                           id="c33">
                  <af:outputText value="#{row.Name}" id="Nam">
                    <af:clientListener method="captureTableFieldName()"
                                       type="contextMenu"></af:clientListener>
                    <af:clientAttribute name="ItemValue"
                                        value="#{row.Name}"></af:clientAttribute>
                  </af:outputText>
       </af:column?
       </af:Table>
    -Thanks.

    Hi,
    I can't tell. What I can tell is that the code in the sample you reference for sure doesn't cause this - but it doesn't help you I guess.
    Btw.: Here is a solution that works on all browsers. The solution in the blog (Chris - please forgive me) is a bit awkward to be honest.
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/012-copy-table-cell-values-169137.pdf
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/tablecellcopypaste-168499.zip
    Frank

  • How to get Excel to function like InfoPath with SharePoint libraries?

    When working with InfoPath, there is a way to promote fields from your form to a SharePoint Library so that when you submit the form, it submits the actual form and the metadata from the fields in the form to columns in the document library in SharePoint.
    Well, I'm trying to accomplish this with Excel, but am so used to doing it with InfoPath I'm running into a lot of walls. I've found an add-in that allows me to insert a table and publish/sync it to a library in SharePoint, so that data from that table is
    sent to the library.
    Trouble is, I need the spreadsheet to also be "submitted" to the library so I can send it to specific users  based on a workflow. So basically, I need metadata from the form to be sent to the library for the purpose of triggering the workflow so that
    it routes the spreadsheet to the correct user. But in order for it to route (or provide a link to the spreadsheet in the workflow email) the sheet, it also needs to get submitted to the library.
    So I'm trying to get InfoPath functionality out of this.

    Excel does not integrate with SharePoint like that.  Is there a reason you're dealing with entire spreadsheets instead of converting them to lists and/or using InfoPath for form purposes?
    SharePoint Architect || Microsoft MVP ||
    My Blog
    Planet Technologies ||
    SharePoint Task Force
    Actually, it does. You can promote fields from Excel, InfoPath, etc. to SharePoint and use them to do exactly what I was looking to do above. I actually did this for a huge project and it worked.
    And yes, the Excel spreadsheets have an addin that is required for the business process on the client side.

  • Help..How do I redirect a function like xmldoc.print(System.out); to a StringBuffer??

    I am trying to take a existing function that takes an OutputStream and redirect to a StringBuffer instead of Sytstem.out. Could someone please give me an example of this?

    StringWriter sw = new StringWriter();
    PrintWriter pw = new PrintWriter(sw);
    String swb = sw.getBuffer().toString();
    I used the following technique and posted it here to help anyone who needs it. I simple wrote to pw instead of System.out and retrieved the buffer at the end.

  • How to implement ACT AS function

    Hi experts,
    Can anyone of you help me in implementing ACT AS function in OBIEE 10g...
    Thanks
    manu

    try this
    http://gerardnico.com/wiki/dat/obiee/actas

  • How to implement a button function to trigger several buttons

    Hi All, I have 6 buttons "Read" in front panel, each of them works seperately. In the block diagram, each button is inside an event.
    Now if I want to create a new button, that by clicking it, all these 6 buttons can be triggered, how can I do it?
    The attached picture shows what I want to do. Thanks for advising!
    Solved!
    Go to Solution.

    P Anand wrote:
    tbob wrote:
    Here is a simple example to show how it is done using the Vlaue(signaling) property node to cause an event for each other button.
    The value signaling works in the same way irrespective of the input whether it is true or false why is this behaviour?. Can you or anyone please explain any significance behind this?
    Because you did change the value. It does not verify that the value is actually different, just that a value was written to it.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

Maybe you are looking for

  • Issue in CCR of Stocks

    Hi, We are facing issue while doing CCR in APO for specific material location combination. After running CCR it does not give any differences for iteration step but when we are comparing stock in R3 using trasncation MMBE with APO stock using transca

  • Epson scanner 2450 won't work in OSX 1.5.2

    I am trying to install my epson perfection 2450 scanner on my Mac Pro with OSX 1.5.2 but it won't work. I was able to install the driver a couple of times but I couldn't get the scanner to show up in the import options in Photoshop as it does in Wind

  • Create a DDic sturcture via ABAP program

    Hello, is it possible to create a DDic structure via a ABAP program? I've got the components and component type of the new structure in a table. I want to create a DDic structure with this information. Is there function module or a method, with this

  • To change the access URL of website created by Site Studio

    Hi all, An user created web site with Site Studio, the following is the access URL. http://<server>:<port>/MyProject/index.html But the user wants to use the following as access URL. http://<server>:<port>/path1/path2/MyProject/index.html Because the

  • My Ipad has stopped receiving emails today. It has IOS7 on it. The settings are correct but says "connection to the server failed" help!

    My Ipad has stopped receiving emails today. It has IOS7 on it. The settings are correct but says "connection to the server failed" help! It is the same accout that has been working find for years and just after I updated the software this has happene