Target attribute in commandLink tag

Hi all,
I am new to JSF.
I am specifying the value of a target attribute in commandLink directly with the name of the frame in which resulting jsp has to be displayed. But it is still displaying the resulting jsp in the same frame where i have the commandLink tag.
please let me know how i can set the target attribute value in command link tag.
Thanks,

Hey, I mean in terms of your HTML Templates.
I am guessing your not using that at all and its manually entered into the html.
If you do not see something along the lines of {module_menu} but just html with a <div id="nav">and a ul li element with menu items in it then its just static.
You would have to update the templates with the correct menu module tag which has the right ID for the menu and then you would need to update the CSS and javascript too so it all works.
If it turns out the module is in there but has a bit like version="2" I can then show you what you need to update there.
Have a look in your templates around where the menu is in the HTML, what do you see?

Similar Messages

  • Netui: anchor tag with target attribute.

    I am using the netui:anchor tag inside an iframe to post to an action. But the
    resulting page is displayed within the iframe. Will the target attribute of the
    netui:anchor tag help solve the problem. What is a valid value of the target
    attribute.
    thanks,
    Shankar

    does the action have a formSubmit = true? If not then your modal dialog should be shown via the onclick and you have to javascript the link click (based on your modal dialog options)
    If you do have a formSubmit=true, then you'd have the onclick show the modal dialog and you would have to write additional javascript to submit the form (Along with setting its action)
    regards
    deepak

  • Link action (CommandLink): target attribute doesn't work

    I want to use a link action to pop up another JSF page, so I set its target attribute to _blank, and in its event handler,  I return the other jsf page.  However, the other jsf page doesn't open in a new window, it just replaces the current page in the existing window.  Why?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Hi,
    The way to open a new window is to make use of the javascript function window.open. This can be used on click event for the hyperlink action. The link action does not allow the usage of the above mentioned method.
    Thanks,
    RK

  • Target attribut for h:form tag : does it work ?

    Hi,
    I work with 2 HTML frames (top and bottom). I display a table with link in each row in the top frame. When I click on a link, target attribut says "display the result content of the submit action in the specified frame". The specified target is the bottom frame. But, when I click on a link, the whole content of the list is displayed again in the specified target frame ... what I don't want. What bad side effect does the target attribut hide ? Does this attribut well supported ?
    Thanks.

    ...

  • Target attribute in BC Dynamic menus?

    Question:
    Is it possible to add a target attribute to a link that appears in a BC dynamic menu?  I'm adding a few things to external sites and want a new tab / window opened ("_blank") rather than the default ("_self" ) behavior.  Can this be done?
    Answer:
    If you go to Site Settings -> Menu -> select a menu and then click on the menu item you want to open in a new window, you'll find a Target Frame field on that page. You need to place _blank into that field and it will be rendered on the frontend as a target="_blank" attribute.

    Hey, I mean in terms of your HTML Templates.
    I am guessing your not using that at all and its manually entered into the html.
    If you do not see something along the lines of {module_menu} but just html with a <div id="nav">and a ul li element with menu items in it then its just static.
    You would have to update the templates with the correct menu module tag which has the right ID for the menu and then you would need to update the CSS and javascript too so it all works.
    If it turns out the module is in there but has a bit like version="2" I can then show you what you need to update there.
    Have a look in your templates around where the menu is in the HTML, what do you see?

  • Indesign library drag drop looses xml attributes of Table tag

    Hi all,
         I have created a Table with 1 row and 3 coloumns, I have text in all 3 cells. I have attaced xml tags to cell text and after that I have added attibutes to Story tag, Table tag and Text tag.  I have drag this table frame to Indesign library to save it for further use.
         When I tried to drag it back to document the Table tag attributes are missing. This is happening on Indesign CS4 Win and Mac.
    I have saved required information in the xml attributes of table tag and since its attributes are missing after drag from library I am not able to use library of Indesign.
    Is this an issue with Indesign CS4?
    -Rahul Dalvi.

    Hi All,
         I am still waitng for the reply. I have attached 2 files here, first one is the Indesign document 'TableXMLTags.indd' having a tagged table. second one is the Library file 'TableXMLtagLibrary.indl' in which I have draged table from 'TableXMLTags.indd'. When I tried to drag that table from library to any document it just loses attributes of Table tag. Here each tag has 3 attributes attached to it.
    I am using Indesign CS4 on Windows and Macintosh.
    Please let me know if there is any way to avoid tag attribute loss.
    Thanks,
    Rahul Dalvi.

  • Target attribute table RA_XELLERATEUSER2 is empty.

    Hi All,
    I am "Still" getting this error. I thought I would wake up a post to try again and see if anyone else has run into this. another piece of info here is the app is deployed as an MDB and processing xml from a topic
    and the xml is parsed used for the recon event. Creating the recon event works fine. it's processReconciliationEvent that fails.
    Caused by: oracle.iam.platform.utils.SuperRuntimeException: -101: Error occurred in XL_SP_RECONEVALUATEUSER while processing Event No 145 Error occurred in XL_SP_RECONREQDATACHECK while processing Event 145 Target attribute table RA_XELLERATEUSER2 is empty.
    trying to either
    reconOp.processReconciliationEvent(eventKey);
    or
    reconOp.finishReconciliationEvent(eventKey);
    after success from
    eventKey = reconOp.createReconciliationEvent(objectName, reconMap, true);
    This code will work flawlessly when its running in batch on a remote machine. as soon as I put it in a weblogic managed server running on the same machine with the oim managed server I start getting this error.
    I looked at the stored proc and basically XL_SP_RECONREQDATACHECK is trying to lookup the recon event just created and says it cant find it. as soon as I see the error I can run the query and the record is there.
    there is no change in the code or the data only the environment.
    I also put the process call in a retry loop and sleep a few seconds. I still get the error(s) but it does seem to eventually link up.
    also, I setup a seperate little batch program to call reconOp.processReconciliationEvent(eventKey); given an event key from the command line and that
    works also on the previously failed event.
    any ideas on this strange problem?
    Thanx in advance.
    Fred
    Edited by: Foresterf on Aug 12, 2011 6:40 AM

    Hi Jay,
    I think that the value was overwritten by the User Library. Now I've created a dedicated global attribute to the target system with your condition and everything works correctly.
    activeSync:
    <Field name='global.ADfirstname'>
    <Display class='Hidden'/>
    <Expansion>
    <ref>activeSync.firstname</ref>
    </Expansion>
    <Disable>
    <eq>
    <ref>activeSync.firstname</ref>
    <ref>waveset.attributes.firstname</ref>
    </eq>
    </Disable>
    </Field>
    Resource Form:
    <Field name='accounts[$(RESOURCE_NAME)].firstname'>
    <Display class='Text'>
    <Property name='title' value='firstname'/>
    </Display>
    <Default>
    <ref>global.ADfirstname</ref>
    </Default>
    </Field>
    Thank you,
    David.

  • What is the use of version attribute in jnlp tag??

    Hello,
    I want to know what is the use of version attribute in jnlp tag.
    For ex:
    <jnlp spec="6.0+" codebase="$$codebase" href="$$name" version="1.1">
    </jnlp>
    In the spec it explains:
    In the Jnlp tag:
    version = The version of the application being launched, as well as the version of the JNLP file itself.
    1. Is this version attribute would work as version attribute in jar tag. Ex: <jar href="application.jar" version="1.1"/> ?
    i.e. can we specify different jnlp's with the same name as we do for jar's with the help of version.xml.
    Any help is greatly appreciated.
    //Anjali

    Hi Reddy,
    If one Info Object depends on another info object we will make that dependent info object as a compounding attribute of main Info object.
    Eg: Storage Location – Plant
    In above eg there is no meaning of Storage Location without Plant. So, we will make storage location as compounding attribute of Plant.
    Regards,
    Sreehari.

  • How to use cm_nodeName attribute of search tag in content queries ?

    hello,
    i want to know about cm_nodeName,cm_path attributes of search tag.Actually i want to directly reterieve concerned node,so that content should be directly reterieved from that node and it should not search into all the present nodes in repository,to improve performence.
    Problem is that above mentioned tags are not working.
    Peply as soon as possible

    You could always write your own authenticator (i do not know if you can configure BEA directly)

  • "Unterminated value for attribute '' in XML Tag ''.(SBL-UIF-00265)"

    Getting this message when I do Edit Web Layout for a view in Siebel tools 7.8.2 "Unterminated value for attribute '' in XML tag ''.(SBL-UIF-00265)"...Anyone have any idea why I am getting this message?

    Thanks Joseph,
    Actually I looked at the Refer ID 1280569.1 before also, some how I could not figured it out the exact location as I was searching for two "(double quotes).
    Today I tried again and finally I found out the culprit. In my case actually there was no two double quotes, instead the " (double quote) was missing.
    Thanks again.
    Edited by: user624054 on Oct 5, 2011 8:10 AM

  • Firefox removes href attribute from anchor tag on copy paste

    Hi Support,
    I have a text along with the image used as a hyperlink as follows.
    "Sample Text.<a href="javascript:myfunction()"><img title="sample image" src="sample.gif" /></a>"
    When i copy the above text and paste it inside a HTML Control (for e.g. iframe), the control removes the href attribute of 'anchor' tag. It happens only with firefox and safari. It is working correctly in internet explorer.
    "Sample Text.<a ><img title="sample image" src="sample.gif" /></a>"
    Is there any solution for this.? Awaiting for sooner response
    Try clicking on the below link
    http://screencast.com/t/sXq6BcZvJB

    I tested this in Gmail compose, and what I see is: regular links (href="url") are preserved during copy/paste, but javascript links (href="javascript:") are dropped/cleared.
    I don't know whether this is by design. One place to research that would be [https://bugzilla.mozilla.org/].

  • [Locked] Replacing the Deprecated target Attribute

    QUESTION:  How does one replicate the behavior of the target attribute now that it has been deprecated?  My website requires that all pages that are not contained within my website open to new windows.
    DISCUSSION:  The behavior that I am trying to replicate use to achieved by setting the value of the target attribute to _blank.
    Roddy
    Please avoid this post if you are exceedingly fond of bananas.

    Of course, resizing someone's browser window is just rude. (uh oh, that's "etiquette...)
    But (and this is my personal preference) I don't want to leave a page (navigate away from it) every time I link to an "external" web page. I like being able to easily click back to a tab to reopen the principal page/site I have been looking at.
    For instance, here on the Forum, I find it mildly annoying that I have to wait for the discussion list to reappear when I press my back arrow. So I will frequently right-click and open in another tab when I'm following a user's url.
    In some way, it's like the difference between a "garden-path" sentence and getting straight to the point. A garden-path sentence leads you to believe it's about one thing, then meanders through several possible meanings, and lands on something completely different (and possibly not what you want). So, to get back to the "main path," you have a choice: either to retrace your steps (back arrow > back arrow > back arrow) or close the wayward tab and be immediately back where you want to be.
    I'd rather leave it up to the user how to do it, but I'd also like to take them by the hand and give them my option as first choice. And in the interests of my client, keeping people ON their website is helpful to them.
    External links on a website are, to me, like footnotes or asides. If the information is central to your message, it should be on your website, presented as basic information. If it is peripheral, I prefer to allow it to show up in its own tab.
    Beth

  • How to parse an attributes of a tag like HPF index = "4"

    Sorry I am very new to XML parser and I have to parse a document that look like this
      <?xml version="1.0" encoding="ISO-8859-1" ?>
    - <FideLice>
    - <Channel index="0">
      <BigKnob>0</BigKnob>
      <SmallKnob>0</SmallKnob>
      <FEV>0</FEV>
      <Phase>0</Phase>
    - <HPF>
      <hpf index="0">0</hpf>
      <hpf index="1">0</hpf>
      <hpf index="2">0</hpf>
      <hpf index="3">0</hpf>
      </HPF>
    - <SILK>
      <silk index="0">0</silk>
      <silk index="1">0</silk>
      <silk index="2">0</silk>
      <silk index="3">0</silk>
      </SILK>
      </Channel>
    - <Channel index="1">
      <BigKnob>0</BigKnob>
      <SmallKnob>0</SmallKnob>
      <FEV>0</FEV>
      <Phase>0</Phase>
    - <HPF>
      <hpf index="0">0</hpf>
      <hpf index="1">0</hpf>
      <hpf index="2">0</hpf>
      <hpf index="3">0</hpf>
      </HPF>
    - <SILK>
      <silk index="0">0</silk>
      <silk index="1">0</silk>
      <silk index="2">0</silk>
      <silk index="3">0</silk>
      </SILK>
      </Channel>
    </FideLice>I look at SAX parser and I dont see where I can parse out the attribute of the tag, in this case is to determine which index of <Channel> am I looking at

    hi there,
    you can override the following method:
    @Override
    public void startElement(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException
    you can use "atts" to access attributes!!!

  • Escape attributes for hidden tags

    Hi all,
    We have a migrated app that created escape attributes for some hidden tags.
    ie.
    <jato:hidden name="stBeginningCommission" fireDisplayEvents="true"
    escape="true" /> <br>
    Looking at the jato.tld and the code for HiddenTag.java, the escape
    attribute isn't one that get used for hiddens.
    We did a quick clean up and removed the attribute from the JSP but I though
    I might be worth a mention for future releases.
    It's interesting is tomcat 3.2.1 allows this and 3.2.3 does not.
    Kostas
    org.apache.jasper.compiler.CompileException:
    C:\apps\jakarta-tomcat-3.2.3\webapps\ras\ras\voyager4\pgVoucherOffTheTopNew.
    jsp(473,4) Attribute escape invalid according to the specified TLD
    at
    org.apache.jasper.compiler.TagBeginGenerator.validate(TagBeginGenerator.java
    :170)
    at
    org.apache.jasper.compiler.TagBeginGenerator.init(TagBeginGenerator.java:119
    [Non-text portions of this message have been removed]

    Dude,
    How was the holiday? Hope you had a great time. I see iRise have
    you busy again.
    Things are going well over here with bug fixing and the new work, so
    I'm ultra busy...that life. Give me a shout if you are in my part of
    town again, and we can sink a few JDs.
    Harry
    ______________________________ Reply Separator _________________________________
    Subject: [iPlanet-JATO] RE: escape attributes for hidden tags
    Author: kmorfis (kmorfis@i...) at unix,mime
    Date: 25/08/01 02:26
    I take everything back.
    The tag was originally a text field. It was changed after translation to a
    hidden without removing the attribute.
    Kostas
    -----Original Message-----
    From: Kostas Morfis
    Sent: 8/24/01 6:14 PM
    Subject: escape attributes for hidden tags
    Hi all,
    We have a migrated app that created escape attributes for some hidden
    tags.
    ie.
    <jato:hidden name="stBeginningCommission" fireDisplayEvents="true"
    escape="true" /> <br>
    Looking at the jato.tld and the code for HiddenTag.java, the escape
    attribute isn't one that get used for hiddens.
    We did a quick clean up and removed the attribute from the JSP but I
    though I might be worth a mention for future releases.
    It's interesting is tomcat 3.2.1 allows this and 3.2.3 does not.
    Kostas
    org.apache.jasper.compiler.CompileException:
    C:\apps\jakarta-tomcat-3.2.3\webapps\ras\ras\voyager4\pgVoucherOffTheTop
    New.jsp(473,4) Attribute escape invalid according to the specified TLD
    at
    org.apache.jasper.compiler.TagBeginGenerator.validate(TagBeginGenerator.
    java:170)
    at
    org.apache.jasper.compiler.TagBeginGenerator.init(TagBeginGenerator.java
    :119)
    [Non-text portions of this message have been removed]
    [email protected]
    Visit our website at http://www.ubswarburg.com
    This message contains confidential information and is intended only
    for the individual named. If you are not the named addressee you
    should not disseminate, distribute or copy this e-mail. Please
    notify the sender immediately by e-mail if you have received this
    e-mail by mistake and delete this e-mail from your system.
    E-mail transmission cannot be guaranteed to be secure or error-free
    as information could be intercepted, corrupted, lost, destroyed,
    arrive late or incomplete, or contain viruses. The sender therefore
    does not accept liability for any errors or omissions in the contents
    of this message which arise as a result of e-mail transmission. If
    verification is required please request a hard-copy version. This
    message is provided for informational purposes and should not be
    construed as a solicitation or offer to buy or sell any securities or
    related financial instruments.

  • [JS] Find & Replace attribute in xml tags (InDesign CS4)

    Hi all,
    Can anyone help me please who i can find and change attribute in xml tags (InDesign CS4) files. I have both link tags but its other attribute different but one attribute same. So who i can change attribute preference.
    (1) one is
    (2) second is
    I want change link preference = 0 but only (2 number,  second) screen shoot. First screen shoot preference = 1 as it is.
    I want this but its manually
    Help me please. Thank you so much adv.
    Regard
    snegig

    Hi John Hawkinson,
    Thank you so much for replay. I am try Jeff, absqua code technique it is simply greet. But my problem is that my both tags link preference = 1 same and other link attribute almost same. So i am unable to change attribute.
    John my code below =>
    var doc = app.activeDocument,
    attNodes = doc.xmlElements[0].evaluateXPathExpression("//link[@preference = '1' or @role = 'generated']"), i, l;
    for (i = 0, l = attNodes.length; i < l; i++) {
    attNodes[i].xmlAttributes.item("preference").remove();
    John please update my code.
    Thank you so much adv.
    Regard
    snegig

Maybe you are looking for