Questions tagged [view]

This tag is for questions about database view or UI / architectural view. See also the following tags: sql-view, android-view, uiview.

0
votes
2answers
14 views

Android View's touch range is strange… help me…(custom view, inl)

I created a Custom View and add setOnClickListener... View's touch range is strange how do i fix that? red square is touch range... XML file(custom.xml) <LinearLayout> <TextView> ~...
0
votes
1answer
32 views

How to access a model from view without using the foreach loop

I was trying to create a view where I can access the data one by one like I have a model of questions and want to show each question on a separate page or at least I want to have the control how each ...
0
votes
0answers
12 views

Recycler view OnItemDismiss method approach

I have a list of items displayed on the screen which are stored in an ArrayList of 'mSiteItems'. I am using Recycler view for my display. I would like to assert that my approach is correct in dealing ...
0
votes
0answers
11 views

If I want to build a App like Youtube, should I have to save the number of views in the Database?

If you want to build a App like Youtube, should I have to save the number of views in the Database If yes, by retrieving the number of views as a lenght will increase my bill? Will I have to pay more ...
0
votes
1answer
45 views

Android View Inflate Exception (Nullpoint) [duplicate]

I have list item row, which is perfectly working until I add a view as border I get a NullPointerException. I don't get it. If I comment the view every thing gonna be ok. <android.support.v7....
0
votes
1answer
25 views

How to select from views bigquery?

I want to retrieve my real time Google Analytics data from Bigquery views. Attached is my current queries: select datetime(timestamp_micros(visitstarttime*1000000),"Asia/Jakarta") as ga_datetime , ...
0
votes
1answer
9 views

Atom Editor - How to fix: Only one tab open at a time

I have a cat. She likes to sit on my keyboard. I recently downloaded the Atom Editor, and I love it, but I don't know much about the settings. I just came back to having about 50 instances of Atom ...
0
votes
1answer
19 views

Reduce the distance % subtracted as window shrinks CSS only

For example i have this centered element with margin-top: -10%; and i want on resize, more the window shrinks less that % become (like -6%). I know of vw and vh, but those almost don't change at all ...
0
votes
0answers
25 views

full calendar 2 weeks view with 2 column title

how can I display a 2 weeks view with 2 column title like the picture? thanks in advance.enter image description here
0
votes
1answer
23 views

Stop Ms SQL server from formatting view queries in Design

After making a beautiful clear sql query, when you make a new view with that code in the design screen, sql server makes the code ugly and hard to read. But now trying to use a linked server which ...
0
votes
0answers
9 views

How to get the updated date for warning(field) in drupal 7

We have issues with the dates associated with the field <warnings> when a series of warnings are added at different dates/times. the warning dates indicated on the individual cage card view ...
0
votes
1answer
29 views

Ways to pass data and/or value to View from Controller without ViewData

Just a short question, is there a way to pass data to View without using ViewData and TempData? Besides model binding, are there any available method(s)? RT: ViewModel is basically the same as model ...
0
votes
0answers
82 views

Use of Global queryset in Django REST ViewSet Views/Actions

Concerning the following Django REST code: class UserViewSet(viewsets.ModelViewSet): """ A viewset that provides the standard actions """ queryset = User.objects.all() serializer_class = ...
0
votes
1answer
12 views

How to make Picasso not change current image if failed to load image

I am using Picasso for loading images in image view, and in some condition i load different image but if Picasso failed ti load the new image,it use the error image but i want it to leave the previous ...
-1
votes
0answers
32 views

Error in View : no applicable method for 'body' applied to an object of class “function” [closed]

I've been having this problem recently with RStudio. I've tried redownloading RStudio but that didn't seem to work. I get this error when I try to view the dataframe. Here's an example test <- as....
0
votes
0answers
13 views

Odoo - Temporary Non-Model Fields in Views?

I have a list of courses that I want the user to mark as either ALEAEDY STUDIED, NEED TO STUDY or CAN TEACH using for example radio buttons or a drop down list. However, I do not need to store the ...
0
votes
0answers
9 views

How to display selected time zone options for rails time_zone_select view helper?

i have a timezone field in my views. when i use time_zone_select like below, i am getting all the time zones. <%= f.time_zone_select :timezone %> But i want only selected time zones. not all ...
-2
votes
0answers
12 views

Activity Stream Laravel

I want to create an activity stream. In the stream, the user can see what the user is doing which he follows. I have the following database for this: id user_id type //follow, likes,... ...
-1
votes
0answers
15 views

MySQL backup creates Tables instead of views. Is there a way to convert them back?

Situation: I have several backups of the MySQL database and tried to restore them. The database consisted of about 35 tables and 15 views before the crash. Problem: Restoring with the backup restores ...
2
votes
1answer
37 views

How to make a circular List of Items like a WheelView?

I'm currently developing an app where I need to display a list of options in a circular way. Just like a ¿revolver? / ¿wheel? I don't even know how to define it with words. For a reference, I want ...
0
votes
2answers
29 views

Where should i put the django logic

This is my form: class UploadForm(forms.ModelForm): upload_what = forms.URLField() upload_what.widget.attrs.update(size ='100') So it's as simple as it gets, after the user pastes the link ...
3
votes
1answer
44 views

Struggling with referencing a variable (Swift)

Background: I'm trying to animate a wave using BAFluidView. My goal is pretty simple: start the animation when a button is tapped, stop it when it is tapped again. The pod (linked above) provides all ...
0
votes
0answers
7 views

List not displaying on mvc view

I am having difficulty displaying a list that is passed from an mvc controller. The view has the data but not displaying on the cshtml file. Here is the view code snippet that is not working Thanks! ...
0
votes
0answers
17 views

SSDT Project with OPENQUERY in View

I have an existing database that I'm trying to set up as an SSDT project in Visual Studio. The project contains a view that looks something like this: CREATE view [dbo].[vw_MyView] as SELECT * ...
0
votes
0answers
14 views

Query navigation property from view with Entity Framework Core

I am having a data model where persons can be assigned to a task over time and a task. The model looks basically like this: class Task { public int Id {get;set;} public string Description {...
-4
votes
1answer
38 views

Symfony 3 - Add debug on each view render

I develop on a big new website some features. There is lot of views and it's difficult to understand where the code is executed. I would like to add html comments on each render view of this website ...
0
votes
1answer
31 views

Yii2 basic mode do not call main.php

I use basic mode on Yii2 framework. I create two controllers - SiteController and CategoryController. I have two folders with few views - site (index and about) and category (category and search). ...
-4
votes
0answers
23 views

What do I have to do to implement what is in the picture? [duplicate]

With a focus on the middle picture, I want to implement a preview of other pictures on the edge What should I do?
0
votes
0answers
36 views

Adding Dynamic Table with Multiple Columns to Array in Javascript

I have a basic view that contains a dynamic table that allows the addition and deleting of rows. This consists of a field called Task and a field called sequence. I am using javascript to get these ...
-1
votes
1answer
18 views

Parallax image is not working after I change my html to php

My parallax is not working at all after I change my HTML to PHP. It shows black background and not the image of parallax that I make this is my CSS: style_new.css .bgimg-1, .bgimg-2, .bgimg-3 { ...
0
votes
1answer
45 views

How can I automatically round the edges of a popup view?

I am working on a popup view for an app I am making. If you take a second to look at the image attached below, you will see that the top edges are rounded, but the bottom edges are not. This is ...
0
votes
1answer
41 views

Custom View receives Activity/Fragment lifecycle callbacks?

I'm working on custom view that will be used as normal android view component. Is it possible to internally handle hosts (activity/fragment) lifecycle states? My goal is to avoid end users (devs) to ...
0
votes
1answer
29 views

How to create and initialize an object without a View in ASP .NET MVC with Entity Framework?

I have two tables Movie and Rental in a local database. Rental has a field called itemID that is a foreign key references to id in Movie. I used Entity Framework for the two tables, which, in turn, ...
0
votes
1answer
45 views

Eloquent Query by Month and Count each value

I am trying to build a query to show medications used by month for the last 6 months for each group of medications. The returned query should look something like. medication | October | September | ...
0
votes
0answers
19 views

How can to have a view within the text of a textView? - Swift [duplicate]

I would like to implement a textView to show text in my app. But I need to replace every text which is in [ ] with a custom view, like in the picture shown. Is this possible with a UITextView, or are ...
0
votes
1answer
24 views

How to get data, passed by a view composer to certain views, inside the controller?

My View Composer passes some data to certain views (and it works, of course): use Illuminate\View\View; use App\Util\Helper class PublicSettingsComposer { public function compose(View $view) ...
0
votes
1answer
39 views

How to use multiple layouts in a single view

I'm developing an asp.net mvc web application for the first time. When creating the project by default we get a proper template. In that template I want to add an image slider on top of it while ...
0
votes
1answer
44 views

Reassign template in custom directory path

I'm trying to update the view model template to a template in a custom structure. First, I merged the following view_manager config into the service manager config with this code: $config = ...
0
votes
2answers
18 views

Exporting views from Mysql using Docker commmand

The code below extracts views separately from the database. However, I'm trying to get this to run in a single docker run or exec command. Right now when I try, the pipe command and in combination ...
0
votes
2answers
32 views

How can I show description for null column of a table in asp.net mvc?

I have column of a table that can contain null values, the datatype is of string. Now in the Views I need to show the data of that column, if the column contains the null then "No Details provided" ...
-1
votes
0answers
11 views

Adding a hyperlink column to a view

I currently have a view consisting of two tables. One table is called vendors and the other table is called vendor ratings. The vendors table consist of vendor contact info and the vendor ratings ...
-1
votes
0answers
21 views

Get control values of view from controller in java Swing [duplicate]

I have this little question (java noob here) I'm ussing MVC wih Java Swing and I want to get values of my textbox from controller and send to my process class...any idea? public MyController(){ ...
-1
votes
0answers
18 views

Springbook jsp throwing 405 error any idea what is causing this?

Currently working on a method to delete projects in Springboot, Everything else works except for this particular method. When running I get a 405 Error. Not quite sure whats broken here. This is ...
0
votes
0answers
40 views

View's column in one schema becoming null in other

In my oracle database, I have two schemas A and B. I have created view_C in schema_A that has client information like client_id ,client_name,etc. Priveleges are granted to schema_B user on this ...
0
votes
1answer
22 views

Django passing parameters to views and templates

I got a navigation tree that tells me where i am on my website to build that navigation tree i always need to pass all variables from template to the view as <input type="hidden">. Then i need ...
2
votes
0answers
36 views

SQL Server: Table-value UDF with table-value parameter from inside view

I'm building a database-contained unit-testing framework. The details aren't important, but this premise has led me into some unusual situations. Right now, I'm trying to create a view for some ...
0
votes
0answers
11 views

ASP .NET linq Cannot access Session from View

I can' seem to properly grab a value from session within my cshtml file. I have all the proper using statements: startup.cs contains: services.AddSession(); app.UseSession(); Controller ...
0
votes
1answer
15 views

MySQL View Multiple Tables Duplicates

I'm trying to create a view with multiple tables that contain uniform Date / Account data but different data observations. VISITS(Date, CompanyName, Visits) SEARCHES(Date, CompanyName, Searches) ...
1
vote
1answer
15 views

How can I show together in the views multiple attributes from different entries, that have the same name, like “nested” attributes?

In a rental system, I have a model called Boardgame, with the attributes: name, copy and situation. Situation is another model, with belongs_to. So an example of my database: Catan, copy 1, ...
0
votes
3answers
32 views

Oracle: why I can't select from VIEW using <SCHEMA_NAME>.<VIEW_NAME>?

There are some changes on the core product on which I'm working and some tables become now views and they are not working anymore because a view cannot be referenced with the schema name in front. ...