Questions tagged as 'mvc'

2
answers

Doubts in SelectOneMenu Primefaces

I have a SelectOneMenu in my xhtml view. In it I have an onchange that on clicking calls a p: dialog to fill a form. Follow selectOneMenu <p:column headerText="Mecânica"> <div id="mecanicasAll">...
asked by 16.03.2018 / 19:04
0
answers

Link button with image and text Html Mvc 5

I'm having trouble implementing a link button that has an image and the text of the description below the image, can anyone help me? At this point I have this in this format WhatIwantandhavetheimageandthedescriptionbytheexamplebelow(imag...
asked by 21.03.2018 / 18:01
0
answers

Duvida Dialog + SelectOneMenu JSF

Hello, I'm trying to open a dialog with a selectonemenu, depending on what the user selects. My SelectOneMenu is like this <p:column headerText="Mecânica"> <h:commandButton> <h:selectO...
asked by 20.03.2018 / 19:18
0
answers

Why do my routes only work on localhost and not on a Web server?

I'm a .NET developer (desktop apps & mobiles) trying to get on the web that I found the best PHP because it's a free Lang and its IDE's are light. I created my MVC pattern (for being a beginner I prefer not to use frameworks) and the local mac...
asked by 14.03.2018 / 10:38
1
answer

c # Web mvc Send PDF without saving to disk and sending by email

Hello, I have an MVC web application and I have a method to send an email and I have to add a PDF that is dynamic, I have to attach it to this email without saving to disk. Could someone help?     
asked by 27.02.2018 / 18:47
0
answers

Send complex view object to ASP MVC controller

In my View I have a complex model where I display only a few fields in a table. In this model I have another list called Tracks where I do not display its contents. Look at the image below. Ineedtogettheobject(varItem)whichismyAlbumViewMo...
asked by 26.02.2018 / 19:39
0
answers

Upload a Grid in a view listing individuals and legal entities - Asp.net core MVC

I need to load a Grid in a view listing physical and legal entities, but I'm having difficulty because they are in different tables. I'll explain better: 1 - I have the classes Person, Person and PersonJuridica. public class Pessoa : En...
asked by 25.02.2018 / 12:21
0
answers

Change focus from one field to another on MVC screens (ADVPL)

Good afternoon, I set up a screen in ADVPL using the MVC pattern. This screen has FIELD and a GRID (parent and child). No FIELD has only 1 barcode field, when it informs the bar code the system goes there in GRI...
asked by 26.02.2018 / 20:14
1
answer

Image does not appear in the project

Good morning, I'm trying to put a pdf icon in my project, but the same does not appear. I'm using f: facet this way. <h:commandLink> <p:graphicImage name="/resources/img/pdf.png"/> <p:dataExporter type="pdf" target...
asked by 16.02.2018 / 13:23
0
answers

Associate an entity with IdentityUser

Gentlemen, I have a category class, which must be entered by registered users. My relationship idea is 1 user can have multiple categories. I have my projects separated but related to each other according to the image below I tried t...
asked by 13.02.2018 / 18:56