How to set visible property to href link

Hi All,
I want to open the new jsp page in the new tab when will we click on the link in my ADF application.So i tried like this.
<af:column id="pt_c115" >
<a id="JspLink" href="AuditLogInfo.jspx" target="_blank">JspLink</a>
</af:column>
Im able to view my new jsp page when im click on JspLink link.But here my problem is i have nee to set the visible condition if the 'status' field of adf table is succes only i want to view the link other wise no need to visible my link.
visible="#{row.bindings.Status.inputValue=='SUCCESS'}" is working for commandbutton.But i'm not able to see any visible property in <a id="JspLink" href="AuditLogInfo.jspx" target="_blank">JspLink</a> .How can i set this condition?Please help me.I'm using JDeveloper 11.1.1.5 version.
Thanks in Advance!
Edited by: 851924 on Apr 5, 2012 11:22 PM
Edited by: 851924 on Apr 5, 2012 11:23 PM

Instead of using a jsplink you should use an af:goLink which is the adf equivalent and has all the needed properties.
Timo

Similar Messages

  • How to Set "DateOnly" property in DateTimeControl using Javascript.

    How to Set "DateOnly" property in DateTimeControl using JavaScript.

    Is there any specific reason you want to set it through JavaScript ? You can directly set the DateOnly property in the markup itself.
    <SharePoint:DateTimeControl runat=server id="dtControl" DateOnly="true"></SharePoint:DateTimeControl>
    Please can you elaborate on what exactly is the requirement for setting this through javascript?
    Geetanjali Arora | My blogs |

  • How to set updatable property of view object on runtime

    Hello Gurus,
    I am new in adf and using jdev 11.1.2.3.
    I have two view object which has view link and they are based on entity object. In master view i have a column with the name of status. The target is if the value of status is 'active' then i want to allow add rows in detail view and if it is inactive then wants to disable adding or editing in the detail view.
    I don't know how to do this. I don't know how to get the other view object and how to set update able property and where to write code in entity object class or view object class.
    Any advice................
    Thanks in Advance

    There are multiple possible ways to archive this. As the VOs are in a master-detail relationship, you can opt to add a navigation method to the child back to the parent. This method can be accessed via java or groovy to allow the child access to the master row. Once the child has access you can use this to ask the master for it's status and if it's not active disable the edit and update buttons.
    If both master and detail are on the same page in the ui, there is an easier way. Drag the status attribute from the master table onto the page as e.g. inputText. This will create a binding for the attribute which changes if you select a row in the master table. As you don't need to inputtext, switch to the source mode of the page and delete it. This will remove the inputtext put keep the binding. Now you can use hte binding in an EL to set the disable property of other components to true like
    <af:commandButton text="commandButton 1" id="cb1" disabled="#{bindings.masterstatus.inputValue ne 'active'}"/>
    The button will only be active it the binding for masterstatus is active.
    Timo

  • How to Set Individual Managed Metadata Navigation Links to Open in New Window?

    I am using a managed metadata term set for the global navigation in my client's site. Most of the global navigation links point to pages in the current site, and should open in the current browser window/tab as the end user is just navigating within the
    site content. However, I have one particular node in the navigation term set that points to related content scattered around other external sites. The client wants these links to open a new window.
    Unfortunately, I can't seem to set the target for navigation links in the term set. If I was using standard global navigation, I'd be able to select the "Open in new window" checkbox when setting up the link, but that option doesn't appear to be
    supported via MMD navigation.
    Any clever suggestions?
    Thanks!

    I had a similarish requirement at a client once upon a time, they wanted any links that went outside of the intranet web applications to open in a new window.
    The way we managed that was to use jQuery to overwrite the standard hyperlink references for any hrefs that didn't point to internal sites to use the same javascript functions that SharePoint used for links configured to open in a new window. It worked out
    as being about half a dozen lines; check the URL and if it doesn't begin with a set range of options then overwrite the on click behaviour using standard jQuery behaviour.
    If you want it site wide then you just add jQuery and the code snippet to the master page, if you just want it in some places then add a CEWP or a HTML form web part to the relevant pages.

  • How  to Set JMS property and Read JMS property in BPEL using JMS adapter

    Does any one know how to set or read more than one JMS property in BPEL using JMS adapter. My queue server is Oracle JMS server.
    Any help and sample is well appreciated

    Hi Van
    I have noted that only the attribute "type" is missing. It seems that when you create a "string" property, the attribute "type" is droped from the XML. If you use another type (as "integer" or "double") it stays there.
    If you try to read your properties, except for the "type" attribute, you should be successful, as I am. If you need, please tell me your email, I can send you my code.
    Source Code:
    in ASSIGN activity (process which SENDS the JMS message):
    <assign name="TESTES">
    <copy>
         <from expression="'string'"/>
         <to variable="HeaderJms" part="outboundHeader"
         query="/ns5:JMSOutboundHeadersAndProperties/ns5:JMSOutboundProperties/ns5:Property[1]/@type"/>
    </copy>
    <copy>
         <from expression="'name'"/>
         <to variable="HeaderJms" part="outboundHeader"
         query="/ns5:JMSOutboundHeadersAndProperties/ns5:JMSOutboundProperties/ns5:Property[1]/@name"/>
    </copy>
    <copy>
         <from expression="'value1'"/>
         <to variable="HeaderJms" part="outboundHeader"
         query="/ns5:JMSOutboundHeadersAndProperties/ns5:JMSOutboundProperties/ns5:Property[1]/@value"/>
    </copy>
    <bpelx:append>
         <bpelx:from>
         <Property name="" type="" value=""
              xmlns="http://xmlns.oracle.com/pcbpel/adapter/jms/"/>
         </bpelx:from>
         <bpelx:to variable="HeaderJms" part="outboundHeader"
              query="/ns5:JMSOutboundHeadersAndProperties/ns5:JMSOutboundProperties"/>
    </bpelx:append>
    <copy>
         <from expression="'string'"/>
         <to variable="HeaderJms" part="outboundHeader"
         query="/ns5:JMSOutboundHeadersAndProperties/ns5:JMSOutboundProperties/ns5:Property[2]/@type"/>
    </copy>
    <copy>
         <from expression="'name2'"/>
         <to variable="HeaderJms" part="outboundHeader"
         query="/ns5:JMSOutboundHeadersAndProperties/ns5:JMSOutboundProperties/ns5:Property[2]/@name"/>
    </copy>
    <copy>
         <from expression="'value2'"/>
         <to variable="HeaderJms" part="outboundHeader"
         query="/ns5:JMSOutboundHeadersAndProperties/ns5:JMSOutboundProperties/ns5:Property[2]/@value"/>
    </copy>
    </assign>
    in ASSIGN activity (process which READS the JMS message)
    <assign name="Assign_1">
    <copy>
    <from variable="Variable_1" part="inboundHeader"
    query="/ns3:JMSInboundHeadersAndProperties/ns3:JMSInboundProperties/ns3:Property[10]/@name"/>
    <to variable="temp"/>
    </copy>
    <copy>
    <from variable="Variable_1" part="inboundHeader"
    query="/ns3:JMSInboundHeadersAndProperties/ns3:JMSInboundProperties/ns3:Property[10]/@value"/>
    <to variable="temp"/>
    </copy>
    <copy>
    <from variable="Variable_1" part="inboundHeader"
    query="/ns3:JMSInboundHeadersAndProperties/ns3:JMSInboundProperties/ns3:Property[12]/@name"/>
    <to variable="temp"/>
    </copy>
    <copy>
    <from variable="Variable_1" part="inboundHeader"
    query="/ns3:JMSInboundHeadersAndProperties/ns3:JMSInboundProperties/ns3:Property[12]/@value"/>
    <to variable="temp"/>
    </copy>
    </assign>
    Note that I do not try to read the "type" attribute, otherwise it will fail.
    Here is the JMS Header Message received:
    <inboundHeader>
    <JMSInboundHeadersAndProperties xmlns="http://xmlns.oracle.com/pcbpel/adapter/jms/">
    <JMSInboundHeaders>
    <JMSCorrelationID>
    bpel://localhost/pi_lms-c001e/BpelPiAtualizacaoC001E~1.0/3200025-BpInv0-BpSeq1.6-2
    </JMSCorrelationID>
    <JMSDeliveryMode>2</JMSDeliveryMode>
    <JMSExpiration>0</JMSExpiration>
    <JMSMessageID>ID:467DFA1FA1ED459EBF37F51F596C3F12</JMSMessageID>
    <JMSPriority>4</JMSPriority>
    <JMSRedelivered>false</JMSRedelivered>
    <JMSType>com.mercurio.lms.integration.c001eip.c001EIntegrationPoint</JMSType>
    <JMSTimestamp>1201552046253</JMSTimestamp>
    </JMSInboundHeaders>
    - <JMSInboundProperties>
    <Property name="JMSXDeliveryCount" type="integer" value="1"/>
    <Property name="JMSXRecvTimestamp" type="long" value="1201552046698"/>
    <Property name="JMSXUserID" value="lms_dev_int_v1_user"/>
    <Property name="JMS_OracleDeliveryMode" value="2"/>
    <Property name="JMS_OracleTimestamp" type="long" value="1201552046253"/>
    <Property name="JMS_OracleDelay" type="long" value="0"/>
    <Property name="JMSXState" type="integer" value="0"/>
    <Property name="IAS_VERSION" value="10.1.3"/>
    <Property name="JMS_OracleDeliveryMode" value="2"/>
    <Property name="name" value="value1"/> ("type" attribute was droped!!!)
    <Property name="JMS_OracleTimestamp" type="long" value="1201552046253"/>
    <Property name="name2" value="value2"/> ("type" attribute was droped!!!)
    </JMSInboundProperties>
    </JMSInboundHeadersAndProperties>
    </inboundHeader>
    Regards
    Marcelo

  • How to set cursor property from "snap-to-plot" to free?

    dear all,
    is there any one know how to set a cursor property from "snap-to-plot" to "free"?
    this cursor is in a XY graphy
    i couldn't find coresponding property in the XY graph property node
    thank you
    Jack

    It looks like there are different property names depending on your labview version.
    You need to select the ActCrsr and then use the Cursor.Lockstyle property in LV7.1
    You need to select the ActCrsr and then use the Cursor.CursorMode property in LV8.2.

  • How to set Bean property

    I have JSF input <h:inputtext> and JSF Button
    on click i want to set bean property value = user whatever enter in text box how acn i do that?

    well,
    You have to create backing bean with property setter and getter.
    Then:
    <h:inputtext value="#{beanName.propertyName}"/>Now when page is loaded getter is used and when submited setter goes in action
    I would recomend http://www.coreservlets.com/
    Message was edited by:
    m00dy

  • How to set bean property in jsf page

    Hi,
    Hopefully theres an easy solution, but I can't figure it out...
    I have a managed bean that spans several jsf pages.
    Within each page I want to set a flag that tells the bean which page it is serving (as well as some other params).
    How do I set a property of the bean in the page?
    I've tried
    <jsp:useBean id="filter3" scope="request" class="com.aol.rsistats.ui.FilterBean"/>
    <jsp:setProperty name="filter3" property="filterType" value="3"/>
    but that doesn't load the page through the normal JSF routine (and I initialise some values of the bean in the faces-config.xml file... so these are not initialiased when the setProperty is called) .
    (In general I get some strange behaviour when I mix jsf tags with jsp, or jstl, so I've avoided it as much as possilble)
    Is there another way?
    Cheers,
    Keith

    This example works for me (using jsf-1_1_01).
    Index.jsf:
    <%@ page contentType="text/html; charset=UTF-8" %>
    <%@ page language="java" %>
    <%-- jakarta-taglibs-standard-1.0 --%>
    <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
    <%--
    Note, that with jakarta-taglibs-standard-1.1.1 taglib directive
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    the example NOT works!!!
    --%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <html>
    <head>
    <title>MyTitle</title>
    </head>
    <body>
    <f:view>
    <%--
    Do not delete the following lines! You need to address to WIManager before using c:set.
    --%>
    <!--
    <h:outputText value="#{WIManager != null}"/>
    -->
    <c:set target="${requestScope.WIManager}" property="bpId" value="bpIdValue"/>
    <h:form id="MyWebFormTask" >
    <h:commandButton id="ok" action="ok" value="Ok"/>
    <h:inputHidden id="bpId" value="#{WIManager.bpId}"/>
    </h:form>
    </f:view>
    </body>
    </html>
    ok.jsf:
    <%@ page contentType="text/html; charset=UTF-8" %>
    <%@ page language="java" %>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <html>
    <head>
    <title>MyTitle</title>
    </head>
    <body>
    <f:view>
    WIManager.bpId: {<h:outputText value="#{WIManager.bpId}"/>}<br>
    </f:view>
    </body>
    </html>
    In ok.jsf I can see WIManager.bpId property set in Index.jsf.
    faces-config.xml:
    <managed-bean>
    <managed-bean-name>WIManager</managed-bean-name>
    <managed-bean-class>my.package.WIManagerBean</managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    <managed-property>
    <property-name>bpId</property-name>
    <property-class>java.lang.String</property-class>
    <value>#{param.wim_bpid}</value>
    </managed-property>
    </managed-bean>
    Resume:
    -- use <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
    instead of <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    -- address to WIManager before using c:set.

  • How to set photometricInterpretation property while storing TIFF using JAI?

    I am converting JPG Grey Sale image in to bilevel image and saving in TIFF format with Group IV compression.
    When I view the output TIFF, some applications displaying it properly and some others by inverting the image.
    After a long time, I found that photometricInterpretation property is used to control this property of White_on_Black or Black_on_White in TIFF files.
    In web I have found that, if we use IndexColorModel, then there is no problem. But, I am not using it and I don't know how to set color model of RenderedOp to IndexColorModel. Did anybody know it?
    Is there any other way to set the PHOTOMETRICINTERPRETATION property ?
    Any solution or suggestions are welcome...
    Edited by: baskaraninfo on Nov 20, 2007 7:20 AM

    To view the solution :
    http://www.javaworld.com/javaforums/showflat.php?Cat=2&Number=70133&an=0&page=0#Post70133

  • Non-Script Way of Setting Visible Property

    Why hello there!
    I am looking to set the "visible" property of a movie clip in
    the Flash CS3 designer, as opposed to using AS3.
    In my movie, I set a movieclip to invisible in code
    immediately. However, I sometimes see the artefact of the image for
    a split-second on running the swf in my browser. I would therefore
    like to set the property in the designer.
    I am guessing that there is not a way of doing it. Are there
    any suggestions?
    I'm now considering setting the alpha value to 0 in designer,
    and then setting the alpha value to 1 in code when I need to be
    able to see the mc.
    Raffi.

    Hey kglad,
    I appreciate the prompt response. Sorry I wasn't clear enough
    in my initial message.
    I am simply looking to be able to set, say, a rectangle
    primitive to invisible without having to set in the code. At the
    moment, I am setting the visible property to false in the first
    frame in the code. However, as a result, I sometimes (not
    frequently) see artefacting when I run my movie. The rectangle very
    momentarily appears before disappearing.
    Raffi.

  • How to set IE property to automatically SAVE AS?

    In my JSP page, I want to set IE property to automatically trigger OPEN - SAVE AS - CANCEL message box.
    Because I am trying to open a ralitively big file (15M), but it takes too much time for the client browser to show the file, about 20 minutes.
    Any other good idea will be appreciated as well.
    Thanks

    you'd need to include a header in the response:
    response.setHeader("Content-Disposition", "attachment; filename=\"the file name\"");

  • Set visibility property for items depending on other items

    Hello,
    I want to set the visibility setting for an item that I have, the steps should be as the following,
    for example
    if I have an item that asked,
    do you have children ?
    if the answer is Yes,
    the next item should be visible which let's say, number of  them
    if no,
    the next item should be not visible
    I tried to set a trigger for the item I am controlling its visibility which is
    pre-text-item and wrote
    if 'CHEQUE_TABLE.CHEQUE_RECIEVED'='yes'
      then
      set_item_property(:SYSTEM.CURRENT_ITEM,visible,property_true) ;
    else
      set_item_property(:SYSTEM.CURRENT_ITEM,visible,property_false) ;
      end if;
    but it doesn't seem to be right, ,,,
    thank you

    I can see two potential problems.  The first:
    if 'CHEQUE_TABLE.CHEQUE_RECIEVED'='yes'
    Does CHEQUE_TABLE.CHEQUE_RECEIVED refer to a Data Block and Item?  If yes, then you are trying to tell Forms to look at the value of the string 'CHEQUE_TABLE.CHEQUE_RECEIVED' when you should be refering to the value of the Block.Item through direct reference, eg:
    IF :CHEQUE_TABLE.CHEQUE_RECEIVED = 'yes'
    How is the value of CHEQUE_RECIEVED set?  Does the user select the YES value from a List of Value (LOV) or from a Poplist or do they enter the value by typing it in?  If your code is looking at the string 'yes' and comparing it to the value of the Block Item which is in upper or mixed case, then 'yes' = 'Yes' or 'yes' = 'YES' will evaluate to FALSE instead of TRUE.
    It is always a good idea to use a Poplist or a List of Values when you are expecting specific values to be entered by the user; this enables you to force the value to be entered the same by everyone.  If the user CAN type the value in, then at least set the Case Restriction property to UPPER or LOWER so regardless of how the user enteres the value, it will be stored in the corrected case.
    Craig...

  • How to change visibility property of a VC iView by clicking of a BI iView?

    Hi all!
    I have created four iViews: two speedometers with web application designer and two iViews with visual composer. I added the speedometers and a visual composer iView #1 to a portal page (default view). The requirement is that by clicking the speedometer #2, the visual composer iView #2 would replace visual composer iView #1 on the portal page. If the user then would select the speedometer #1 again by clicking it, visual composer iView #2 would replace #1 again and so on.
    I have read article http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50b65a5d-f397-2910-a78a-f5544f21c33b?quicklink=index&overridelayout=true, but it is more about filtering VC iView values with BI web items. I don't need to filter anything, just to change one iView to another in a portal view by clicking a third one. How can I check what values my web application with Z_SERVICEOUTBOUND template is transfering to VC?
    One solution might be¨to transfer any value to VC by clicking a speedometer and to change the visibility of the VC iViews according to that value (the speedometer #1 should in that case transfer other value to VC than speedometer #2). I don't know if that is possible with speedometers - you can't reference any characteristics or variables with it.
    If you have an idea, what would be the best way to accomplish this requirement, I would be very glad to hear about it! We are in VC 7.0.
    Points garanteed!
    Regards
    Sari

    Hi
    Since you are accesing the node containing the 'VISIBILITY' attribute you can use the following method to set the value
    lo_el_visible->set_attribute(
    exporting
    name = `VISIBILITY`
    value = 01 ). ""01 - none,02-visible
    and remove this code
    wd_context->set_attribute( EXPORTING name = 'VISIBILITY' value =
    abap_false ).
    Regards
    Tamil
    Edited by: Tamilselvan K on Aug 6, 2008 2:40 PM

  • How to set JMSXAppId property?

    HI,
    I would appreciate help in how to populate (directly of indirectly) the value of JMSXAppID property in the outgoing jms messages. I need to put our application name there and setStringValue("JMSXAppID", "foo") on the message object fails with exception.
    Thanks a lot in advance

    Thanks for the reply. I am getting the following exception:
    javax.jms.MessageFormatException: MQJMS1058: Invalid message property name: JMSXAppID
    at com.ibm.jms.JMSMessage.newMessageFormatException(JMSMessage.java:4557)
    at com.ibm.jms.JMSMessage.setStringProperty(JMSMessage.java:5505)
    My provider is MQ Series and it sets the value for JMSXAppID as "hereICS422\jre\bin\javaw.exe". Where does it get it from? How can I overwrite it for every message that my application sends to the queue?
    Thank you,
    Gregory

  • How to set ListItem Property using COM

    How do I set the CheckoutUser property of a document contained within a document set??  I can get the document, and reference all its properties, just not sure how to go about setting them using C# and the Client Object Model.....

    Hi Andy,
    The
    CheckoutUser field mentioned above should be Person or Group type, you can check if you can assign a User value to this field per the following similar post.
    http://social.msdn.microsoft.com/Forums/en-US/5183e87c-ee1d-4594-9492-0dfdf6616cce/sp2010-client-object-model-how-to-assign-a-value-to-a-peoplepicker-field
    Thanks
    Daniel Yang
    TechNet Community Support

Maybe you are looking for