Displaying 20 results from an estimated 22 matches for "item_list".
2006 May 03
2
render partial collection
my view contains a call to a partial:
<%= render(:partial => ''item_list'', :collection => @keyword.synonyms,
:locals => { :action_delete => "removesynonym", and_some_other_stuff
})
%>
_item_list.rhtml contains:
<%= link_to (
image_tag(''/images/deletebutton.png''),
{ :action => action_delete,
:id...
2006 May 03
0
render partial collection passing property
my view contains a call to a partial:
<%= render(:partial => ''item_list'', :collection => @keyword.synonyms,
:locals => { :action_delete => "removesynonym", and_some_other_stuff
})
%>
_item_list.rhtml contains:
<%= link_to (
image_tag(''/images/deletebutton.png''),
{ :action => action_delete,
:id...
2007 Nov 08
0
Polycom IP601 (mac)-directory.xml changes don't update phone
...with 7 phones, bootrom 3.1.3, sip 2.1.2.
- I'm provisioning the phones with ftp and the phones happily download
configuration files and upload logs.
- The 000000000000-directory.xml is pretty empty:
<?xml version="1.0" standalone="yes"?>
<directory>
<item_list>
</item_list>
</directory>
- A typical phone specific file (mac)-directory.xml (e.g.:
0004f123456-directory.xml) looks like:
<?xml version="1.0" standalone="yes"?>
<directory>
<!-- Ext: 202 -->
<item_list>...
2007 Nov 16
1
drag & drop list needs refreshing
...e session variable)
[code]
def add_item_to_selected
item_id = params[:id]
session[:selected_items] = item_id
render :partial => ''items''
end
[/code]
The other code is below
[code]
#view
<div id="itemList"><%= render :partial => "item_list"%></div>
<div id="selectedItems"><%= render :partial => "items" %></div>
<%= drop_receiving_element "selectedItem",
:update => "items", :url => { :action => "add_item_to_selected" },
:accept => &q...
2016 Dec 01
3
[PATCH v2 1/2] xattrs: Skip security.evm extended attribute
...tten from userspace. Therefore, we can always
skip it.
---
xattrs.c | 18 +++++++++++++++++-
1 file changed, 17 insertions(+), 1 deletion(-)
diff --git a/xattrs.c b/xattrs.c
index b105392..3b72e61 100644
--- a/xattrs.c
+++ b/xattrs.c
@@ -255,6 +255,9 @@ static int rsync_xal_get(const char *fname, item_list *xalp)
if (user_only ? !HAS_PREFIX(name, USER_PREFIX)
: HAS_PREFIX(name, SYSTEM_PREFIX))
continue;
+
+ if (!strcmp(name, "security.evm"))
+ continue;
#endif
/* No rsync.%FOO attributes are copied w/o 2 -X options. */
@@ -358,6 +361,9 @@ int copy_xattrs(const char...
2008 Jul 02
1
Non-clean Rsync 3.0.3 exit on OSX
...e=30, negotiated=30
receiving incremental file list
server_sender starting pid=23973
[sender] make_file(index.html,*,0)
uid 10452(portman) maps to 10452
gid 2053(its) maps to 2053
[receiver] expand acl_duo to 16000 bytes, did move
[sender] expand rsync_acl to 12000 bytes, did move
[receiver] expand item_list to 1200 bytes, did move
[receiver] expand rsync_xa to 0 bytes, did move
recv_file_name(index.html)
[sender] expand item_list to 1200 bytes, did move
[sender] expand rsync_xa to 0 bytes, did move
received 1 names
[receiver] flist start=1, used=1, low=0, high=0
[receiver] i=1 1 index.html mode=010064...
2006 Jun 09
1
Polycom subscriptions
...uddies to Asterisk. I have broken the directory file down to make it as simple as possible.
Here is what it contains.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- $Revision: 1.2 $ $Date: 2004/12/21 18:28:05 $ -->
<directory>
<item_list>
<item>
<ln>Presley</ln>
<fn>Elvis</fn>
<ct>2944093</ct>
<sd>1</sd>
<rt>3</rt>
<dc/>
<ad>0</ad>
<ar>0&...
2007 Nov 08
0
Polycom IP601 call parking
...the phones show "Park 10" and "Park 11", and flash
nicely when a call is parked there.
A typical phone specific file (mac)-directory.xml
(e.g.: 0004f123456-directory.xml) looks like:
<?xml version="1.0" standalone="yes"?>
<directory>
<item_list>
<item><fn>Park 10</fn><ct>10</ct><sd>1</sd>
<dc/><ad>0</ad><ar>0</ar><bb>0</bb><bw>1</bw></item>
<item><fn>Park 11</fn><...
2008 Jan 25
0
Script for seeding polycom phones with an extension directory
...)
{ if (isset($v['name']))
{ $directory[] = "<fn>". $v['name']."</fn>\n".
"<ct>".key($sip_array)."</ct>\n";
}
next($sip_array);
}
sort($directory);
echo "<directory>\n";
echo "<item_list>\n";
foreach ($directory as $v) {
echo "<item>\n";
echo $v;
echo "</item>\n";
}
echo "</item_list>\n";
echo "</directory>\n";
?>
Roy Anciso
Director of Technology
Manistee Intermediate School District
1...
2010 May 28
1
cookie has key/value pairs and lost order after JSON decode
If a cookie has several items, and is encoded as JSON text as the value
of the cookie, the order is actually apparent in the cookie''s text
But if JSON.decode is used:
ActiveSupport::JSON.decode(cookies[''item_list''])
and the result is actually in a hash, then the ordering is lost...
Is it true that if the original JSON object has an array of hashes (1
key and 1 value), then the order can be preserved?
But what if the original JSON object was a hash of key / value pairs,
and is already in many use...
2012 Jun 09
2
[patch] NFSv4/ZFS ACLs
This is a PoC patch for NFSv4/ZFS ACLs.
The objective of the patch is that rsync --acls support NFSv4/ZFS ACLs
without requiring a new command line option
NFSv4 ACLs can't be represented using POSIX draft ACLs, if an NFSv4 ACL is
present a separate POSIX draft ACL will not be present and there are new
APIs
to access NFSv4 ACLs. So we need to distinguish between NFSv4 ACLs and
POSIX
ACLs in
2006 Mar 10
5
PDF::Writer Simpletable Iteration
...ot;item_code" => item.code,
"item_name" => item.name,
"item_desc" => item.desc,
"item_cost" => item.cost},
]
end
tab.data.replace @data
tab.render_on(_p)
end
send_data _p.render, :filename => "Item_List.pdf", :type =>
"application/pdf"
end
--
Posted via http://www.ruby-forum.com/.
2006 Nov 21
4
IP601 Expansion Module HELP!!!
Hey list,
Im in this HUGE crisis. Im trying to get a Polycom 601 with two expansion
modules to work. I need the XML config files I guess. Does anyone have these
I can have? Im trying to get this phone up and running, and haveing MUCHO
problems, can someone help me out!! Im sure if I see the configs I can see
how it works, just need those XML files!! The ones from the 501 that I have
dont seem to
2015 Aug 18
1
[Bug 11456] New: Allow configuration of MAX_GID_LIST
https://bugzilla.samba.org/show_bug.cgi?id=11456
Bug ID: 11456
Summary: Allow configuration of MAX_GID_LIST
Product: rsync
Version: 3.1.2
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5
Component: core
Assignee: wayned at samba.org
Reporter:
2007 Apr 26
0
Sortables no longer working
I recently added MochiKit to my server for the key event monitor thing
and now my sortable isn''t working. I get
Sortable is not defined
(Sortable.create(''item_list'', {tag : ''li'', overlap : ''horizontal'',
onUpdate :...)
They told me I had to move MochiKit''s script src reference above
scriptaculous to get it to work right. Well now this isn''t working.
Any ideas as to what the conflic tis? I am rest...
2006 Nov 04
0
Using collection_select and ajax
...tion value="2">Spanish</option>
<option value="3">French</option></select>
<script type="text/javascript">
//<![CDATA[
new Form.Element.Observer(''lang_select'', 1, function(element, value)
{new Ajax.Updater(''item_list'', ''/items/filter_by_language'',
{asynchronous:true, evalScripts:true,
<snip>
parameters:value})})
//]]>
</script>
The problem is that the following are the params that Ajax is sending
back to my controller when the user selects a different language:
action...
2015 Jan 06
2
[Bug 11035] New: make check failure
...(const char *, int, int *, int *);
^
1 warning generated.
--
gcc -I. -I. -I./zlib -I./popt -g -O2 -DHAVE_CONFIG_H -Wall -W -c acls.c -o
acls.o
acls.c:742:84: warning: unused parameter 'mode' [-Wunused-parameter]
static int recv_rsync_acl(int f, item_list *racl_list, SMB_ACL_TYPE_T type,
mode_t mode)
^
1 warning generated.
--
I do not know if the warning above contributed to this failure during the make
check process.
--
check how the files compare with diff:
------...
2008 Mar 02
3
congrats!
Thanks Wayne and everybody,
This is a huge boost to have a modern rsync for OSX. We're all
grateful. Rob D
PS I did notice that we lost the bsd flags test in 3.0. It was ok in
pre10.... thanks again
bbouncer
Verifying: basic-permissions ... ok
Verifying: timestamps ...
Sub-test: modification time ... ok
ok
Verifying: symlinks ... ok
Verifying:
2008 Sep 23
2
(not quite) reproducible segfaults in 3.0.3
In debian bug #498083 (http://bugs.debian.org/498083) someone is getting
segfaults reasonably consistently, however when using -vvvv it doesn't
happen...
Fortunately Sven was able to get a good backtrace. I can't quite see
what's causing the problem; it does seem to be related to xattrs.
Please see the bugs report at the url above for the details.
Any help much appreciated.
Paul
2009 Jul 07
0
[PATCH server] Update app to work with rails 2.3.2
...ind_opts={}, id_method=:id)
- page = params[:page].to_i
- paginate_opts = {:page => page,
- :order => "#{params[:sortname]} #{params[:sortorder]}",
- :per_page => params[:rp]}
- arg_list << find_opts.merge(paginate_opts)
- item_list = full_items.paginate(*arg_list)
- json_hash = {}
- json_hash[:page] = page
- json_hash[:total] = item_list.total_entries
- json_hash[:rows] = item_list.collect do |item|
- item_hash = {}
- item_hash[:id] = item.send(id_method)
- item_hash[:cell] = attributes.collect do |...