link text
click this link , you will redirect to shopping site,
in this site right side , there is a block called TOP SELLER ,
Tell that plugin name ,
Thanks
Let's say I have a mysql table, called foo with a foreign key option_id constrained to the option table. When I create a foo record, the user may or may not have selected an option, and 'no option' is a viable selection. What is the best way to differentiate between 'null' (i.e. the user hasn't made a selection yet) and 'no option' (i.e. the user…
Hi, I'm using Joomla 1.5 and installed Joomap to create site map.
I found that if the item in the Joomap tree is a menulink (menu alias), then it cannot work as deserved.
It will cause a 404 error which said the component cannot be found when the menulink is clicked.
thanks
Hi,
I have a DataGridView that is bound to a list of object. It has some columns that the user can edit. There are certain inputs that are not allowed for a row as a whole. How can I roll back if the user enters invalid inputs in some cell.
I tried using the RowValidating event handler but it was not called after cell value has been changed. Even…
I'm missing something very obvious here, but I just cant see it.
I've got:
string input = @"999\abc.txt";
string pattern = @"\\(.*)";
string output = Regex.Match(input,pattern).ToString();
Console.WriteLine(output);
My result is:
\abc.txt
I don't want the slash and cant figure out why it's sneaking into the output. I tried flipping the…
Consider a following chunk of service:
public class ProductService : IProductService {
private IProductRepository _productRepository;
// Some initlization stuff
public Product GetProduct(int id) {
try {
return _productRepository.GetProduct(id);
} catch (Exception e) {
// log, wrap then throw
}
…
I need to create Client/Server application to send files from clients to Server.
I use simple ssl sockets for that and authenticate with certificates.
ms = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
ssl_sock = ssl.wrap_socket(ms,
keyfile=".../newCA/my_client.key",
…
Hello,
In my program, I have a class A which is extended by B, C and many more classes. I have a method GetInstance() which returns a instance of B or C (or of one of the other child), but I don't know which one, so the return type of the method is A.
In the method CreateGenericList(), I have a variable v of type A, which is…
I see (not just on this site) a lot of question from inexperienced PHP programmers about the infamous "headers already sent... output started at" error, and many people suggest using ouput buffering as a solution.
In my experience I have never found a situation where that error wasn't caused by a flow in the program's logic.…
Click on this link, you will be redirected to a shopping site.
On the right side, there is an animated block called TOP SELLER.
What kind of plugin is that?
Thanks in advance!
We have a website that displays information in a location based manner, i.e. it detects the IP of the visiting user and redirects him/her to an appropriate landing page; for e.g. a user coming from 'Egypt' will be redirected to http://www.mysite.com/egypt/cairo and a user visting from dubai will be redirected to…
Hello, I recently heard of the jQuery datalink plugin and wondered if I should be using if for the following:
I have a an inbox in my app that consists of the following:
Inbox (index) - List of Items (list of mails)
Inbox (show) Item Viewer (1 mail)
Inbox Unread Counter
The challenge I'm having now is a…
my xml is below. i want to generate this same xml structure by using serialization.
so please guide me how to write the class which will generate this same type of xml structure at runtime. please help me with code. thanks.
20071010
14:56
…
I want to take Input from the user as Big-Integer and manipulate it into a For loop
BigInteger i;
for(BigInteger i=100000;i<=1;i--){
i=i+i;
}
But it won't work
can any body help me.
Given this HTML:
<div class="OpenIDSelector">some text</div>
Why does this JQuery selector match it on some browsers and some pages, but not on others?
$('.OpenIdSelector)
NOTE: I ran into this problem and solved it myself, but it was annoying and I didn't find it on StackOverflow already,…
we have three types of data (tables):
Book (id,name,author...) ( about 3 million of rows)
Category (id,name) ( about 2000 rows)
Location (id,name) ( about 10000 rows)
A Book must have at least 1 type of Category (up to 3) AND a Book must have only one Location.
I need to correlate this data…
I have a series of databases, each of which is basically standalone. It initially seemed like I needed a replication solution, but the more I researched it, the more it felt like replication was overkill and not useful anyway. I have not done MySQL replication before, so I have been reading up on the…
Hello,
I have a table like that
1 A_Team 11
2 A_Team 3
3 B_Team 2
4 A_Team 1
5 A_Team 1
What I want is grouping the same named teams which are also sequential teams
So the result table should look like
1 A_Team 14
2 B_Team 2
3 A_Team 2
Thanks
I'm still a learning user of SQL-SERVER2005.
Here is my table structure
CREATE TABLE [dbo].[Trn_PostingGroups](
[ControlGroup] [char](5) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[PracticeCode] [char](5) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[ScanDate] [smalldatetime] NULL,…
I'm not satisfied with the answers given by the SOAP vs REST questions notably here:
http://stackoverflow.com/questions/106546/performance-of-soap-vs-xml-rpc-or-rest
because it's just general philosophical answers and not pragmatic answers with some study cases.
Nobody can give…
Trying to understand a sample code...
I am returning a modelview successfully from my AthuenticationController like this
modelAndView = new ModelAndView("redirect:/home/");
....
return modelAndView;
and my browser url is changed to /home/ but its showing a 404 page
I have a…
I have the following problem, if I upload any file to my web server it automatically renames the file to an uppercase extension. For instance:
If I upload picture.jpg my server automatically changes it to picture.JPG
If I use <img src="picture.jpg"> my server returns a…
When person 1 become partner with person 3, person 2 should no longer have person 1 as partner. How should I solve this?
public class Person {
private String name;
private Person partner;
public Person(String name){
this.name = name;
}
public…
For example, for the xml below
<CATALOG>
<CD title="Empire Burlesque"/>
<CD title="empire burlesque"/>
<CD title="EMPIRE BURLESQUE"/>
<CD title="EmPiRe BuRLeSQuE"/>
<CD title="Others"/>
<CATALOG>
How to match…