hi,
How can I hide the small dots nearby each picture in IE7 ?
http://www.sanstitre.ch/drupal/portfolio?tid[0]=38
I've tried wiht text-decoration:none and list-style-type:none but it didn't work
thanks
As the title says, I'm trying to use a class declared in a namespace which contains "base" in its name.
Think of a situation like the following:
open Foo.base.Bar
In C# I'd just use @ before base but F# seems to ignore that and to think that @ is the infix operator used for list concatenation.
Since the namespace belongs to a third-party library which I cannot modify, is there a way I can still access it from F#?
I've got a problem with the removal of entities in my JPA application: basically, I do in this EJB Business method:
load photo list ;
for each photo {
//UPDATE
remove TagPhoto element from @OneToMany relation
//DISPLAY
create query involving TagPhoto
...
}
and this last query always throws an EntityNotFoundException (deleted entity passed to persist: [...TagPhoto#])
I think I understand the meaning of this exception, like a synchronization problem caused by my Remove, but how can I get rid of it?
When creating a flex Chart, the list of colors is always the same, something like (orange, green, blue, ... ) I imagine that the Flex Charts use any array of default colors, Is there a way to get this array ?
public void departmentChangeListener(ValueChangeEvent event){
Long id = (Long) event.getNewValue();
department = id;
if(department == -1 || department == 0){
employee=0;
displayEmployee = false;
} else{
changeEmployee();
employee=0;
displayEmployee = true;
}
}
This is the method that call in valuechangeListener attribute of ice:selectOneMenu tag
but here problem is value of employee set 0 when we second time change value from selectOneMenu's List.
I found the following C++ code (comments added myself):
// frame_name is a char array
// prefix is std::string
// k is a for loop counter
// frames is a std::vector string
sprintf(frameName, "%s_%0*s.bmp", prefix.c_str(), k, frames[k].c_str());
I then try to translate it to C#
// prefix is string
// k is a for loop counter
// frames is List<string>
string frameName = string.Format("{0}_(what goes in here?).bmp", prefix, k, frames[k]);
Basically, what would be the C# equivalent of the C++ format string "%s_%0*s.bmp"?
This shows how to have a static variable inside an object or context:
http://www.mail-archive.com/[email protected]/msg04764.html
But the scope is too large for some needs, is it possible to have a static variable inside an object function ?
Hi
I create some elements( UIComponents, mainly Panels) inside the “mx:Application name=”tst” “. I need to cleanup all those UIComponent’s on MouseClick event , using Actionscript. Is there any way I access the children elements of mx:Application ( I used
var totalChildren:Number = this[‘tst’].numChildren ;
but looks like it fails to access the children list).
Thanks
Palash
I am trying to create a conversations based messaging system.
I want to group all messages that have the same conversation_id so that when I display a list of current conversations you only see the latest message from each conversation.
Can I group the values in the mysql query, or would I have to do it in the php?
Hello everyone! I've been contemplating writing a simple "event log" that takes a paramater list and stores event messages in a log file, trouble is, I forsee this file growing to be rather large (assume 1M entries or more) the question is, how can I implement this system without pulling teeth, I know that SQL would be a possible way to go.
XML would be ideal but not really practical for scaleability if i'm not going nuts.
Example Log Entry
-----Time Date-------- ---------Sender----------------------- ---------Tags---------- --Message----------
12/24/2008 24:00:00 $DOMAIN\SYSTEM\Application$ :Trivial: :Notification: It's Christmas in 1s
Good day everyone and happy holidays.
I'm trying to create a "simple" program that allows me to create a list of video files (Youtube video's to be precise) that are then run through by my program and converted any given format to pure MP3 audio. For this purpose I'm trying to use the BASS.dll and well it isn't going so well.
I was wondering if anyone has used BASS to convert from one audio format to another?
Or is there another library better suited for this?
In the new official Twitter app, the scrollbars in all the ListViews the app uses are hidden unless the user is scrolling through the list.
When you start scrolling, the scrollbars appear. When you stop, they fade out with an animation until they are gone completely.
I can't seem to find anything in the documentation that indicates this as being a standard feature.
Is this something included in the API? If not, anyone know how this might be done?
What do I needto use to get a search listing
using the google maps API? I can get one address
or lat/long but I want to search for say "bars 84070"
andget a list of addresses and lat/long
thanks
I've seen some for web using javascript, but I am looking for a Windows Form control that is a ComboBox that when opened displays a list of checkboxes and labels, allowing to select one or more, with a "Select All" option.
Hi, I'm trying to update a field in the database to the sum of its joined values:
UPDATE P
SET extrasPrice = SUM(E.price)
FROM dbo.BookingPitchExtras AS E
INNER JOIN dbo.BookingPitches AS P ON E.pitchID = P.ID
AND P.bookingID = 1
WHERE E.[required] = 1
When I run this I get the following error:
"An aggregate may not appear in the set list of an UPDATE statement."
Any ideas?
I have a scores table that has two fields:
user_id
score
I'm fetching specific rows that match a list of user_id's. How can I determine a rank for each row relative to the total number of rows, based on score? The rows in the result set are not necessarily sequential (the scores will vary widely from one row to the next). I'm not sure if this matters, but user_id is a unique field.
I found this python plugin list but thought I'd ask if anyone has any experience with anything listed there?
I'm totally new to both python and dynamic programming languages if that makes any difference.
I have this strange behavior. Im Loading some entities in a List< and append to a grid.
When double click the grid i take the row cast to the entity and append to a property.
I have changed some things in my database and code and now i get this exception while i never wanted to check something on this Entity Reference.
Any Ideas?
I have an array containing a list of files. I want to sort it in a way that it will let me have .txt files in the beginning of the array and the rest of files after that.
This is what I'm doing now, which works fine.
@files = (grep(/\.txt$/,@files),grep(!/\.txt$/,@files));
Is there a better way to do it though?
I have some decimal data that I am pushing into a SharePoint list where it is to be viewed. I'd like to restrict the number of significant figures displayed in the result data based on my knowledge of the specific calculation. Sometimes it'll be 3, so 12345 will become 12300 and 0.012345 will become 0.0123. Occasionally it will be 4 or 5. Is there any convenient way to handle this?
Where would I find a list of locale name abbreviations for my project localization folders? (Such as en for English, fr for French).
I am looking to do German, Spanish and others.