rendering

Rendering an externally modified file in Rails

I've got a cron job parsing a few XML feeds every ten minutes and creating a few partials to include on every page in my Rails project with the render: file method. The problem is that, obviously, they don't refresh until the server restarts. Anyway, what can I do to force rails to refresh this file every time? Thanks in advance. ...

Telerik RadEditor Rendering issue

I've been working on a project where we are using the Telerik RadEditor control (version 2009.1.402.35). For the most part everything seems to work fine with it (i.e., bold, italics, color etc). What is an issue though is that the indent and list (bulleted and numbered) functions do not properly render on the screen while the user is edi...

Is render 'contribute' synonymous with render :action => 'contribute'

Do these two forms of 'render' have the same effect? render 'contribute' render :action => 'contribute' ...

Rendering Word document without word

Are there any solutions for Rendering MS-Word 2003 Documents (WordML) into PDF without MS-Word? I found Aspose.Words which seems good but has some problems. Is there any other solution out there? ...

Qt4 QGraphicsScene mac ppc 10.4 rendering bug, rects hide later lines ?

When you addRect ... then addLine ... to a QGraphicsScene, you'd expect the lines to be drawn over the rects, right ? In Qt 4.4.3, mac ppc 10.4.11, some lines are not, in the testcase below. I imagine this is a Qt / mac lib / graphics card interaction (versionitis disease) so would appreciate anyone who can say "it's clean in ...". Tha...

Finding rendered HTML element positions using WebKit (or Gecko)

Hi, I would like to get the dimensions (coordinates) for all the HTML elements of a webpage as they are rendered by a browser, that is the positions they are rendered at. For example, (top-left,top-right,bottom-left,bottom-right) Could not find this in lxml. So, is there any library in Python that does this? I had also looked at Mechan...

Can WPF render a line path with 300,000 points on it in a performance-sensitive environment?

A simple XY line graph: The X axis will represent the complete range of possible rating percentages, from 0% on one end to 100% on the other. Specifically, the X value will represent our rating cut-off, or the minimum rating a transaction can have before it is no longer acceptable. The Y axis will show values from 0 to the total number o...

Why does the DIV tag render differently in IE8 and Firefox?

Why do div tags render differently in IE8 and Firefox? Is there a way to have them rendered the same? This is a very general question, the reason I ask is I am fighting both browsers when using div tags, some elements are not rendering the same. ...

WPF: How do I perform custom rendering of items in List or Grid?

With Adobe Flex I would create a custom ItemRenderer to change the display of items in a grid. This executes some code that overrides how the grid control renders items. How do I do this with WPF? What are the performance implications with the techniques available? My initial aim is to display an icon, a title, and a description. Ideall...

IE6 iframe rendering issue

Hi, we have an issue with IE6 with a page inside an iframe. When a submit button is pressed, the page reloads with some new text on it but the old text from the previous page is still visible. In some places this overlaps so that the text is unreadable. Minimizing and maximizing the page cleans this up and view source only shows the ...

How to make a form submit when its rendered based on a value in a request scoped bean

Hello everyone! I discovered a problem in my little program, and Im wondering if anyone have any tips or advice on how to solve this problem as best as possible. I have the bean testBean which is in request scope. It contains the following: public class testBean { private boolean internal = false; private String input = ""; public S...

AJAX plugin in wordpress rendering incorrectly in Internet Explorer

An AJAX log-in plug-in for Wordpress, 'iredlof AJAX login', is rendering correctly in Safari and Firefox on my Mac, and in Safari, FF and Chrome on PC, but not in Internet Explorer. I know nothing about AJAX, Java, php and at a loss to even start to know where to look for an answer. The developer is not being helpful. It's a new blog on...

OpenGL L-System Rendering

Hey guys, i have gotten my basic L-System working and i decided to try and optimize the rendering of the application. Previous i was looping through the whole string of the L-System with a switch case and drawing...better yet i will show you what i was doing. for(unsigned int stringLoop = 0; stringLoop < _buildString.length(); stringLoo...

ASP.NET Control Render Pipeline

I have an issue with a pager control i am building. My code is the following protected override void CreateChildControls() { base.CreateChildControls(); pnl = new Panel { ID = "NewsPager", CssClass = "NewsPager" }; Controls.Add(ddl); AddPagerControls(); } AddPagerControls adds a bunch of LinkButtons that use the same event h...

Firefox 1 pixel bug with border-collapse, workaround?

Is there any workaround for the following "1 pixel to the left" bug? <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <body> <div style="padding: 50px"> <div styl...

c# Winforms Controls rendering the components they are positioned over to a bmp (intelligent screenshot?)

The problem: I have a UserControl (LightBox) which overlays a number of other controls to allow the user to see the controls it is positioned over, but not allow the users to interact with the controls under the Lightbox. Winforms is (almost notoriously as I'm finding out) bad at handling alpha-blending. Question: How can I get the Li...

Render buffer to texture2D object in XNA

In XNA is there a way to render the contents of a spriteBatch after drawing to a texture object before rendering to the screen? ...

Influence of tiling image size on page rendering speed

If a background image is tiled, do the dimensions of the image file have any influence on page rendering speed? I imagine that the smaller the image, the more blits have to be performed to fill the target area, so the longer the page will take to render[1]. Do you suppose this is true? I'm asking mostly from the perspective of the iPho...

Image file that is ~11MB size takes a lot of memory when rendered using WPF Image control

When i try to set the Source of WPF Image to a Image file that is ~11MB size and Shot in 14 MeagaPixcel Camera, the memory shoots up to around 170 MB when the image is rendered on the screen and the memory also never comes down after Rendering. If i try to do the same using .Net 2.0 Picturebox control the memory utilized is only .5MB to...

Export set of data in different formats

I want to be able to display set of data differently according to url parameters. My URL looks like /page/{limit}/{offset}/{format}/. For example: /page/20/0/xml/ - subset [0:20) in xml /page/100/20/json/ - subset [20:100) in json Also I want to be able to do the same for csv, text, excel, pdf, html, etc... I have to be able to se...