instruction_seed
stringlengths
1
35.8k
_source
stringclasses
1 value
the .defer(5000) is causing a too much recursion error in JavaScript. How do I delay the execution by 5 seconds? rotate: function () { if (!paused) { this.show(counter); counter = counter + 1; if (counter === Spire.Rotator.data.items.length) { counter = 0; } Spire.Rotator.rotate().defer(...
stackexchange/codereview
I want to make certain frequencies in a sequence of audio data louder. I have already analyzed the data using FFT and have gotten a value for each audio frequency in the data. I just have no idea how I can use the frequencies to manipulate the sound data itself. From what I understand so far, data is encoded in such a ...
stackexchange/codereview
The google guide Making AJAX Applications Crawlable tells how to format your url with hash an ! in order to make your site crawlable. A good example for that is the new twitter. If you type the URL: http://twitter.com/dinizz You will be redirected to: http://twitter.com/#!/dinizz I realized that the redirection is made...
stackexchange/codereview
I have a table (has more info than this, but to save space I removed the extra fields) and inside this table, I am using jQuery UI calendar datepicker. <table class="formInfo" cellpadding="0" cellspacing="0" id="newShowToVenue"> <tr> <td><img src="img/information.png" alt="help" width="16" height="16" class="he...
stackexchange/codereview
I want to make some debug console for my application. It should output some data and take input commands. How can I do this? The best way is updating console like: drawing information and prompt for input after the data. I'm developing under Linux. For example, gdb could take input from console.
stackexchange/codereview
I have a set of values in a column that go 3 4 4 5 6 7 8 ... I wish to decrement all these values by 1 Any ideas as to how to formulate this in an AWK script? thanks What if I wish to increment the entries instead of decrementing? Would awk '{ $7--; print $1 }' work?
stackexchange/codereview
I currently have a site that is in development, it's deployed on a web server, and myself as well as one other developer are actively working on the site. We currently have no version control, periodically we backup the work, but for the most part, we are both just working off the server. I've used both GIT and SVN on ...
stackexchange/codereview
I previously had a subfolder in my WPF application project called "Controls". It contained a WPF user control. I decided to move that user control to my "Views" folder. Since the original folder was empty, I decided to delete it from the project. Because the user control and folder is removed I receive a compilation e...
stackexchange/codereview
Just curious how to calculate the length of time it would take someone to read a paragraph with x characters and/or y words. Any thoughts on this?
stackexchange/codereview
I often find myself writing R scripts that generate a lot of output. I find it cleaner to put this output into its own directory(s). What I've written below will check for the existence of a directory and move into it, or create the directory and then move into it. Is there a better way to approach this? mainDir <- "c:...
stackexchange/codereview
I have a conditional statement thus: if($boolean && expensiveOperation()){ ...} Does PHP have lazy boolean evaluation, i.e. will it check $boolean and if it is false not bother performing the expensive operation? If so, what order should I put my variables?
stackexchange/codereview
We have a web application configured with maven. I have done a re-factoring (moved a file from one package to another) outside of eclipse, since this is not setup on eclipse and it is small fix. But, however I did forget to update reference to this file in a file. Then I did mvn clean install surprisingly it is built...
stackexchange/codereview
I have the following string: blah blah yo<desc>some text with description - unwanted text</desc>um hey now some words yah<desc>some other description text stuff - more unwanted here</desc>random word and ; things. Now a hyphen outside of desc tag - with other text<desc>yet another description - unwanted <desc>and th...
stackexchange/codereview
I've made my front page a static page with wordpress. I would still like to be able to link to a listing of blog posts. How is this done?
stackexchange/codereview
Is there a better way to write this query? startimg point: index.php?IDGruppo=25,48,47&IDFamiglia=845,587,215,444 now i explode IDGruppo and IDFamiglia and build query like: there is a best way? $sql = "SELECT * FROM catalogo_prodotti cp, catalogo_prodotti_attributi cpa WHERE cp.IDProdotto = cpa.IDProdotto "; if($IDGr...
stackexchange/codereview
I have a client who wants to be able to add/delete/modify email addresses etc through cPanel, but I'd much rather add my own virtualhosts config for the actual site instead of a cPanel generated one. (A bunch of reasons. Don't want to install cPanel's ruby, would rather use passenger than mongrel, etc etc). I don't hav...
stackexchange/codereview
I'm making a simple cross platform chat program. I'm using wXWidgets for the GUI which works well, but I need a way to create a socket and to create a server client setup. Is there an API that for example underlying uses WinSock on Windows, and Linux's native socket and osx's? I'm not looking for boost as a solution be...
stackexchange/codereview
I have a WPF UserControl in which I try to implement the custom MouseClick (because there is no MouseClick event on a WPF (User)Control) event. I got the following: Some code: /// <summary> /// Occurs when users left clicks the MyControl. /// </summary> public event MouseButtonEventHandler MouseClick { add { AddHand...
stackexchange/codereview
I am getting a parameter is not valid exception..While saving the image Here is my code to save the image if (!File.Exists(pictureBox1.Tag.ToString())) { Image image = pictureBox1.Image; image.Save(pictureBox1.Tag.ToString(), ImageFormat.Jpeg); } else { string delStr = pictureBox1.Tag.ToString(); pictur...
stackexchange/codereview
I did: gem install ruby-debug Then it installs... I launched using: rails server -u -p 3002 (I also tried with -d) I get this: => Booting WEBrick => Rails 3.0.1 application starting in development on http://0.0.0.0:3002 => Call with -d to detach => Ctrl-C to shutdown server You need to install ruby-debug to run the se...
stackexchange/codereview
Hey guys, sry, my third question belonging to this topic, but it doesnt start to work. This is my result... each and every time. (all jars / adapter included) - also it results with 'Valid Adapter, calling handle' but it also always say 'failure' 11-22 13:14:02.634: DEBUG/AdWhirl SDK(2621): Will call rotateAd() in 30 ...
stackexchange/codereview
in my code im using script manager and tinymc...at the start it loads just fine,,,but when i click a btn as the page dosnt post back due to script manager and update panel....the result comes fine...but the tinymc editor does not load ,,,i can only see textarea And when i manually want to call javascript at the end of ...
stackexchange/codereview
Ok, the scenario is this. I have a php code that sends out email with excel file attached to it. I have two different servers with me. The first one, ive blasted out an excel file with 100+kb and its good. I tried it out with the second server, same file. But it failed. I tried to minimize the file size to 10kb, and lu...
stackexchange/codereview
Any help with building the following design around a .NET app would be appreciated. Imagine that we have different types of articles: lets say, NewsArticle, BlogArticle, EditorialArticle etc. They are different in some ways, the same in others, thus they all inherit from an Article base class. We want a nice modular d...
stackexchange/codereview
I know, I know, don't use global variables. But I've used them for all sorts of control structures over the years and they work fine for this old-time modular 'I object to objects' guy. My current issue has to do with 'disappearing scope' of arrays that are declared global, filled out later and then referenced from el...
stackexchange/codereview
Say I have a three models that look (basically) like this: class User < ActiveRecord::Base has_many :projects has_many :deliverables end class Project < ActiveRecord::Base belongs_to :user has_many :deliverables end class Deliverable < ActiveRecord::Base belongs_to :user belongs_to :project end Now, say ...
stackexchange/codereview
I've been trying to figure out how to do this (if it's even possible) and have drawn a blank... I have some text that will wrap onto multiple lines. I want to detect each individual line, and wrap it in a span. Finally, I want to assign a class to each span from a looping array. For example...! <div id="quote"> I h...
stackexchange/codereview
Am developed one application .The UI get varying differently in emulator and device.the correct ui displayed in emulator but in device the button size, spinner size,text view all changing deterrently in device.So i have to change some modification in xml file according to the device visibility. any one help me How can ...
stackexchange/codereview
I have a xml file in this format: <?xml version="1.0" encoding="UTF-8"?> <?mso-application progid="Excel.Sheet"?> <Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:x="urn:schemas-microsoft-com:office...
stackexchange/codereview
My application uses two different SQL 2008 databases. The databases have a few tables with the same name, ie. Users. I would like to use EF4 for both these databases. However, when I run my application and it hits the objectcontext creation of the second database, I get the following error: Multiple types with the nam...
stackexchange/codereview
What I do with my application is allowing users to discover POI on Google Maps. That's really easy and I use final Intent myIntent = new Intent(android.content.Intent.ACTION_VIEW, Uri.parse("geo:+" + lat+ "," + lon)); startActivity(myIntent); I have 2 big issues with this 1) When Latitude is activated, Google ...
stackexchange/codereview
I just made a new layout and in my container it is supposed to be filled in with a light blue color. Except it doesn't seem to be working. In the screen shot it also shows how the container starts but then stops underneath the navigation links. Also the container background seems to be working on my .index.php page bu...
stackexchange/codereview
I am using NHibernate, and I have a BootStrapper class that has a method that returns an ISession. In my Repository class I am passing it an ISession Object. In my Controller, I am passing its constructor an IRepository object. I have been successful in binding my IRepository to Repository class, but I can't figure ...
stackexchange/codereview
Hi I have the following HTML5 Canvas app: http://dev.driz.co.uk/app/ When you move the mouse around it will cause the balls to move around, the problem however is that the balls do not react to each other. Instead they just pass over or behind each other. Looking for some collision detection info for HTML5 Canvas. Than...
stackexchange/codereview
I would like to deploy an Android application internally in an organization. For the moment while developing the application, I have used e-mail to spread my application. Then the user has to install the Android SDK, install a driver for his phone and finally run the adb install MyApplication.apk to install the applica...
stackexchange/codereview
i want to select all the elements that start with a particular sequence. The sequence will be like work_XXXXXX. how to achieve this?
stackexchange/codereview
Is it possible to add "hooks" to a class via bytecode enhancement that execute code whenever a class field is read or written? For example, I'd like to automatically set a "dirty" flag whenever a new value is assigned to a field. If so, which libraries are best suited to implement this functionality?
stackexchange/codereview
i use JSon to return allot of results when building a website, but find myself writing a a lot of code like this: return Json(( from s in searchResults select new { orderID = s.OrderID, OrderRealID = s.OrderRealID, ...
stackexchange/codereview
I'm trying to figure out how I can make a submit button placed on an email so that when the user opens the email, they see the button, can click the button and then an action is done. What I need is for the submit click to send info back to my server in some fashion. Is any of this possible with an HTML email? Will the...
stackexchange/codereview
I have a 5k line MySQL database structure from a legacy application and need to import this / convert this into a set of Rails db/migration files. Are there tools out there for doing this? Can one somehow tell Rails to connect to a legacy DB and pull out schema from it? Thanks.
stackexchange/codereview
If I want to insert a record while looking up a foreign key, I can do that with: INSERT INTO stores_products (name, product_id) SELECT 'storeABC', id FROM products WHERE name = 'product123'; (where product_id is a foreign key to the products table) However, I can't quite figure out the syntax when I need t...
stackexchange/codereview
I'm writing a recursive program using argparse. The only required argument is a file (or files) to act on. When I call it recursively, I don't need the filenames (as I'll be calling on a new directory), but i need the options. the problem is that argparse allows both python programname.py -options arg FILENAME FILENAME...
stackexchange/codereview
Cat------>Dog------>Horse----->Parrot ^P1       ^P2       ^P3        ^P4 Draw the resulting linked list after executing the following statements: P4 = P2; P3.info = P2.info etc. My question is, what does '.info' reference? I've looked in the API for both node and linked list and haven't found anything. Any ...
stackexchange/codereview
I am trying to modify a stored procedure that I have to include a Input parameter @OrderBy. But I need to test it to say if its NULL then don't include the ORDER BY in the SELECT SQL If its NOT null then I want to order by on @OrderBy Is this possible? Thanks in advance
stackexchange/codereview
I just need to send a mail notification whenever a model is deleted. I can achieve this by overriding delete() method. But, the notification mail should specifies the current user who actually deleted this model. Is there any way to get the current user inside delete() method?
stackexchange/codereview
************************** * Ending Case(test) * ************************** SET: Global["test_status"]=FAILED ========================= = Ending Test (test) = ========================= Regex which will return the status i.e. FAILED or PASSED from the above text. Currently I'm using .*SET: Global\\W"test_s...
stackexchange/codereview
I hope every reason is mentioned, I think that performance is the main reason, but I hope every one to mention what he\she knows about this. It's more recommended that you explain every thing, I'm still a starter. Thanks in advance :)
stackexchange/codereview
I accidentally cleared all my app's config vars using Heroku documentation (it should have erased only my environment variables and left the ones set by Heroku). Now my app can't connect to its db (the default shared PostGreSQL) nor its memcache instance. Do you know how to restore those variables? Thank you, Kevin
stackexchange/codereview
When I switch to another branch or tag I can't browse the available options in the repository. Subclipse says Could not find a repository svn: No repository found in 'svn://foo.com' The repository is actually at svn://foo.com/bar. I can fetch the branches if I type in the full address by hand but it'd be nice to be a...
stackexchange/codereview
I'm writing a test app that tests another application with a bunch of menus. I simulate keyPresses by using QT::keyPress. However, at some point it doesn't accept keyPresses anymore, until I learned you need to use keyRelease as well (according to the documentation which was a bit vague for me, it says "Note: At some p...
stackexchange/codereview
Ok here come my question, I have a database with such scheme +-------------+ +------------+ +-----------+ + Object + + car + + computer + +-------------+ +------------+ +-----------+ + id + + object_id + + object_id + + some_col + + max_speed + + CPU_speed + + type + + n_gears + + ...
stackexchange/codereview
What's the best way to produce this xml programmatically and persist to file? The data source is just going to be a csv file (you may suggest the csv file be formed another way if it makes programming the xml easier (flexible in this area)): business name, address line Comapny Name 1, 123 Main St. Company Name 2, 1 Elm...
stackexchange/codereview
I'm triying to bind to a RadioButton.IsChecked property, and it only works once. After that, the binding doesn't work anyore, and I have no idea why this happens. Can anyone help out with this? Thanks! This is my code. C# public partial class Window1 : Window { public Window1() { InitializeComponent(); ...
stackexchange/codereview
I would like to create an Android app that shows the map of the United States with annotations in different cities. When I zoom in a zone I would like to see annotations in single places (e.g. I see NewYork:10 pictures, then I zoom in NY and I see 6 annotations in Central Park and 4 in 5th.avenue, for example). Has any...
stackexchange/codereview
Say I want to take a java class file, disassemble it, tweak the java bytecode output, and then reassemble it again. I need to rename a symbol in the constant pool table. I also don't have access to the source code, and using a decompiler seems like overkill for this. I'm not trying to optimize anything - java does a fi...
stackexchange/codereview
I have a rollOver event on a pop-up button in flex. I want that the menu is opened on rollover. But if the user accidentally goes with the mouse over the component the menu should not be displayed. So on rollOver I want to start a timer (wait for half second) and than check if the user is still on the pop-up button (ro...
stackexchange/codereview
I have a rails application where i need to get the count of records those where updated after a specific datetime value. Records.count(:all, :conditions => "updated_at > '#{date_time_value}'") When i tried using the query above i am getting the records count incorrect if the time zone is in a negative value. Any ide...
stackexchange/codereview
For example, I have this char *buff = "this is a test string"; and want to get "test". How can I do that?
stackexchange/codereview
I have a search form regarding property search having some elements on which search will give results. eg area,location,city,no of bedrooms etc. once the form is submitted i can get the values of all form elements by means of $_post. Problem is that when i will implement paging, then how will i get the values of elemen...
stackexchange/codereview
how to reset password in every 3months in ssis package dynamically updated?how
stackexchange/codereview
I am quite confused, if I create array [5,10] then it means it has 5 rows and 10 columns? So its Y,X, right? Confusing to me as I am used to work with X,Y order.
stackexchange/codereview
I need to add a click event on fist child TD for each TR with class “ topRow” which toggle all next TR rows with class “subRow” skiping the first TR under TR.topRow. Table example <table> <tr class="topRow"> <td>text</td> <td>Text</td> <td>Text</td> </tr> <tr class="otherRow"> ...
stackexchange/codereview
I am building an e-library, I have written a query which scans the rows more rows probably due to poor indexing. Here is my table structure. book_categories (cat_id, parent_id DEFAULT NULL, cat_name, parent_cat_name DEFAULT NULL) authors (author_id, author_name, active) books (book_id, cat_id, author_id, book_title, b...
stackexchange/codereview
I need help on how to validate Xml file simply? I googled and found some tutorial said about developer can validate XML file based on an exist XSD schema file.(as below snppet). For my case, I don't have an Xsd file. What can I do? Must I generate an Xsd file with a tool like XSD.exe? XmlReaderSettings settings =...
stackexchange/codereview
I am trying to get this working by following the tutorial at: http://net.tutsplus.com/tutorials/javascript-ajax/using-unobtrusive-javascript-and-ajax-with-rails-3/ and the railscast at http://railscasts.com/episodes/205-unobtrusive-javascript ..in both cases I am having the same problem. The controller is not renderin...
stackexchange/codereview
I need a control like this: This is from the Microsoft Word: Insert => Symbols. This dialog has a grid-like control with a list of Unicode Characters; You can select any character; The selected character's Unicode is displayed; User cannot edit the character; Besides, I need to extend it's feature: 1. User can delet...
stackexchange/codereview
Here's what I did: From VS2010 > new C# Project (from Other Project Types > Extensibility > Shared Add-in) > some basic configuration in the Connect class After that I set in the project properties > debug > start external program, the path for winword (C:\Program Files (x86)\Microsoft Office\Office12\WINWORD.EXE) When...
stackexchange/codereview
The idea is similar to the second screenshot here - except that app simply links to other apps. The design I'm implementing uses each icon to go to a sub-section of sorts of the app, where the user will be able to navigate, and possibly tab through each sub-section's views. How do I implement each icon loading a view h...
stackexchange/codereview
I have been using Groovy on Rails for CRUD applications. I am starting a new project where we are not allowed to use Grails anymore (we have a list of allowed jars and grails is not there). I am considering using Spring ROO or JBoss Seam. How do they compare? What are their major strengths and weaknesses?
stackexchange/codereview
I have a WPF application with a GridView bound to an IQueryable<> collection wich is loaded directly from a database table. This table holds some TEXT fields. Problem is that the GridView automatically increases all rows according to the length of the TEXT field's value. Meanang that if the TEXT field's value has 5 li...
stackexchange/codereview
hi i am new to android-ndk so far i worked with all sample applications in android-ndk,now i am trying to port fftw3 library in android, can you plz suggest me any tutorial for this. Thanks.
stackexchange/codereview
I have released a wordpress plugin recently and I wonder if there is a way to see how many people actually use it.
stackexchange/codereview
I wanted HTML's CODE tag appear as on this page. (ie with line numbers, alternate pattern and toggling between HTML and Text exactly on this page.) http://www.webmonkey.com/2010/02/get_started_with_rest/ Let me know if you know any code snippet, Jquery plugin or wordpress plug in (I'm not looking for codepress but exac...
stackexchange/codereview
When the update panel is refreshed then which event of the update panel is fired on the server side?
stackexchange/codereview
I have a Parent Page that includes an iframe containing html page with many field. The parent page contains the "Save" button. Now i want to get the values of iframe page while submitting the parent page. How can i access the iframe pages fields in parent page submit?
stackexchange/codereview
Does anyone know the definitive answer to why the following isn't allowed by the java compiler? class BaseClass { public <T extends Number> T getNumber(){ return null; } } class SubClass extends BaseClass{ @Override public <T extends Integer> T getNumber(){ return null...
stackexchange/codereview
I have several controllers already set up. Now I want to start writing spec tests for them. Is there a command that generates the spec files automatically? I know rails does this for new resources, but I don't know if it does it for existing controllers/models too.
stackexchange/codereview
I know Rails has some nice helpers for date and time management. Is there an already-working project consisting of, or incorporating a clean DSL for standard units and their conversions? Any project with helpers for the conversion between the two systems' basic units of length and weight would work. Thank you!
stackexchange/codereview
In the following example when the screen in touched a method is called that passes a number to the view controller that is stored by MyViewController. Only problem the view controller doesn't store the number since I want to use it later in another method. Please help. Thank you. MyViewController.h @class MyView; @int...
stackexchange/codereview
I have to convert from Strings the first 2 characters into an int. The problem is when a string starts with 09 that it get converted in 1 and the year looks like 2001 and not 2009. this is what I have, maybe there are better methods ... String s = longString.substring(0, 2); // 09asdasdas int jahr = Integer.parseInt(s)...
stackexchange/codereview
I have a xml file, which is not serialized using XStream. It may be in any custom but fixed format, How to use XStream or any efficient api to de serialize it to Object.
stackexchange/codereview
I am getting a little tricked up right now so I need some help. I have an iPhone app and within the app I want to be able to call a number. (Hopefully this is possible?) I have looked at: http://developer.apple.com/library/ios/#featuredarticles/iPhoneURLScheme_Reference/Articles/PhoneLinks.html and I am a little confu...
stackexchange/codereview
Is this possible to get an audio alert when application is not running...? If yes then how it is possible? How to sync a code when application is not running? Have heard about Push notification services.but is there any other method?
stackexchange/codereview
I'm a Grails newbie. I'm trying to show an images thumbnail for every product in a site, like this: <a href="#"><img src="${resource(dir:"images", file: "Nikon.jpg") }"/></a>/* 1 */ The problem here is that I want to save the image link in the database, and get the link by: ${fieldValue(bean: productInstance, field: "...
stackexchange/codereview
I have the following scenario I have 4 different (sql server) databases (legacy), one for each geo (NA,AP,LA,EMEA). The schema is the same in all the db's. I am in the process of creating a front-end which will go across 4 different db's based on the users selection.I am thinking of using Entity framework. The db's are...
stackexchange/codereview
i have some php script and i think this have a lot of mistake. because of my limited knowledge in concatenation and SQL injection. At 1st time i'm not have any trouble because this script use PHP-Mysql. But after i try to change into Interbase, i meet a lot of trouble. Please help to identify my fault. this my followi...
stackexchange/codereview
I'm trying out apachecxf 2.3.0 and i'm having problems using the wsdlToJava tool. No matter what, i get an WSDLToJava Error: java.lang.reflect.UndeclaredThrowableException. Tried an older version 2.1 and it works fine on the same WSDL. Are anyone else having the same problem with this version?
stackexchange/codereview
I have the following function: function imageSwap(imgPath){ jQuery("#bigimage").attr("src", imgPath); } which is called by: <a href="#" onmouseover="imageSwap('images/upload_pic/resize_<?php echo $image->image;?>')"> <img src="images/upload_pic/thumbnail_<?php echo $image->image; ?>" border="0"> </a> The basic ...
stackexchange/codereview
Say I've got this loop while(condition1 && condition2 && condition3 && condition4){ browseReddit(); } if (!condition1){} if (!condition2){} if (!condition3){} if (!condition4){} It could be broken by any of the 4 conditions becoming false, and I would want to execute different code based on which one(s) it was. ...
stackexchange/codereview
I need some way to create FO file in which tables are created for-each loop Are there any way?
stackexchange/codereview
I am struggling to get the following functionality working, I need to clone a table, but I only need the first 'td' from each row and remove the header. Can anyone point me in the right direction I have tried a few things now but no joy. Tried a few things such as : $('#tableMembers').find('tr').find('td:not(first)')....
stackexchange/codereview
I'm tearing my hair out trying to work with "simple" XML for the first time. I'm building a small CMS for a Flash based site and the content is held in an XML file. My problem is that many of the copy fields are XML CDATA fields. on the one hand, with: $xml = simplexml_load_file($file, 'SimpleXMLElement', LIBXML_NOCDAT...
stackexchange/codereview
I am looking at the basic intro for LoadUI and it seems to be for webpage load testing Is there a way to load test wcf services with it? or is that just not its purpose?
stackexchange/codereview
Is anyone else seeing this is there any real information about how / when and what kinds of rendering rules there? I don't even know if the preview is live or cached. Googling for google preview is not all that helpful, I don't see any guides or help files coming up.
stackexchange/codereview
I am making an image gallery, and I need to display images in a grid like layout. I don't want to use any frameworks, and would prefer to do things from scratch. Also, I would prefer not to use tables for the layout, since it will be a pain to add images to the table dynamically. The layout consists of divs, like: <div...
stackexchange/codereview
This is my html (im using Galleria Image Gallery - JQuery Based) <div id="galleria"> <img alt="Productname 1" src="bens_img/1.jpg"> <img alt="Productname 2" src="bens_img/2.jpg"> <img alt="Productname 3" src="bens_img/3.jpg"> <img alt="Guess what?" src="bens_img/4.jpg"> ...
stackexchange/codereview
I am creating rdlc report and i have issue that i got some bool type object fields and now i have to show checkboxes. but there is nothing i found for this solution to show checkboxes in table. Is there anyone who know that how i can implement that thing?
stackexchange/codereview
I try to use the method something like this: <%Html.RenderAction<NavigatorController>(n => n.Menu());%> but got an exception "A public action method 'Menu' could not be found on controller 'WebUI.Controllers.ProductsController'. Why compiler try to find it in ProductsController, if I specify NavigatorController for th...
stackexchange/codereview
I need to create a web-controlled application (that lives in the browser) that can connect to and read data from devices connected via USB or the serial port. At the moment, I'm using an ActiveX control to do this. However, I'm like to re-write this system to make it cross-browser (support Firefox) and eventually cros...
stackexchange/codereview
Is it possible to create just one class and use a variable for contentview? I am thinking of creating a main layout with loads of buttons with IDs. Once a button is pressed it'll then pass the ID to the class and use that ID to open a specific Layout. One class, multiple layouts. public class Main extends Activity {...
stackexchange/codereview