I have an sql statement that currently is just returning all the end parent rows for a list of child rows:
SELECT DISTINCT row
FROM table heirarchy
WHERE parent_row = NULL
CONNECT BY nocycle PRIOR parent_row = row
START WITH row IN (select statement returning child rows)
Is there a way to show the child and its corresponding parent together in the same result set using a modified version of my sql?
Thanks.
can i import and show the content of an existing svg file with the gwt-graphics library? or exist a possibility to do this?
ps: i don't have the svg file but i recive the code in a stream
Hai
how to implement dynamic show case creater code in magento( i got that code from another site, i want to put that code in my magento site, so that it shows the products from that site) Does any one help me?
When I do mysqladmin extended from the command line, my Com_* counters differ completely from doing a show status when consoled into MySQL. Why is this?
Is it possible to get Mercurial to show progress of long-running push or pull operation? Google tells me basically "no", but does somebody know better? I was expecting something like "hg pull -v"...
I am making a simple text and script editor with code highlighting. For that I use a RichTextBox. But I don't know how to make it show the lines' numbers on the left side, like in VS or Notepad++. Is there any solution?
@users = User.paginate(
:page => params[:page], :per_page => 2,
I would like to return the total number of results. @users.size simply gives me the number of results on a page. If page 1 has 2 users @users.size = 2, going to page 2 with say 1 user @users.size = 1. How can I show the size of all the users?
I have a simple page structure like below
/directory/subdir_1/index.php
/directory/subdir_2/index.php
....
(there are no other files in these directories)
is it possible to have 'fake/pretty' urls for the above files as below?
/directory/subdir_1
/directory/subdir_2
...
so this path would show whether the visitor typed that,/directory/subdir_2/ or /directory/subdir_2/index.php.
Many thanks
it is possible to display a picture on a window created by winmain i mean using GDI,
i want do create a window that captures my whole screen i have done that by using GDI but unable to show an image on it how can i do so?
How would one display what line number caused the error
and is this even possible with the way that .net compiles its exes?
If not is there an automated way for exception.message to display the sub that crapped out?
try
{
int x = textbox1.text;
}
catch(exception ex)
{
messagebox.show(ex.message);
}
We have an application in which some views only work when attached to certain perspectives.
We want to remove those views from the Window - Show View menu so that users cannot add them to perspectives where they don't work.
Any ideas on how to do this either programmatically or declaratively?
Hi,
I am using Acl9 to manage the roles and I want to hide the checkbox usertype if the user has the role :customer and show it if the role is :manager. I want that just the :manager can edit all the fields and some for the :customer.
Thank you for your help!
<h1>Editing user</h1>
<% form_for(@user) do |f| %>
<%= f.error_messages %>
<p>
<%= f.label :usertype %><br />
<%= f.check_box :usertype %>
</p>
<p>
<%= f.label :surname %><br />
<%= f.text_field :surname %>
</p>
<p>
<%= f.label :firstname %><br />
<%= f.text_field :firstname %>
</p>
<p>
<%= f.label :phone %><br />
<%= f.text_field :phone %>
</p>
<p>
<%= f.label :email %><br />
<%= f.text_field :email %>
</p>
<p>
<%= f.label :registrationdate %><br />
<%= f.datetime_select :registrationdate %>
</p>
<p>
<%= f.label :login %><br />
<%= f.text_field :login %>
</p>
<p>
<%= f.label :password %><br />
<%= f.text_field :password %>
</p>
<p>
<%= f.submit 'Update' %>
</p>
<% end %>
<%= link_to 'Show', @user %> |
<%= link_to 'Back', users_path %>
I decided to store uploaded to servlet pictures in DB. But how to show them in browser (in particular div with css image-background style) without page reload?
In details: I have an full-AJAX web client that works with java servlet.
Thanks.
Ugh, ok. I've been up all night working this thing and now an image won't show. It's so darn annoying. Trying to get this .png image to show up on a simple PHP webpage. I just wanna go to sleep X_X
CSS:
<style>
.achievement {
position:relative;
width:500px;
background:#B5B5B5;
float:left;
padding:10px;
margin-bottom:10px;
}
.icon {
float:left;
width:32px;
height:32px;
background: url("images/trophy.php") no-repeat center;
padding:05px;
border:4px solid #4D4D4D;
}
.ptsgained {
position:absolute;
top:0;
right:0;
background:#79E310;
color:#fff;
font-family:Tahoma;
font-weight:bold;
font-size:12px;
padding:5px;
}
.achievement h1 {
color:#454545;
font-size:12pt;
font-family:Georgia;
font-weight:none;
margin:0;padding:0;
}
.achievement p {
margin:0;padding:0;
font-size:12px;
font-family:Tahoma;
color:#1C1C1C;
}
.text {
margin-left:10px;
float:left;
}
</style>
HTML:
<div class="achievement">
<span class="ptsgained">+10</span>
<div class="icon"></div>
<div class="text"><h1>All Around Submitter</h1>
<p>Submit and have approved content in all 6 areas.</p>
</div>
</div>
What am I doing wrong, guys? :\
I was wondering how I can show description text. By this I mean, for example if you hover over the Start button a small description will appear saying "Start". How are these invoked?
Thanks
I feel like there should be a simple way to do this but I can't figure it out. I have a JFileChooser that allows the user to select directories. I want to show all the files in the directories to give the user some context, but only directories should be accepted as selections (maybe the Open button would be disabled when a file is selected). Is there an easy way of doing this?
Is there any way to force a radio button or check box to show properly in a toolbar? The circle/check box always disappears once its placed inside a toolbar.
Im using jquery for various things on my site, but one thing im not sure how to do, is have it show an element, then wait X seconds, and hide the element.
$('#form').ajaxForm(function() {
$('#cartcontents').fadeOut("fast").load('cart.php').fadeIn("fast");
});
That's the JavaScript that I'm using now. How could I have it (when the form submits) display the div #notice for 5 seconds, then fadeOut?
I want to be able to show information (HTML basically) over an image when the mouse rolls over the image... I know there is a .hover() jQuery function but am unsure how to use it to get the desired effect.
Ideally when a user hovers over an image it would "grey out" (e.g. layer of 50% opacity black) with some HTML like a title etc etc.
Can someone point me in the right direction or provide sample code
Thanks
I have a form which includes select options with different items. Based on item selected, I need to show respective form on the same page.Does any one know jquery plugin for this or how aesthetically we can do this kind of requirement?
I've made an ASP.NET web form that uses the standard ASP.NET validation. I'd like to make the error summary show up in a jQuery UI Modal Message as well as below the actual form.
Is it possible to execute the script if the validation finds an error?