In the C language: How do I convert unsigned long value to a string (char *) and keep my source code portable or just recompile it to work on other platform (without rewrite code)
When I press refresh the selectOneMenu resets to the first item in the list even after I have selected the secondItem.
This doesnt seem consistent with SelectOneRadio which maintains the selected item after I refresh.
<ice:selectOneMenu id="test" >
<f:selectItem itemLabel="test"/>
<f:selectItem itemLabel="test2"/>
</ice:selectOneMenu>
Is there a way to keep the selected value after a refresh?
I keep reading about how bad Frames are. One feature I really like is how the user can drag a splitter to resize the frames. If I don't use frames, how might I go about providing the same feature?
Hi,
A little background on the question: I am developing a RedDwarf(http://reddwarfserver.org/) client on iphone, for the client/server communication I use idarkstar. I had to make minor modifications to make it work till now.
So here's the question, if the server is taking to long to respond or the network is very slow, how do I add a timeout functionality to make sure it doesn't keep waiting on the server forever?
appreciate any pointers.
I'm making a forum application with various levels of authorization, one of which is a Monitor. I am doing this by extending my User class, and I plan on fine tuning this with "-ship" classes (e.g. administratorship, authorship, moderatorship, etc.). Apparently the Monitor class is part of ruby mixin. How do I keep my resource name without the collisions?
I got two Comboboxes and both of them have binding with the same Source.
<ComboBox ItemsSource="{Binding Source={StaticResource UsersViewSource}}"
And when I change something in the first one, it reflects also to the second one. And I dunno how to keep their SelectedItem values separately, using the same ItemsSource.
is anyone building the truck NHibernate and FluentNhibernate together? How's it working? are you using it for production systems?
How is the Linq support?
Is it nearly ready for release?
Is there a nice and concise way to keep up to date with what is going on in the world of NHibernate? (ie, without having to read lots of blogs, and mailing lists )
I have a sortable list (of tasks). It helps prioritize tasks, so I want to keep this functionality. Now I want to add subtasks to the functionality: I want to enable users to drag one task over to another task and drop it there to turn it into a subtask.
Applying .draggable() and .droppable() to items that are already sortable has no effect. What could I do?
I'm developing a form generator, and wondering if it would be bad mojo to store JSON in an SQL database?
I want to keep my database & tables simple, so I was going to have
`pKey, formTitle, formJSON`
on a table, and then store
{["firstName":{"required":"true","type":"text"},"lastName":{"required":"true","type":"text"}}
in formJSON. would this slow down the DB server too much to set live?
Any input is appreciated.
Is there a way to setup apache and tomcat so that I can have
d1.webapp.com
d2.webapp.com
d3.webapp.com
etc.
All hosted by the same tomcat instance without having to add aliases to the HOSTS element in the tomcat config file? I will be allowing new users to have thier own domain when they sign up and it will be a subdomain of the web app. I don't want to keep updating the hosts file for aliases and restarting tomcat though each time a new user signs up.
Is there any python library that can keep a client-side SQLite database in sync with a server-side PostgreSQL database?
There are solutions for Java, such as Daffodil or SymmetricDS. Is there something similar for python?
In VB6 there are local static variables that keep their values after the exit of procedure. It's like using public vars but on local block. For example:
sub count()
static x as integer
x = x + 1
end sub
After 10 calls, x will be 10. I tried to search the same thing in .NET (and even Java) but there was none. Why? Does it break the OOP model in some way, and is there a way to emulate that.
I'm using the glossaries package in LaTeX. I've got \gls{foo} in my document, but I don't want the entry for "foo" to appear in the glossary. How can I keep a working (i.e. expanding) \gls{foo} in the body of my document, but exclude the entry for "foo" from the glossary?
How can I create a tab panel series to be used interactively on a pagebuilder layout?
I am using Ektron CMS400 version 7.66. This code seem to keep my tab from showing on the page:(ucPageBuilder:PageHost ID="ucPageHost1" runat="server" /)
Thanks.
Hello people,
I have three images,and , they are not square or rectangular in shape. They are just like face of anyone.
So,basically, my images are in the size 196x196 or anything like that, but complete square or rectangle with the face in the middle and transperant background in the rest of the portion.
Now, I want to remove the transperant background too and just keep the faces.
Don't know if this is possible and mind you, this isn't a programming question.
Hi all.
Can some one recommend a couple of good websites/bloogs/RSS/Podcasts where someone interested in Java can keep himself informed on the latest trends?
(I was thinking in something like Ajaxian.com for Java)
As always, help will be eternally appreciated.
i keep getting a null pointer exception when trying to add an object to a priority queue
i initialize the queue:
private PriorityQueue<NodeObject> nodes;
and here i try to add to it:
NodeObject childNode = new NodeObject(child, 1);
nodes.add(childNode);
why doesn't this work? i know my NodeObject is not null because i create it right before i add it.
Looking for some best practices on handling a major dependency upgrades within a project, assuming the use of a dependency management tool(e.g., Maven 2).
Specifically, I'm interested in:
How get an inherited application up-to-date(e.g., Spring 1.2.x to 2.5.x)
What practices can be put into place to after such an overhaul to keep applications somewhat up-to-date
Your own experiences or any articles/papers you've come across/found to be useful are welcome.
If I see an email returned due to a hard bounce, after how many days is it acceptable to resend to that email address. It is possible for emails to be reactivated or for temporary outages, so it doesn't make sense to keep an email in my hard bounce email list forever. I've already seen cases where I receive emails from addresses that were put in my hard bounce email list months ago.
Any recommendations? Are there specific recommendations from ISPs?
Hi, I want to find a way to efficiently keep track of a lot of objects at once. One practical example I can think of would be a particle system. How are hundreds of particles kept track of? I think I'm on the right track, I found the term 'instancing' and I also learned about flyweights. Hopefully somebody can shed some light on this and share some techniques with me.
Thanks.
How can I set Movable Type (MT5) to use figure & figcaption for images inserted in an entry. I know I can edit the HTML myself, but there is one other person who will be adding content and I'll need to keep the work flow as simple as possible.
Michael
I am using Netbeans. How to know all the classes of a package(say lucene, which I am using) that are actually being used/loaded by my program. I want to keep my distribution small, therefore remove all the classes that are not being used at all.
Shout loud what simple things you still dont know but must know.
In every field of programming / computing, there are some leftovers which we keep on planning forever, but couldnt really start.
Share yours !
How can we keep track of every message that gets into our Java Message Queue? We need to save the message for later reference. We already log it into an application log (log4j) but we need to query them later.
I just build a website that works good on any browser even ipad but in Oper ai noticed a weird thing:
the website is built with a div layer on top zindez:999, body is overflow:hidden, and you cant scroll, but underneath the div there is a long text that goes way underneath the viewport...
the strage thing is that even if any browser i wasable to keep this effect in Oepra if I use the mousewheel you can kepp scrolling...!
...argh..
do you any hack/solution for this?