How do I set tab ordering in WPF? I have an ItemsControl with some items expanded and some collapsed and would like to skip the collapsed ones when I'm tabbing.
Any ideas?
I'm trying to set the inner html of the < span tag here , so it looks like:
Group
this is what i have so far:
$form->addDisplayGroup(
array(
................
),
'maingroup1',
array(
'legend'=>'',
…
I need to not validate against a doctype, so I'd like to set a custom EntityResolver that accepts everything. I'm getting data back from tagsoup, so I know my data is well-formed and correct.
Furthermore, I need to rapidly hit a number of documents, so when I do this with the default EntityResolver, I get 503 from w3.org.
How, then, can…
Hi, so I'm having a lot of fun with Perl at home for some time now.
How much more difficult do things get when you develop Perl modules (In my case it's mostly catalyst) in a team? How do we make sure we all got the same development environment (Perl/Module versions)? Simply by keeping up to date with CPAN? Do some teams setup their…
I have my little designer tool (my program).
On the left side I have TreeView and on the right site I have Accordion.
When I select a node I want to dynamically build Accordion Items based on Properties from DataContext of selected node.
Selecting nodes works fine, and when I use this sample code for testing it works also.
XAML…
I have two tables: t_promo_program and t_promo_program_param.
They are represented by the following JPA entities:
@Entity
@Table(name = "t_promo_program")
public class PromoProgram {
@Id
@Column(name = "promo_program_id")
private Long id;
@OneToMany(cascade = {CascadeType.REMOVE})
@JoinColumn(name = "promo_program_id")
…
I have a email form for my website but here is the issue: when i receive an email, the subject line in my inbox shows whatever the user inputted as subject in the form. id like to override that so that whenever an email comes in. the subject in the email header is always "an inquiry from your website". In the message body, sure i…
Hello everybody,
Today my question is about date formats and strings.
My application downloads some strings representing dates from the internet. The date format is always like this: "2010-05-24 at 20:45"
I need to convert this string into an NSDate object in order to perform some date manipulations.
I tried this code:
NSString…
My problem is that whenever I change the texture of a sprite, the new texture will retain the size of the original sprite's texture.
I have this code:
mySprite = [CCSprite spriteWithFile:@"mySprite.png"]];
...
// change current stage here
CCTexture2D *newTexture=[[[CCTexture2D alloc]initWithImage:[UIImage…
Hi everyone,
does anyone know a way how I could set through mapping the default value of a column so for e.g. when I generate DB from mappings I would have DateTime column having getdate() as default value?
I tried so far this (looks exactlly like what I need) but it doesn't work
this.Map(x =>…
Hey guys
Just wondering how do I mimic the following using attributes...
<%= Html.EditorFor(x => x.SportProgramIdList, "FormMultiSelectDropDownList", "SportProgramIds")%>
I know I can specify the template by using [UIHint("FormMultiSelectDropDownList")] but I am left with the problem…
I am new to web-design. I want to set the page-width so that it appears well in a 800x600 resolution screen. I normally use Tables but I read somewhere that excessive use of Tables slows the performance of the website. What other thing I can use and how to set the width?
So I set up a new project into eclipse and created a build.xml that creates a war file. The problem that I am having is that the only files that are included in the war are whats in the WEB-INF. How do you include my web folder into the war.
Project
src
web
WEB-INF
What do you guys do, when you have huge project built with ant for instance, where the source folders are right bellow the root project folder, for building classpath from source files ?
putting entire project as a source folder is nonsense. Putting separate folders as source folders can't be…
I'm getting a very peculiar problem with my asp.net application, it took me an age to track down but I still don't know what is causing this behaviour.
If I set a session variable in the Application_PreRequestHandlerExecute event, then my external JavaScript files are ignored, and therfore…
I am trying to set a value through reflection. I created this little test program
struct headerIndexes
{
public int AccountNum{ get; set; }
public int other { get; set; }
public int items { get; set; }
}
static void Main(string[] args)
{
…
I'm trying to set some env variable in OS X 10.6 (/etc/launchd.conf)
setenv M2_HOME /usr/share/maven
setenv M2 $M2_HOME/bin
setenv MAVEN_OPTS '-Xms256m -Xmx512m'
M2 and MAVEN_OPTS are not working.
I tried with something like
setenv MAVEN_OPTS -Xms256m\ -Xmx512m
but still it doesn't…
I am trying to set background image to GtkWindow through gtkrc file
using pixmap engine but it is not working out following is the rc file.
style "theme-window" = "default"
{
xthickness = 1
ythickness = 1
GtkButton::inner-border = {10, 10, 10, 10}
text[NORMAL] …
Hi,
I am trying to follow the instructions on this page "Developing on a device". After I finished all the steps, and executes command "adb devices", my Droid is not listed. Is there anything else that I need to do if my device is Droid? It seems there are discussions on this issue but I…
Hi I installed VS2010 yesterday - (both VS2005 and VS2010 installed).
But I can't find the "FixedSys" style font from the Fonts and Colors - Font (pull down list).
Otherwise,I can use the style font in my VS2005.
Any suggestion? Thank you.
Hi,
Is there a way to set the "minimum" number of decimal places that a std::ostream will output?
For example, say I have two doubles that I want to print:
double a = 0;
double b = 0.123456789;
I can set my maximum decimal precision so that I output b exactly
std::cout <<…