Questions tagged as 'mvc'

0
answers

doubt with action result

I have a form that by necessity has to be divided into 2 since the first part varies for some users and the second one may or may not vary, when dividing the form my first problem was that I could not validate the whole model because I was divid...
asked by 13.06.2017 / 07:13
1
answer

How to pass data from a JTable to a JDialog?

Hi, I'm trying to pass data from a JTable to a JDialog (attached code). I've also tried this code with a JFrame and all the data passed to the latter (I've already put public and static to both JTextField ), so is there anything wrong...
asked by 25.06.2017 / 10:12
1
answer

Show the path of a file, before uploading it to a server

I have this code which assigns my file name to upload to my server, this is to register it. string rutaPDF = Request.MapPath("PDFs_Landing/"); Random ra = new Random(); int numeroP = r.Next(5, 10000000); tituloLanzamiento = tituloLanzamient...
asked by 29.05.2017 / 17:11
1
answer

Problem when filling JTable with Query?

Hello Colleagues, I am programming in java in MVC pattern and I run into this loop inside my code. I'm using arraylist //Arraylist para llenar una jtable con arreglos public ArrayList<String[]> Select(){ try{...
asked by 24.05.2017 / 16:20
1
answer

Error inserting into the BD using EF

I have this model generated by EF public partial class Ventas { public Ventas() { this.Caja = new HashSet<Caja>(); this.VentasLinias = new HashSet<VentasLinias>(); } public string weblogin { get; s...
asked by 27.05.2017 / 17:51
1
answer

How to keep the tab active after a submit?

I am programming a site with the CODE IGNITER framework and a view has a tab-pane. By entering the information to the form and reloading the view, I am in the first tab and I need to be able to handle that Any suggestions or ideas? This is...
asked by 16.05.2017 / 17:26
1
answer

MVC Razor: How can I initialize DependencyResolver.Current.GetServiceEntity?

I comment quickly: for the architecture of the system there is an "easy" way to get to the database to make update and delete, which is through DependencyResolver . Copy code so you have an idea: IEntityService<Persona> servicePersona =...
asked by 15.05.2017 / 17:32
0
answers

Lamp with Ampps does not recognize GetText

I have a code in PHP with several labels and it shows me an error, I must remove the function so that it runs, someone could help me where I should modify in the apache config or the php in the Ampps (I do not use xampp or wampp). Thanks! The...
asked by 09.05.2017 / 06:47
1
answer

FTP ASP.NET Core MVC

It seems to me that FtpWebRequest is not implemented in Core MVC ... Any bookstore or something like that to download a file via FTP with the mvc core?     
asked by 10.04.2017 / 13:22
1
answer

Doubts about exceptions in their own mvc pattern

Recently, I wanted to create my own framework using the MVC pattern to test my skills. (Clarification, it is developed in php and mysql is used for BD) My framework has the following architecture: In summary: From an instantaneous i...
asked by 07.04.2017 / 21:59