Posts by Ricardo Farias • 439 points
15 posts
-
0
votes1
answer63
viewsA: App tablayout does not appear when operating on Mobile
What is happening is that the ViewPager is superimposing the TabLayout. To fix this, create a new layout called content_main.xml and include it in activity_main.xml.…
-
-1
votes1
answer242
viewsQ: What the structure of large Java projects would look like
In small web projects, we usually separate packages into DAO, Models and Controllers, but into large systems of the type ERP, with hundreds of tables, controllers and business logics, what this…
-
1
votes1
answer200
viewsQ: Viewpager on iOS with Swift 3
Hello, I’m developing an iPhone app using Swift 3, and I’m having some doubts regarding browsing between pages within a ViewController. My application to android I have a Activity using a ViewPager…
-
5
votes2
answers190
viewsQ: System modularization
I’m developing a C# system with Winforms from Livestock Control to a farm, and will communicate with a scale to improve the weighing process. Some of the features are (Bill entry, vaccination,…
-
3
votes1
answer115
viewsQ: Problems with Opensessioninviewer + JPA + Tomcat standard
Hello, I am using Tomcat + JPA + Vraptor 4 and I am using cdi to inject Entitymanager as follows. Entitymanagerfactorycreator: public class EntityManagerFactoryCreator { @ApplicationScoped @Produces…
-
1
votes0
answers301
viewsQ: Disable caching in Wildfly navigation
Hello, I am using Vraptor 4 with Wildfly 9, and I noticed that in my localhost browsing, every refresh or browsing among other pages, the HTML content is normally reloaded. However, when I am making…
-
3
votes0
answers330
viewsQ: Connect Xamarin to Mac
I’m trying to connect Xamarin to Mac using Visual Studio. The Mac is listed in Xamarin User Agent, but when informing the user and password I get this message: Starting Broker 4.0.1.96 in port…
-
2
votes1
answer87
viewsQ: Authentication in different databases
Hello, I am developing a web service (in java) of integration in different databases and I ended up falling into a problem in which I am not finding a solution. Queries are entered manually and will…
-
1
votes2
answers71
viewsA: Adding table line with javascript does not work onchance event of Buttons
Try: $('table').on('change', '.upload', function(e){ ... }); Where table refers to the parent element.
javascriptanswered Ricardo Farias 439 -
3
votes2
answers264
viewsQ: Server Side Only Rest Api
Hello, I have a restful Java api using Jax RS that will be consumed by another application that will be online. I would like to prevent people directly accessing the api, and yes, only by the web…
javaasked Ricardo Farias 439 -
3
votes1
answer85
viewsA: Track SQL output in Java
If you are setting up queries manually, you can print the contents of your preparedStatement. System.out.println(preparedStatement); If you are using Hibernate, you can enable show_sql in the…
-
2
votes3
answers603
viewsQ: Multithread in web application
I have an app that does some server processing and then delivers it to the client. Something like: http://aplicacao:8080/app/videos/extrair/{id}. Where the "id" is the item reference for processing.…
-
0
votes3
answers121
viewsQ: Waiting for remote audio extraction in Java
In my college project I have a small API in Java that extracts audio from video files, where is passed the URL of the video and is returned an MP3 file, so far so good. I would like to keep a server…
-
5
votes1
answer436
viewsQ: Problem with ajax loading with Cakephp 2.x
My pages are uploaded via ajax and uploaded within div content. Where I take the url by the onclick event from the link, and then upload it. Calls made directly from the menu work normally, but when…
-
3
votes2
answers147
viewsQ: HABTM problem in Cakephp 2.x
I’m having problems while searching my view method, where I have the following search: public function view($id = null) { if (!$this->Setor->exists($id)) { throw new…