Displaying 20 results from an estimated 100 matches similar to: "Autocomplete - setting a second value?"
2006 Jul 27
1
Update second pulldown menu based on first menu selection?
I know I''ve seen this somewhere on this board and just can''t search it
anymore.
I have three relational tables: clients, projects, and tasks. Currently
I''m working on customizing the ''new/edit'' task _form. So far I have it
listing clients in a pulldown menu so I can assign the new task to a
client. I''d like to have a second pulldown select
2004 Apr 04
1
How to improve this code?
Hi all,
I've got some functioning code that I've literally taken hours to
write. My 'R' coding is getting better...it used to take days :)
I know I've done a poor job of optimizing the code. In addition, I'm
missing an important step and don't know where to put it.
So, three questions:
1) I'd like the resulting output to be sorted on distance (ascending)
and
2018 Feb 25
4
reshaping column items into rows per unique ID
Hi All
I have a datafram which looks like this :
CustomerID DietType
1 a
1 c
1 b
2 f
2 a
3 j
4 c
4 c
4 f
And I would like to reshape this so I can
2006 Feb 14
6
[newb] Find vs Find :all question
I''m playing out with writing an online store.
So far it has accounts, addressbooks, and orders, and those 3 are tied
together with an customer ID. I also have orderDetails, which are
associated to the order via an order number. See models below...
When I do the following I can access the orderDetails information just
fine:
@order = Order.find(params[:id]) # i pass it a customer
2005 Dec 19
4
Observing Ajax Requests?
Is it possible using scriptaculous/prototype to watch out for any
happening Ajax activity, and do something like show/hide a spinner gif
to indicate to the user that there is activity taking place in the
backgound?
Regards,
Michael
------------------------------------------
Michael Roper - Web Developer
WORLDWIDE ONLINE PRINTING AUST/NZ
[T 08 9350 2300] [F 08 9451 6048]
[E
2018 Feb 25
0
reshaping column items into rows per unique ID
Hi Allaisone,
If you want a data frame as the output you will have to put up with a
few NA values unless each Customer has the same number of diet types:
a1df<-read.table(text="CustomerID DietType
1 a
1 c
1 b
2 f
2 a
3 j
4
2005 Nov 14
3
InPlaceEditor question
I''ve noticed some strangeness when using the InPlaceEditor.
Here''s my code:
<p id="storyTitle"><%= storyTitle %></p>
<script type="text/javascript">
new Ajax.InPlaceEditor(''storyTitle'',
''editBlog.jsp'', {
callback: function(value) { return ''v=edit&user=<%=
2008 Sep 08
1
ActiveRecord::StatementInvalid Error
Hi There,
I''m gettings the following errors while accessing my application.
Can someone please tell what is the possible cause and can it
be resolved.
"
ActiveRecord::StatementInvalid in Site#showalladdress
Showing site/showalladdress.rhtml where line #3 raised:
Mysql::Error: #42000You have an error in your SQL syntax; check the
manual that corresponds to your MySQL server version
2018 Feb 25
0
reshaping column items into rows per unique ID
I believe you need to spend time with an R tutorial or two: a data frame
(presumably the "table" data structure you describe) can *not* contain
"blanks" -- all columns must be the same length, which means NA's are
filled in as needed.
Also, 8e^5 * 7e^4 = 5.6e^10, which almost certainly will not fit into any
local version of R (maybe it would in some server version --
2003 Feb 05
7
Winbind on HPUX 11, some small progress
Hi All,
Well, i've managed to enable some debugging in syslog, I had to put in
/etc/syslog.conf
;*.debug
on the syslog line.
So at least I have an error which is being returned into syslog from
winbind.
This is what I get from winbind
Feb 4 21:13:17 coastdr pam_winbind[20753]: Verify user `lonnie'
Feb 4 21:13:18 coastdr pam_winbind[20753]: user 'lonnie' granted acces
Feb 4
2006 Nov 22
4
data in form of a date
Dear all,
I often use dates and times in analyses. I just can't figure out how to
format my date or time column in R. So, apparently R sees the date as
something other than date (character). Let's say I am opening a CSV
file, one of the columns of which is a date or time. How do I specify
that when opening the file?
Thanks for the help,
Jim
--
2009 Jan 06
3
Incoming side of SIP trunk does not work unless I add "insecure=very"
The incoming (Class 5 switch to Asterisk PBX) side of a SIP trunk does not
work unless I add "insecure=very" to my "Outgoing settings", but I don't
want to do that. I do want to authenticate. Outgoing (Asterisk PBX to
Class 5 switch) calls do authenticate and work.
The Nortel CS 1500 I'm using as the PSTN-side of my SIP trunk has a username
and password that it's
2005 Dec 28
6
Custom tooltip component?
I am looking to develop a custom tool tip component for a list of links.
...Which is kind of not that big a deal.
But, and this seems to be the tricky part, I also want to be able to
set/specify the interval threshold after which to display the tool tip. (and
by nature of "tool tip", don''t display if the mouse moves out during that
interval. etc)
Any suggestions?
Could
2005 Dec 16
1
Gem update error (Zlib::BufError)
Hi,
I''ve just run the usual gem update --include-dependencies in order to
update to 1.0 and I get the following error:
Upgrading installed gems...
Attempting remote upgrade of actionwebservice
Attempting remote installation of ''actionwebservice''
ERROR: While executing gem ... (Zlib::BufError)
buffer error
Subsequent attempts gives me the same error. Can anyone
2003 Jan 27
19
Winbind on HPUX11, Totally Stuck, Please Help
Skipped content of type multipart/alternative
2018 Mar 14
2
PJSIP Originate
I am using AMI Originate to perform a new outbound call.
The SIP Provider we send the call to wants us to pass the caller id of the person we are calling for in the Contact header.
For the AMI Originate, I pass the caller id information data in the CallerID field. However, this is never being passed through the PJSIP INVITE header
Action: Originate
ActionID: S598
Channel: PJSIP/133 at 1002
2008 Oct 14
3
Sendmail and pmtu discovery
We have an issue with some customers who refuse to accept ICMP traffic
to their mail servers. It seems that they have put Mordac, preventer
of information services in charge of their firewall policy
(http://en.wikipedia.org/wiki/List_of_minor_characters_in_Dilbert#Mordac).
My mail logs are showing that customers who specifically disallow ICMP
traffic have many "Connection Reset"
2007 Feb 01
1
Dial option G - Passing parameters?
Has anyone used the G option with the Dial app? I'm looking for a way
to control the called party leg. Specifically, I'd like to pass a few
variables to the called side for some call control. Here's a synopsis
of what I'm doing:
Make outbound call w/ AMI Originate action.
Called party answers ("Customer")
Customer identifies himself, and now I use Dial w/ the G
2007 Jul 25
1
if - else
Greetings,
I have some confusion with the use of if - else. Let's say I have a
four variables as follows:
Condition DateFound DateFirstEvent
DateSecondEvent
NA 10Jan2000 NA NA
0 05Jan2000 07Jan2000
10Jan2000
1 07Jan2000 07Jan2000
2010 Jun 05
1
Problem with GROUP()
Hello list,
using asterisk 1.4.30 and trying GROUP() and GROUP_COUNT() for the first
time... Having some troubles.
This the dialplan (using a sub) :
exten => s,n,Set(_custID=${custID})
exten => s,n,GROUP(${custID})
exten => s,n,NoOp(grouppcount = GROUP_COUNT(${custID}))
exten => s,n,GoToIf($[ ${GROUP_COUNT(${custID})} > 2 ]?maxreached)
The CLI shows :
[Jun 5 16:06:26] --