How to inject html into a wiki generate page?

How do you put in custom HTML into a wiki generated page? Say I have a I want injected into each wiki page; where within the structure of the wiki server files am I able to do that? I figured finding the code where the <head> tag for a wiki page is created would be a good place to start, but I haven't been able to find where that is done. Any ideas? Thanks.

From the SL Server Wiki Admin document:
To add JavaScript files or XSL files to a theme:
1 Put JavaScript (.js) files or XSL (.xsl) files in this folder (shown below): /Library/Application Support/Apple/WikiServer/Themes/theme_name/ Replace theme_name with the name of the theme.
I've done this, and I can see that the javascript is available in the generated html, but I don't see in the documentation on how call the javascript function. What am I missing here?

Similar Messages

  • How to embed html into keynote

    I want to embed the youtube code for a vid into my keynote presentation so when I export to flash I can post the entire thing online, the presentation will work and I can watch the vid too. Any thoughts on how to embed html into a keynote page?
    Thanks,
    Jeremy

    The only way to get video out of Keynote that I know of, is the QuickTime export. Now, if you use another tool after that (to convert the QuickTime video) that might be able to work for you.

  • How to convert HTML into XML

    I know I can parse XML into some HTML, but is there any tools or methods existed to parse HTML into XML?
    I have a not well-formed HTML with a lot data fields, including a lot not closed tags. This HTML is generated by some XML(as I can see), but I can't find a way to reform it into a XML, and eventually stored the data into another database.
    Anyone can help me? I appreciate!
    KIB

    As SAm has told you, you can use jTidy, for the purpose, a sample code , which can convert an html file to xml file is given at following url:
    see the documentation as well.
    http://sourceforge.net/docman/display_doc.php?docid=1298&group_id=13153
    gaurav_k1

  • How to insert fragment into xml column generated from query

    I'm trying to generate xml from some relational data and then insert a sub node into an xml column. Here's some sample code that obviously doesn't work.  I'm trying to figure out the syntax where the ???? exist.
    /* create test tables*/
    DECLARE @person TABLE
    id int NOT NULL PRIMARY KEY CLUSTERED,
    info xml NULL
    DECLARE @roles TABLE
    id int NOT NULL,
    role_name varchar(20) NOT NULL,
    PRIMARY KEY
    id,
    role_name
    /* insert test values */
    INSERT INTO @person (id, info)
    VALUES (1, '<person><name><first_name>Joe</first_name><last_name>Smith</last_name></name></person>'),
    (2, '<person><name><first_name>Tim</first_name><last_name>Jones</last_name></name></person>');
    INSERT INTO @roles (id, role_name)
    VALUES
    (1,'Admin'),
    (1,'User'),
    (2,'Editor'),
    (2,'User');
    /* make sure that xml comes back correctly*/
    SELECT
    role_name AS name
    FROM @roles AS role
    WHERE id = 1 -- works for each id
    FOR XML AUTO, ROOT ('roles');
    UPDATE p
    SET info.modify('insert ???? as last into (/person)[1]')
    FROM @person p
    INNER JOIN @roles r
    ON p.id = r.id
    /* desired output in the info column for id = 1*/
    <person>
    <name>
    <first_name>Joe</first_name>
    <last_name>Smith</last_name>
    </name>
    <roles>
    <role name="Admin" />
    <role name="User" />
    </roles>
    </person>
    Any ideas?

    this?
    DECLARE @person TABLE
    id int NOT NULL PRIMARY KEY CLUSTERED,
    info xml NULL
    DECLARE @roles TABLE
    id int NOT NULL,
    role_name varchar(20) NOT NULL,
    PRIMARY KEY
    id,
    role_name
    /* insert test values */
    INSERT INTO @person (id, info)
    VALUES (1, '<person><name><first_name>Joe</first_name><last_name>Smith</last_name></name></person>'),
    (2, '<person><name><first_name>Tim</first_name><last_name>Jones</last_name></name></person>');
    INSERT INTO @roles (id, role_name)
    VALUES
    (1,'Admin'),
    (1,'User'),
    (2,'Editor'),
    (2,'User');
    /* make sure that xml comes back correctly*/
    SELECT
    role_name AS name
    FROM @roles AS role
    WHERE id = 1 -- works for each id
    FOR XML AUTO, ROOT ('roles');
    UPDATE p
    SET info.modify('insert sql:column("x") as last into (/person)[1]')
    FROM @person p
    CROSS APPLY(SELECT role_name FROM @roles WHERE id = p.id FOR XML PATH(''),ROOT('roles'),TYPE)r(x)
    select * from @person
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • EJB3 Injection - how to Inject it into struts 2 Action

    What is suggested/most common/proper way of injecting EJBs into Struts 2 Actions?
    Is there a standard way to do so?
    I am currently migrating code from JBoss4.2.3.GA to JBoss5.1.0.GA. One of the most important difference is @EJB annotation in servlets.
    I was hoping I could get rid of our custom interceptor/annotation and replace it with something more standard. I have been google-ing a bit, but couldn't find anything that can be considered as standard way of doing it. I have found couple of interceptors/annotations online, but they are not much different than custom solution we have. Further more, I am not sure are the answers I have found outdated with new versions of Struts/Jboss.
    Thanks.

    you need a plugin for struts2
    http://code.google.com/p/struts2ejb3-jboss-plugin/
    after that you can use @InjectEJB instead the @EJB.

  • How to fit HTML into a web content overlay?

    How can I fit a 640px x 960px HTML generated from Adobe Animate into a Web content overlay with 640x x 960x dimension graphic frame?
    When I uncheck the "scale content to frame" option, the HTML was scaled up--cropping 3/4ths of the image. But with the scale content frame option selected, the HTML was scaled down showing the whole image but on a 1/3rd scale.
    The article format is set to PDF.

    I assume you mean Edge Animate.
    What version of ID? Did you fully patch Edge to 1.0.1?
    If you have CS6 you can just place the OAM file.
    Bob

  • How to add HTML into a muse file?

    I'm following google's advice for improving the SEO of a site I've designed in MUSE.  I visited their "STRUCTURED DATA Markup Helper  Here: https://www.google.com/webmasters/markup-helper/
    and they've given me this: after I highlight pointers in my page for google to mark
    what I need to know next, please, is how to locate the correct code within muse, in order to insert these highlighted HTML codes into it, so that google can find my pages easier. I have tried opening the relevent file that I use to store the site on my PC, but there seem to be no matching sections of code. I can only see css files.

    Hello,
    If you're looking to add the code to the head section of the page (which many tracking/analytics codes require), then you can add the code to the Page -> Page Properties -> Metadata -> HTML for head section. If you're looking to add the code to the body of the page, then use the Object -> Insert HTML option.
    Hope this helps.
    Cheers
    Parikshit

  • How to Embed HTML into a Infopath form with out using the custom code???

    Hi ,
    This my first post in MSDN, so kindly ignore if there is any faults/mistakes.
    scenario:
    I am updating a HyperLink(url) to an infopath Field (Such as Rich text box /Label) from a third party workflow(Nintex),it is not able to embed the html data .is it possible to embed html controls like <a> and <Br> tags in the infopath form?????

    The InfoPath form can be configured to export some of the fields as columns... by doing so, the workflow can simply update the list item's metadata, and the value is pushed into the InfoPath form data.
    Scott Brickey
    MCTS, MCPD, MCITP
    www.sbrickey.com
    Strategic Data Systems - for all your SharePoint needs

  • How to Print Html Document (more than one page)

    I've a problem with printing my html page. I can print one page of html file, But my document is longer than one page. and i can't print it.
    who know how to print . Please Reply

    A recent article in JavaPro has a nice solution for this problem. Check out
    http://www.fawcette.com/javapro/2002_12/online/print_kgauthier_12_10_02/
    It describes a way of using Views to break down the pages.

  • How to enter text into text box in Pages '09

    When I manually select a text boxes in Pages, I can paste text into them. I can move from text box to text box using System Events to keystroke tabs but have not figured out how to get Applescript Editor to make the pastes. I am trying to use Applescript Editor to enter text into a pages document that is formatted for labels.

    I have downloaded template U-0089-02_P.doc from Avery, 14 boxes displayed in two columns of seven rows.
    Once you have clicked in the upper left box, the following script should enter text into every box, from left to right and top to bottom.
    tell application "Pages"
    activate
    tell application "System Events"
    keystroke "Box 1"
    keystroke tab & tab -- to go to the next column
    keystroke "Box 2"
    keystroke tab -- to go to the next row
    keystroke "Box 3"
    keystroke tab & tab
    -- and so on
    end tell
    end tell
    The problem is that I don't know how to enter the upper left box from the AppleScript Editor.

  • How to display images on a servlet generated page???

    Hi, I am developing an app in which I must display some messages, each message may have an image. The images are saved in the database. I do not want to save the image on the filesystem but instead of that I want to send the image as an attribute to the page but I dont know then how to display it. I have no idea about how to do that! Any help on this would be very appreciated!

    mmm yes I know that the img tag displays an image but I am asking how to display the image without saving the file into the server filesystem, I mean something like:
    1.- getting the bytes from the Database
    2.- getting an Image object
    3.- pasing it to the request as an attribute
    4.- getting that attribute from the request
    5.- displaying it on somehow directly from the image var or something.
    the src parameter of the img tag takes as a string the path of the image, but i dont want to save it.

  • How to use HTML 'pre' tag in ADF pages

    Hi,
    I am using adf 11.1.1.6.0 and trying to print some formatted text from log files. It can contain either xml / log file with new lines / tabs.
    When I use hte UIX / Regular jsp, I am able to use the <pre> tag and retain the output format form end user.
    When I am migrated the same application to ADF, I am not able to get the desired output format.
    Here are my trials:
    <af:outputYext> with escape="true" : Entire output is displayed in a single paragraph. All new line/formatting has gone.
    <af:outputYext> with escape="false" : Page itself is not painting as the logout put has some special characters.
    <af:richTextEditor> readonly = true : Taking out all xml tags with in the output log
    I tried with f:verbatim as shown
    <f:verbatim><pre> </f:verbatim>
    #{dojStep.displayStepOutput}
    <f:verbatim></pre></f:verbatim>
    In this case, I get the following error: "End tag does not match start tag 'pre'."
    Can you please suggest the alternative to use the html pre tag in ADF world to print the el expression data as it is.
    Thanks,
    -Jaya.

    Hi,
    have a outputText.. with escape="false"
    and in #{dojStep.displayStepOutput} have it like this
      public String displayStepOutput(){
    StringBuilder sb = new StringBuilder();
    sb.append("<pre>");
    sb.append("your text");
    sb.append("</pre>");
    return sb.toString();
    }example-
    <af:outputText value="#{dojStep.displayStepOutput}"/>

  • How to apply html css code in ADF pages

    I have the css code for all html components like buttons , text box, tabs etcc.. I want same look and feel in adf, I want to apply same css in ADF pages without/with minimal changes,
    I need very urgently,
    plz do needful ASAP.
    Thanks & Regards,
    Ram.

    Hi..
    Also this will helpful
    http://technology.amis.nl/blog/5722/using-adf-faces-11g-skinning-for-setting-the-styles-of-specific-component-instances-or-groups-of-instances

  • How to load a large amount of HTML into HTML region?

    I am trying to display a clickable image map (HTML <map>) in a region. The HTML source for the image map is fairly large and will not fit in the Apex editor (HTTP 400 error when I Apply Changes). I would also rather not manage that much HTML in the Apex web editor. So I stored the code in a file and added it to my applications file storage.
    I have tried various methods of getting the HTML to load when the page is rendered. I tried a URL region, but that leads to all kinds of ACL/security issues that we do not want the customner to have to deal with. i also tried some PL/SQL:
    DECLARE
    l_file_id NUMBER;
    BEGIN
    SELECT id
    INTO l_file_id
    FROM APEX_APPLICATION_FILES
    WHERE filename = 'myhtml';
    APEX_UTIL.GET_FILE(
    p_file_id => l_file_id,
    p_inline => 'YES');
    END;
    But that just replaces the entire page, not just the region it's defined in (even when the HTML is without <head> etc).
    Various attampes wih #APP_IMAGES#myhtml and &APP_IMAGES.myhtml just give me the translation of the APP_IMAGES variable.
    So, how do I load a large chunk of HTML into a region dynamically at run time? I also need this to interact with APEX in the sense that JavaScript will set APEX variables and cause a SUBMIT when the use clicks on the image map.

    Hi Andy,
    ATD wrote:
    Does your HTML define the regions/points on the map using AREA tags?Yes. it is actually generated using MapSefrver from huge tables of SDO_GEOMETRY (Oracle Spatial).
    If so, you could define a report template that does this and use this for a report based on a table that has the settings for shape, coords, href etcHmm, the code (HTML map) is auto-generated so if I understand you correctly, this might be difficult. One of the HTML is approximately 180KB of text.
    I found a way to do this using dynamic PL/SQL. I created a new table that has a varchar filename and a CLOB for the file data. I then imported the HTML into the table using SQL Developer (copy&paste, nice!). I then created an HTML region and used the following:
    declare
    html clob;
    len number;
    st number;
    c number;
    begin
    select length(data)
    into len
    from FILES
    where name = 'state_query.html';
    st := 1;
    while len > 0
    loop
    if len > 32000 then
    c := 32000;
    else
    c := len;
    end if;
    select substr( data,st,c )
    into html
    from FILES
    where name = 'state_query.html';
    htp.p( html );
    st := st + c;
    len := len - c;
    end loop;
    end;
    Edited by: CoyoteTech on May 13, 2009 7:27 AM

  • How can I embed an DOCTYPE HTML Form from Adobe Forms central into a responsive html5 page?

    How can I embed an DOCTYPE HTML Form from Adobe Forms central into a responsive html5 page?
    -Luis

    Hi,
    You can embed the form on your website, but you need to make sure that javascript has been enabled in the browser. You need to copy the embed code and add it into your HTML code. If you would like FormsCentral to generate embeded HTML form without using javascript, you may post a feature request and vote it. Hope it helps! Thanks!
    Kind regards,
    Shiyao Bao

Maybe you are looking for

  • CFM /TR - how system calculate amount based on rate FX 60A

    Hi all, i need to know how system calculates amount based on rate entered upon creating a contract (t-code TX01). steps input:- 1. header - comp code, product type, trans type 2. partner 3. purchase curr & amount (eg. IDR 8,345,545,500) 4. sale curre

  • T code KSV5 performance issue

    Dear Sir, We recently upgraded system from EhP4 to EhP6. In EhP4, KSV5 run in 2 hours. But in EhP6 it took longer than 6 hours. Could you suggest any hints for this issue? Best regards, Gunil

  • Statspack analysis

    Dear all I need a complete reference what to look in statspack report as i have the report but how to analyze that ?? what to analyze ... please let me know in details.... regards

  • BC-SET /VIRSA/FFTAB_52 warnings in activition simulation

    Hello, I encounter these warnings when simulating activition in SCPR20 for BC-SET /VIRSA/FFTAB_52: 1. "Table/view USR10 : Field 'AUTHS ' with length >255 chars is not supported" 2. "Table/view USR12 : Field 'VALS ' with length >255 chars is not suppo

  • Value of unsigned binary??

    Hi all, anybody know a way of getting an integer value from a binary? The binary represents a value in the range of 0-255, and i want to get this value. trouble is if you do a straight cast, it treats the binary as signed and returns a negative value