Making showDetailItem disclosure dependant on URL param breaks tab content

Hello,
I'm trying to achieve URL parameters control over my application state.
As soon as I can't use bugged bookmark page property, I'm trying some workarounds.
One of the things I've tried led to an unexpected behavior.
The use case is to open a certain tab of panelTabbed with an URL.
I've added disclosed="#{param.tab=='2'} to the second tab. In the tab there is a table in the upper section and a region with a form in the lower section.
There's a partialTrigger from the region to the table so when I run the application and select a table row, the form shows it.
But if I run the application with ?tab=2 parameter, partialTrigger doesn't work any more and the form only shows the first row whatever I select in the table. Also there's a af:showDetail which you can't disclose.
If I set the table contentDelivery=whenAvailable, the data wouldn't be shown at all.
Here's a test-case on HR schema: https://www.dropbox.com/s/rcf53iwpqw0eop7/TabUrl.rar
JDev 11.1.2.3
Is this correct behavior?
How do I achieve the use case?
Thanks.

Hello Darin,
Your scenario is interesting. Since your error is 401, this is related to a credential issue. There was a bug in PI such that once you use dynamic configuration for your URL, the username needs to be also included in the dynamic config. The technical name for the username in the UDF is TAuthKey. You set the password in the SOAP receiver communication channel by going Advanced Tab -> Variable Transport Binding -> View Authorization Keys.
Standard SOAP sender in PI requires you to still provide a username/password even if you are using SSL. Make sure that the username is existing in PI and has the necessary authorization. For now, try inputting your PI username and password.
Hope this helps,
Mark

Similar Messages

  • URL Param is not working

    Hi,
    I am passing two variable values through URL for one template to another template. It was passing two variable values to second templates but suddenly after applying new java patch it is not passing the second variable value in the URL.  Is there any other way i can achieve this with out SET_VARIABLES_STATE command.
    URL Params:
    &BI_COMMAND_1-BI_COMMAND_TYPE=SET_VARIABLES_STATE
    &BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE=0P_CALYE
    &BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE=VARIABLE_INPUT_STRING
    &BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE-VARIABLE_INPUT_STRING=2008
    &BI_COMMAND_2-BI_COMMAND_TYPE=SET_VARIABLES_STATE
    &BI_COMMAND_2-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE=Z_RGN
    &BI_COMMAND_2-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE=VARIABLE_INPUT_STRING
    &BI_COMMAND_2-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE-VARIABLE_INPUT_STRING=EAST
    Any help is appreciated?
    Thanks in Advance,
    Damodhar.

    I think i can set characteristic value directly using URL command instead of setting variable value.Can anyone provide me the <b>URL parameter</b> for the following command.
    <bi:SET_SELECTION_STATE >
                     <bi:TARGET_DATA_PROVIDER_REF_LIST type="ORDEREDLIST" >
                            <bi:TARGET_DATA_PROVIDER_REF index="1" value="DP_1" />
                                        </bi:TARGET_DATA_PROVIDER_REF_LIST>
                       <bi:CHARACTERISTICS_SELECTIONS type="UNORDEREDLIST" >
                <bi:CHARACTERISTIC_SELECTIONS type="COMPOSITE" index="1" >
                                                <bi:CHARACTERISTIC value="CHAR1" text="" />
                                                <bi:SELECTIONS type="ORDEREDLIST"<bi:SELECTION type="CHOICE" index="1" value="SELECTION_INPUT_STRING" >
                            <bi:SELECTION_INPUT_STRING value="INPUT1" />
                                                    </bi:SELECTION>
                                                </bi:SELECTIONS>
                                            </bi:CHARACTERISTIC_SELECTIONS>
                                        </bi:CHARACTERISTICS_SELECTIONS>
                                    </bi:SET_SELECTION_STATE>
                                    <bi:SET_VARIABLES_STATE >
    Thanks,
    Damodar.

  • Sort by URL Param

    Not sure how to make this work but have read labs information
    and samples for sorting and url params just not sure how to tie
    them together to make this work. I have a link to the page I want
    to add this to if someone can take a look it is
    test site. When
    the user uses a link I need to have data sort by the name value
    from the xml file placing the correct contet at the top. Not sure
    if I'm headed in the right direction so any help would be
    appreciated.

    You would want to do soemthing like:
    var dsNews = new Spry.Data.XMLDataSet("news6.xml",
    "news/newstory");
    dsNews.sort(yourURLParam, "ascending");
    var pvNews = new Spry.Data.PagedView( dsNews ,{ pageSize: 4
    http://labs.adobe.com/technologies/spry/articles/data_api/apis/dataset.html#sort

  • Ignore URL  param in dispacther

    Hi,
    We have some page URLs that has some analytic params that needs to be capture from Omniture javascript. If we are having the param in URL the page is not cached as expected. So i  want to ignore the URL param in dispatcher and serve the content from cache and have the query params in the URL to be taken care by analytics code.
    As I read in http://dev.day.com/docs/en/cq/current/deploying/dispatcher/disp_config.html , i can use ignore url param in dispatcher.
    I applied those changes but it is not working for me.
    Some doc : http://helpx.adobe.com/adobe-cq/kb/troubleshooting-dispatcher-flushing-issues.html    
    Please advice.
    Thanks

    Hi Jorg/Scott,
    I am using dispatcher-apache2.2-4.1.0.so
    Entry in dispatcher.any- 
    /ignoreUrlParams
      /0001 { /glob "*" /type "deny" }
      /0002 { /glob "q" /type "allow" }
    Dispatcher log snippet-
    [Thu Dec 13 20:37:59 2012] [W] [24596(140205433005824)] /app/Apache2.2/conf/dispatcher.any:197: entry not recognized: 'ignoreUrlParams'
    [Thu Dec 13 20:37:59 2012] [W] [24596(140205433005824)] Render rend02 has no hostname; entry ignored
    [Thu Dec 13 20:37:59 2012] [I] [24596(140205433005824)] Dispatcher initialized (build 4.1.0)
    It seems entry is not recognized.

  • How to pass the JCo destinations as URL params?

    Hi,
    I have requirement to pass my JCo names as Url Params.
    jcoParam = "WD_ORD_RFC_METADATA_DEST:MNR "+" WD_ORD_MODELDATA_DEST:MNR";
    how do I combine and sent to URL params
    urlParameters.put("sap-wd-arfc-useSys",jcoParam);
    I am passing like this but the URL will take one parameter
    with one name but I need to pass the same parameter with diffrent Jco destination how to solve this please guide in this.
    I need like this But
    Url will take one parameter with sap-wd-arfc-useSys this name only the parameter sap-wd-arfc-useSys name is not taking once again .
    sap-wd-arfc-useSys=WD_ORD_RFC_METADATA_DEST:MNR
    & sap-wd-arfc-useSys=WD_ORD_MODELDATA_DEST:MNR
    Any body suggest on this.
    Thanks,
    Lohi.

    Hi Lohita,
    The parameter sap-wd-arfc-useSys should be given in the iview properties in the Content Administrator. The portal will be able to read the parameters properly even when you repeat the parameters like
    sap-wd-arfc-usesys = WD_ORD_RFC_METADATA_DEST:MNR & sap-wd-arfc-usesys = WD_ORD_MODELDATA_DEST:MNR in the iview properties.
    You will not abe able to pass it from the application as we would be using HashMap to pass the url parameters.As far as i know there is no other parameter available for the same purpose. Try giving the same in the iview of that applicaiton, it will work.
    Regards,
    Sharadha

  • URL Param + ManagedBean + form submit Question

    Hey,
    I have a managed bean and configured the bean so that i takes params from the url and sets them automatically. The bean parameter is a integer value.
    So when i call samplePage.faces?param1=23 then the bean takes the parameter from the url and i can query the database and present the result. That works perfekt
    My problem is now the following:
    On this page i have a form and some input tags to edit values, and now i want to submit the form and update the record in the database. (The record is identified by the url param)
    But when i submit my form i got a java.lang.IllegalArgumentException - java.lang.IllegalArgumentException exception.
    I thing that is because the action of the form has this parameter not ( action=samplePage.faces without my param) and when the bean tries to get the param from the url, which is not existing, then the exception is thrown.
    Any suggestions what i can do?

    i assume you have 2 managed beans that are in request scope. one bean for the overview page, one for the details page.
    overview page:
    create the link with the h:outputlink component which has one nested h:outputtext (the link text) and several nested f:param components. that means, you write one f:param for every parameter you want to pass to your details page. in your example, this would be only the id.
    ... so now you click the link ...
    details page:
    the id-parameter is available in the field "myId" in your details bean via this entry in faces-config.xml:
    <managed-bean>
              <managed-bean-name>details</managed-bean-name>
              <managed-bean-class>com.DetailsBean</managed-bean-class>
              <managed-bean-scope>request</managed-bean-scope>
              <managed-property>
                   <property-name>myId</property-name>
                   <value>#{param.id}</value>
              </managed-property>
         </managed-bean>In DetailsBean, first you have to retrieve the data from the database. This could be done in the constructor or in a method annotated with @PostConstruct.
    Also, save the id in a h:inputhidden. You will need the id again in the next step.
    ... now the user edits the data and presses submit ...
    (All Parameters are lost at this point.) In your action, read the id from the h:inputhidden field. Now you have everything to update your database entry.

  • How do you pass XML as a URL param?

    How do you pass XML as a URL param?
    Thanks!

    I don't know why I wasn't thinking about this when I made my
    last post. If they're pasting some XML into a form, that's one
    thing. But if they need to send XML to your site from their own,
    you can setup a Coldfusion Component (CFC) as a Web Service to
    accept XML through a WSDL call.
    Check out the
    Coldfusion
    Developers Center for
    articles
    on creating web services

  • Iframe url param

    Is iframe url param has limit? because IE is throw error page
    can't display. firefox work fine.

    i assume you have 2 managed beans that are in request scope. one bean for the overview page, one for the details page.
    overview page:
    create the link with the h:outputlink component which has one nested h:outputtext (the link text) and several nested f:param components. that means, you write one f:param for every parameter you want to pass to your details page. in your example, this would be only the id.
    ... so now you click the link ...
    details page:
    the id-parameter is available in the field "myId" in your details bean via this entry in faces-config.xml:
    <managed-bean>
              <managed-bean-name>details</managed-bean-name>
              <managed-bean-class>com.DetailsBean</managed-bean-class>
              <managed-bean-scope>request</managed-bean-scope>
              <managed-property>
                   <property-name>myId</property-name>
                   <value>#{param.id}</value>
              </managed-property>
         </managed-bean>In DetailsBean, first you have to retrieve the data from the database. This could be done in the constructor or in a method annotated with @PostConstruct.
    Also, save the id in a h:inputhidden. You will need the id again in the next step.
    ... now the user edits the data and presses submit ...
    (All Parameters are lost at this point.) In your action, read the id from the h:inputhidden field. Now you have everything to update your database entry.

  • Using 2 URL Params to filter

    Hello,
    I am trying to get my dataset to filter by 2 URL Params.
    Here is my code:
    var params = Spry.Utils.getLocationParamsAsObject();
    var dsDocumentsByType = new
    Spry.Data.XMLDataSet("../data/Documentation/Q-DocumentList.asp",
    "/root/row");
    if (params.DocumentType) and (params.Facility_ID){
    dsDocumentsByType.setXPath("/root/row[DocumentType =
    '"+params.DocumentType+"' and Facility_ID=
    '"+params.Facility_ID+"']");
    dsDocumentsByType.loadData();
    Any ideas what I did wrong?

    Try using:
    if ((params.DocumentType) && (params.Facility_ID))
    That worked for me...
    Don

  • Different roles depending of URL?

    Hello,
    we want to implement access to our Portal EP 6.0 SP9 from Intranet and Internet.
    User should get different roles depending the URL.
    Example:
    Intranet URL: http://server:50000/irj/portal -> role A
    Internet URL: https://domain.de/portal -> role B
    Reason is security, critical systems are only in role B.
    How can I do that?
    Thanks
    Frank

    Frank,
    my I propose a different approach? I looks as if you want to separate internal users (entering without proxy server) and edxternal users (coming through a proxy). Why not simply create an additional authentication scheme for internal users (probably the higher priviledged ones). Build a custom login module that checks the origin of the user (internal/external, e.g. based on the request's IP address).
    Now, you have two authschemes, say "internal" and "external". Assign "internal" a higher priority value than "external" and assign this authscheme to all critical content.
    Thus, all users that want to access this content, need to pass the "internal" authscheme. Users coming from external willl fail this test and thus can't access the critical content.
    Hope this helps you. If so, please mark this question as closed and reward points. Otherwise give some lines why this is not helpful for you - or if you need further assistance.
    Regards,
    Dominik

  • Using 3 url params

    Hi all,
    I need to filter my data using 3 url params my code is
    I am using the xpath, I am not getting any error however the
    image doesn't come on the page
    var dsImage = new Spry.Data.XMLDataSet("events.xml",
    "events/");
    var params = Spry.Utils.getLocationParamsAsObject();
    if
    ((params.year)&&(params.event)&&(params.image)){
    dsImage.setXPath("year[id = '"+params.year+"'] &&
    year/event[id = '"+params.event+"'] &&
    year/event/images/image[id = '"+params.image+"']");
    dsImage.loadData();
    Any ideas would be really appreciated

    Ok guys,
    I used this piece of code instead and works fine
    var xpath = "/events/";
    var params = Spry.Utils.getLocationParamsAsObject();
    if
    ((params.year)&&(params.event)&&(params.image)){
    xpath = "/events/year[@id = '"+params.year+"']" &&
    "/events/year/event[@id = '"+params.event+"']" &&
    "/events/year/event/images/image[@id = '"+params.image+"']";
    var dsImage = new Spry.Data.XMLDataSet("events.xml",
    xpath);

  • Can URL Params work with HTML Datasets?

    Hi there,
    I am building a portfolio using spry, I am using an html dataset not an xml dataset and I want to be able to pass a url param to link to a specific portfolio item.
    I have seen this example: http://labs.adobe.com/technologies/spry/samples/data_region/DataWithURLParams.html but can't seem to get it working using an HTML dataset.
    Can anyone tell me if this is possible to do using the HTML dataset?
    Here is the page:
    http://www.studioabsolute.com/dev/websites.php?row=0
    I would like to pass row=1 or row =2, etc... so that I can link to a specific item.
    Thanks in advance to anyone who know the answer!

    Hi,
    Have a look at your
    http://www.studioabsolute.com/dev/SpryAssets/SpryURLUtils.js
    file on the remote server and compare that with a virgin copy straight from Adobe.
    Once you have replaced the above file you will notice that it works without a hitch as it did on my server when tested.
    Wishing you better succes for the future.
    Ben

  • Get Url from all tabs

    Hello,
    I feel like this is something simple but I cannot write a correct script to do it.
    How would I write a script that just gets the urls of all tabs in safari?
    then if one exists, it selects that tab to be opened.

    Would It be easier that instead of telling safari to open that tab if it exists, to set the beginning part of my script that gets info from safari to get info from all tabs, for a specific tab only?
    I don't understand your goals to be able to tell you what you want. Given what you've said in earlier posts it sounded like you wanted to see if a particular URL was present in any tab and if so activate it. That doesn't seem to be the case any more. You'll need to more clearly explain what you're trying to do in order to progress.
    I purchased a book http://apress.com/book/view/1430223618 which I am going to use to better help me make applescripts as well as cocoa-applescript applications in xcode. Do you think this book will be able to help, or is there another I should look at?
    That book, like most others, covers a lot of the theory behind AppleScript - the concepts behind AppleScripts/Apple Events, and things like handlers, process flow, etc.
    It will not tell you how to do what you want, because what you want is something very specific - unique, even. What it might do is give you the fundamental building blocks to work out how to build your script to do what you want. For example, I've shown you some examples of how to find out what tabs are present, how to activate a tab, how to switch windows, etc. The book might do the same thing (albeit spread throughout several chapters). It's a matter of putting that together in a way that achieves your goal.

  • Weblogic security: coping URL into other tab

    Hi,
    We have two Weblogic servers on two phisically different locations.
    First of them, WLS A, have perfect security. When you login into any application that is deployed on it, and try:
    - copy URL into another tab or browser window, you are getting returned at login page
    - when you close browser (without logout), and try to start application from history, you are getting login page, again
    So, URL that you have when you enter the application is absolutely useless. Closing the browser, or tab with application have practicaly same meaning as logout.
    Second of them, WLS B, have not that security. When you login into any application that is deployed on it, and:
    - copy URL into another tab or browser window, you are getting application without need to login! So that URL can be very dangerous, because it is possible to misuse it, if the user don't make logout
    - closing browser without logout: it is possible to find out the URL in history and go back into application without login!
    It is obvious that the problem is some setting on weblogic server. We tried to compare the settings on WLS A and WLS B but we have not found the setting that we have search for. The programmer that have found and set that property on WLS A working not more in our company.
    Can anybody help, we will be very greatful!
    Thanks,

    Hi,
    The authenticate method would take the user and the password details from the environment
    (env) that is passed and after successful authentication would populate the subject with
    the principals (i.e user, group the user belongs to ..)
    It should work with any user that is defined in the WLS not just weblogic/weblogic.
    Do you have any other users defined and which group do they belong to?
    Vimala
    Khalid Rizvi wrote:
    I am playing (learning) with weblogic.security.auth.login.UsernamePasswordLoginModule
    as a LoginModule using JAAS based authentication. Surprisingly, the only userid
    and password combination acceptable is uid=weblogic, pw=weblogic combination.
    I went through and looked at the example code under
    http://e-docs.bea.com/wls/docs70/security/cli_apps.html#1042212. I found that
    the UsernamePasswordLoginModule.login calls into
    if (url != null) {
    Environment env = new Environment();
    env.setProviderUrl(url);
    env.setSecurityPrincipal(username);
    env.setSecurityCredentials(password);
    try {
    Authenticate.authenticate(env, subject);
    Seems like UsernamePasswordLoginModule only is a router, as it instantiates an
    instance of Environemt using the userid and password and passes this Environemtn
    instance (env) to Authenticate.authenticate along with the empty Subject instance.
    I read about that the Subject instance will be filled in with Principals by the
    WL Server.
    My question is that firstly,
    1. As Authenticate.authenticate is not passed in the uid and pw, will it pick
    those from the env?
    2. Secondly, why does it only accept uid=weblogic & pw=weblogic.
    I will appreciate if some one can put me in the right direction.
    Khalid R. Rizvi
    508-641-1192
    [email protected]

  • How to attach a URL to a TAB

    I am trying to figure out how to get to a BC4J application from a TAB on my portal corporate page. This is just a test.
    My experience thus far with the UI of PORTAL is the it LEAVES MUCH TO BE DESIRED! It feels like something from the 1970's.
    Anyway, does anyone know how to attach a URL to a TAB?
    Thanks,
    Bill G..

    Bill,
    Was a solution found??

Maybe you are looking for

  • Generate accounting document for cancel of credit memo

    Hii Guy, Need your help to solve this problem. My user have perform VK11 to cancel of credit memo. in the sales order document flow, the status is OPEN. my user cannot perform creating of accounting document for this cance of credit memo. what are th

  • 'peek' Glance on my 928 doesn't work

    I just recently noticed that the peek glance screen isn't working for me any longer. When I turn the screen off with the button, then the glance screen shows the time. But after a few minutes, it goes away (as expected.) If I put my hand over the pho

  • Composite Primary Key using  cmp

    How can an Entity Bean with Composite Primary Key using Container Managed Persistance (CMP) be Deployed using in WebLogic Server 8.1 pls help me

  • Phone stuck in Recovery Mode - cannot restore (error code 9)

    Help. I tried to update my iPhone to the latest software and instead of doing this it has now gone in to Recovery Mode (with the yellow triangle and the message to connect to iTunes). When I reconnect it to iTunes it tells me that I have to restore t

  • CNN PipeLine for the Mac! -- sorta: Parallels

    Awesome!!!! I have wanted to run CNN PipeLine on a Mac since it first came out. The Mac version is amazingly weak when compared against the Windows version, since the thing is written mainly for the Windows world. Now I can... This MacBook is certain