Coexistance/usage of ESI tags in UIX

Can I use ESI tags in UIX view definitions?

Not easily (at the current time).
You'd have to use <rawText> to get the ESI tags in, and you'd have
to add a manual <html> tag to add the "xmlns:esi" attribute into your
page. This'll be true whether you're using uiXML or UIX JSP.

Similar Messages

  • How to use custom defined tags in uix in jdevloper 10g production

    can any one give me sample application for how to work with custom defined tags in uix with jedevloper 10g production
    thanks Venkat

    Hi Venkat,
    Maybe the reason for no one answering is because of lack of information in your post? What are you trying to do? Are you using JSP or UIX XML? Have you checked the online jdeveloper documentation? Have you checked the doc available in the JDeveloper release? Before we have more information we can't help you. Sorry
    Thanks,
    Jonas
    JDev Team

  • How to using the script tag in uix/jsp?

    Do i have to write in uix/jsp:
    <uix:rawText>
    <script type="text/javascript">
    function doCheckForm()
    </script>
    </uix:rawText>
    Or exists another tag that handles the javascripts without the "rawText" script?
    Marc

    If you are declaring a function, you dont need to add it under the rawText tag. It can be added with a simple script tag at the top of the page.

  • Using invoke tag in UIX

    I need an example of how to use the invoke tag in an event on a UIX page. I tried to modify the example in the ADF UIX tutorial, but the event doesn't fire the method.

    Here's a quick demo
    <?xml version="1.0" encoding="UTF-8" ?>
    <page xmlns="http://xmlns.oracle.com/uix/controller"
    expressionLanguage="el">
    <content>
    <stackLayout xmlns="http://xmlns.oracle.com/uix/ui">
    <contents>
    <styledText styleClass="OraInstructionText"
    id="invTarg"
    text="${uix.eventResult.catenatedString}"/>
    <button text="invoke">
    <primaryClientAction>
    <fireAction event="inv"
    formSubmitted="false"/>
    </primaryClientAction>
    </button>
    </contents>
    </stackLayout>
    </content>
    <handlers>
    <event name="inv">
    <invoke javaType="mydemos.InvokeTest"
    method="catenateStrings"
    result="${uix.eventResult.catenatedString}">
    <parameters>
    <parameter value="part1" javaType="string"/>
    <parameter value="part2" javaType="string"/>
    </parameters>
    </invoke>
    </event>
    </handlers>
    </page>
    package mydemos;
    public class InvokeTest
    public static String catenateStrings(String a, String b)
    return a + " and " + b;

  • What is the equivalient tag in uix pages

    hi,
    i handling the exception using struts in uix pages. just i want to know what is the equivalent tag for <html:errors/> in uix.
    any suggestions would be appreciated.
    with rgds
    parameswaran

    hi,
    i am handling the exception handling using struts in uix pages. if the input page is the jsp page i can use the following struts-html tag.
    <html:errors/>
    But i am using the uix page as my input page. any one pls give me the equivalent tag for <html:errors/> in uix.
    any suggestions would be appreciated.
    with rgds
    parameswaran

  • Equivalent tag in uix for html:errors/

    hi,
    i am handling the exception by struts in uix pages. if the input page is the jsp page i can use the following struts-html tag.
    &lt;html:errors/&gt;
    But i am using the uix page as my input page. any one pls give me the equivalent tag for &lt;html:errors/&gt; in uix.
    any suggestions would be appreciated.
    with rgds
    parameswaran

    hi,
    i am handling the exception handling using struts in uix pages. if the input page is the jsp page i can use the following struts-html tag.
    <html:errors/>
    But i am using the uix page as my input page. any one pls give me the equivalent tag for <html:errors/> in uix.
    any suggestions would be appreciated.
    with rgds
    parameswaran

  • Usage of /br tag in report headings

    Hi all,
    as interactive reports don't wrap text natively, we use </br> in heading and everything works fine.
    Could this cause some problems to Apex?
    Thank you!

    Hi,
    You use br tag?
    It should not cause any problems. I have used it without problems since interactive reports are introduced on Apex.
    Regards,
    Jari

  • Usage of WCM tags in .jspx files

    Hi,
    Is it allowed to use wcm tags in simple .jspx files? Is this part of the wcm tags certification such that any issues with this can be raised as an SR in future.
    Regards,
    Hemant

    In general, you should be able to use WCM tags in any JSP* files - that's what the concept of SSXA is all about. See also this post by Bex Huff: http://bexhuff.com/2010/11/web-conference-oneclick-web-content-management
    When it comes to raising issues as SR - make sure you understand the licensing model. If you want to use SSXA features, you will need the UCM license for all environments that benefit from SSXA. Of course, you still can publish a SSXA site via Site Studio Publishing Utility to create a pure web site (where the license is not needed).

  • Usage of  DragDrop Tags

    Hi ,
    I have read the documentation of wlp 10.3 regarding drag drop tags but have not got the idea as of yet. How do i use them exactly ?
    after initiating the basic structure in the jsp using
    <dragdrop:dragDropScript/>
    i create a draggable resource as
    <dragdrop:draggableResource imageId="0" resourceId="abc" resourceName="abc">
    <img src="../images/image.png" width="25" height="25"/>
    </dragdrop:draggableResource>
    create a drop zone { which i dont understand }
    <dragdrop:resourceDropZone targetId="bcd"/>
    what is the targetId here ? Is it a reference to say a div id of an html page or something else ?
    Can someone provide a basic example to get the idea ?
    Thanks,

    The resourceDropZone tag provides a way to identify an area (or object) on the page that will "accept" the draggableResource. By "accept", I mean it will trigger a reaction when a draggableResource is dropped on it.
    The targetId attribute is a unique identifier for the drop zone and is required. It allows for you to identify on which zone the dragged object was dropped. You can get access to this id on the client using the JavaScript function getTargetId(), or on the server via a request parameter named "targetId".
    One of the three following attributes must also be specified: jsFunctionCall, pageFlowAction, or formAction (with that order of precedence if more than one is specified). These attributes identified the resulting action that will be executed when a draggable resource is dropped.
    Here is an example. This example shows what could represent a folder icon and how you would enable a drop zone around it to trigger an action.
    <dragdrop:resourceDropZone targetId=“${id}” pageFlowAction=“moveIssue”>
    <img src=“/folder.gif” />Issue Folder
    </ dragdrop:resourceDropZone >
    When a draggable resource (presumable representing a file of type "Issue") is dropped onto this folder image, the pageflow action "moveIssue" is called. The id of the folder is a run-time value. In the pageflow controller action "moveIssue", I can get access to the id of the draggable resource via the request parameter "sourceId". And I can get access to the id of the folder it was dropped on via the request parameter "targetId" (which will have the run-time value of ${id} from the page). The moveIssue method on the page flow can now execute all the logic required to move the underlying Issue.
    Hope that helps.
    - Chuck coates

  • Question with uix:dateField tag

    hi,
    I am trying to use the dateField tag of uix. when we write the dateField tag as <uix:dateField /> it creates a calender. but when I click on the calender nothing shows up. In the tag Itself there are various attribs like the destination, minValue, maxValue etc probably the destination takes us to the calender!! I do have a script that opens up the calender but i suppose the dateField does that for us and If I want to validate the field a client side vadilation also is available
    http://otn.oracle.com/jdeveloper/help/ under <uix:date>
    but how do i use it in my context
    this is the normal HTML code with script that will show the calender and set the value of the datebox(the one I am using now)
    <input type="text" name="datebox" >
    <a href="javascript:show_calendar('protletForm.datebox');
    onmouseover="window.status='Date Picker';return true;"
    onmouseout="window.status='';
    return true; ">
    <img src="/avegaPortlets/cabo/images/cache/c-dp.gif" width=20 height=24 border=0>
    </a>
    how do i get to it with the <uix:datefield> tag along with the validation?? can anybody please help me on this !!!
    thanks,
    vasanth

    hi,
    thanks so much. ::::)
    It did work with the <uix:form name = "something"> tag.
    could you tell me what is the equivalant to the <form action = "something here"> in the <uix:form> tag???? like is it <uix:form destination = "some java class">?? will this work??
    when I hit submit I want to form to be submitted and the values in the form read by my "something here" java class.
    regards,
    vasanth

  • Implementing a uix:lovInput JSP tag

    I'm using Oracle E-business suite 11.5.10 together with Jdev OA (RUP4) to create a wep app. I'm not sure how to implement the uix:listOfValues tag together with the uix:lovInput tag.
    <uix:lovInput destination="PO_numberLov" onLovInit="" showWindow="true">
    </uix:lovInput>
    Is it possible for someone to give me an example on how I can do this
    Best regards,
    Michael
    Please don't replay by telling me that this is not the forum for UIX questions, se UIX

    I'm using Oracle E-business suite 11.5.10 together with Jdev OA (RUP4) to create a wep app. I'm not sure how to implement the uix:listOfValues tag together with the uix:lovInput tag.
    <uix:lovInput destination="PO_numberLov" onLovInit="" showWindow="true">
    </uix:lovInput>
    Is it possible for someone to give me an example on how I can do this
    Best regards,
    Michael
    Please don't replay by telling me that this is not the forum for UIX questions, se UIX

  • UIX XML or databound JSPs?

    UIX XML has a significant learning curve. Given a medium size enterprise wide intranet app, wouldn't it be easier/better to just develop it using databound JSP's?
    Also, we are currently using JDeveloper 9.0.3. What architecture would be easier to migrate when upgrading to 10g. JSPs/BC4J or UIX XML w/BC4J ?

    I assume that you are referring to the UIX XML and UIX JSP tags when you say "... wouldn't it be easier/better to just develop it using databound JSP's?". I do not recommend the use of the UIX JSP tags to create an application. We are trying to de-emphasize the usage of these tags, reason being the comming JSF standard and that we will not be able to migrate applications developed with JSP and the UIX JSP tags.
    There should not be any changes to your application (JSP or UIX XML) moving to 10g, but you will not be migrated to use the new model binding available in 10g.
    Thx
    - Jonas

  • Best practice for implementing META tags for content items?

    Hello,
    The portal site I'm responsible for managing our content (www.sers.state.pa.us) runs on the following WebCenter products:
    WebCenter Interaction 10.3.0.1
    WebCenter Publisher 6.5
    WebCenter Studio 2.2 MP1
    Content Service 10gR3
    The agency I work for is one of many for the commonwealth of PA, which use this product suite, and I'm encountering some confusion on how to apply META tags to the content items for our site, so we can have effective search results. According to the [W3C site's explanation on META tag standards|http://www.w3schools.com/tags/tag_meta.asp], the tags for description, keywords, etc, should be within the head region of the HTML document. However, with how the WebCenter suite's configuration is set up, the head section of the HTML is closed off by the end of the template code for a common header portlet. I was advised to add fields to our presentation and data entry templates for content, to add these meta fields, however, since they are then placed within the body section of the HTML as a result, these tags fail to have any positive impact on the search results. Instead, many of our content items, when searched for, the description in the search results only shows text that is displayed in the header and left navigation of our template, which come early in the body section of the HTML.
    Please advise as to possible method(s) that would be best to implement usage of META tags so we can get our pages containing content to come up in search results with this relevant data.
    Thanks in advance,
    Brian

    if i remember right the index server will capture meta tags even if they are not in the <head> section. it is not well formed html but I think i remember that we created meta tags down in the body section and the index server still picked them up. you might try this and see if it still works. i believe it worked in 10gR3. Let me know your results.

  • Custom Tag Error with Weblogic SP9

              Hi
              I seem to be having a problem with a custom tag that I wrote. When I run the JSP
              on WLS (without a service pack), the generated java code uses the weblogic.utils.StringUtils
              class to interprete jsp expressions that are passed into the custom tag's attribute
              (on the JSP). The method called on this StringUtils class is valueOf(). This method
              in essence makes sure that the result of the expression is not null and then subsequently
              calls a toString() on the value. Note that if the value is null it simply returns
              an empty string.
              The problem is that when we go to service pack 9, this method is not called (StringUtils.valueOf()).
              Now the problem arises if first of all the result of the expression statement
              in the custom tag definintion (on the JSP) is null. Secondly, it will also error
              out when the setter method is called within the custom tag, if the object returned
              from the expression does not match the one that is expected by the tag... in our
              case a String.
              Here's a sample usage of the tag:
              <wescombop:selectTag
              selectName="buildingNumber"
              selectedItem="<%= buildingJB.getBuildingNumber()%>"
              trimSelectedItem="true"
              selectTagDataName="buildingNumberDataAttribute" />
              Note: buildingJB.getBuildingNumber() returns BigDecimal
              Here's a snipett of the line generated java:
              * Without the service pack
              comwestfieldgrp_wescom_bop_view_tag_SelectTag_1.setSelectedItem(weblogic.utils.StringUtils.valueOf(buildingJB.getBuildingNumber()));
              *With Service Pack 9
              comwestfieldgrp_wescom_bop_view_tag_SelectTag_1.setSelectedItem(buildingJB.getBuildingNumber());
              Note: The setSelectedItem() method expects a String object as a parameter, so
              the code with service pack 9 will result in a compilation error, since buildingJB.getBuildingNumber()
              returns a BigDecimal.
              Let me know if you need more explanation.
              Has anyone experience this problem before... Any help would be deeply appreciated.
              Thanks all.
              Niran
              

              Modify the <cewolf:param> tag.
              <cewolf:chart id="confchart" title="Reports" type="bar3d" yaxislabel="Time"> <cewolf:data>
              <cewolf:producer id="report"> <cewolf:param name="type" value="all" > </cewolf:param>
              </cewolf:producer> </cewolf:data> </cewolf:chart>
              "Balakrishnan" <[email protected]> wrote:
              >
              >We are using cewolf charting library in weblogic 7.0. The charting library
              >is implemented
              >as custom jsp tag library module.
              >
              >However, when the use the tag for displaying the chart, weblogic is producing
              >this compiler error.
              >
              >/reports/reportsView.jsp(108): no corresponding open tag for tag extension
              >close:
              >//[ null; Line: 108]
              >
              >Here's the corresponding source of the jsp file:
              >
              > <cewolf:chart id="confchart" title="Reports" type="bar3d" yaxislabel="Time">
              > <cewolf:data>
              > <cewolf:producer id="report">
              > <cewolf:param name="type" value="all" /> (<-- Error occurs
              >here.
              >Line no: 108)
              > </cewolf:producer>
              > </cewolf:data>
              > </cewolf:chart>
              >
              >I've also checked the corresponding tld file and it is in place.
              >
              >The same code without any modifications is working fine in tomcat. Can
              >you please
              >let me know what needs to be corrected to make this work?
              

  • Problem in executing a JSP file that includes a Custm tag

    Hi,
    I am very new to JSP,especially custom tags. I tried to run my first custom tag program but i cud not succeed.
    I tried to run it using Tomcat as well J2ee1.3. But still cud not c the output.
    I have placed jsp file,TLD etc in Web inf of root dir and class file inside classes folder..but i got some error saying tag with prefix not found in the tag library...
    i tried in all the ways but all in vain... I will post my code and exact error i faced.. can anyone help me soon to see the output?
    WelcomCtag.java
    import javax.servlet.jsp.*;
    import javax.servlet.jsp.tagext.*;
    public class WelcomeCtag extends TagSupport
         private String Name=null;
         public String getName()
              return Name;
         public int doStartTag()
              try
                   JspWriter output=pageContext.getOut();
                   output.println("Welcome" + getName());
              }catch(Exception e)
                   throw new Error("Encountered an errer");
              return SKIP_BODY;
         public int doEndTag()
              try{}
              catch(Exception e)
                   throw new Error("Encountered an errer");
              finally
                   return SKIP_PAGE;
    [u]example.tld[/u]
    <taglib>
         <tlibversion>1.0</tlibversion>
         <jspversion>1.1</jspversion>
         <shortname>example</shortname>
         <info> A small example for usage of the tag library</info>
         <tag>
              <name> Welcome></name>
              <tagclass>WelcomeCtag</tagclass>
         <bodycontent>empty</bodycontent>
         <info>This tag is an example to display a welcome message</info>
         <attribute>
              <name>Name</name>
              <required>true</required>
              <rtexprvalue>true</rtexprvalue>
         </attribute>
         </tag>
    </taglib>
    [u]WelcomeCustomtag.jsp[/u]
    <%@ taglib prefix="example" uri="./example.tld" %>
    <html>
    <title>Welcome Handler</title>
    </head>
    <body>
    <example: Welcome Name="Panduranga"/>
    </body>
    </html>
    and the error i get while executing is here..........
    org.apache.jasper.JasperException: /WelcomeCustomtag.jsp(6,0) No tag "" defined in tag library imported with prefix "example"
         org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)
         org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:405)
         org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:196)
         org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1308)
         org.apache.jasper.compiler.Parser.parseElements(Parser.java:1564)
         org.apache.jasper.compiler.Parser.parse(Parser.java:126)
         org.apache.jasper.compiler.ParserController.doParse(ParserController.java:211)
         org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)
         org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:146)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    when i referred some other tutorials some have stored the tld file inside a folder called tags inside web inf and they have used like this <tags:example> etc and it wrked but if i want to specify some attributes i dunno how to give using <tags> style....
    Can anyone help me n tell me the difference in using tag like this <eample> and <tags: example> like this.....
    Thanks,
    Akshatha                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    1.
    Multiple tlds in web.xml
    Have multiple taglib elements in your web.xml - see below.
    <jsp-config>
      <taglib>
         <taglib-uri>http://example/taglib</taglib-uri>
         <taglib-location>/WEB-INF/example.tld</taglib-location>
      </taglib>
       <taglib>
          <taglib-uri>http://anotherexample/taglib</taglib-uri>
           <taglib-location>/WEB-INF/anotherexample.tld</taglib-location>
       </taglib>
    </jsp-config>The jsp-config element should be just after the servlet-mapping element in servlet 2.3 spec.
    For 2.4 spec, you can put it anywhere.
    In your jsp, to use the tags from the two tag libraries, use 2 taglib directives
    <%@ taglib prefix="example" uri="http://example/taglib" %>
    <%@ taglib prefix="anotherexample" uri="http://anotherexample/taglib" %>
    <example:tag1.................>
    <anotherexample:tag2.................> etc2.
    Mutliple tags per tld
    Have multiple <tag> elements in your tld.
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
    <taglib>
       <tlib-version>1.0</tlib-version>
       <jsp-version>1.2</jsp-version>
       <short-name>j2ee</short-name>
       <tag>
          <name>tagName</name>
          <tag-class>pkgName.classname</tag-class>
          <body-content>JSP</body-content>
          <display-name>OverlapTag</display-name>
          <attribute>
             <name>attr1</name>
             <required>false</required>
             <rtexprvalue>true</rtexprvalue>
          </attribute>
          <attribute>
             <name>attr2</name>
             <required>false</required>
             <rtexprvalue>true</rtexprvalue>
          </attribute>
       </tag>
       <tag>
          <name>tag_2_Name</name>
          <tag-class>pkgName.classname</tag-class>
          <body-content>JSP</body-content>
          <display-name></display-name>
          <attribute>
             <name>attr1_2</name>
             <required>false</required>
             <rtexprvalue>true</rtexprvalue>
          </attribute>
          <attribute>
             <name>attr2_2</name>
             <required>false</required>
             <rtexprvalue>true</rtexprvalue>
          </attribute>
       </tag>
    </taglib>
    Interesting snippet
    If you are using a 3rd party tag library, then the tags would come packaged in a jar file. The MTEA-INF directory of the jar file would contain the tlds and the tld would have an uri element. You can use it directly in the jsp without declaring the tld file in web.xml provided the jar file is in your classpath.
    For example, take the struts tag libraries, say the logic tags.
    The struts.jar contains, among other things, the tag class files and the tld files (inside /META-INF/tlds)
    All you have to do is put Struts.jar in the classpath (easy way to do this is put it in the WEB-INF/lib directory of your web-application).
    The jar file has struts-logic-1.1.tld in the META-INF/tlds directory.
    This tld file looks like this
    <taglib>
    <tlibversion>1.2</tlibversion>
    <jspversion>1.1</jspversion>
    <shortname>logic</shortname>
    <uri>http://jakarta.apache.org/struts/tags-logic</uri>
    ..................Now to use the tags in your jsp, you dont require the tld mappings in web.xml using the uri above in the taglib directive in your jsp
    <%@ taglib prefix="example" uri="http://jakarta.apache.org/struts/tags-logic" %> cool, right ? :)
    This is how you should pkg your own tags too. The tag classes have to be jarred and the tlds should go into the META-INF of the jar so that other users can simply add the jar to the cp and start using your tags.
    cheers,
    ram.

Maybe you are looking for

  • Yoga 2 Kernel Security Check Failure

    I have this Yoga 2 13' for almost two months. A few days after my purchase, the computer suddenly gave a blue screen and restarted. Then this BSODs became more frequent. The strange thing is that, I was in France for almost a month, and no BSODs happ

  • System Overload ...i know ..I'm not the 1st ...

    _History Below_ Topic : System Overload ...i know ..I'm not the 1st ... This topic has been archived - replies are not allowed. Your question is not answered. Mark as answered. Use the "helpful" or "solved" buttons to award points to replies. Subscri

  • Regarding stats collection in oracle 11g.

    Just a general question, while doing stats collection weather system takes the backup of current statistics. i think we can specify stattab. but weather it takes stats backup before over writing? I got this requirement as a part of upgrade, i have al

  • Clearing closed change lists in Integration Directory

    Hello, Not really an important question, but one that I would to know the answer to nonetheless.  How can I clear the change lists listed under my closed changed lists?  I've been playing around in the XI system and have a bunch of them and  it would

  • Is oracle project generate alert incase of any delays in Tasks Or prject

    Hi Experts It's possible to generated auto alert in case of delay's in Task/Projects ? If yes please give me link.