I'm using Unity as a IoC container in my MVC2 project, and I was wondering if there was a way to resolve property dependencies inside my filters from a class that extends the DefaultControllerFactory (I've resolved all of the dependencies in my controllers this way). I know I can resolve them by extending the ControllerActionInvoker, and...
I have a custom filter that carries out spring security authentication by checking in a database, and another that checks an NTLM provider.
The problem is this:
Enter URL
http://myapp.com/app/somestuff/stuff
Get redirected to http://myapp.com/login.jsp
Enter correct login details and authenticate.
All forms on both
http://myapp.com/...
I'm writing styles for a page where I'd like to use rgba colors on the background of some list items. I've used the CSS background property along with rgba(146,138,118,.4) to define my transparent background color.
Now I'm trying to cover my bases with IE support by using the technique of an ms-filter as described in this article. (see ...
What are some of the practical differences between using the CollectionViewSource.View.Filter property as opposed to the CollectionViewSource.Filter event? Are there situations where you would use one over the other or is it a matter of preference?
Cheers,
Berryl
EDIT:
I do see that the docs say "If your view object comes from a Colle...
I have a Men and Women store setup under the same website in Magento. The Men website runs off of the Men category and the Women site off of the Women category. I have a filterable custom attribute setup entitled 'designer'. Currently, the layered navigation on a category page shows the Designer attribute for the products in that store a...
Hi.
I have an anchor element like this:
<a href="/link-to-image/" rel="attachment wp-att-7076"><img src="/uploads/img.jpg" alt="" title="" width="1268" height="377" class="alignnone size-full wp-image-7076" /></a>
(It's the standard way of Wordpress to embed uploaded pictures in a post.)
I want to remove the anchor around the image ...
I am in the process of building an AutoParts Store using Joomla and VirtueMart. I was wondering if there was a way for the end user to search by Year, Make, Model of a car, and then have the corresponding car parts be listed.
I realize this is pretty complex, and don't expect to have this solved with a simple quick fix, but any advice ...
hi,
i'm having a global array which holds my css+js includes
and i'm looking for the easiest solution for the following issue:
a function which allows adding more includes (as string) - eg. addIncludes("script1.js,script2.js,style1.css,style2.css");
that function should automatically filter duplicate entries
example:
var myIncludes...
I'm considering writing an internet filter app for Android which would allow parents to block objectionable web sites on their children's phones. I'm assuming this would also be useful on GoogleTV when it comes out. How would I even start? Is it possible to block access to specific sites without requiring the user to root their phone?...
I need to intercept before product collection, if current page has active additional layered navigation filters to change visbility filter.
...
Hi,
I can filter users lie administrators, redaktors, editors, but I cannot filter registered users.
Is there a module for it?
I cannot find anything!
I just wnat to see list of registered users except administrators, editors,corectors ...you know.
thanks
...
I have a list of objects and want to filter them according to some criteria. I can do it with list comprehension:
import datetime, pytz
# let's have a range of 100 hourly datetimes (just an example!):
dates = [ datetime.datetime(2010, 10, 1, 0, 0, 0, 0, pytz.utc) + datetime.timedelta(hours=i) for i in xrange(100) ]
# now I want a list ...
Hello! I've tried to filter my ListView from my EditText box, but currently, it's not working.
I have a ListView that get data properly and they are added to my own ListView using a ArrayAdapter class and my own ArrayList class. When I for example, typing in "table" I want it to sort from the loaded titles in my ListView and than it sho...
Hi,
Any idea (example) of spam filter implementation in C#? I would like to use a database to store unwanted words, to train my spam filter.
Thanks.
...
Hello,
I want to filter a ObservableCollection with max 3000 items in a DataGrid with 6 columns. The user should be able to filter in an "&&"-way all 6 columns.
Should I use LINQ or a CollectionView for it? LINQ seemed faster trying some www samples. Do you have any pro/cons?
UPDATE:
private ObservableCollection<Material> _materialLi...
Hello! This is my code:
private class NameFilter extends Filter
{
@Override
protected FilterResults performFiltering(CharSequence constraint) {
constraint = constraint.toString().toLowerCase();
FilterResults result = new FilterResults();
if(constraint != null && constrain...
I'm trying to filter a BDC list and my filter returns multiple values. When the BDC list is filtered it filters based on the first item and then ignores the remaining values. Has anyone run into this and how did you resolve it?
#region ITransformableFilterValues Members
public bool AllowAllValue
{
get { re...
I'm trying to use such function as apc.filtes in APC.But all, that i have done, didnt work
There are 2 task that I should done.
1)Need to include 1 catalog for caching.My code in apc.ini
apc.cache by default Off
apc.filter = "+/path1/.*"
Such option doesnt work.It's still caching
2)Need to exlude 3 catalogs on the server that should...
I've got a project with 2 files I want to source-control using Mercurial:
A SCX-File which is a binary (database) file
A SCT-File which is a text file
My filter:
[encode]
**.scx = tempfile: sccxml INFILE OUTFILE 0
[decode]
**.scx = tempfile: sccxml INFILE OUTFILE 1
Problem
sccxml only receives the path to the SCX-File
The SCX-Fi...
Hi,
I have RadGrid filled with data, implemented with sorting, paging and filtering.
On filtering I get filtered set of data show in grid.
In footer I have totals(sums) for a few cost columns.
Problem is that when I filter data, I want to setup sums to only show sum for filtered data, not shown data or whole collection. I can't find way...