Questions tagged [partial]

Existing only in part; incomplete.

Existing only in part; incomplete.

1478 questions
0
votes
1 answer

How to properly render collection in a partial layout from inside another partial layout?

I have a Cart that I want to render in 3 different ways in my app. In the sidebar. Displays only item count in cart and their total price. In Cart main view. Displays line items with links to products, quantity and total price for each item. Also…
Artem Pakk
  • 263
  • 1
  • 13
0
votes
1 answer

Application.js doesn't work inside a partial

I have a classic scheme - in application.js are included all needed JS routines and in the app working fine. Then I have an AJAX link (remote="true") - after click on this link is called respective partial (lets say _display_popup.html.haml - this…
user984621
  • 46,344
  • 73
  • 224
  • 412
0
votes
1 answer

Call Java method inside java script - Oracle ADF

When user submits one page, I need to update hidden field values before submitting. How can I achieve that? Inside…
Vaandu
  • 4,857
  • 12
  • 49
  • 75
0
votes
2 answers

How can we do partial page updates in asp.net

We want to show Some fields of table in Detail view layout and want to update every fields individually. can we do this in asp.net
0
votes
1 answer

How to pass data from a plugin to partial in Zend Framework?

I have a problem with Zend Framework. I created a plugin that requests some data from a database.
anisie
  • 69
  • 6
0
votes
1 answer

how do i place this ruby code correctly?

I have a piece of code which displays a complicated 'listing' of resources. by complicated i mean that it has name, date, time posted, number of comments, picture, description, and tons more things that you obviously only want to write that block of…
Tallboy
  • 12,847
  • 13
  • 82
  • 173
0
votes
2 answers

PHP Echoing Long of String With Limited Output?

I have a variable of array containing such as these names; // Listing ENTITIES $entitiesTable = array( 1 => "user", 2 => "group", 3 => "customer", 4 => "supplier", 5 => "terminal", 6 => "order", 7 => "invoice", 8 =>…
gumuruh
  • 2,544
  • 4
  • 33
  • 56
-1
votes
1 answer

How can i use a variable defined in a partial in EJS?

I am using EJS as my Express view engine, and I'm trying to 'expose' a variable in a partial so that I can use it in the *.ejs which 'include' it, but I don't know how to do it. partial.ejs <% var jsUrl = 'sth'; %> test.ejs
Boris
  • 555
  • 7
  • 22
-1
votes
1 answer

How to substring a text easily

Alright here the question. This is an example text Nokia 700Stok Kodu: 389952
Nokia 700 Cep Telefonu PDA, Dokunmatik, Bluetooth,…
Furkan Gözükara
  • 22,964
  • 77
  • 205
  • 342
-1
votes
1 answer

Excel pulling multiple wild card data from string to define type in other column

Wondering if there is a better way to pull multiple partial texts from a string in one column to define a type for each line item in a separate column. string examples: HEAVY HEX BOLT ASME B18.2.1 ASTM A320/A320M GR.B8M CL 2 PL UNC CLASS 2A SIZE:…
-1
votes
3 answers

BeautifulSoup find partial string in section

I am trying to use BeautifulSoup to scrape a particular download URL from a web page, based on a partial text match. There are many links on the page, and it changes frequently. The html I'm scraping is full of sections that look something like…
Koelker12
  • 21
  • 5
-1
votes
2 answers

My partial array keeps adding the empty data C#

I'm new to C# and we need to create an array that can hold 100 scores. But it needs to also accept something smaller (txt file with numbers between 0-100). My issue is that even tho I add a txt file that has 50 scores, it will think there is another…
Carmen
  • 1
-1
votes
1 answer

Partial filename open workbook VBA

I want to open more documents with VBA one by one and to make some changes in it after I extract them from sap with the following name :' sap id name of the client" eg. "546930 XXX" The documents are xls files that are called " sap id name of the…
-1
votes
1 answer

Cross validation of the Partial Dependence Plots

In one of my robustness test, I want to perform cross validation of the partial dependence plot but I don't know where to start. My model is regression tree and I had partial dependence plots based on the whole dataset. My questions are: If I…
lindo
  • 27
  • 5
-1
votes
1 answer

How to make timeit.Timer() work with output of itertools.starmap()

I am having a hard time wrapping my head around why i can make timeit.Timer() work with output from functools.partial() but not with output from itertools.starmap(). What I basically need is starmap(func, tuples) to have the same 'attributes' as…
RWS
  • 1
  • 1