Displaying 20 results from an estimated 200000 matches similar to: "directory selector"
2007 Jan 16
2
Specifying the contents of a date selector
Another n00b question (can you tell I don''t normally write view code
yet???)...
I''m using the date_select form helper to give me three select popups,
(day, month, year). I want to specify that these exist and are set
to today''s date
I''ve tried this:
response.should_have ''form > p > select
2006 Dec 14
1
Prototype CSS selector to descend tree?
Hi, I''m calling on those with Prototype/CSS selector foo to help with a
somewhat tricky issue.
I have a tree structure where each item is hierarchical. This is used
to manage software components. Think of the case where you''re
installing a piece of software, and want to customize which packages
are installed:
[ ] Internet
[ ] Email
[ ] Thunderbird
[ ]
2007 May 16
0
[LLVMdev] instruction selector failure
On Wed, 16 May 2007, Florian Brandner wrote:
> i found a problem in LLVM regarding the matching of 'Constant' nodes in
> the instruction selector. the testcase is for x86, but similar testcases
> for the other architectures (e.g. ppc) should be easy to create.
>
> i'm using the llvm-gcc 2.0 prerelease binary package.
>
> here is the testcase:
> int foo(int bar)
2007 May 18
1
[LLVMdev] instruction selector failure
Chris Lattner wrote:
> On Wed, 16 May 2007, Florian Brandner wrote:
> http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070514/049609.html
>
> http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070514/049608.html
>
> http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070514/049606.html
>
>
2006 Jul 31
6
Popup Calendar and DateBoxEngine and Change Made ...
Community,
I have been putting off implementing a Date selector for too long.
Tonight, I finally put it in. I made the choice to go with the datebox
engine.
Once I got it installed and working, I realized I didn''t like the way it
required you to call it. Example:
<% @dateField = model.date %>
<%= date_box %>
or...
<% @dateField1 = model.date %>
<%=
2006 Apr 01
0
A missing piece in Prototype helpers
Hi,
I wanted to use select helper to provide a parameter for a function call
and could not make it work.
I wanted to do this:
page.call ''Field.activate'', page.select(''#customer_form .edit-form
div.fieldWithErrors input'').first
and ended up writing pure Javascript:
page << ''Field.activate($$("#customer_form .edit-form
2019 Nov 28
4
[PATCH v2 0/3] options: Describe --key SELECTOR in a single file.
v1 was here:
https://www.redhat.com/archives/libguestfs/2019-November/msg00271.html
In v2 I just updated the way paths are handled.
Note this series requires the following patch to common which adds the
common/options/key-option.pod file:
https://www.redhat.com/archives/libguestfs/2019-November/msg00269.html
Rich.
2019 Nov 26
4
[PATCH libguestfs 0/3] options: Describe --key SELECTOR in a single file.
The libguestfs part of this change.
Also a virt-v2v part will be needed.
The first patch adds a new feature to podwrapper so that we can use
__INCLUDE:file__ directives within the POD itself (instead of using
--insert, and one day replacing that).
The second patch shows how this change could be used for the included
parts of the guestfish man page, including the non-English pages under
2006 Mar 25
0
in_place_collection_editor
Hi,
I''m trying to write a helper for Scriptaculous'' InPlaceCollectionEditor
component. I''ve already submitted a patch
(http://dev.rubyonrails.org/ticket/4302). This was a drunk patch; it
needs a bit of work (Don''t drink & code!). So far I''ve gotten it to work
correctly with normal collections, but I want to use it for belongs_to
relations as
2007 May 16
2
[LLVMdev] instruction selector failure
hi,
i found a problem in LLVM regarding the matching of 'Constant' nodes in
the instruction selector. the testcase is for x86, but similar testcases
for the other architectures (e.g. ppc) should be easy to create.
i'm using the llvm-gcc 2.0 prerelease binary package.
here is the testcase:
int foo(int bar) {
asm("movl %1, %0" : "=r"(bar) : "i"(5));
2007 Jul 03
2
"form_for" names fields using brackets = javascript problems
Hi all,
The "form_for" helper and its friends "text_field_for" etc generate form
fields with names like "forum[title]", i.e. using square brackets to
denote attributes on model objects.
Now, for the convenience of the user I want to do some simple
client-side validation to check that some fields have been filled in. So
I am trying to write javascript like
"if
2006 Jul 04
2
Display a calendar helper
Before I starting writing a helper to display a calendar I wondered if
anyone was aware of a calendar helper, basically something that is
displayed inline (not a pop-up window) that can replace a date_select.
The way I am thinking of doing it is to have a partial which is passed a
Time class, the month is extracted from the date and a grid displayed
for that month. Which should not be to
2006 Jan 25
3
Application Helper and Javascript
I have a "javascript_include_tag" including a Javascript function.
I have a function being invoked via a helper in the same view, which prints
out a script tag that uses the javascript function above.
Problem is, the function being invoked via the helper can''t find the
javascript function included in the "javascript_include_tag".
I hardcoded the javascript that
2006 Feb 03
2
JavaScript Prototype Help?
I have a form with a text area. I want to have an observer watch the
text area and update a div with the running count of characters in
the text area. I tried "onchange" but that doesn''t update until you
leave the text area. I was able to get it working using AJAX, but
it''s silly to make a needless round trip to the server, when the page
already knows
2006 Mar 08
2
Upload progress update bar question
I''m trying to follow these instructions to include the Javascript
progress bar on a page. However, I''m confused.
In my controller, when I try to access
update_upload_progress_bar_js
which is defined in
actionpack/lib/action_view/helpers/upload_progress_helper.rb
I get a "no such method" error.
Can I use helpers in my controller class and, if so, how do I
2006 Jul 31
3
date_select for valid days only. No Feb 30
I am looking for some advice on how to make a date select display only
valid days of the year. The standard date helper allows for you to
choose 31 days for every month of the year. Since not all months have
31 days this can lead to invalid date entries for scheduling.
I am thinking that an approach where I have a drop down for month and
then use AJAX or normal client side javascript to
2006 Jun 06
1
Getting value of form using Ajax (and problems with Safari)
I have got two forms, the first is a textarea plus a link that activates
some javascript to change the form, the second activates some javascript
on the onchange event which changes it into a textarea form.
This works in Firefox, but not in Safari.
Also, I need the value which is selected. I''ve found an example that
gives the parameter to the javascript, like this:
<input
2007 Aug 02
7
Difficulty using match
A have an observer watch for a click on a link. Inside the triggered
function, I want to extract a piece of information from the URL.
Currently I am able to do:
alert(Event.element(el));
This displays the url string of the link, which is exactly what I need
to work with. However, when I try:
Event.element(el).match(//);
I get a javascript error "selector.match is not a function". I
2006 May 31
1
Problem with combining rails helper and javascript
Hi!
I''d like to make ajax request after effect fade finishes. There''s a
callback in Effect class - afterFinish, but it requires the code to be
in function() {*here*}.
When i write :afterFinish => remote_function() it generates following
javascript code:
afterFinish: new Ajax.Updater()
and i need:
afterFinish: function() {new Ajax.Updater()}
How can i do it? I need to
2011 Aug 26
0
[LLVMdev] Dead node removal in DAGCombiner
Hi Akira,
> Is this piece of code in DAGCombiner::visitLOAD removing a dead node?
>
> 06155 if (N->use_empty()) {
> 06156 removeFromWorkList(N);
> 06157 DAG.DeleteNode(N);
> 06158 }
yes.
> If it is, is there a reason it doesn't push its operands to the work
> list as done in line 974-975?
>
> 00970 // If N has no uses,