Posts by David • 169 points
15 posts
-
1
votes1
answer168
viewsQ: How to find and change a pattern without replacing the other elements of a String with regex?
I have a template qualquer nome:{{UDA_numero qualquer}} that comes "loose" in a String. In that String, there can be "n" templates, words, numbers, etc. The goal is to catch this "any number" from…
-
1
votes1
answer63
viewsA: How to parallelize (Openmp) a method call?
For whoever is interested or if ever someone has the same doubt, I have solved my problem. The problem was that, the way I was doing it, I didn’t keep any "index" pointed at the strings I’d like to…
-
1
votes1
answer63
viewsQ: How to parallelize (Openmp) a method call?
So I’m developing a work to perform the comparison of a sequential and parallel execution of a Pattern Matching method. My input is a. txt of dozens of lines, which I traverse and store inside a…
-
1
votes0
answers78
viewsQ: How to return when finished/keep record of the remaining time (Timer/Schedulel)?
So, I’m developing a project for a game that uses RMI (client/server) and needed to manage the timeout of players' plays. For example, if a player takes more than a minute to make his or her move,…
-
5
votes1
answer950
viewsQ: How to put a <div> inside an iframe?
So, I’m trying to get only one part of my HTML page updated, every "X" time. I was trying to accomplish this through AJAX, but it was giving many problems. So I decided to change the plan. This is…
-
1
votes2
answers624
viewsQ: How to use AJAX in an iframe?
To put it in context: I am trying to get only one part of my HTML page updated every 5 seconds. For this, I am using AJAX. In the middle of the development, I found myself with a problem of not…
-
1
votes0
answers35
viewsQ: Is it possible to assign the same URL to more than one controller?
I’m trying to use AJAX $.ajax({ url : urlN, // <<- "/log" type: "post", success : function(json) { console.log(json); document.getElementById('content').innerHTML = json; }…
-
1
votes1
answer1224
viewsQ: Is it possible to place the contents of a "Thymeleaf object" inside a "variable", in HTML?
To put it in context: I have a "log" object, which was declared on an HTML page through Thymeleaf: <html xmlns:th="http://www.thymeleaf.org" th:include="layout :: page"> ... <form…
-
1
votes0
answers64
viewsQ: How do I perform/work the call through the AJAX url?
To put it in context: There is a remote directory, clearing-dit\logs, which has a number of logs (portal.log, test.log, ...). This directory, is mapped to an HTML page, where all of its .log's are…
-
0
votes1
answer104
viewsQ: How to perform a Reload on only one part of the page, from an ID?
I’m trying to do a Reload just for the contents of a div. <div class="panel-body"> <pre> <p id="content" th:utext="${log.content}">Log content</p> </pre> </div> I…
-
0
votes1
answer478
viewsQ: How to view data (.log) in real time on an HTML page?
So I’m trying to make a logger that can be viewed on an HTML page in real time. The page loads all the files. log’s (from: /clearing-dit/logs/) and allows clicking on each one to show its contents.…
-
1
votes2
answers757
viewsA: Responsive Font-Awesome icon - How to replace icons when clicked?
Just to complement Thales Chemenian’s response. I added a check to, when another header is clicked, return the previous header icon to the initial icon ("fa fa-fw fa-sort"). var current_icon = "";…
-
2
votes2
answers757
viewsQ: Responsive Font-Awesome icon - How to replace icons when clicked?
So I’m trying to make those responsive headers that, when clicked, organize the column and change the "arrow" up or down. Currently I already have my Sorts working, but still missing this…
-
0
votes1
answer69
viewsA: How to make a "part"/line of the <tbody> be static in a responsive table?
So I was able to come up with a solution for whoever was interested. I separated the <tbody> in three different sizes (large - lg, small - Sm and mobile -Mb), according to window size.…
-
0
votes1
answer69
viewsQ: How to make a "part"/line of the <tbody> be static in a responsive table?
Hello. I am using tablesort to sort my table every click I one of your headers. The problem is that the line "Total" <tr class="bg-info"> <th colspan="1">TOTAL:</th> ...…