Questions tagged [partial]

Existing only in part; incomplete.

Existing only in part; incomplete.

1478 questions
-1
votes
2 answers

Finding element in Python by xpath

I am trying to click on an item whose xpath is: //*[@id="single-71048602500"]/div[2]/div[1] There are more elements that start with //*[@id="single"], and the number changes each time the page loads. So the only specific bits are the combination of…
lenny47
  • 3
  • 3
-1
votes
1 answer

How to link_to partial inside select tag?

I have one select tag inside form: <%= form.fields_for :bill_address do |bill_form| %> <%= bill_form.select :id, [Address.where(:user_id => current_user.id).collect{|b| "#{b.firstname} #{b.lastname}: #{b.address1}, #{b.state}"}, link_to "New…
synopsa
  • 75
  • 1
  • 8
-1
votes
1 answer

Partials in sub folders - handlebars (Fabricator)

I am using fabricator https://fbrctr.github.io I have a partial I am trying to include in a template ones on the top level are fine {{> standardbutton }} Nested one do not display {{> buttons/standardbutton }} I could put them all on the top…
TommyD
  • 913
  • 3
  • 17
  • 32
-1
votes
2 answers

Rails: Add form from different model

In my rails app, i have a project model which can have many project messages. project has_many project_messages In projects/show.html.erb, I would like to display all project messages for that project but also create new project messages from this…
EvaB11
  • 35
  • 6
-1
votes
2 answers

How can I copy(gettext) from 50% of the textview?

Maybe this is too easy, but I can't find the solution.. For example I can copy from TextView1 with this basic code. TextView2.setText(TextView1.getText); I am trying to this; How can I copy first 50% of the TextView1's text. Thank you for helping.
Kenshin
  • 159
  • 1
  • 1
  • 9
-1
votes
2 answers

Invalid expression term =

Guys I can't seem to figure out this one. I am kinda new to MVC and Razor so be gentle :D I got this partial view: @model Phonebook.PresentationLayer.Web.Models.EmailModel @using Phonebook.BusinessLogicLayer.Managers; @using…
Morsus
  • 107
  • 1
  • 16
-1
votes
1 answer

Partial change of home directory in Active Directory

We are migrating data from one filer to another and we have home directories setup for a bunch of users under their Active Directory profile. Some users have \\\x.x.x.x\sharename\etc, some have \\\hostname\sharename\etc and some have…
nfoman
  • 37
  • 1
  • 5
-1
votes
1 answer

Partial Class Constructor

I have a partial class with a no parameter constructor in a first file. For this partial class, I would like to have another constructor with a parameter in second file. Unfortunately I get this error : Class doesn't contain parameterless…
bruno leclerc
  • 333
  • 2
  • 9
-1
votes
3 answers

TextView hides last word that my be patially visible

For example we have combination of 2 words: "Firstword secondword". Textview have 1 line and it's width not big, so first word is visible, second to long to fit in rest space and it no visible: [Firstword______] How to achieve partial visibility of…
Anton Stukov
  • 128
  • 2
  • 12
-1
votes
1 answer

Match 4 four columns of data and get 5th column data against A and B column Row

I am looking to match 4 columns of data in Microsoft Excel. For example below is the data which I am looking partial match and retrieve 5th column data against A and B column Row in ColumnF. ColumnA ColumnB ColumnC ColumnD …
Kumar K
  • 11
  • 7
-1
votes
3 answers

Aggregate Factors in a new Column in R

I have an easy task, but I'm not able to solve my problem. I have a huge Dataframe and want to execute a KNN, but can't do that since I get following Error: Error: factor predictors must have at most 32 levels So far so good.. My Idea was to…
-1
votes
1 answer

What is the code to search using partial text entered in a text box?

Is this correct? Select [A], [B], [C] From [Database] Where [A] Like @TextBox1%
Masoud
  • 1
  • 1
-1
votes
1 answer

Undefined variable error when rendering partial on rails

I am trying to put render code in my edit.html.erb and create _form.html.erb. I have these code for edit.html.erb

Main#edit

Editing zone

<%= render partial: "form", locals: {addresses: @addresses} %> and these code for…
June
  • 17
  • 3
-1
votes
1 answer

ActionView::MissingTemplate

Hello stuck in this problem` > Missing partial products/_nav, application/_nav with {:locale=>[:en], > :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, > :ruby, :coffee, :haml, :jbuilder]} ` <%= render "nav" %> path to…
grisha
  • 1
  • 1
-1
votes
2 answers

jQuery inside a partial view not selecting elements inside the same view

People seriously downvoted this because they don't have an answer? Wow. So I have a partial view with a script inside that's loading into the parent page through AJAX, this script needs to be in here as I'm passing Modal variables through razor to…