How to make the multibox values selected in html:select in struts?
In my application I am using multibox where I have 5 values and want first 3 values to be preselected. So How could I make it at the time when i am creating the latter. ...
In my application I am using multibox where I have 5 values and want first 3 values to be preselected. So How could I make it at the time when i am creating the latter. ...
I can't seem to figure out what I am doing wrong here. I have implemented the Super Simple Authentication from Ryan Bates tutorial and while the login portion is functioning correctly, I can't get an error message and redirect to happen correctly for a bad login. Ryan Bates admits in his comments he left this out but can't seem to imple...
I have an issue in IE6 but not IE>=7, FF or Chrome. It is caused when you wrap an anchor tag with a span. <span><a href="place"><span>Text</span></a></span> However this works: <h1><a href="place"><span>Text</span></a></h1> The only styling on them is as below: div#headeraffiliate a.skin_3 { width: 550px !important; height: 53...
I want set up automated regression tests for a website -- the user fills out forms and I want to check for correct responses. Can anyone recommend tools for automating this? ...
backend/ module1 module2 module3 frontend/ module1 module2 module3 or modules/ module1/ frontend backend module2/ frontend backend module3/ frontend backe...
I have successfully installed the Clearance Gem from ThoughtBot. Clearance sends a confirmation email upon a new sign_up and suggests adding: config.action_mailer.default_url_options = { :host => 'localhost:3000' } to your /environments/test.rb and development.rb. I have tried this and also config.action_mailer.default_url_options =...
Summary: web page has a few fields to allow the user to enter payments. After the system processes the payments, the fields weren't cleared out. So my task is to simply clear them out. This is the few lines of code: ' first insert the transaction InsertANewTransaction() 'clear out the values txtAddTransAmount.Text = "" ddlAddTransTy...
I'm very new to Version Control, and I was wondering if I could get some advice on how it can fit into website design. At the moment I'm working on a typical, simple website that includes images: A few .html files and a .css file One folder full of photographs Another folder with the corresponding thumbnails Can I just put the whole...
I did see this post which lead me to the UI/API/1.8/Dialog I'm looking for the most basic popup to submit form data. Is this it? (does a popup submitting form data have to use ajax?) Thank You. EDIT - Sorry, to clarify, I mean that the popup contains the actual input fields and the Submit button as well. I did see the jQuery example...
Hi, I've got a multi-part form (in a PHP MVC setup) which I have working correctly without javascript enhancement. I'm starting to add the AJAX form handling code which will handle each stage of a form submission, validating/saving data etc, before using AJAX to load the next stage of the form. I'm wondering how best to pass the URL of t...
I have the following code: $sql = "SELECT name, address, city FROM tableA, tableB WHERE tableA.id = tableB.id"; if (isset($price) ) { $sql = $sql . ' AND price = :price '; } if (isset($sqft) ) { $sql = $sql . ' AND sqft >= :sqft '; } if (isset($bedrooms) ) { $sql = $sql . ' AND bedrooms >= :bedrooms '; } $stmt = $dbh->pre...
Hello again, I have a Web Application that I built a C# class in that generates a Report. This report takes nearly 40 seconds to generate because it searches hundreds of folders for certain files. So I was hoping there was a way to display a "Loading.." icon as this report is generating. I have a gif stored in my Images folder that w...
I have a JSON API that I need to provide super fast access to my data through. The JSON API makes a simply query against the database based on the GET parameters provided. I've already optimized my database, so please don't recommend that as an answer. I'm using PHP-APC, which helps PHP by saving the bytecode, BUT - for a JSON API tha...
I've been tasked with creating a web app to be consumed by a mobile device sporting Windows CE 5.0 (and some with Windows CE 4.2). I've found a host of things that seem to work fine in IE6 on my desktop, but fail when rendered in IE for Windows CE. IE6 is bad enough as it is...does it lose any more functionality on an embedded system? ...
Hello I want to to implement password recovery in my web application. I'd like to avoid using secret questions. I could just send the password by e-mail but I think it would be risky. Maybe I could generate a new temporary random password and send it by e-mail but I think it is as risky as the above point. Can I send a url by e-mail ...
I've been asked to develop a website for the iPad. It's going to have a couple videos on it. I'd like to try out html5. I'd really only be using the new video part of html5 (with flash fallback for browsers that don't yet support it). Would it be a mistake to do this on a fairly traffic heavy site? Edit: The site is for all browsers, b...
I have a theme that I'm modifying for my site. I currently have it live on my test domain while I tinker with it before launch. http://www.networkgenius.org The #content-wrap div is centering, but too far to the right for some reason. I've absolutely no idea why it's doing this, especially since everything else is centering properly. W...
I think I've seen Gmail do it in Chrome or Internet Explorer, but I've never seen it in Firefox. I thought I'd ask anyways. Is it possible to do a file upload without requiring an <input type="file" />? I see that you can use iframes to automatically submit the file input, so my question is Can you programmatically pop up a file upload...
I have recently started working on web applications and i'm doing it using ASP.Net MVC. I have been checking out some open source applications. Some of the views that i checked had alot of markup code, so i was wondering are there any other tools used to visualize and develop views, in a more visual way.. Thanks. ...
I would like to know how I can send emails from my web app that I have hosted in a shared server. First of all I would like to know if I can, so my question is: what should I check? I heard that I should have a mail server in my hosting, so I tried telnet smtp.tirengarfio.com 465, but I get: telnet: could not resolve smtp.tirengarfio.c...