Displaying 20 results from an estimated 9000 matches similar to: "how to display a tree?"
2006 May 02
2
:order question
Hi!
I''ve two models:
Project has_many :works
Work belongs_to :project
Work contains :year_start and :year_end
I''ve setup a class method to retrieve the first and last year of my
Project.works
How could I get projects ordered by ''first'' year?
Thanks,
Ettore
2006 Mar 12
3
Displaying a Tree
Hi,
Just a request for comments and ideas really. I need to display a Tree
so that users can easily navigate to and from the various branches. I''m
not really sure how best to do this, so I thought I''d ask here in case
anyone had any ideas...
Thanks in advance!
--
Posted via http://www.ruby-forum.com/.
2005 Nov 14
6
ActionMailer - Sent but no mail?
Hi,
I am attempting to use ActionMailer to send out an email (SMTP) and am having an issue. The log files show that the email is sent, but the email is not making it to my inbox.
I have followed the documentation both on the Wiki and in the AWD book. I''m not sure which setting I have incorrect and need some pointers.
:authentication - should this be set to true, or
2006 Jul 06
2
link_to_remote method display a loading image?
Hey guys,
what would be the best way to incorporate this into the builtin
link_to_remote() method?
document.getElementById(''main'').innerHTML = ''<img
src="/images/loading_small.gif">'';
Id like for the item above to take place while the page is loading.
I''m currently doing this with another javascript but would prefer to
use rails.
2010 Oct 19
0
Ajax & Table Display Filtering based on Selected Option
My scenario:
On a department''s products page (index.js.rjs), there is a table
showing the products with their id, name, category. The view of this
table is specified by a partial file called _index.html.erb. I''m
going to add in a selection/option drop down menu above the table to
show all the product categories. When the user selects a category
from the drop down menu, Ajax
2011 Oct 21
2
[LLVMdev] ANN: libclc (OpenCL C library implementation)
Hi,
> libclc: http://www.pcc.me.uk/~peter/libclc/
> pocl: https://launchpad.net/pocl
> clover: http://cgit.freedesktop.org/~steckdenis/clover/
I have pushed our implementation on GitHub:
https://github.com/speziale-ettore/OpenCRun
I have focused on desiging a modular system, because OpenCRun is
intended to be used for research purpose -- not many people, no too much
time, so clean
2006 Jun 08
3
RJS wierdness - Content div display js code
Hi,
I have a link_to_remote name ''Show notes'', which calls an action that
uses this RJS template:
page.replace "notes_remote", :partial => "notes/hide_notes_link"
page.insert_html :top, "notes_list", :template => "notes/list"
page.visual_effect :highlight, ''notes_list'', :duration => 3
Works great. The
2010 Aug 31
6
ajax and partials
Hello all,
I am still very new to programming and wonder if I could get some help.
I have tried to figure this out myself but still having trouble with
some of the concepts. I’ll do my best to explain the problem and
include the code. I may be completely off track, so ANY direction
offered would be deeply appreciated.
I have a question model / object which consists of a question, answers,
and
2006 Jun 07
2
display two columns using fixed width divs
Hi.
I want to display some related information in two columns. Originally
I wanted to use frames and googling led me to
http://lists.rubyonrails.org/pipermail/rails/2006-May/037972.html
which suggest divs instead.
I modified my code to this:
<body>
<div style=''width: 300px; overflow: scroll''>
<%= render :partial => "col1" %>
</div>
2011 Sep 29
2
[LLVMdev] Building bitcode modules
Hi,
> What compiler are you using to build with? I've made it default to clang with less looking around for llvm-gcc, so there may be an issue there. What is your configure line? What host are you trying to build on?
First I have compiled llvm/clang compiled with "gcc (Gentoo 4.5.2 p1.1,
pie-0.4.5) 4.5.2". Then I have installed llvm/clang. They are in the
path:
$ clang
2011 Sep 29
0
[LLVMdev] Building bitcode modules
On Sep 29, 2011, at 12:53 AM, Speziale Ettore wrote:
> Hi,
>
>> What compiler are you using to build with? I've made it default to clang with less looking around for llvm-gcc, so there may be an issue there. What is your configure line? What host are you trying to build on?
>
> First I have compiled llvm/clang compiled with "gcc (Gentoo 4.5.2 p1.1,
> pie-0.4.5)
2006 Apr 18
0
AJAX not displaying - due to action not complete?
Hi everyone,
I''ve got a pair of AJAX actions that use slide_up and slide_down to
toggle the editing of some info. You first see a table of
entitlements for a user. Clicking "Change these" slides that up and
then a full table comes down, displaying all possible entitlements for
that user. Remove and Add links are next to the appropriate
entitlements. When finished, clicking
2016 Apr 15
1
Heteroscedasticity in a percent-cover dataset
Hi,
I am currently trying to do a GLMM on a dataset with percent cover of
seagrass (dep. var) and a suite of explanatory variables including algal
(AC) and epiphyte cover (EC), rainfall, temperature and sunshine hours.
M2=glmer(SG~AC+EC+TP+SS+RF+(1|Location/fSi/fTr),
family=binomial,data=data,nAGQ=1)
As the dependent variable is percent cover, I used a binomial error
structure. I also have a
2011 Oct 21
0
[LLVMdev] [cfe-dev] ANN: libclc (OpenCL C library implementation)
On Fri, Oct 21, 2011 at 9:48 AM, Speziale Ettore
<speziale.ettore at gmail.com> wrote:
> Currently I have implemented an OpenCL backend for i386 and X86_64 CPUs.
> I have coded work-item stacks by hand because after some sintetic
> benchmarks I have observed that both ucontext and setjmp/longjmp contain
> some extra overheads.
If you have not already seen it, you (and anyone
2008 Jan 15
1
error in my selection
Hi everybody,
Well, I really hoped that until now i know how to do a selection ..... but obviously i don't. So risking your laughing at me - here you go.
I have a table with lots of vegetation data, and one column specifies in which region the data is. There are only 2 regions, region 1 and region 3. I want to select all data that belong to region 1 and after do some xtabs on it. If i do
2011 Sep 29
2
[LLVMdev] Building bitcode modules
Hi,
I have updated llvm to the 113aa8612010434069fc5b5e09f6b2667e03e173 git
commit. I have a small llvm project that builds a bitcode library, so I
used MODULE_NAME=foo to build foo.bc. Now, I cannot build the library,
because a compatible compiler cannot be found (Makefile.rules:1052).
I have seen that configure.ac has been modified, so:
1) there is an update in progress?
2) I have to use
2008 Jul 23
0
Link_to_remote object missing
Hello, I''m in troubles trying to use ''link_to_remote'' on Rails 2.1.
Having this page:
<h4>Editing project</h4>
<% form_for(:project, :url => project_path(@project), :html =>
{ :method => :put }) do |f| %>
<p>
Name <%= f.text_field :name %>
Date <%= calendar_date_select :project, :target_date, :time =>
2011 Sep 29
0
[LLVMdev] Building bitcode modules
On Sep 28, 2011, at 11:31 PM, Speziale Ettore wrote:
> Hi,
>
> I have updated llvm to the 113aa8612010434069fc5b5e09f6b2667e03e173 git
> commit. I have a small llvm project that builds a bitcode library, so I
> used MODULE_NAME=foo to build foo.bc. Now, I cannot build the library,
> because a compatible compiler cannot be found (Makefile.rules:1052).
>
> I have seen that
2006 Apr 13
1
Adding a title to an AJAX link.
Hello all.
I am trying to add a title to a link_to_remote created AJAX link.
What I want to create is:
<a href="#" title="VALUE-HERE" onclick="new Ajax.Updater(''content'',
''/area/show/28/40'', {asynchronous:true, evalScripts:true}); return
false;">Area Name</a>
However I cannot seem to get it to work, the API says
2006 Jun 07
2
How to send post data with link_to_remote?
Hi,
I''m trying to send a post body with my link_to_remote call.
Prototype supports the ''postBody'' option, but I can''t seem to get
link_to_remote to set that.
Here''s what I''m trying:
link_to_remote ''move up'',
:url => { :controller => ''upload'', :action => ''position_ajax'', :id