All Questions
0
votes
0answers
8 views
Can't use object variables without getter methods
I have an abstract class, AbstractNode, and a concrete class which extends it- Node.
I am trying to "program to an interface" by declaring objects of AbstractClass and instantiating them with new ...
0
votes
0answers
7 views
IndexOutOfBounds for ArrayList (Tested with multiple numbers)
so I have this error I get whenever I try to use this ArrayList in this one particular text. So here's the problem-code:
public static String lines(int start, int end, InputStream is) {
try {
...
0
votes
0answers
2 views
Validate entered cell value according to a given data type
I use an Excel macro to create new workbooks filled with data of given csv files. One column is open to user input of certain attribute values. These values must fit a datatype and a certain ...
0
votes
0answers
2 views
AChartEngine - Line width of axis
Is there a possibility to set the width of the x-/y-axis in AChartEngine?
By default, both axis have a line width of 1 pixel. I would like to set the width to 1 dp, but I don't find a method for that ...
0
votes
0answers
2 views
kendo date picker template set name with b'date
i am try kendo date picker customize template.
i want to set name with date here is demo of kendo template.
http://demos.kendoui.com/web/datepicker/template.html
and here is birth-date
birthdays = ...
0
votes
0answers
3 views
Admin log in not working properly
Why is this not working properly?
$sql = "SELECT * FROM $tbl_name WHERE Brugernavn = '$amyusername' AND Password = '$amypassword' ";
$result = mysql_query($sql);
$count = ...
0
votes
0answers
2 views
jsf redirect user when not logged in
im new at jsf security, but i need a basic security to access/restrict access from some sites:
e.g. i have the page showInfo.xhtml, which i only want to show the user, when he is logged in. if he ...
0
votes
0answers
2 views
Naming and referring to a chart in VBA
I am trying to create charts in excel using VBA . The code is as follows :
Sub testmacro()
Dim i As Integer
i = Sheets("Data").Range("M2").Value
Sheets("Email ID").Activate
...
0
votes
0answers
7 views
How to stop curl/bots from automating this code
Is the following email code secure enough for a live environment? i.e. is it safe enough to prevent header injections?
<?php
$email_from = "[email protected]";
$email_to = ...
0
votes
0answers
5 views
How to convert string to dictionary into python
How can I convert string to dictionary into following format
s = "1:5.9,1p5:7,2:10,4:18,8:40"
s = { '1':'5.9','1p5':'7','2':'10','4':'18','8':40'}
0
votes
0answers
3 views
Cakephp: Ajax response is not correctly in “edit”
I have an ajax code, that, when change the select value, load the values of the next select.
When I'm in some page, exemple: societario/attorneys/solicitar this works fine and load the ...
0
votes
0answers
3 views
Xml Parsing returning null tag
I am trying to parse a local xml file with XMLpullparser but not able to get the tag name right.
My xml is
<?xml version="1.0"?>
-
<s:Envelope ...
0
votes
0answers
2 views
CTRL shortcut persist error
I have been coding a couple of shortcuts for my web application, one of them saves the page i am working on, the other closes the page.
Both of these shortcuts work as do the functions themselves.
...
-1
votes
0answers
13 views
Jquery .click function won't work
The jquery .click function work for the first function of mine but the second one it doesn't work. I have included the jquery.js, script.js, $(document).ready and there is a element called 's1'. ...
0
votes
1answer
7 views
How does istream::operator>>( const char& ) as no such function is implemented?
Looking at istream documentation in http://www.cplusplus.com/reference/istream/istream/operator%3E%3E, you will see that there is no implementation of function istream &operator>>( char& ), ...