For quality assurance purposes, I need to verify that certain elements are the correct size.
How do I check the size of an element on a live web page. For example: size of the side bar, size of an image, etc.
...
Hi,
I have the following code:
InputStream reportFile = MyPage.this.getClass().getResourceAsStream("test.jrxml");
HashMap<String, String> parameters = new HashMap<String, String>();
parameters.put("StringParameterName", "show me");
try {
JasperReport report = JasperCompileManager.compileReport(reportFile);
JasperPrint print = J...
I use Yahoo UI with Grails (so grailsui) and I try to upload a file with Ajax and get a JSON response from the server :
The response is correctly returned by my controller but a popup is displayed to save the file but it's not a file it's a JSON result.
My Yahoo Code is :
YAHOO.util.Connect.setForm(document.getElementById('formi...
Right now, I am using Dreamweaver to edit my files locally then ftp them to the live server.
I want to start using version control (I am thinking subversion) but I have no experience with version control at all.
So is this something I would need to setup locally or have setup on my web server?
If on my web server, is this something I ...
When I query Google Reader for the list of subscriptions for a user, it seems to be returned in a fixed order, no matter what the order is as shown at google.com/reader.
(see http://www.google.com/reader/api/0/subscription/list for the list I'm talking about)
Each subscription returns a 'sortid', which Google Reader uses when the user ...
So mozilla has proposed a new webfont, i'm not really into that world, but i want to keep myself up2date. So whats the great thing since even Microsoft is backing it, why should I as a webdev care?
Whats the difference from the old ones?
Do we need another font system?
In what situations should i use WOFF?
Why not just stick to the exi...
I'm trying to implement OpenId login for a web application. Whenever new user who logs in via OpenId I create a new user on the sustem, and among the data I store their openid URL, so that next time they login with that user.
I'm testing this with my Gmail OpenID, and the problem is that everytime I do this, Google sends a different ope...
We're being told that fewer HTTP requests per page load is a Good Thing. The extreme form of that for CSS would be to have a single, unique CSS file per page, with any shared site-wide styles duplicated in each file.
But there's a trade off there. If you have separate shared global CSS files, they can be cached once when the front pag...
In previous versions of DynamicData you could override GetFilteredColumns method from FilterRepeater to manage which columns are used to generate filters.
But now FilterRepeater is obsolete, and his successor QueryableFilterRepeater don't have such method.
There is any way to override the columns used for filtering with QueryableFilter...
We are in the process of converting from CVS to Mercurial hg.
Our infrastructure is Windows 2003/IIS6
Each developer develop on their machine
1xDevelopement server
1xStaging server
Production environment
Here's what I have done so far:
Installed Mercurial on my machine, on the development server and on the staging server.
Created...
$.ajax({
url: "/cgi-bin/stats.exe",
method: "post",
async: false,
data: { refresh: "a41" }
});
Using ajax post synchronously - "async: false".
While it blocks the browser during the active request, what is the most efficient way to change the cursor to the hourglass or display a wait .gif?
Perhaps ...
I am trying to deploy my first rails app to Heroku and seem to be having a problem. After git push heroku master, and heroku rake db:migrate I get an error saying:
SELECT posts.*, count(*) as vote_total FROM "posts" INNER JOIN "votes" ON votes.post_id = posts.id GROUP BY votes.post_id ORDER BY created_at DESC LIMIT 5 OFFSET 0):
...
I am developing a spring mvc based application. I have a simple pojo form object, the problem is that many properties will be taked from drop down lists that are populated from lookup entities, so I return the entity ID to the form object.
public NewCarRequestForm {
private makeId; // this are selected from a drop down.
private...
if you look at this http://blog.zopim.com/ site, you will see on the bottom side a chatting service,, i actually dont want the chatting service,, i just want the div to be up on the top of all the stuff present at my site.. just like this one..
how can i have that,,, if any samples please share it.. it wud be quite helpful..
thanks......
I need to output to HTML a list of categorized links in exactly three columns of text. They must be displayed similar to columns in a newspaper or magazine. So, for example, if there are 20 lines total the first and second columns would contain 7 lines and the last column would contain 6. The list must be dynamic; it will be regularly ch...
Since MS will stop supporting anything before IE 8 soon, I am not sure if I should make my web app compatible with those older browsers. I know there are still people using them but I don't know if there are enough to make it worth while.
Any suggestions as to how to decide what version to support?
Thanks.
...
I am submitting a Chinese character to my form but once it is submitted it is coming as XML entity.
For e.g. I am entering this 星洲 and the value going to my form is 星洲
Any inputs how to convert this XML entity to the Chinese character equivalent.
...
Hello, I have looked for months now, for JavaScript-based HTML editor I can embed onto my web pages to replace a TEXTAREA, but to enable me to edit CODE in a friendly, closer to a real editor, way. All editors I've tried (RadEditor from Telerik, FCKEditor, TinyMCE, etc etc), do not trap the TAB key, very useful when editing HTML code ont...
The code I want to have saved through TinyMCE is as follows:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="550" height="90" id="homepage-banner">
<param name="movie" value="/images/header.swf" />
<param name="wmode" value="transparent" />
<!--[if !IE]>-->
<object type="application/x-shockwave-fl...
I've created a simple menu and submenu with tags(not allowed to use ul elements). To access the submenu the user hovers their mouse over the menu item. I use the onmouseover and onmouseout events to either show or hide the sub menu depending on which item is selected.
A pipe (|) is used to seperate each submenu item and this is what is ...