Displaying 8 results from an estimated 8 matches for "display_type".
Did you mean:
s_display_type
2007 Mar 08
1
map not displayed after Ajax.updater request
...ent to my
controller to require either table or map build and display...
....
....build table or map ,according to ajax request parameter
if request.xml_http_request?
render :partial => ''display_network'' , :layout => false
end
then in my view
<% if @display_type == "0" %>
.... display table
<% else %>
<div id="map_box" style="border:solid 2px grey; margin:1em auto;
width:340px; height:340px;">
<%= @map.to_html %>
<%= @map.div(:width => 338, :height => 330) %>
</div>
<% end %&...
2013 Oct 31
6
[PATCH 0/4] virt-v2v: Convert RedHat.pm to Linux.pm
In preparation for an upcoming patch which adds support for SUSE guest
conversions, it makes sense to have an intermediate steps that changes the
RedHat.pm converter into a more generic Linux converter. The SUSE changes
will then be limited in scope to only what is required for SUSE support.
This series of patches accomplishes the following:
- Renames RedHat.pm to Linux.pm
- Modifies Linux.pm
2006 Sep 11
1
Aliasing type method in Mocha
...ls.
E.g.
cols = [stub(:primary => true, :name => ''id'', :type => :integer),
stub(:primary => false, :name => ''desc'', :type => :string)]
model = mock
model.stubs(:columns).returns(cols)
Then later:
model.columns.each do |col|
display_type = case col.type
when :integer : ''Int''
when :string : ''String''
else ''n/a''
end
The trouble is that stub in the cols array returns Mocha::Mock as the
type, not what the :type key says it should return. I tried alias
Mocha:M...
2019 Feb 25
0
[PATCH 3/3] v2v: add -o json output mode
...| Some { s_sound_model = model } ->
+ let sound = [
+ "model", JSON.String (string_of_source_sound_model model);
+ ] in
+ List.push_back doc ("sound", JSON.Dict sound)
+ );
+
+ (match source.s_display with
+ | None -> ()
+ | Some d ->
+ let display_type =
+ match d.s_display_type with
+ | Window -> "window"
+ | VNC -> "vnc"
+ | Spice -> "spice" in
+
+ let display = ref [
+ "type", JSON.String display_type;
+ ] in
+
+ push_optional_string display "keymap...
2019 Mar 29
0
[PATCH v2 3/3] v2v: add -o json output mode
...| Some { s_sound_model = model } ->
+ let sound = [
+ "model", JSON.String (string_of_source_sound_model model);
+ ] in
+ List.push_back doc ("sound", JSON.Dict sound)
+ );
+
+ (match source.s_display with
+ | None -> ()
+ | Some d ->
+ let display_type =
+ match d.s_display_type with
+ | Window -> "window"
+ | VNC -> "vnc"
+ | Spice -> "spice" in
+
+ let display = ref [
+ "type", JSON.String display_type;
+ ] in
+
+ push_optional_string display "keymap...
2008 Jan 21
4
Rails app cannot connect to Ferret server
...which should be available at
druby://localhost:9010
Ad Columns (0.004026) SHOW FIELDS FROM `ads`
default field list: [:keywords, :family_tree_other, :description, :sex,
:top_ad, :background_color, :family_tree, :notified_expired,
:ad_kind_id, :callname, :show_bold_border, :race_id, :castrated,
:display_type, :homepage_url, :distinctive_features, :email,
:read_count, :age, :duration, :title, :show_contact, :ts_create,
:age_unit, :price, :show_image_on_list, :phone2, :ts_display, :color_id,
:show_bold_text, :phone1, :disappeared_from, :qty_available,
:date_sale_ready, :phone3, :user_id, :ts_expire]
Ar...
2019 Mar 29
5
[PATCH v2 0/3] v2v: add -o json output mode
This series adds a new output mode for virt-v2v, called -o json.
It produces local files, just like -o local, although the metadata
produced is a JSON file with data that v2v collected in the conversion
process. This can be useful for converting to unsupported destinations,
still based on QEMU/KVM.
In addition to a simple different metadata, it offers a way to relocate
the disks, with
2019 Feb 25
7
[PATCH 0/3] RFC: v2v: add -o json output mode
This series adds a new output mode for virt-v2v, called -o json.
It produces local files, just like -o local, although the metadata
produced is a JSON file with data that v2v collected in the conversion
process. This can be useful for converting to unsupported destinations,
still based on QEMU/KVM.
In addition to a simple different metadata, it offers a way to relocate
the disks, with