Looking to expand a current J2EE project using JSTL and Apache Torque with some sort of template engine so we can easily modify the views.
Any suggestions?
So I'm trying to fix the layout of the PDF files for a specific content type. I'm messing around in the tpl.php file and can't find a way to modify individual fields. There's just the massive $print['content'] variable that contains all of the page content. So, is there a way to access each field?
I would like to do the following in php :
setcookie('name', $value, $Cookie_Expiration,'/');
then some action
header("location:http://www.example.com")
the problem is that I get :
warning: Cannot modify header information - headers already sent by (...etc )
could you please let me know what i am doing wrong and if there is a way to do this?
by the way , this code is before any output is made ...the cookie setting part works fine on its own and so does the redirection code....the combination fails
thank you
I am populating a list using
List<Country> countries = new List<Country>
{
new Country()
{
CountryID = "US",
City = new List<City> {
new City()
{
CountryID = "US", CityName="dfdsf", sqkm = 2803
}
}
};
and so on
How to access sqkm in the following query?
var countryQuery = countries
.Select(c => new { Id = c.CountryId, Area = c.City.sqkm???});
c.city.sqkm gives compilation error...how to modify query
I updated my NCommon version to 1.1. It looks like there are breaking changes. What happened to:
the Store container class?
the NHRepository constructor that accepts an ISession?
How should I modify my code to address these changes?
Are there any good reasons to modify your projects build output path from its default of "bin\debug"? Is there any benefit to pointing all your projects within a solution to a common build output location?
does anyone knows how to resize image proportionaly using javascript?, i have tried to modify the DOM adding attributes height & Width on the fly, but seems did not work on IE6
Hi,
I am trying to make a module that works with ubercart. What I need to know is how do I hook into the loading of a product. I want to modify some of the data slightly before any output.
Thanks
Say I have the following piece of java code
ArrayList<Double> myList = new Double[100];
for (Double x : myList)
x = randomDouble();
Does this actually modify myList or just the dummy variable?
I realize I should just try this code segment out, but I think this is the sort of thing I should be able to google or search for on this site, and several queries so far have turned up nothing useful.
hi! :)
i'm searching for a ready-for, opensource administration area, wich allow me to modify it.
the area could be already available for a gallery, uploading of images, user managment, news and so on...
anyone can help me? do you know something similar?
thanks a lot in advance!
I'm SSH'ing in from my mac OSX (10.6.8) to a school server running centOS5 and when I attempt to use VIM, it won't stop flashing inside the mac terminal. Any idea's on how to fix this? Keep in my mind I do not have the authority to modify any /etc files or /bin files on the server, although I believe I can locally on my user. Also I would love to see anyone's really cool .vimrc config file they want to share.
On my site everything looks great in Firefox/Chrome/Safari (all the same) - but IE7, it's all out of whack.
Any ideas how I can modify my CSS to make IE7 at least somewhat usable?
Hi Experts,
I am using asp.net 3.5.
My Hosting provider has given me a folder to upload my publish application, now when I am entering www.mysite.com, I am not getting my homepage , but when I am running the same application on my local I am getting home page.
Please let me know what I have to modify so that when usertype www.mysite.com it will open like www.mysite.com/homepage.aspx
Please help.
Thanks in advance
When user opens a form to modify a record, but instead of changing information, he just clicks the Update button. Which causes the update() function to return 0. However, I consider this case a valid update task. How would I test it, so I can assign a success message?
Is update() returns -1 when SQL query failed or also 0?
Method: Zend_Db_Table_Abstract::update()
Any ideas?
Thanks
All,
I have following function to check for invalid symbols entered in a text box and return true or false. How can I modify this function to also check for occurrences like http:// and https:// and ftp:// return false if encountered ?
function checkURL(textboxval) {
return ! (/[<>()#'"]|""/.test(textboxval));
}
Thanks
I've few excel sheets and i want to distribut them along with ap.
I want to create an application that open those excel sheets, allow user to modify the content and save the excel sheet as new file.
For that purpose, I think I can open excel sheets in UIWebView that allows editing as well.
But the trouble is, can I save edited Excel sheet in UIWebView back on to iPad?
If Possible, how?
I would like to do the following in php :
setcookie('name', $value, $Cookie_Expiration,'/');
then some action
header("location:http://www.example.com")
the problem is that I get :
warning: Cannot modify header information - headers already sent by (...etc )
could you please let me know what i am doing wrong and if there is a way to do this?
by the way , this code is before any output is made ...the cookie setting part works fine on its own and so does the redirection code....the combination fails
thank you
Every time I modify the PATH environment variable,
I have to close and re-open the prompt,
is there a command to make my prompt refresh environment variables?
Hi,
I would like to know how can I embedd a code source file (if possible), something like that:
class X
{
include "ClassXsource"
}
My second question - Can I build DLL or something like that for my colleagues to use? I need them to be able to call methods from my "part" but do not modify or view their content. Basically just use namespace "MyNamespace" and call its methods, but I have never done anything like that.
Thanks
Is it possible to position: absolute a <div /> over a Flash banner without adding wmode="transparent" to the banner?
I have a lightbox that needs to appear above my ads but I can't directly modify the banners as they come from a third party.
I have several reference apps, and I'd like to be able to let my users "highlight" text. A reasonably good way to do this, to me, seems to be to modify the "copy/paste" contextual popup menu to add "highlight."
If there's a way to do this, I'd like to know how. If there isn't a way, suggestions would be appreciated. My text is viewed in a UIHtmlView.
I need to throw ValidationError containing anchor.
if not profile.activated():
raise ValidationError('Your profile is not activated. <a href="{% url resend_activation_key %}">Resend activation key</a>.')
What I need to modify to make this work?
I just want to create the model once, and then use it in any kind of database, without the need to modify the model.
What I should do with the data type ? I found there is numeric and other kind of data types. What does that correspond to in mysql or access ?
Error:
Warning: imagejpeg() [function.imagejpeg]: Unable to open 'images/xxx/xxx.jpg' for writing: Permission denied in /usr/www/users/xxx/resources/func.createthumbs.php on line 48
images/xxx/xxx/xxx.jpg
Warning: Cannot modify header information - headers already sent by (output started at /usr/www/users/xxx/resources/updatethumbs.php:17) in /usr/www/users/xxx/resources/func.createthumbs.php on line 3
So... How can I change the permission? This is being run on a shared server--is it possible?
We are developing in vb.net using Visual Studio 2008 and a SQL 2005 back end database and are looking for a Report Designer that can be used to build reports and give the User the ability to modify and create reports once the software is sold and in use.