values

Getting rid of axis values in R Plot

Hi, i was just wondering if there was a way to get rid of axis values, either the x axis or y axis respectively, in an r-plot graph. I know that axes = false will get rid of the entire axis, but i would only like to get rid of the numering. Thanks so much! ~Sam ...

How is values() implemented for Java 6 enums?

In Java, you can create an enum as follows: public enum Letter { A, B, C, D, E, F, G; static { for(Letter letter : values()) { // do something with letter } } } This question concerns the "values()" method. Specifically, how is it implemented? Usually, I could jump to the source for Java classes us...

How to get the value form a dropdown list using xajax.getFormValues?

I have a form and have several text box, and a dropdown list. I am using the following jquery code to get the values of my form // JQuery Code parentFormName = $(this).parents('form').attr('name'); xajax_addNewRecord( xajax.getFormValues(parentFormName) ); My php code looks something like this: protected function addNewRe...

How to return a value into webpage

Hello: I have a simple webpage that displays the credit balance for calling cards. So far without any problems, with HTML, PHP and mysql, I was able to retrieve the balance from a data base. But I have to display the result in ANOTHER PAGE, wich looks akward because the page must reload. Can I just load this value into a pre-drawed...

How to keep the order of elements in hashtable

I have a hashtable . values() method returns values in some order different from the order in which i am inserted.How can i get the values in the same order as i inserted?Using LinkedHashmap is an alternative but it is not synchronized. ...

Oracle group by and the empty resulting set

Hi! I have the following SQL problem. Scenario: I have two tables: Change and ChangeTicket. There is a 1:n relationship. One Change has cero or many changeTickets. No change means no changeTickets. A changeTicket has a status (open/closed/...) A changeTicket has a field representing how many minutes took this change. A Change has a co...

Drupal - Set default value in hook_form_alter?

Trying to prepopulate some of my form fields, and am using hook_form_alter(). I've tried a couple of different ways, but in both cases, the fields still come up empty. I'm assuming that I need to set default_value and not value because if the user changes what's in the field, I want that to update correctly. Is that right? Here's wha...

Method for generating numerical values from a URL

In the 90s there was a toy called Barcode Battler. It scanned barcodes, and from the values generated an RPG like monster with various stats such as hit points, attack power, magic power, etc. Could there be a way to do a similar thing with a URL? From just an ordinary URL, generate stats like that. I was thinking of maybe taking the ASC...

Display Django values() on Foreign Key in template as object instead of its id

I have a queryset in Django that calls Model.objects.values('item')... where 'item' is a Foreign Key. class Words(models.Model): word = models.CharField() class Frequency(models.Model): word = models.ForeignKey(Words) ... So this returns the item id and displays as an id in the template. How do I show the actual item value in ...

Passing gridview values(data) to textbox fields... [C#]

Hello. For my view, In the page: 1) I have a gridview with the select hyperlink in it. The gridview data is from the SQLDataSource. 2) And, I also have a few textboxes (abt 5) - not in the gridview. What I would like to do is to use the select hyperlink to select the row that i want to edit. And when i click select, the data in the ro...

Emulating Value Type Polymorphism in C Sharp

I'm looking for a way to create some kind of value type hierarchical class structure. I know that enums do not support inheritence since they are value types and are therefore sealed, so I'm probably looking for some kind of static class implementation. My purpose for this is to redefine roles in this ASP.NET application I'm working on....

A select question

There are groups like this; USER_ID SEQ_ID NAME 1 2 Armut 1 3 Elma 1 4 Kiraz 2 1 Nar 2 2 Uzum 4 3 Sheftali 4 4 Karpuz 4 5 Kavun After select query I want to see only; USER_ID SEQ_ID NAME 1 2 Armut 2 1 Nar 4 3 Karpu...

I need a VB code to remove the zero values(Data values) on varous pivot charts

I have about 12 pivot charts and I need help to creat a VB code that will delete only the zero values(Data values) on all the Pivot chart. These are Stacked charts for 3 metrics. eg : Ontime, late and not notified. I need only the values which are not "0" to reflect on the pivot charts.Please help. ...

Value checking logic inside or outside of a class ?

Take this skeleton class that someone wants to fill in to fetch RSS streams on a series of web sites: public class RSSStream extends Thread { public RSSStream(String rssStreamName,String rssURL,int refreshTime){ // constructor code goes here } } Now, let's consider that refreshTime has to be higher than zero and that rss...

direction routing

Is there any link like this "http://maps.google.com/maps?daddr=San+Francisco,+CA&saddr=cupertino"...where instead of address i can pass latitude longitude values of the places ...

Comparing user input integers to dictionary values? (Python)

Hey everybody, I'm a python noob and I'm trying to write a program that will show a user a list of phone numbers called greater than X times (X input by users). I've got the program to successfully read in the duplicates and count them (the numbers are stored in a dictionary where {phoneNumber : numberOfTimesCalled}), but I need to comp...

PHP syntax and structure for radio button and its values

Radio box code: <input type = "radio" name = "choice" value = "A" />Apples /> <input type = "radio" name = "choice" value = "B" />Oranges<br /> $choice=array("A"=>1.00, "B"=>0.80); echo $choice["A"]; // will give me the value of 1.00 echo $choice["B"]; // will give me the value of 0.80 Given the code snippet above, i...

Get form-values from HTTP-get?

I'm using ASP.NET adn have the following code in my view: <% using(Html.BeginForm("Search", "Home", FormMethod.Get)) { %> <%= Html.TextBox("searchText") %> <input type="submit" value="Search" /> <% } %> and in my controller I have: public ActionResult Search(string searchText) { return View("Index"); } If I hav...

Wordpress Custom Value If/ElseIf - Doesn't Work

I'm outside the loop and want to call a custom value "featvideo" and display it. If there isn't "featvideo" then print an image... The video displays, but when there isn't a video a blank box displays. You can see the the issue here: http//wgl.buildthesis.com (and yes, $images is a function defined in functions.php and works) <?php ...

Add SemiColon to each value (each line) in a cell

Hello All, i have the following values in a single cell let be A1 1234 567 454 Likewise all the A(N) are filled with values. N various from 1000 to 1500 i want this to get converted as 1234;567;454 Any shortcut available? ...