Conditional Redirect

I have an "Insert Into Two Tables" server behavior added to a page that I use to generate an invoice. The master table contains the invoice number and invoice date, the second table links to this table and stores each individual item details. In most cases there is only ever one item per invoice, but occasionally there are more than one items. What I was thinking of doing was adding a second button labeled "Add Additional Items" that if pressed would save the data to the two tables as per normal but then redirect you to another page with a dynamic list if the items for that particular invoice so you can add more items. Any ideas how to go about this?

Lee, here's what you need to do:
1. Add a checkbox to your form, name it KT_addmore and set its checked value to 1. Label it "Add more items?" or anything you like.
2. Insert the ADDT Redirect to page trigger.
3. Specify your redirect page, then click on the advanced tab and enter {POST.KT_addmore} == 1 in the condition textbox (or {POST.KT_addmore} = 1 on the ASP server model).
This is by default an END trigger with a priority of 90 and will get executed last in your page.

Similar Messages

  • Help!!! conditional redirect problem

    hi,
    i have a problem with conditional redirect,
    can you help me to find what is wrong with my script.
    when i try it on my page. it return an error "java.lang.NullPointerException".
    this is what i put on top of my page, i got it from this forum too.
    <jsp:scriptlet>
    final javax.faces.context.FacesContext facesContext = javax.faces.context.FacesContext.getCurrentInstance();
    final com.corejsf.UserBean UserBean=(com.corejsf.UserBean)facesContext.getApplication().getVariableResolver().resolveVariable(facesContext, "UserBean");
    if(UserBean.isLoggedIn()==true)
    {facesContext.getExternalContext().redirect(facesContext.getExternalContext().getRequestContextPath()+"/index.faces");
    </jsp:scriptlet>
    this is the boolean that contain my authentication
         public boolean isLoggedIn() { return loggedIn; }
    i think the error is in "UserBean.isLoggedIn()".cos when i try "if(1==1)" my page work.
    please help me i have been looking solution for this problem about two week now.

    thank's for the reply tinashechipomho.
    "I dont think this is a good way of login users using JSF."
    i'm not using this for login, but to make sure that restricted page will not be able to acces without login.
    thank's for the reply pringi.
    i don't understand what kind of tag you mention, can you give me example? thank's.
    i just found the solution using a jstl tag.
    i think the way i call the properties was wrong. so i used a jstl tag to call the properties for if statement.
    hope it's usefull.
    <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
    <c:if test="${sessionScope.user.loggedIn!=true}">
         <jsp:scriptlet>
              final javax.faces.context.FacesContext facesContext=javax.faces.context.FacesContext.getCurrentInstance();
              facesContext.getExternalContext().redirect(facesContext.getExternalContext().getRequestContextPath()+"/index.faces");
         </jsp:scriptlet>
    </c:if>

  • Conditionally redirect users at login

    Hi All,
    I have a requirement wherein I need to redirect the users to a different page [some page other than the PIA home page] at login.
    The scenario is as follows:-
    When the user logs in, I need to check if there is a row for that user in the table A.
    If row exists
    Take the user to the PIA home page
    If row does not exist
    Take the user to page xxx .
    Please advice how to approach this one.

    You can do this in multiple ways.
    If you guys use single signon, You can connect to the database and check outside PS system and then log or not based on that.
    If you do not use single signon, you can create a component with the logic and instead of the signon url; you can use the component url to login.
    - When the user logs in...the page directly goes to your logic page
    - You decide if the user goes to PS home page or you redirect the outside. (You can use html area and javascript top.location to redirect)
    - You might want to consider logging off the user ( I am not sure how this will work in redirection, you might have to do some testing!)
    Let me know if you have any questions.
    -Regards,
    RK

  • How to make Webgate redirect to a specific resource based on AD Attributes?

    My client has already purchased Oracle Fusion Middleware 11g, which contains the OID 11g suite. They have an initiative to enable SSO based access to their business apps for both internal and external users. They have already implemented AD and also FMW 11g with OID integrated with AD.
    We need to provide a path way for legacy portals to integrate into this environment. One the goals is to have a single URL (let's call it one.company.com) by which employees, customers & business partners access all business applications. The long term goal is to leverage WebCenter to be the portal framework, which provides access to all business app. However, the client has prioritized the SSO integration over the portal framework integration at this point.
    So the interim solution needs to address the following use case:
    Internal User:
    1. Log into workstation via MS AD DC, get Kerberos token set on workstation.
    2. Open browser and navigate to https://one.company.com, browser either silently authenticates via Windows Native Authentication (IE for example) or presents user a challenge box asking for authen&author creds (FF for example).
    3. WebGate installed on OHS works with OAM (which works with OID) to authenticate the user, assume Auth OK
    4. <Some Component> works with OAM to obtain user's roles. If user has role 1 redirect to site 1 (assume this is the legacy portal, which has been modified to work with Oracle SSO), otherwise if user has role 2, then redirect to site 2 (assume this is web center)
    The reference to <Some Component> in #4 is what we need help answering. We suspect it is WebGate, and from some reading I have done I know that there are apache directives that can be used to do conditional redirects. I'm just missing the link between getting the roles out of OAM and instructing the web server which resource to redirect to based on OID role.
    We also have a very similar use case for external access (to the same site, https://one.company.com). It will be assumed that all users are AD enabled even external ones. For external access, all users will first land on a company wide common login page, which will ask for AD user name & pwd. After submitting credentials, the same scenario plays from above, starting at step 3. All applications will be programmed to read the obssoToken (via browser cookie or server headers) to understand user details.
    Has anyone had to architect this kind of deployment before? If so, how did you deal with it? Was it as simple as the whole WebGate/Apache redirect setup I am thinking of?
    Thanks,
    FM

    I choked on my mango lassi while reading this..but as our chinese brothers and sisters say, A journey of a thousand miles begins with a single step.
    user8214884 wrote:
    2. Open browser and navigate to https://one.company.com, browser either silently authenticates via Windows Native Authentication (IE for example) or presents
    user a challenge box asking for authen&author creds (FF for example).FF can deal with Kerberos just like IE can via SPNEGO although getting it to work like IE is a different story. But let's say FF doesn't do Kerberos or let's say it's an external user. Have you tried implementing this mechanism with OAM 11g? I would start there. You may not get to your next steps.

  • Immediate login, custom redirect not working correctly

    I have a page with some conditional regions on it: show if user is logged in, else show something else. That sort of thing.
    This page is a tease to convince users to register so there a prominent "If you're a member, log in here, if not register for free."
    If someone clicks the Register button, they are taken to the registration page along with a url variable to identify the place they've just come from.
    The registration page has an Immediate Login trigger on it - which has always worked without a hitch.
    The registration page also has some conditional redirect triggers attached to the registration insert. The conditional redirect triggers GET the url variable being passed and if the condition is matched, the registration page sends them back where they came from - just like a login function would - registered and now logged in due to the immediate login trigger.
    This has all worked wonderfully until this past weekend when the whole system fell apart.
    For reasons unknown, the immediate login has stopped working. The redirect continues to work but people are correctly returned to the page with the logged in/logged out conditional regions but doing so without getting logged in, so of course they see the same stuff they just saw - stuff telling them to register or login.
    Immediate login continues from every other direction, just this particular set of redirections seems to totally wonk out the person returning from the registration page properly logged in.
    Anyone with any experience with this kind of thing? It's very essential to the way my web operation works.
    I deeply appreciate any interest or advice.

    Nope. This is the strangest thing I've encountered.
    After changing the conditional trigger to AFTER, it worked once. I logged out to test again. Now it's right back to not working. Shut down the browser too.
    As before, the redirect works as it's supposed to but the user gets redirected without being logged in.

  • RE: Portal Downtime

    I am looking for suggestions on how others are handling the situation below.
    Our portal is the front end to our data warehouse. On occasion, the nightly ETL processes for the warehouse fail. When this occurs, we do not want the portal to be available to our end users. Right now, we manually run a .ksh script which takes the portal out of the server pool and redirects the URL to a html file that we manually update with a "sorry" notice. We would like to come up with an automated process that makes the portal unavailable based on the status of the ETL run. We are using dbms_scheduler so we can access the job status via the scheduling views.
    I would like to know how do you go about making the portal unavailable? Is it possible to conditionally redirect the global homepage in portal to another portal page or URL based on the results of an SQL query? Or do you know of an API or some documentation that can help me get started? All suggestions are appreciated.
    Oracle Portal 10.1.4
    Application Server 10.1.2
    Thanks

    You could use the wwpre_api_value API to change the preference value for the system wide home page. This will however display the 'Sorry Notice' only when users access the Portal by executing /pls/portal/portal.home. The standard URL /portal/page/portal/<pgname>/<page> will still work and users who know the page and page group name will still be able to get to the page.
    The potential way to resolve your issue would be a redirect for the page in the Oracle HTTP Server:
    1 Create a new httpd.conf which includes a rewrite rule which rewrites the URL for the results page to the sorry notice page
    2 Create a shell script or perl script which retrieves the status of the job. Pending the status, the script will enable the new httpd.conf by :
    a copying the current httpd.conf to a backup location
    b setting the httpd.conf with the redirect rule as active httpd.conf
    c run dcmctl updateconfig -ct ohs to update the repository
    d call opmnctl to restart the HTTP Server
    Hope this helps,
    EJ

  • Save cookie/session after login on web service client

    I am calling a web service that has a login method. It sets a session id in
    a cookie. Every subsequent call fails and says I'm not logged in. How do I
    save their cookie or session ID such that the server thinks I'm logged in?
    Here's the client code (I used clientgen to create jar from wsdl);
    DatashareManager dsm = new DatashareManager_Impl();
    WebServiceContext wsContext = dsm.context();
    WebServiceSession session = (WebServiceSession)wsContext.getSession();
    DatashareManagerSoap dsmsoap = dsm.getDatashareManagerSoap();
    String result = dsmsoap.login("username", "password"); // this works
    EResult result2 = dsmsoap.deleteReusableList(1, "bob"); // this fails 'Not
    logged in'

    That sounds like a difficult one to implement because you'll essentially need to intercept the AppsLogin servlet (or AppsLocalLogin.jsp) to conditionally redirect the user somewhere else - and that would be an intrusive (and not recommended) customization.
    Some possible alternatives:
    1. Rather than publish http://hrlive.myintranet.local:8000/OA_HTML/AppsLogin as the URL that you users connect to, publish something like http://hrlive.myintranet.local:8000/OA_HTML/XxLogin.jsp instead. That could be a custom JSP that asks the user to agree to the disclaimer and, when they agree, store that agreement in a cookie and then redirect to AppsLogin.
    That's not quite the same because you're asking the user to agree before they login. It also means that they can navigate direct to AppsLogin and bypass the disclaimer (unless you customize AppsLogin to verify the cookie).
    2. Assign all users a default 'Disclaimer' responsibility with a single function (such as an EIT, or a custom OA Framework page) that allows the user to agree to agree to the disclaimer. Then once they've agreed to it have some process that automatically grants them their real responsibilities and revokes the Disclaimer responsibility. For example, if you used an EIT that could be an API User Hook.
    One problem with this approach is that you'll need to clear cache through Functional Administrator before the new responsibilities are visible so you'll either need to find a way of doing that programatically or ask the user to wait until tomorrow (assuming you do a nightly web server bounce).

  • Passing Cookies to ?cmd=login

    Can someone please tell me if the PS servlet strips cookies from requests to ?cmd=login? I've written some JavaScript to do a conditional redirect based on a cookie that is passed with the HTTP request. If I put the JavaScript in signon.html, it works; if I put it in signin.html and go directly to signin.html or ?cmd=login it longer finds the cookie.
    The JavaScript needs to go in signin.html rather than signon.html so that it catches all incoming requests.
    Thanks!

    The browser sends the cookies to the server, but the cookies actually exist on the client. If you have JavaScript running on the client, then it will have access to those cookies regardless of what the server does to the cookies on the incoming request. Cookies are the only way to maintain state after signing out. Cookies are the only thing PeopleSoft does NOT clear when a user logs out. I assume the cookie is getting set in the same domain as the PS server? You can view your browser's cookie store to see if the cookie exists when you load the page that tries to access the cookie.

  • Redirect portal users to accept "terms & conditions" ...

    Here is the requirement ..
    When the users logging in first time i need them redirected to a page to accept "terms and conditions" , next time the page should not be appeared.
    Only the "terms and conditions" page should be appeared for those who are not accepted before.
    Please help me if anyone knows the solution ...
    Thanks in advance
    MMK

    Hello Eric, First off I'm very new to SAP, I've been a Basis Admin now for about 6 months...  I have had the pleasure of joining a team at the beginning of an upgrade.
    An issue Iu2019m trying to resolve is a payroll issue. Apparently in 4.7 when a user would login to the portal and view their personal data it would not u201CLocku201D their user data. 
    But this appears not to be true in ECC6/Netweaver 7.0.  When our HR does payroll, if a user is logged in to the portal, and viewing their personal data the u201CPayroll Runu201D will not complete.
    So what I would like to do is implement your solution for the Redirect portal user to the u201CTerms & Conditionsu201D page, and tweak-it to forward the users to a u201CWebsite is downu201D page.
    Here is my thinking. When a user logs-in, check either a z-table or some other table that holds some value.  If the value is True then do nothing and continue. If the value is False, then Re-direct the user to a u201CWebsite Downu201D page with just an OK button, that when clicked will call the Logoff function. 
    Also HR would be able to run a job that would set the value to either True or False so they would be able to take the portal u201COff Lineu201D when they choose..
    My question isu2026 Can you give me detailed information on how to accomplish this?
    Thanks
    Steve

  • Redirect to Branch Conditionally

    Hi,
    I have a requirement. I need to search for domain_name or company_name if the result is true it must redirect to the desired URL link conditionally. I am trying with this method but its not working please find the below code.
    DECLARE
    L_ID NUMBER;
    L_DOMAIN_NAME VARCHAR2(500);
    L_COMPANY_NAME VARCHAR2(500);
    BEGIN
    SELECT ID, DOMAIN_NAME, COMPANY_NAME
    INTO
    L_ID, L_DOMAIN_NAME, L_COMPANY_NAME
    FROM CUSTOMER_DOMAINS
    WHERE
    upper(trim(domain_name)) like upper((trim('%' || :P1_SEARCH || '%'))) or
    upper(trim(company_name)) like upper((trim('%' || :P1_SEARCH || '%')))
    IF L_ID IS NOT NULL THEN
    RETURN HTP.PRN('<a href="http://www.one.com/"></a>');
    End if;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    RETURN HTP.PRN('<a href="http://www.two.com/"></a>');
    END;
    Please suggest me some alternative method to do this functionality
    Thanks
    Sudhir

    Hi,
    Thanks it worked for me with owa_util.redirect_url
    DECLARE
    L_ID NUMBER;
    L_DOMAIN_NAME VARCHAR2(500);
    L_COMPANY_NAME VARCHAR2(500);
    BEGIN
    apex_application.g_unrecoverable_error := true;
    SELECT ID, DOMAIN_NAME, COMPANY_NAME
    INTO
    L_ID, L_DOMAIN_NAME, L_COMPANY_NAME
    FROM CUSTOMER_DOMAINS
    WHERE
    upper(trim(domain_name)) like upper((trim('%' || :P1_SEARCH || '%'))) or
    upper(trim(company_name)) like upper((trim('%' || :P1_SEARCH || '%')))
    IF L_ID IS NOT NULL THEN
    owa_util.redirect_url('f?p=&APP_ID.:4:&SESSION.::&DEBUG.::P4_DOMAIN_ID:' || L_ID);
    End if;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    owa_util.redirect_url('f?p=&APP_ID.:1:&SESSION.::&DEBUG.::');
    HTP.p ('<script type="text/javascript">');
    HTP.p ( 'alert(''Record Not Found!'');');
    HTP.p ('</script>');
    WHEN TOO_MANY_ROWS THEN
    owa_util.redirect_url('f?p=&APP_ID.:3:&SESSION.::&DEBUG.::P3_SEARCH:' || L_COMPANY_NAME);
    WHEN OTHERS THEN
    owa_util.redirect_url('f?p=&APP_ID.:3:&SESSION.::&DEBUG.::P3_SEARCH:' || L_COMPANY_NAME);
    End;
    One last issues i am facing is not able to call the javascript. Please suggest
    I am using Apex 3.2 Version with Oracle 10g database.
    Thanks
    Sudhir

  • Conditionally send redirect in Servlet filter after j_security_check

    I am writing a form based challenge for a secured J2EE application. What I want the user to do is log in, and after they are authenticated by j_security_check, get the Role that they have, and based on the role, redirect with the filter to different jsp pages.
    Here is my code
    public void doFilter(
              ServletRequest req,
              ServletResponse resp,
              FilterChain chain)
              throws ServletException, IOException {
              //action to perform before logging on
              chain.doFilter(req, resp);
              System.out.println("Filter was called");
              HttpServletResponse response = (HttpServletResponse) resp;
              //do the work to get the users Role... request.isUserInRole("Some Role");
                                               //if yes
                                               response.sendRedirect("somejsp.jsp");
                                               //else
                                               //response.sendRedirect("someother.jsp")
                                              return;
         }When I try to run the above code, My send redirect has no effect, and I get the following in my System.out
    [5/17/04 10:31:20:975 CDT] 7b2bdbb7 TraceNLS u No message text associated with key HttpConnection.run:.java.lang.IllegalStateException:.0.response.bytes.written,.but.Content-Length.header.equals.9262 in bundle com.ibm.ejs.resources.seriousMessages
    [5/17/04 10:31:20:975 CDT] 7b2bdbb7 HttpConnectio E HttpConnection.run: java.lang.IllegalStateException: 0 response bytes written, but Content-Length header equals 9262
    [5/17/04 10:31:21:006 CDT] 7b2bdbb7 SystemOut O java.lang.IllegalStateException: 0 response bytes written, but Content-Length header equals 9262
    [5/17/04 10:31:21:006 CDT] 7b2bdbb7 SystemOut O      at com.ibm.ws.http.HttpResponse.finish(HttpResponse.java:89)
    [5/17/04 10:31:21:006 CDT] 7b2bdbb7 SystemOut O      at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:565)
    [5/17/04 10:31:21:006 CDT] 7b2bdbb7 SystemOut O      at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:366)
    [5/17/04 10:31:21:006 CDT] 7b2bdbb7 SystemOut O      at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:593)
    [5/17/04 10:31:29:350 CDT] 66a7dbb7 SystemOut O Filter was called
    [5/17/04 10:31:29:350 CDT] 66a7dbb7 SystemOut O Cast was completed
    [5/17/04 10:31:35:429 CDT] 66a7dbb7 WebGroup E SRVE0026E: [Servlet Error]-[Filter [LoginFilter]: filter is unavailable.]: java.lang.IllegalStateException
         at com.ibm.ws.webcontainer.srt.SRTServletResponseContext.sendRedirect(SRTServletResponseContext.java:101)
         at com.ibm.ws.webcontainer.srt.SRTServletResponse.sendRedirect(SRTServletResponse.java:679)
         at com.mutualofomaha.groupwebenrollment.LoginFilter.doFilter(LoginFilter.java:41)
         at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:132)
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:71)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:914)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:528)
         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:176)
         at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:79)
         at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:201)
         at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
         at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
         at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
         at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
         at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:516)
         at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:362)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:593)

    Something in the filter chain has committed the response.
    As you're redirecting you almost certainly don't need to call filterChain.doFilter anyway; you just want to send the user somewhere else.

  • How to change users' initial page based on a condition

    I'm using SSO on my application, and have two types of users who will be logging on - I want one set (admins) to go straight to one page, and the other set (users) to go to a another page after logging in. These two sets of users are stored in the database, so I can want to use that to check against.
    I get the impression this would be easy enough if my users went via the 101-login page, but as I'm using SSO I don't think they do. I can change the default starting page, with the home link setting in the application's security attributes, but you can only set one of those.
    I don't mind having it all default to one page, and then redirect away from that if the username meets a particular condition, but can't see how I can do that.
    Can anyone suggest how I can work this to achieve what I need?

    Tim,
    First I would create a HOME_PAGE application item. Then I would create an application computation on new instance that sets that item accordingly. something like this:
    with user_table as(
        select 'TIM' user_name, 'ADMIN' user_role from dual
    select case
               when exists(select *
                             from user_table
                            where user_name = :APP_USER
                              and user_role = 'ADMIN')
               then
                  102
               else
                  103
          end
      from user_tableI would make a landing page all people go to. Page 150. On that page i would make a branch before header which references your HOME_PAGE application item.
    Cheers,
    Tyson Jouglet

  • Submit Action and Redirect page in Tabular form Column Link

    Hi All,
    I have a scenario to submit the current page and redirect to another page with the arguments, when i clink on the link which is created using column link in Report Attributes.
    I can able to perform the submit action, but redirection is not happening.
    Created a column link on non database column by providing
    Link Attribute :     <a href="#" onclick="doSubmit('SAVE')">#FAM_DET#</a>
    Target : Page in this application
    Page : 7
    Item name : P7_TRAVEL_REQ_ID
    item Value: #TRAVEL_REQ_ID#
    Item name : P7_TRAVEL_REQ_LINE_ID
    item Value: #TRAVEL_REQ_LINE_ID#
    Can anyone help me out to resolve this.

    811598 wrote:
    Please update your forum profile with a real handle instead of "811598".
    When posting a question here, always include the following information:
    Full APEX version
    Full DB/version/edition/host OS
    Web server architecture (EPG, OHS or APEX listener/host OS)
    Browser(s) and version(s) used
    I have a scenario to submit the current page and redirect to another page with the arguments, when i clink on the link which is created using column link in Report Attributes.
    I can able to perform the submit action, but redirection is not happening.
    Created a column link on non database column by providing
    Link Attribute :     <a href="#" onclick="doSubmit('SAVE')">#FAM_DET#</a>
    Target : Page in this application
    Page : 7
    Item name : P7_TRAVEL_REQ_ID
    item Value: #TRAVEL_REQ_ID#
    Item name : P7_TRAVEL_REQ_LINE_ID
    item Value: #TRAVEL_REQ_LINE_ID#
    Remove the link attribute (what you have used there is not the correct way to use this property anyway).
    Change the target page to the same page as the report.
    Set the Column Link Request property to BRANCH_TO_PAGE_ACCEPT|SAVE.
    Create an On Submit: After Processing (After Computation, Validation, and Processing) branch to page 7, conditional on the SAVE request.
    If the SAVE request can be triggered by something other than the report link (e.g. a Save button) then use another request value that will trigger the required page process in the link request and branch condition, e.g. BRANCH_TO_PAGE_ACCEPT|APPLY and APPLY respectively.
    Note that there is a bug in BRANCH_TO_PAGE_ACCEPT processing in APEX 4.2.3 and a patchset exception must be installed for this approach to work on this APEX release.

  • How do I have the learner perform a conditional action based on a button selection?

    The learner needs to select a checkbox on the screen of a performance exercise.  I've put the widget in for the checkbox and it works fine.  After the select the checkbox, they need to select OK on the screen to move them onto the next screen.  However, I don't want the learner to just select OK without selecting the checkbox in order to replicate the sequence correctly. 
    I have a slide which shows the message  which tells them as to what they did wrong when they select OK without checking the box, but when I tie that to the correct response, it will go there whether they select the checkbox or not.
    I've tried adding multiple actions to the button, which doesn't work, becuase the OK button has to be tied to the learner conditionally selecting the checkbox to move on to the correct slide.  If I use multiple actions, and the first action is to SHOW  the slide with the incorrect message, if they correctly check the box and then hit OK, it will first SHOW them the incorrect slide.
    I think what I need is a variable and then add an advanced action with a conditional statement.  However, I don't really know how to do that.  Here's the variable I created, but I don't know what value I should assign.  Here's the screen shot of the variable and conditional statement.  Could someone tell me how to do the variable and the conditional statement so that the learner when selecting OK WITHOUT selecting the checkbox first will be redirected the the error slide and if they select the checkbox FIRST, and then OK, they move on to the next screen?  Thanks,

    Thanks, you definitely got me started on the right track on variables and advanced action statements.  The screen shots helped.
    Here's how the actual fix went to make sure the OK button on the screen had a conditional statement attached to it, with
    an advanced action:
    I created parameters for the widget to link to the variable:
    I created a variable:
    Then I created an advanced action conditional statement for that variable which enabled the button to advance to the next slide when the clickbox was checked:
    Then where I finally realized my final mistake was not setting the button properties to execute advanced action:

  • Need help with URL Redirect in Sun Web Server 7 u5

    All I am trying to do is redirect to a static URL and for the life of me I can not get it to behave the way I would expect. I am new to Sun Web Server so I am just trying to use the Admin Console to set this up.
    Here is what I'm trying to do:
    Redirect from - http://www.oldsite.com/store/store.html?store_id=2154
    To - http://www.newsite.com/Stores/StoreFront.aspx?StoreId=2154
    Here's what I tried in the console.
    Added a new URL Redirect
    Set the Source to be Condition and set it to: '^/store_id=2154$' (quotes included)
    Then set the Target to: http://www.newsite.com/Stores/StoreFront.aspx?StoreId=2154
    Then for the URL Type I checked Fixed URL
    When I tested with: http://www.oldsite.com/store/store.html?store_id=2154 it did redirect as desired
    BUT
    When I tested with: "http://www.oldsite.com/store/store.html?store_id=5555" it too got redirected to the Target and I can't figure out how this second URL can satisfy the condition to get redirected.
    Any help is most appreciated.

    thanks for choosing sun web server 7
    it is simpler if you just edit the configuration files manually
    cd <ws7-install-root>/https-<hostname>/config/
    edit obj.conf or <hostname>-obj.conf (if there is one for you depending on your configuration so that it look something like)
    <Object name="default">
    AuthTrans..
    #add the folllowing line here
    <If defined $query>
    <If $urlhost =~ "/oldsite.com" and
    $uri =~ "/store/store.html" and
    $query =~ "store_id=2154" >
    NameTrans fn="redirect" from="/" http://www.newsite.com/Stores/StoreFront.aspx?StoreId=2154
    </If>
    </If>
    ..rest of the existing obj.conf. continues
    NameTrans...
    now, you can either do <ws7-install-root>/https-<hostname>/bin/reconfig -> to reload your configuration without any server downtime or <ws7-install-root>/https-<hostname>/bin/restart -> to restart the server
    if it did work out for your, you will need to run the following so that admin server is aware of what you just did
    <ws7-install-root>/bin/wadm pull-config user=admin config=<hostname> <hostname.domainname>
    hope this helps

Maybe you are looking for

  • Backup amd File Storage Question

    I've got a bit of a conundrum on my hands and can't decide how to clean it up. I live in a Mac world and work in a Win world. I made the tranitiin from a dell notebook to a MacBook Air and have a Mac Mini on the desktop at home. I have tons of photos

  • JMS Channel Settings

    Hi, I have to configure a JMS sender channel (SonicMQ) and the client has provided me with a JNDI name jmsqueues/default/<QueueName> Can anyone please tell me in which section of the JMS channel should i include this information? QueueConnectionFacto

  • Tablespace not showing in the backup

    hi all. working on oracle 10g v1 , windows i have taken full backup of my database but it is not showing in the backup => list backup of tablespace sonu; could not translate tablespace sonu can any1 help me because i have to recover my database till

  • TNS-12500 Error

    Guys, I get TNS-12500 error whenever I tried to connect to my Oracle Instance C:\>sqlplus /nolog SQL*Plus: Release 9.2.0.6.0 - Production on Mon Feb 16 17:42:46 2009 Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved. SQL> conn /@orade

  • Leave based on joining date

    hi all my client requirement is"  confirmed employee who have completed 1 year of service r eligible for Privilege leave.of 12 days per calender year.  and employee can accumulate up to 30 days of privilege" for which i have  defined base entitlement