Re: Changing a page's MIME type in LiveServer

2010-01-29 Thread Jonathan W
Type" is "text/csv": > > Server: Apache-Coyote/1.1 > Date: Thu, 28 Jan 2010 17:42:48 GMT > Expires: Thu, 28 Jan 2010 17:42:48 GMT > lsrequestid: 493 > Cache-Control: no-cache > Pragma: no-cache > Content-Type: text/csv;charset=ISO-8859-1 > Transfer-Encoding:

Re: Changing a page's MIME type in LiveServer

2010-01-28 Thread Jonathan W
Our next attempt has been to specify the MIME type in the XSL transformation: However when viewing the page in Firefox, the MIME type is still text/ html, so that doesn't appear to be working. We're using the default WebLet, xchg. Any more ideas? Jonathan On Jan 27, 4:17 pm,

Changing a page's MIME type in LiveServer

2010-01-27 Thread Jonathan W
Does anyone know how to change the MIME-type of a page in LiveServer. I want to present a Comma Separated Value page with MIME type text/ csv. I've tried: but it had no effect; indeed "request:rde-rd:content-type" doesn't have any value normally. Thanks, Jonathan -- You received this message

Re: uploading files in LiveServer

2010-01-21 Thread Jonathan W
I've never tried this, but i reckon you could do this if you set up a folder in the LS repository to store its files in the file system rather that in the LS database. Administer LiveServer -> Configuration -> Administer Project Configuration -> Content Data Paths Then you can create a group in t

Re: Sourcesafe and reddot

2010-01-14 Thread Jonathan W
We manage our LiveServer projects in Subversion. We wrote a Java utility to monitor for any modified files in the Subversion checked out folder, and import them into Delivery Server using a web service. Jonathan On Jan 14, 11:24 am, TonyGayter wrote: > Does anyone have any experiance with  sourc

Re: Dynament for appending query string to iframe

2010-01-13 Thread Jonathan W
I tell a lie! You can try "> to get hold of the query string. I've not tried it myself. Jonathan On Jan 13, 2:19 pm, Jonathan W wrote: > Correction: > > tag="notag" attribute="request:param1" > inline-function="encode(UTF-8)"/>

Re: Dynament for appending query string to iframe

2010-01-13 Thread Jonathan W
Correction: &param2="> On Jan 13, 2:16 pm, Jonathan W wrote: > Essentially we do this: -- You received this message because you are subscribed to the Google Groups "RedDot CMS Users" group. To post to this group, send email to reddot-cms-us...@googlegroups.com. To un

Re: Dynament for appending query string to iframe

2010-01-13 Thread Jonathan W
Essentially we do this: This relies on you knowing in advance the names of every possible parameter. I don't know any way of getting hold of the original query string. You could loop through all request attributes with an Attribute dynament, mode="for-each", but there are rather a lot of them i

Re: uploading files in LiveServer

2009-12-17 Thread Jonathan W
To clarify, someone in my team has solved this problem and the previous post is the solution. Thanks to those who took the time to try to understand my previous posts. Jonathan -- You received this message because you are subscribed to the Google Groups "RedDot CMS Users" group. To post to this

Re: uploading files in LiveServer

2009-12-17 Thread Jonathan W
Here is one example of working dynament code to upload files and save them to the repository: Read LS content-Type :: -- You received this message because you are subscribed to the Google Groups "RedDot CMS Users" group. To post to this group, send ema

uploading files in LiveServer

2009-12-15 Thread Jonathan W
Hi, We're trying to work out how to get access to uploaded files in LiveServer. So far we've got: and clearly something is happening, but we can't figure out how to access the content of the uploaded file. Any ideas? thanks, Jonathan -- You received this message because you are

Delivery Server: Content dynament: inline notation in xpath-expr

2009-08-20 Thread Jonathan W
Hi, I've just discovered the bad news that "Inline notation is not supported" (Dynaments manual v9.0 page 115) in the xpath-expr attribute of the rde-dm:content dynament in Delivery Server. This is a show-stopper problem for the archictecture that I had in mind for managing data in DS. This is w

Re: Creating LiveServer rules

2009-05-07 Thread Jonathan W
OpenText UK have supplied me with a sample Java class which should be sufficient for my needs. cheers, Jonathan On May 7, 10:54 am, Jonathan W wrote: > Hi, > > I read in the LiveServer manual that you can add validation rules to > the 20-odd rules which are already defined in Li

Creating LiveServer rules

2009-05-07 Thread Jonathan W
Hi, I read in the LiveServer manual that you can add validation rules to the 20-odd rules which are already defined in LiveServer, by writing and then registering a Java class. But I don't know how to do this (what Java class to inherit from, what methods to implement etc). Can anyone point me i

Re: Error using LiveServer content dynament mode="add"

2009-04-24 Thread Jonathan W
Thanks Cesar. It is LS4, our project setting is "YES Content and group names are only unique within the respective parent group. " Is that what you mean? I'll see what our UK support people say. thanks, Jonathan On Apr 23, 5:38 pm, "cintri...@oshyn.com" wrote: > Hello Jonathan, > > If you ar

Error using LiveServer content dynament mode="add"

2009-04-23 Thread Jonathan W
I can't get the dynament to work with embedded content when using mode="add". Here is my code with three dynament calls, the second one (the one I want to work) fails. I've included an extract from the error report below. Any ideas? I have also tried many other values for xpath-expr, but these d

Development/stage/live environments in LiveServer

2009-04-22 Thread Jonathan W
Hi, We're just starting to develop applications with LiveServer after using RedDot for a year or so. What possibilities do we have with regard to having a development environment separate from our live environment, and possibly even a 3rd staging environment for pre-depolyment testing? We're no

Re: assign user not always appearing?

2009-04-20 Thread Jonathan W (Manchester)
We wrote a very simple PlugIn which just opens the Assign User dialog - this bypasses the 60 minute check so you can do it at any time :o) On Apr 19, 2:55 pm, sarah wrote: > It's actually a 60 minute delay.  I just asked this question of RD > support a few weeks ago. > > On Apr 18, 6:11 am, ako

Re: XML (not CDATA!) in LiveServer page

2009-03-25 Thread Jonathan W (Manchester)
Thanks Henry, I think I get it now. If I want a mixture of HTML and XML on a page, i should just change it's content type from HTML to XML, and make sure the HTML is valid XML. Anyway, I'll give it a try! [For your information: What I'm trying to do is hard to explain. We're generating a library

XML (not CDATA!) in LiveServer page

2009-03-24 Thread Jonathan W
Hi, In a LiveServer page rendered using the "xchg" weblet, dynament code is replaced by well-formed XML, and anything that isn't dynament code is wrapped in CDATA. Is there a simple way I can type well-formed XML into my LiveServer page so that it isn't wrapped as CDATA, therefore it is availabl

LiveServer Web Services with Axis

2009-03-18 Thread Jonathan W
Hi, I'm just beginning to use LiveServer (v4) and trying to deploy my first web service. According to tutorials on the web it's really easy to deploy Web Services on Tomcat using Axis. However, it's not working on our LiveServer's Tomcat installation as it should do, and I think it's because Liv

Porting web applications to LiveServer

2009-01-29 Thread Jonathan W
Hello, Our website has (as well as 1000s of static "Content" pages) a lot of web applications (30+ separate web projects) written using Java Servlets and JSPs running on a J2EE web server. They have been written over the last 10 years or more and may be considered by some as "legacy" systems (wha

Re: Customise User homepage in CMS

2009-01-09 Thread Jonathan W
In SmartTree you can select a page and click the action "Set SmartEdit Start Page", and choose which users you want to apply this to. Then when they log in, the first page they see is this one. Perhaps you can use this feature and construct suitable "home" pages for each user meeting your requirem

Re: Get formatted element value using render tag

2009-01-07 Thread Jonathan W
Thanks Frederick. GetHtml() is better, but the date is formatted as "2008-04-29" whereas I want "29 April 2008". My knowledge of Render Tag language is limited to the Nav Man manual, would it be possible to manipulate the date to get the format I want, using render tags or by switching to pre-exe

Get formatted element value using render tag

2009-01-06 Thread Jonathan W
I'm trying to get values from a page's parent to display on the page. <%!! Context:CurrentPage.MainLink.OwnerPage.Elements.GetElement (stf_writer_name).Value !!%>, <%!! Context:CurrentPage.MainLink.OwnerPage.Elements.GetElement (stf_written_date).Value !!%> The first of these which is a simple S

Re: How can one re-name a file in Asset Manager

2008-12-15 Thread Jonathan W
Our workaround is to create a copy of the image using the "Extended Image Editing Options" in the Asset Manager, and where it asks "Replace original file/Create new file" choose the latter. However we uncovered a bug in the version of CMS we were using at the time (7.5.1.xx). Strange things happe

Database Content placeholders and forms in RedDot CMS

2008-11-19 Thread Jonathan W
Hi, I'm looking at creating forms to update a database table using RedDot CMS, and I've fallen at the first hurdle. In my first form, I happen to want to write the values "1", "2" and "3" to the database but display the labels "Not important", "Quite important" and "Very important" respectively.

Re: Assigning contents of a placeholder to ASP -- problems with quotes

2008-10-23 Thread Jonathan W
Simon's solution sounds good. I also have an untested JavaScript trick for this from RedDot UK, which puts the placeholder content inside a JavaScript comment inside a JavaScript function, and uses function.toString() to get at the function's source code and a regular expression to extract it from

Re: Referencing text placeholder in RQL

2008-10-15 Thread Jonathan W
For the record I'll answer my own question: You can use [IODATA][LINK action="assign" guid="..."][LINK guid="..."/] [/LINK][/IODATA] to do this. The manual suggests this is jsut for structural elements but it works fine for content elements too. Jonathan On

Referencing text placeholder in RQL

2008-10-13 Thread Jonathan W
Hi, Has anybody succeeded in referencing one content placeholder to another using RQL (i.e. doing the equivalent of "Reference Element in Clipbaord" on a content element)? Unless I'm mistaken this is not documented and I'm having trouble following the thread of RDCMS.log Do I have to use the cli

Re: FCKEditor & RD

2008-10-02 Thread Jonathan W
Yes FCK is already installed with recent versions of RedDot. If you find that the above works for Firefox users but not for Internet Explorer, you need to make a copy of the "fckEditor" folder in ...\RedDot\CMS\ASP with a different name, and in the config page that Tiffany mentions, use your new

Re: Best Strategies for Migration

2008-09-30 Thread Jonathan W
We are also migrating from a very structured website with XML content, metadata and a Java API for querying it. We wrote a standalone Java application which began at a given page of the old structure and queried it for a list of child pages, then it used RQL to create and connect pages in RedDot

Your favourite version of CMS 7.5?

2008-09-12 Thread Jonathan W
I'm using CMS Version 7.5 Build 7.5.1.86. RedDot support are encouraging me to upgrade to 7.5.1.103. However I've heard that 7.5.1.91 is quite a "good" version, fixing some long standing memory leaks. Which should I use? Has anyone used 7.5.1.103 and are they able to recommend it? cheers, Jonath

Re: Global find and replace

2008-09-09 Thread Jonathan W
When it's a URL you're searching for, my understanding is: - "Find and Replace" will search through some text-based page attributes such as Standard Text Fields, Text and headlines - "Check URLs" searches URLs in Anchor and List placeholders and allows you to replace them. I don't know any way o