Displaying 7 results from an estimated 7 matches for "showname".
Did you mean:
shownamed
2010 Jul 09
2
Template is missing.... but it is there!
...two rows inside
"instits" and three names for the first institution and two names for
the last. Then I created this controller:
class ServInstitController < ApplicationController
def index
@instit = Instit.find(:all, :order => ''created_at asc'')
end
def shownames
instit_ident = params[:instit_id]
@nomesinstit = NomeInstit.find_all_by_instit_id(instit_ident)
end
end
And I created this view "index":
<h3>Serviços relacionados à instituições</h3>
<br />
<% if @instit.nil? == false and @instit.length > 0 %>
&l...
2008 Sep 24
1
function can permanently modify calling function via substitute?
...think that is the point.)
do.nothing <- function(blah) {force(blah)}
do.stuff.with.call <- function(mycall) {
raw.mycall <- substitute(mycall); # expected raw.mycall would be local
print( sys.call() )
# do.nothing( raw.mycall ); # See below re: commented lines.
# .Call( "showNAMED", raw.mycall[[2]] )
force( mycall ); # not relevant where (or whether) this is done
raw.mycall[[2]] <- runif(1); # permanently modifies try.me on the
first time only
# .Call( "showNAMED", raw.mycall[[2]] )
raw.mycall
}
gumbo <- function(x) {
writeLines( paste( &...
2011 Mar 09
1
Javascript call from view.
...{},:href=>"#",:class => "replyMessage
noBackgroundImage" ,:title =>"Click here to
reply",:onclick=>"popup(''popUpDiv_reply'')"%>
I have two javascript functions as follows defined seperately in an
application.js file.
function showName(inputName,textName){
var fieldName = document.getElementById(inputName);
document.getElementById(textName).value += ''@'' + fieldName.value +
'':'';
}
function decreaseName(inputname){
var fieldName = document.getElementById(inputname);
var totalLength = fieldNam...
2006 Feb 01
1
Combine Ajax call with an effect.
...ing
the ajax and the effect...Thanks for your help.
function getDescription(news_id) {
var url = ''/admin/site_admin/news_popup.lasso?news_id='' + news_id;
var myDiv = new Ajax.Updater(''thedescription'', url,
{asynchronous:true});
}
<span class="shownames" id = "show">
<a href="#" title=""
onmouseover="getDescription([field:''id''])"
onclick="CloseDescription();return false;">[field:''title'']</a>
</span>
<div id="thedescription&q...
2006 Dec 20
0
Re: Match a Numer - then continue with, dialplan
...=> default; already included from local, but putting here for
clarity
include => local;
exten => _91XXXXXXX,1,Macro(trunkout,${EXTEN}) ;Medium Distance
exten => _91XXXXXXXXXX,1,Macro(trunkout,${EXTEN}) ;Long Distance
Then, I have:
[macro-trunkout]
exten => s,1,Set(cname=${DB(showname/${CALLERIDNUM})});
exten => s,n,Set(cnum=${DB(shownum/${CALLERIDNUM})});
exten => s,n,GotoIf($["foo${cnum}" = "foo"]?6); //if calling from ZAP
channel that set caller ID already
exten => s,n,Set(CALLERID(name)=${cname}|a);
exten => s,n,Set(CALLERID(number)=${cnum}...
2006 Dec 20
3
Re: Match a Numer - then continue with, dialplan
...but putting here for
> clarity
> include => local;
>
> exten => _91XXXXXXX,1,Macro(trunkout,${EXTEN}) ;Medium Distance
> exten => _91XXXXXXXXXX,1,Macro(trunkout,${EXTEN}) ;Long Distance
>
> Then, I have:
> [macro-trunkout]
> exten => s,1,Set(cname=${DB(showname/${CALLERIDNUM})});
> exten => s,n,Set(cnum=${DB(shownum/${CALLERIDNUM})});
> exten => s,n,GotoIf($["foo${cnum}" = "foo"]?6); //if
> calling from ZAP
> channel that set caller ID already
> exten => s,n,Set(CALLERID(name)=${cname}|a);
> exten => s...
2012 Feb 11
10
Question about reusing classes/modules
Hello Everyone,
I''m still pretty new with puppet so please bare with me. I tried
searching and I''m pretty sure I''ve ready my answer but I''m not sure if
I''m going down the right path just yet.
My scenario is this: I have 4 environments, Dev, Test, QA, Prod. Each
of these environments lives in 2 sites, LA and NY. I have 5
applications that are site and