document

Building wiki like functionality

Hi, I am building my application in Codeigniter. It has a module where users create documents, which can be edited at a later time. How do I implement a 'history' of revisions, perhaps like a wiki ? Is it possible to embed a php wiki in a web app (twiki/dokuwiki)? ...

unable to get form elements by using form name in javascript

I am having an issue with accessing my form by it's name. When I use document.form[0].mylink.value it recognizes the value and outputs to the innerHTML that I specify. However, when I use document.myform.mylink.value it doesn't seem to recognize the form. I have tried this in chrome 6.0 and also firefox 3.6.3 and get the same result i...

Preview a document (ie. excel/pdf) designed for any Mobile phone on my desktop PC?

Is there any free software or is there anyway to preview how a document will look once on the mobile device. So for example, a rendering engine for a Blackberry or Android etc. This way I can make my documents tailored to specific devices without having the phones. Thanks! ...

java: is the default document of a JTextField always a PlainDocument?

Is this always true? new JTextField().getDocument() instanceof PlainDocument Because I have read many examples of PlainDocument where they always create a new PlainDocument and then assign it to a JTextField, e.g. here. ...

Possible to create custom "DOMs" by loading HTML from string in Javascript?

I'm trying to parse HTML in the browser. The browser receives 2 HTML files as strings, eg. HTML1 and HTML2. I now need to parse these "documents" just as one would parse the current document. This is why I was wondering if it is possible to create custom documents based on these HTML strings (these strings are provided by the server or...

how can I make those changes in one go?

Hello everybody as an editor I have to republish a magazine but not before making minor modifications across the magazine. Any suggestions on how can I make those changes in one go? ...

XSLT include and document('') collision

I have two XSLT file A.xslt and B.xslt, where A.xslt includes B.xslt. A.xslt <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:my="my_namespace"> <my:data>This is A.xslt</my:data> <xsl:include href="B.xslt"/> <xsl:template name="my_template"> <xs...

Set a review date on a sharepoint 2010 document

In sharepoint 2010 I need to be able to set a review date on a document and be emailed when this review date is reached. Is this possible? Thanks for any pointers ...

HTML: Getting document from IFrame.

Hello, I have this HTML code: <:html:> <:head:> <:script type="text/javascript":> function GetDoc(x) { return x.document || x.contentDocument || x.contentWindow.document; } function DoStuff() { var fr = document.all["myframe"]; while(fr.ariaBusy) { } var doc = GetDoc(fr); if ...

Allow bundles/plugins to add to Cocoa application's supported document extensions?

In a Document-based Cocoa application, handled file extensions are listed in the application's Info.plist file. The application I'm building will require a loadable bundle for each type of file it opens. As such, I'd like the presence of bundles to modify the way my application registers itself as handling certain file types. As an ex...

iPad ViewController configuration for document-based app

Hello, I was wondering what would be the best configuration of view controllers and views for an app that I’ve been planning out. Conceptually, the way I would like to lay out the app is with an initial loader/browser view, likely with document thumbnails. When a user chooses to open one, a new view comes up that forms the main document...