Displaying 6 results from an estimated 6 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'...
2024 Jul 13
1
[Bug 1759] New: flush and delete nft commands need an option to ignore non-existant objects
...filter.org
Reporter: hadmut at danisch.de
Hi,
I found that it is impossible to make sure in a ruleset to just ensure that a
particular table/chain/whatever does not exist or is flushed, since the nft
delete and flush commands fail if the object does not exist.
e.g.
nft delete table sometests
works if the table sometests existed, but aborts (and thus does not execute
other commands in a script like /etc/nfstables.conf) with an error if it does
not exist.
Therefore, it is more or less useless, since it cannot be used in a script
because of the risk to break the script.
It should b...
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