I am trying send user profile images from a client to the server using ActiveResource.
Is there a gem/plugin that adds Multipart support to ActiveResource?
I'm using Django on Appengine. I'm using the django reverse() function everywhere, keeping everything as DRY as possible.
However, I'm having trouble applying this to my client-side javascript. There is a JS class that loads some data depending on a passed-in ID. Is there a standard way to not-hardcode the URL that this data should come from?
var rq = new Request.HTML({
'update':this.element,
}).get('/template/'+template_id+'/preview'); //The part that bothers me.
Hi
i wont to store connection tu soap server in python session.
When i try to do this,
session['all']=Client(url)
I getting error:
MethodNotFound: Method not found: 'server.___getinitargs___'
How to store suds connection in session?
A potential client is asking me if I can generate a thumbnail image from .eps and .ai files. The standard .NET Image class is not able to do this, so I suppose I need a 3rd party API, but I am not sure what is the best approach. Any ideas?
Roger
Gallery Server Pro
I'm developing a STOMP binding for Ada, which is working fine utilizing TCP/IP as the transport between the client and an ActiveMQ server configured as a STOMP broker. I thought to support UDP as well (i.e. STOMP over UDP), however, the lack of pertinent information in the ActiveMQ documentation or in web searches suggests to me that this isn't possible, and perhaps it doesn't even make any sense :-)
Confirmation one way or the other (and an ActiveMQ configuration excerpt if this is possible) would be appreciated.
I'm playing around with the TcpClient and I'm trying to figure out how to make the Connected property say false when a connection is dropped.
I tried doing
NetworkStream ns = client.GetStream();
ns.Write(new byte[1], 0, 0);
But it still will not show me if the TcpClient is disconnected. How would you go about this using a TcpClient?
Hi guys
I want to display image using base64 encoding in IE using GWT
If it is not possible can u please suggest me the alternate way except creating the image to serverside & sending URL to the client side
Can u help me ?
Hi ,
Am doing one project ,
For that my client asked amazon payment gateway ,
So now i started exploring amazon payment gateway ,
This is the first time am looking the amazon payment gateway ,
I have registered in amazon ,
Please tell me PHP CODE snippet for amazon payment gateway ,
Thanks
I basically try to reproduce the Socket example from here: http://www.silverlightshow.net/items/Sockets-and-their-implementation-in-SL2-Beta-1-including-a-chat-like-example.aspx
I only made a small change in the client side, i.e.,
String safeHost = "127.0.0.1";
int port = 4509;
Then I got this permission error? Any idea why?
Unhandled Error in Silverlight Application An attempt was made to access a socket in a way forbidden by its access permissions.
Hi there,
I want to develop a Facebook connect application that can operate both inside a Facebook canvas or standalone.
Can I check if the user is using Facebook canvas / not using the official Facebook PHP client library?
Thanks, Andree
I have a column (SERVICE_ID) in my table where I can have only 3 values: 0, 1 and 2. I'd like on select, on displayed result table, to change those value with some english words.
select client, SERVICE_ID
from customers
displays now:
--------------------------
| John | 1
| Mike | 0
| Jordan | 1
| Oren | 2
--------------------------
I'd like to change the query to get:
--------------------------
| John | QA
| Mike | development
| Jordan | QA
| Oren | management
--------------------------
There is any way to do this using only the select?
Hi, is there any way to validate -moz-border-radius / -webkit-border-radius in the CSS validator?
The client wants validation buttons in the sidebar (ugh!) and I can't find any way to bypass it. I've used @import too, no success.
If you are building an RSS parser, how important is it to build support for RDF?
Are any new feeds being published in only RDF?
My thinking was that RSS 2.0 (and Atom) have replaced RDF.
I actually had not heard of RDF until a client pointed out some feeds that are RDF-only.
I created a Membership login system for my client, now they do NOT want the user to use one of his 5 last passwords when it comes time to create a new one.
Is that something that is build in or how could I accomplish that?
Thank you,
Steve
I have a client who requested piano keys as links and he wants them to sound when the mouse hovers over the keys. How can this be done without using flash?
Hi,
Is it possible to automatically create Word documents which include list fields from a custom SharePoint list?
here is the scenario:
- custom list (over 100 columns)
- Word templates (not sure where is best to store them yet)
- Entry Form will provide data for the templates (or partial data, ie Client name, Sales Rep)
- a form that will have buttons (ie 'Create Order Form', 'Create PO')
the idea is to be able to generate partial populated templates from a custom list with a puch of a button.
All solutions are realy appreciated!!!
Thanks,
http://site.com/page&character
This URL will return the following error:
A potentially dangerous Request.Path value was detected from the client (&).
I'm already put this in web.config:
<system.web>
<httpRuntime requestValidationMode="2.0" />
<pages validateRequest="false">
...
How can I fix this error?
This is a follow up on the question below, but it deserves another question.
http://stackoverflow.com/questions/1821514/are-server-conn-and-client-conn-channels-the-only-channels-that-could-have-more-t
To my understanding, a receiver (or cluster receiver) channel usually pair up with a single sender (or cluster sender) channel. How can one side being single instance while the other side being multiple instances?
Thanks.
Hi Folks,
I have a Javascript chat cient running in one bwroser tab (call it tab A). Now when a message arrives the user might be on another browser tab (call it tab B). I'm looking for ways to change the focus from tab B to my chat client (tab A) when such a message arrives. I could not find a way to do this. Any idea?
Thanks,
Max
Hi ,
I was trying to create a setup project using VS2008.
Is there anyway to detect if a particular Office 2010 application is installed or not?
(as a prerequisite) .eg: i want to detect if Powerpoint 2010 is installed on client machine.
I was trying to use windows installer search option in lauch condition but unable to find
what is component id of powerpoint 2010?
Are there any more ways to detect the same? (can be programmatic)
Is there a way to start WebDevServer (Visual Web Development Server) by passing in the .sln file without actually opening Visual Studio 2008? I am a JavaScript developer and I work in a client project and I want to save the memory overhead consumed by VS and give it to multiple browsers for cross-browser testing. I am hesitant with setting up IIS (Visual Web Dev server is SO LIGHT-WEIGHT being Cassini). Please advice. Thanks!
Hello EveryOne,
i m using asp.NET MVC 2 for my current project and i need to validate form fields both on client and server side. for that i started with DataAnnotations. Now, i figure out that i have to write buddy class for every model or i have to go to designer generated code and put my annotations there (not a good idea though). if someone can suggest me a solution that helps me avoid writing those buddy classes and get the same functionality.
Regards
Adeel
Is the following possible in Silverlight when a button is clicked?
An Excel template is downloaded from
a remote server and saved to the local machine
An instance of the
template is then opened on the client
A macro is then executed within the
new Excel document
I can do everything apart from saving the template to the local machine. I can save this in isolated storage but then I don’t know where this is when trying to open it from the Excel COM interop code. Has anyone any ideas or is this not possible?
When updating from subversion repository using tortoise svn client I get error looking like that:
Could not read chunk size: An existing connection was forcibly closed by the remote host.
It doesn't prevent me from updating, just interrupts update process, so that I have to repeat update several times, before it is complete.
What can cause such behaviour and how to fix it?