I'm developing web-application with JSF. I tested it as I was able to but from time to time runtime exceptions are thrown.
So, how to redirect user to special error page every time an exception is thrown (instead of displaying 500 Error with full tomcat logs)?
How do you handle ajax requests when user is not authenticated?
Someone enters the page, leaves room for an hour, returns, adds comment on the page that goes throuh ajax using jQuery ($.post). Since he is not authenticated, method return RedirectToRoute result (redirects to login page). What do you do with it? How do you handle it on client side and how do you handle it in controller?
I recently acquired a Metrologic Barcode scanner (USB port), as everyone already knows it works as a keyboard emulator out of the box.
How do I configure the scanner and my application so that my app can process the barcode data directly? That is, I don't want the user to focus on a "Text field" and then process the data when the KeyPress event fires.
I am adding contact functionality to my program, and I want to save the contact list of each individual user, what is the best solution for this? I am new to XML and databases and I don't know which would be best or if there is a database solution that saves locally. Thanks for the help.
I'm working with a visual studio 2008 - You get access to a number of special folders to use if you want to include files within. One I don't see on the list is the user's local application data folder. Is there anyway to put files in that folder from within a VS2008 setup project?
Hi,
I am using Google API Ver 2 for .NET.
I want to access list of domains users with there information like userid and password.
Ho w can display list domain user's using Admin's credential?
Thanx
Should I create my own End-User Software License (with a lawyer), or are there some good examples of one on the Internet?
I'm getting close to rolling out my first Windows-based program for my side-business. I would like to have the end-users to agree not to: resell the software, change/modify it, use it in another application, etc.
Any and all help appreciated!
Thanks!
JFV
I need to conditionally load a few nested user controls on a webpage based on a dropdown selection that fires a callback. Is this possible? Are there any best practices for such an approach?
Say I need to have a templating system where a user can edit it online using an online editor.
So they can put if tags, looping tags etc., but ONLY for specific objects that I want to inject into the template.
Can this be made to be safe from security issues?
i.e. them somehow outputing sql connection string information or scripting things outside of the allowable tags and injected objects.
I am looking for a posterous like custom domain management for the users. The user can register a domain and should be able to point their new domain to their sub domain in the web application. Any ideas?
I am creating an application which requires twitter account , after I get credentials from an user , I want to check if that account exists or not. How can I do this with twitter4j ???
Note: I am using Google appengine
in views.py:
@user_passes_test(lambda u: u.is_superuser)
def h_view(request):
return render_to_response('mytest/news.html',context_instance=RequestContext(request))
but i want to show this page when admin login,and my now page is :
<li id="tab_mytest"><a href="{% url mytest_list %}" class="{% block mytest_css_name %}{% endblock %}">{% trans "mytest" %}</a></li>
how to change it,
has this method :user.is_superuser ??
thanks
Is it possible to programmatically lock certain attributes based on the user?
So certain attributes can be written to by User2 and certain attributes cannot be written to by User2. However, User1 may have write access to all attributes.
What is the most efficient way of accomplishing this? I have to worry about not taking up too many computational resources, as I would like this to be able to work on quite large modules.
Hi Guys,
I'm constructing a geolocation based application and I'm trying to figure out a way to make my application realise when a user is facing the direction of the given location (a particular long / lat co-ord). I've done some Googling and checked the SDK but can't really find anything for such a thing. Does anyone know of a way?
Hi..
Ive tried to contact Apple about this, but they refuse to give me any answers. Do any of you know if it`s allowed to make the user register with a username,password and phone number before they can use the the application they have already downloaded from app store?
Thanks!
I want to implement membership where email is used as the user id. Is there a ready-made provider for this, or do I have to write my own one? Or should I just make do with the 'default' one?
in this : http://stackoverflow.com/questions/2879146/is-there-a-twitter-user-login-framework-for-gae
i find some mistake when i download the framework, and it is not running ,
has any other easy code framework example ?
thanks
How can I find the path to the user's temp folder (e.g. C:\Users\lisnil\AppData\Local\Temp) from Flash/AS3? It needs to work on any version of Windows, at least XP, Vista and 7.
Suppose now I've got the datetime to show like this:
2010-05-29 15:32:35
The the corresponding time zone can be get by date_default_timezone_get,
how do I output the result in the same time zone as user's browser so that users don't get confused?
I altered a bunch of project files in our solution, to add a reference path to all of them. I didn't realize that Reference Paths are stored in the .user file for the project. Is there a way to store those in the .csproj file, so they can be checked into source control?
Hi,
I am not very strong in "legal or not" questions so I hope someone can help me here. How legal is the following: I create my forum, then choose a random existing forum (not mine), take a user from that forum (username, avatar, etc) and create an identical account at my forum. I know that this is extremely hard to prove and everything but anyway: how legal are the described actions?
Thanks!