How to include element on page TOC in dynamic converter

Hi,
I am trying to create TOC in dynamic converter, when I open edit template, select element, and properties, check on include in page TOC, Click OK to close properties window, then come back to take look the change, the check is gone. it happens to all the elements. How to include element in page TOC? are there other steps have to be done before elements can be added? Thanks!
T.J.

JSP tags don't add html elements. Add the html and body elements as listed:
<?xml version='1.0' encoding='UTF-8'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
          xmlns:f="http://java.sun.com/jsf/core"
          xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
          xmlns:pe="http://xmlns.oracle.com/adf/pageeditor"
          xmlns:cust="http://xmlns.oracle.com/adf/faces/customizable">
  <jsp:directive.page contentType="text/html;charset=UTF-8"/>
<html>
  <body>
  <af:pageTemplateDef var="attrs">
    <af:xmlContent>
      <component xmlns="http://xmlns.oracle.com/adf/faces/rich/component">
        <display-name>sampletemplate</display-name>
        <facet>
          <facet-name>content</facet-name>
        </facet>
        <attribute>
          <attribute-name>hideBreadcrumb</attribute-name>
          <attribute-class>java.lang.Boolean</attribute-class>
          <default-value>#{false}</default-value>
        </attribute>
      </component>
    </af:xmlContent>
   <af:resource type="javascript" source="//scripts/code.js"/>
  </af:pageTemplateDef>
  </body>
</html>
</jsp:root>

Similar Messages

  • I would like to know how to include entries in my TOC that refer to paragraph styles that a before the TOC.

    I would like to know how to include entries in my TOC that refer to paragraph styles listed before the TOC.
    Example:
    page i. Title Page
    page ii. Abstract
    page iii. Table of Contents
    I want the TOC on page iii to include the entries "title page" and "abstract". Is this possible?
    Thank you-

    Thesis formatting rules.
    Can you answer another question?
    How do I change the text for a TOC entry? For example,
    I have selected the title on my first page, for example "Summer Report" and selected a paragraph style for it, and added it in the TOC. Now the TOC will have this entry for "Summer Report" and the associated page. But I want it to say "Title Page" instead. Can I edit this text? In order words, have the TOC point to something with whatever name I want to give it, even though it is not the actual name of the section?

  • How to include an ASP page from JSP?

    I had a working ASP page to be repeated on each page of the web site as an navigation bar updated from a single SiteMap.xml. Anyone knew how to include the ASP page from the JSP app?
    Thanks

    You might achieve your desired result by calling the ASP page from your JSP controller (server side) using the standard JAVA HTTP classes you could then process the resulting XML. I suggest you look at the JAVA API for more information in particular the JAVA.NET package and the HTTPUrlConnection class...
    http://java.sun.com/j2se/1.4.2/docs/api/java/net/HttpURLConnection.html
    Hope this helps,
    BRgds,
    Simon

  • How to include 2 jspx pages in one jspx page and should navigate each other

    Hi,
    How to include 2 jspx pages in one jspx page. When I click on submit button in one page I should able to display those values in another jspx page.
    Plz give me systax or any examples on this requirement.
    Thanks

    I divided one jspx page into 2 parts(Left and Right). In Left side part contain Tree component. Onclick on any node in Tree component, Include another jspx page in Right side. The included jspx contain one submit button. If I click on that button corresponding backing bean is not getting call.
    If I tested with individual pages its working fine. It is getting fail when ever I included jspx page into another.

  • How to include a jsp page in another jsp jsp page

    hi,
    i m trying to include a jsp page name "header.jsp" into one jsp page name"selectattribute.jsp" i m using these commands in "selectattribute.jsp"
    <%@include file "header.jsp"%> bcz both these jsp page are C:\program files\tomcat 4.0\webapps\examples\jsp\Poject\
    but the problem is that , i m invoking this jsp page "selectattribute.jsp" from a servlet reportcontroller.java using REQUEST DISPATCHER.
    the servlet is in
    C:\Program files\tomcat 4.0\webapps\examples\WEB-INF\classes\Project\
    i want to know how to include some other jsp page in a jsp page and how to invoke applet from jsp page when that particular jsp page is being invoked by servlet.
    plz help
    manish

    use this for including in your selectattribute.jsp
    <jsp:include page="header.jsp" flush="true"/>
    I never tried calling an applet. I think you can write the code for calling the applet in a javabean method and call the method in the jsp

  • How to include other web page in servlet response?

    Is there any way how to include the contents from some other web page in my own response? For example, I wish to printout some text and below that to put the complete contents of let's say Google's page, so something like:
    include("www.google.com");
    ...So far I found that I can either redirect to that page and l fully lose the control or include the contents of the other jsp or servlet that I made in the same project. I know I can just send the request to that outside page and read the response and print it out on my page, but the problem is when there is a JavaScript and I can't get the rendered contents but just that script. Also, I will not be able to see the images in that case, so I prefer to give the command to web browser to render and show it for me.
    Thanks a lot for any help!

    I already tried with streams but then just original source is written, so it means that if it is calling some scripts I will get JavaScript code instead of executed result. I thought I must somehow make the browser to process the page and just display the output because it knows how to deal with scripts.

  • How to change the master page and theme dynamically in sharepoint2013 anonymous site

    hi
    I have to change the master page and theme dynamically in sharepoint2013 anonymous site. i have to show one master page to authenticated user  another master page to anonymous user through code
    Srinivas

    Hi Srinivas,
    According to your description, my understanding is that you want to change the master page and theme dynamically based on the anonymous users or authenticated users.
    Per my knowledge, there is not an OOB way to change the master page and theme dynamically.
    SharePoint is based on Asp.net, as we know Asp.Net request processing is based on pipeline model, so we can delevlop a custom HttpModule to dynamic change the master page based on current logon user profile(using SP Object Model to get).
    Another solution could be to use the SecurityTrimmed control that injects the CSS depending on global user permissions, more information, please refer to
    it.
    Some similar posts for your reference:
    http://social.msdn.microsoft.com/Forums/office/en-US/c2b2d0da-c752-4aea-9c2d-e31a5b1a2988/sharepoint-2010-dynamic-masterpage-based-on-userprofile-property
    http://johanleino.wordpress.com/2011/10/20/using-a-different-master-page-for-authenticated-users-in-sharepoint/
    http://sharepoint.stackexchange.com/questions/21679/how-can-we-use-a-different-masterpage-for-annoymous-and-authenticated-users
    http://sivarajan.me/post/How-to-customize-the-SharePoint-2013-Master-Page-for-Anonymous-Users
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • How to forward a JSP page to another dynamically generated JSP

    Hi gurus,
    I have a problem with forwarding a JSP page, to another dynamic jsp page.
    I have to forward a jsp page to (say X1 ) to another JSP page (say X2).
    Iam choosing the name of the page X2, dynamically from a list of JSP pages in a directory depending upon some parameters.
    Here is my code for ur better understanding...
    <java>
    // this gives me the name of the page X2 to which my page X1 should be forwarded.
    <TR> <TD><%=request.getParameter("codeins")%></TD></TR>
    <%
    if(request.getParameter("codeins").length() != 0)
    %>
    // if i use this forward tag i get the error
    <a href=" 
                <jsp:forward page=Ins/<%=request.getParameter("codeins")%">.jsp">
         <jsp:param name="a" value="<%=request.getParameter("a")%>" />     
         <jsp:param name="b" value="<%=request.getParameter("b")%>" />
         <jsp:param name="c" value="<%=request.getParameter("c")%>" />
         <jsp:param name="p" value="<%=request.getParameter("p")%>" />
         <jsp:param name="q" value="<%=request.getParameter("q")%>" />
    </jsp:forward>">GNSS Instantiation</a>
    <%
    else {
    out.println("No entry in the database! ");
    } %>
    </java>
    I am getting the exceptions like
    <java>
    org.apache.jasper.JasperException: /Newspg.jsp(162,67) equal symbol expected
         at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:94)
         at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:428)
         at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:126)
         at org.apache.jasper.compiler.Parser.parseAttribute(Parser.java:169)
         at org.apache.jasper.compiler.Parser.parseAttributes(Parser.java:136)
         at org.apache.jasper.compiler.Parser.parseForward(Parser.java:517)
         at org.apache.jasper.compiler.Parser.parseAction(Parser.java:661)
         at org.apache.jasper.compiler.Parser.parseElements(Parser.java:803)
         at org.apache.jasper.compiler.Parser.parse(Parser.java:122)
         at org.apache.jasper.compiler.ParserController.parse(ParserController.java:199)
         at org.apache.jasper.compiler.ParserController.parse(ParserController.java:153)
         at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:227)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:369)
         at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:473)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:190)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
         at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:430)
         at org.apache.jsp.SPVariablesg_jsp._jspService(SPVariablesg_jsp.java:425)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:193)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:549)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:589)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:666)
         at java.lang.Thread.run(Thread.java:534)
    </java>
    please help me out to let me know, where iam doing wrong.
    Thanx
    mark.

    Hi,
    in reference to the above subject i did like to know what is wrong in the following code of mine:
    <%
         String name = "admin"; // this is line which is being indicated in error message
         int password = 4589;
    %>
    <!-- <script language="javascript" src="init.js"></script> -->
    <head>
    <script>
    function checking()
         if name != document.test.user.value || password != document.test.password.value)
              alert("ur not authorised to view the requested url");
              forward("Firstpage.jsp");
    %>
    </script>
    its says :
    org.apache.jasper.JasperException: /webpg/Dec2Firstpage.jsp(4,21) equal symbol expected
    any solutions?
    thanx in advance

  • Does anyone know how to include chapter number in TOC?

    I have a book project which inclueds a couple of indesign documents, I already inserted "chapter number" as text variables in the page numbering, something like "1-1". In this way, I didn't put section prefix in the  "numbering & section options". However, when I update my TOC, it doesn't show the chapter number "1-". Is ther any way I can include that but not manually put figures into the "section prefix"?

    OK, looking at the file I can't see any way to make this work the way you'd like. The TOC can only use the text inthe paragraph being picked up, text you enter as a separator, and the page number marker and optionally it's prefix.
    HOWEVER, it can, I think be made to work by adding the tab to the headings, followed by the chapter number variable and the hyphen. You need to add a character style that changes the character color to "None" and use it as a nested style in your heading paragraph styles (DO NOT APPLY IT DIRECTLY) as [None] through the tab, then the colorless character style through 1 sentence.
    I don't see why you couldn't add the required text to the headings using a GREP Find/Change. I did it by entering the tab, variable and hyphen in a frame then copying to the clipboard and using the following GREP
    Find: .$ (that's the last character in a paragraph)
    Change: $0~C ($0 is the found text and ~C is unformatted content of the clipboard).
    You'll have to run this for every paragraph style that you want to include in the TOC, and you'll have to remove the tab character you've specified now between the entry and the number in the TOC dialog.

  • Chapter NUMBERS? How to include list styles in TOC?

    How does one include chapter numbers!?? I have used a list style with a paragraph style as headings for chapters and paragraphs (Example: 1. Introduction | 1.1. Company X), which I now want to include in the TOC. Using the specific heading in the TOC only includes the text, and not the entire list item (number followed by text). How do I accomplish this list item to be included? Is there a way to (only) tweak the TOC style of a template?

    http://discussions.apple.com/thread.jspa?threadID=2107212&tstart=0
    Yvan KOENIG (Vallauris, FRANCE dimanche 9 août 2009 14:00:22)

  • How to include a JSP page contained in a JAR file ?

    Hello,
    I have a Servlet in which I would like to include, in the Response, the content of a JSP page contained in an external JAR file included in my lib directory ?
    Could someone help me please ?
    Thanks in advance.
    bgOnline

    I don't think thats possible with the standard j2ee server.
    There are probably ways around it, but it would involve a large component of custom coding.

  • Without Changing the RecordsDisplyed property how to include in 1 page

    hi,
    Actually i have designed a table in which i add rows by clicking a button when the rows are increasing more than 10 it goes of to next page. The basic functionality is intact but the overall functionality i.e after all completions of rows i kept a button which calulates the total but since its going of to next page its not working but when its in a single page it's working.Previously i used fetchrowcount() method then i used getAllRowsInRange() method still no result.....
    any suggestions how to overcome this

    You need to tell us as to how you are iterating through the Rows in the VO. I believe you are using APIs, that fetch only the rows in the current Range. For you total requirement, you should be traversing through rows in all the range indexes of the VO.
    You can create & use a RowSetIterator to iterate over all the view object rows.
    Please see "Iterating View Object Rows" in JDEV_CLIENT_INSTALL\jdevdoc\devguide\bus\bus_vo.htm#itr
    HTH.

  • How to include non web pages to the "Create PDF from Web Page" feature?

    In Acrobat Pro (v. 10), when I use the "Create PDF from Web Page" feature, it works great for html pages, but it skips non-html links (doc, pdf, ppt, xls, etc). I need Acrobat Pro to convert those files and put them in the order as well. I don't see an option for this in settings. Is there ANY way I can do this? This is for an archiving purpose and I have 10,000 plus files to convert. Please help.

    This is a question i'm trying to answer too. My issue is that I have a PDF file which itself contains links to both DOC and PDF files. The end result is that I need one consolidated PDF containing all the linked files (in order).
    I can run the "create from web page" on this PDF file, and it'll download them, but not convert them. It just adds them as "jumbled" text to the end of the document. I need it to download, convert, and then append them.
    So, as isunshine3 asked above, any way to have Adobe convert the files that it finds linked when running the "create from web page"?
    THanks
    Matt

  • Pages TOC lost when converting to ePub

    Being new to Pages, I viewed the online tutorials to get me started. I have managed to create a short book and the formatting of the text seems fine in Pages. However, when I export the file to ePub, and view this in iBooks on the iPad, the Table of Contents has gone missing. I have downloaded Apple's template (ePub best practices for Pages) and the same thing happens when I export that to ePub: missing TOC..?

    You are funny guys.
    (1) If someone ask here about an application dedicated to iOS, it's normal to redirect him to the iWork to iOS forum because here you are in a forum dedicated to Pages for OSX and most of us don't use the iOS version.
    (2) When you registered to be able to ask a question here, you were urged to read the Terms of Use.
    In this one you may read the sentence which I display at the very bottom of my messages.
    So, even if you dislike that, I will continue to urge askers to search in existing threads before opening a new thread.
    About the precise question asked in the first message, Fruhulda did like me, she searched in the existing threads.
    Our knowledge isn't infinite and we don't remember every questions already answered.
    As I don't think by default that my brain is more efficient than asker's one, I always assume that if I am able to find the answer to the asked question with a simple request in the Search tool, the asker was able to do the same.
    In this case, the correct answer was reachable with the very simple request
    epub AND toc which use as keywords two basic words available in the asker's question.
    The way I answer here is based upon good old aphorisms:
    When a man is hungry, it is better to teach to him to fish that to give him a fish.
    When you plant a seed once, you obtain a single harvest. When you educate people, you obtain one hundred from it.
    The good man asks for nothing but himself, the man of few asks for everything the others.
    When we wish to know, we question. When we want to be capable, we study.
    Yvan KOENIG (VALLAURIS, France) jeudi 29 septembre 2011 12:03:48
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0
    My iDisk is : <http://public.me.com/koenigyvan>
    Please :
    Search for questions similar to your own
    before submitting them to the community

  • Pass parameter to page fragment in dynamic region

    Hello.
    I am using Jdeveloper 11.1.1.3.
    Can anyone explain to me how to pass parameter to page fragment in dynamic region?
    My situation is:
    I have only 1 page: index.jspx.
    This page include 2 elements:
    1. <af:tree>
    <af:tree id="t1" var="node" rowSelection="single"
    value="#{bindings.FpsrVO1.treeModel}" rendered="true" expandAllEnabled="true"
    contentDelivery="lazy" initiallyExpanded="false"
    contextMenuSelect="false" fetchSize="-1">
    <f:facet name="nodeStamp">
    <af:commandLink id="cl1" rendered="true"
    actionListener="#{backingBeanScope.RegionDynamicBean.treeClick}">
    <af:outputFormatted id="outForm" value="#{node.Name}" rendered="true"/>
    <f:attribute name="menuId" value="#{node.Code}"/>
    </af:commandLink>
    </f:facet>
    </af:tree>2. <af:region> :
    <af:region value="#{bindings.dynamicRegion1.regionModel}"
    id="r1"/>Region could be changed to 3 bounded taskFows wich have only one page fragment.
    Can anyone explain to me how i can send <f:attribute name="menuId" value="#{node.Code}"/> from tree element to page fragment which will be rendered on screen?

    You can pass a map to the dynamic region which would take the task flow parameters as key-value pairs.
    <taskFlow id="dynamicRegion1"
    taskFlowId="${backingBeanScope.TestPageBean.dynamicTaskFlowId}"
    activation="deferred"
    xmlns="http://xmlns.oracle.com/adf/controller/binding"
    parametersMap="#{backingBeanScope.TestPageBean.parameters}"/>
    When reloading the taskflow, ensure that the necessary parameters are loaded into the taskflow.
    Check this example exactly based on your use-case:
    http://adfsampleapplications.googlecode.com/svn/trunk/TaskflowParamSampleApp.zip
    Thanks,
    Navaneeth

Maybe you are looking for

  • HT1420 Can multiple users have Itunes accounts on the same computer?

    New to the Mac. Can my wife and I have separate iTunes directories on the same computer accessed based on our login?

  • Pressing F1 does not expand the TOC in MS HTML Help

    I'm using version 6 of RoboHelp. When my users click F1 in my software application, I want the TOC to expand on the left-hand side of the Microsoft HTML Help window so they can see the page that is displayed to them. I've checked the "Always Show Sel

  • CONTENT SERVER SETUP ON ORACLE 10G IAS (10.1.3) oracle E-business R12.1.1

    Hi Experts, Quick one - I have been requested to Integrate the CONTENT SERVER SETUP ON ORACLE 10G IAS (10.1.3) with oracle E-business SUit R12.1.1. Please also let me know do we have to apply any patches on the E-business Suit for Integrating Oracle

  • Maximum number of items reached in FI--help required please

    Hi, How to avoid the situation(error) Po raised for some 300 line items. PO consists of 3-4 header conditions and all the conditions are linked to a differrent GL account all together. GR to be done against PO. System fails to post the document becau

  • Should I wait or should I go?

    Should I wait for the supposed MBP redesign this year or go ahead and buy a baseline 13" or 15" MacBook Pro? I dont have a true need for it right now, but I do desire one. General usage will be for Youtube work and running a Virtual Machine of Window