Hi, everyone,
I want to ask an iPhone application, it is about the adding cookies of GET and POST in NSURLRequest and NSURLResponse.
In my program, the user has to enter uesrname and password. After entered the information, the user will press a button. When the user presses the button, the program will call a function 'pressLoginButt...
We're trying to pass a variable number of key-value-pairs to our service by using the WebGetAttribute and the UriTemplate to expose a REST interface. What we want to do:
[WebGet(UriTemplate="/Query/Select?{query}"]
Response Query(string query);
At client-side we want to specify some keys several times, e.g.:
hllp://localhost/MyService...
I'm using a form to add an entry, and I need to send the id of the current user along with the entry parameters. Here is my form code:
<% form_for(@entry) do |f| %>
<%= f.error_messages %>
<%= hidden_field_tag 'user_id', current_user.id %>
<p>
<%= f.label :date %><br />
<%= f.date_select :date %>
</p>
<p>
<%= f.labe...
In a shell script I want a variable p to be equal to "$@", so that the following two lines of code produce the same result:
for x in "$p"; do echo $x; done
for x in "$@"; do echo $x; done
If I do p=$@ or p="$@" this doesn't work.
When the command line arguments have spaces in their names, I can't find a simple workaround to this prob...
I have to use a provided script that takes user input while the script is running instead of parameters. I can't get around this.
An example of script would be:
#!/bin/bash
echo "param one"
read one
doSomething
echo "param two"
read two
doSomething
echo "param three"
read three
doSomething
echo "param four"
read four
doSomething
e...
I'm working with what should be a fairly basic iteration. I understand that I could accomplish it with Ruby code, but I am working already in a C extension, so I would prefer to keep this function in C with the rest of the code- especially since this should work (one way or another) without issue.
The issue is with rb_block_call. Here ...
I have a function which accepts a parameter named IV. Is there anyway that I can explicitly specify the size of the parameter IV to be 16 ?
public AESCBC(byte[] key, byte[16] inputIV)
{
//blah blah
}
The above is of course not working. Is it possible? I know I can check it inside the function and throw an exception but can it be ...
Hi, I am trying to compile this program. It works perfectly for 2 Strings(Name, phone number) But not for 3 Strings (Name, phone number and sex).
CODE (Not working code - 3 Strings (Name, phone number and sex))
import java.util.Map;
import java.util.TreeMap;
public class Ann {
String name, phone;
public Ann() {
}
public static ...
I want a servlet to print the parameters from a html form but in the servlet the request has no parameters.
<form method="post" action="LoginServlet" >
<input type="text" name="username" id="username" /><br/>
<input type="text" name="password" /><br/>
<input type="submit" />
</form>
and the servlet's doPost():
protected v...
I have an application the is loaded with forms in every view. I've become rather familiar with CakePHP's array syntax and I use the $this->data parameter a lot.
I fell in love with skinny controllers and fat models, so I put as much code in my models as is possible. Unless I'm doing something complex, most of my controller methods loo...
I have several parameters on an SSRS report. There are two groups of these parameters. One group is report specific, the other group is data specific. I would like to be able to seperate these two groups of paramaters for ease of use. Is it possible to introduce formatting into the Parameters section of an SSRS report? Thanks
...
In C#, I'm trying to figure out a way to use properties inside a templated usercontrol. Let me try to explain what I mean through an exmaple:
<example:myTreeOfItems runat="server">
<HeaderTemplate>
<div>
</HeaderTemplate>
<IndentStartTemplate>
<ul>
</IndentStartTemplate>
<ItemHeaderDefaultTemplate>
...
public ClassType(string type) {
Type = type;
}
public ClassType(string type,bool isArray=false) {
Type = type;
IsArray = isArray;
}
ClassType ct = new ClassType("adsf");
Which constructor is chosen?
...
I am having a problem with this method. All the parameters are there, and in order, but I still get this error: ORA-01008: not all variables bound
protected void LastUpdateDates(string Path, string Key, bool Update)
{
//load the update dates of the mta files
try
{
FileInfo fi...
I have a problem.
I have an XML file that contains information about 100 courses.
I have an XSL file that nicely displays the list of 100 courses.
But what if I want to only display 1 course. Can I pass a parameter to the XSLT file to tell it to only display "ENGL 100" ?
The XML looks something like this:
<document>
<menu>
<it...
Hi,
I'm calling a silverlight component in my aspx page like this
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<div id="silverlightControlHost" >
<object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="100%" height="900">
<param n...
Hi,
I have a web page accessing the SSRS web service and I have some sample reports created.
These reports have some datetime parameters with Available Values specified i.e. 17/07/2009
Report Manager runs the reports perfectly.
When I access the report in my web page and retrieve the parameters the available values for the datetime p...
When I look at the Network tab in Opera Dragonfly, I'm not seeing POSTEd parameters or the RESPONSE content. Here's what I see:
Raw Response
HTTP/1.1 200 OK
Server: Microsoft-IIS/5.1
Date: Thu, 15 Jul 2010 12:43:19 GMT
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Cache-Control: no-cache
Pragma: no-cache
Expires: -1
Conten...
Hi, everyone,
I am writing the iPhone application and I would like to ask about the the passing parameters in objective C.
I create 2 view controller. In the first one, I have a button, when a user press the button, it will call the -(IBAction) pressButton (user-defined), and after 5-6 second (have to process and retrieve the data in ...
Difference between Introduce Parameter and Change Method signature in Eclipse?
...