This is a feature of email clients that all of you out there must have stumbled on. Emails sent with images embedded in them (not as attachments but in the body of the message) often appear as blocked from your email client (outlook, thunderbird, yahoo mail, hotmail, gmail etc). This happens for several reasons. The root of the cause is because when an image is embedded in a message, your email client is required to open an external source and retrieve some data. In an ideal world these data would be just an harmless image. Nowadays though this is not the case.
One thing that an image source in an email can be is some sort of trojan horse that will be set to execute once you try to view the so called image. If you are unprotected by an antivirus then you will most probably be in a big trouble. This is rarely the case though simply because email clients these days are thin programs (with no way of executing code on your machine) or even web applications.
The most widely used practice of images in messages is from spammers. Now, one would ask why would a spammer do it. The mechanism is simple. Here it is step by step:
See what the spammer did is pretty simple. His link as you can see has a path to an image and then a parameter “verify=klsjdfh994″. He associates that parameter with your email address and issues a different one for each email he sends out. So once the specific parameter is sent to the server of the spammer he knows that this particular email (and email address consequently) is valid and reached a target!
As you can see email clients have a very good reason for blocking images from emails. Now you, as a user, I would suggest to keep that restriction and lift it only conditionally and to senders that you know.
There has been a fuss on websites that don’t go through validation simply because they have a wrong way of opening a link on a new window. The old conventional way of opening a link on a new window was simply by adding an attribute like:
This was both easy to remember and implement. Since the 4.0 strict specification though this is not considered valid any more. I was against that until I read the reason why this changed. Simply because the meta information an HTML document contains is related to the current window and current site. Should you want to refer to a new window it’s simply not within the scope of this page’s description. That’s why it is considered to fall within the client side to implement through Javascript for example.
I am not sure I agree with that since it doesn’t really interfere with the meaning of the meta description of the page that the current HTML does, it’s simply an easy way to do it. On the other hand, since you want the validation to be successful, the easiest way to do it is by adding a small Javascript on the link. You can do it like:
It’s not as hard but it’s definitely not as simply as the first way. What do you prefer? Simplicity or validity? It’s really up to you but I usually go with the first…
To cut to the chase, the process of creating a new subsite using WSS is as follows:
Here is a small C# code example:
In order to access this site you need to visit “http://testsite/testsub”. Hope this helps!
In this small tutorial i shall demonstrate how to hook up C# to use the Windows Sharepoint Services API (WSS). It’s fairly simple and straightforward. You need the following:
For the purposes of this example, we will create a small console application that will list all the sites of a Sharepoint site. First of open Visual Studio and create a new Visual C# console application. Next step is adding the reference to the WSS API on our project. To do so, you can go on the explorer window, right click on the “References” and click “Add Reference…”. On the window that will show up choose “Windows Sharepoint Services” dll from the .NET packages.
Once this step is done, off to the code:
From here on, sky is the limit! You can view a documentation of the WSS API here.
This is a follow up to the original post about acquiring a bindings object in backing beans in ADF. Some have had the question, how to use the bindings for standard operations in the backing beans. Hence this post!
The answer is – easy. As soon as you’ve got the bindings (oracle.binding.BindingContainer object) instance, you can do a lot of interesting stuff with it.
Always keep in mind, that it represents the page definition, meaning that it “contains” whatever the pageDef does.
Create a class like the following one:
So now all you have to do is instantiate the ADFUtil class and invoke its methods!