search for: sometest

Displaying 5 results from an estimated 5 matches for "sometest".

2006 Jul 06
4
ERb question: Embedding <%= %> in helper method calls
...%= %> (scriptlet) in my text_field call to set the "disabled" attribute on the text field, like so: <%= text_field(:current_job, ''removeLinkPos'', :value => '''', :id => ''offset'', :maxlength => 2, :disabled => <%= sometest ? ''true'' : ''false'' %>) %> however, this caused a compile error. I ended up with an if/else statement to generate my text_field differently based on the boolean test for "disabledness". It kind of makes sense to me that doing <%= .... <%...
2004 Oct 07
2
recent 's' and 'n' priorities and lables
...ment has become *much* simpler IMHO. However, I have one suggestion for possible improvement. In any of the Goto[If|IfTime] statements, the ability to do 's' + a number or label + a number would be _nice_. Example extensions.conf: exten => 1,1,NoOp(Start) exten => 1,n,GotoIf($[${SOMETEST}]?:s+2) exten => 1,n,NoOp(Do something) ; target if SOMETEST = 1 exten => 1,n,NoOp(Do some other stuff) ; target if SOMETEST = 0 exten => 1,n,NoOp(Finish) turns into (pseudo-code): print 'Start' if (sometest) { print 'Do something if sometest evaluates to true'...
2006 Aug 18
3
setting a value of text_field from a controller
Hi, I need to set up an initial value from controller. In my views I''ve something like <%= text_field "object", "name" %> and would like to do something like this from controller def index @object[:name] = ''default value'' end but still got an error. Object doesn''t have database model (and will not have) Thank you PS: now using
2011 Feb 22
8
auth.conf & namespaceauth.conf : which files belong on the master , and client?
I''m trying to wrap my head around these files... do both of them need to reside on the client and master? are there any docs that describe these files and what all the option/ sections are and what they do? Thanks all.... -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to
2007 Jan 03
3
pre-1.0.rc6 / index file problems? try this
People who have had "duplicate header extension" and whatever other random index file corruption problems, please see if this fixes anything: http://dovecot.org/list/dovecot-cvs/2006-December/007315.html The change is also in the latest nightly snapshot (http://dovecot.org/ nightly/dovecot-latest.tar.gz). You could in general treat the latest snapshot as "pretty much the