Posts by Kennedy Anderson • 90 points
30 posts
-
0
votes1
answer1597
viewsQ: HTTP Status 400 - Bad Request - Spring MVC
When trying to call a Controller method this returns the error below: HTTP Status 400 - Bad Request Type Status Report Description The server cannot or will not process the request due to Something…
-
0
votes0
answers27
viewsQ: DWR - Null classes
Expensive I’m having trouble injecting the classes by calling some methods using DWR with Hibernate. Code: @Controller @Transactional public class ManterArvoreClassificacaoController { @Autowired…
-
0
votes0
answers279
viewsQ: take data-value with Javascript
I’m trying to get the value of the date field of a select, but I’m not getting it. Only the default value field I’m getting. The field in select this as: "data-value2" Using . valor2 HTML:…
-
0
votes1
answer183
viewsQ: Spring MVC - Multiple Builders
I’m having a problem where a Framework I’m using needs a default constructor, this one calling my Service class: @Service public class FuncionarioService { private FuncionarioDAO dao; public…
-
0
votes1
answer21
viewsA: DWR Framework - Does not run
Classes JSP scripts were missing. You find this by accessing your project’s JAR DWR. In my case I put the JAR in Web-Content and took the information.
-
0
votes1
answer21
viewsQ: DWR Framework - Does not run
I am trying to use the DWR framework to populate a select from the output of another select in my JSP. Only you have no action after selecting the first select. JSP 1º SELECT: <select…
-
0
votes1
answer99
viewsQ: Add Elements with Javascript
I’m getting the bug: Uncaught Domexception: Failed to execute 'insertBefore' on 'Node': The Node before which the new Node is to be inserted is not a Child of this Node. When I try to insert one div…
-
1
votes1
answer112
viewsA: System is only in load - Tomcat 9 - Eclipse
Problem was occurring due to problems in DAO, Controller and Service classes. Have been removed and will be redone.
-
0
votes0
answers836
viewsQ: Received HTTP code 407 from proxy after CONNECT - GIT
When trying to clone a Bitbucket project, this returns this error. Received HTTP code 407 from proxy after CONNECT The proxy configuration is being done this way : git config --global http.proxy…
-
0
votes1
answer112
viewsQ: System is only in load - Tomcat 9 - Eclipse
The system loads only the first screen, no other page loads, it is only in the loading. Obs: When I try to debug the code, it doesn’t reach the breakpoint. By stopping the Tomcat server, the…
-
0
votes1
answer64
viewsA: Pass JSP Objects with Hibernate
Solved already. I implemented the gets and sets in the Areaarvoreclassification class and changed the "Names" in the JSP to match the classes.
-
1
votes1
answer64
viewsQ: Pass JSP Objects with Hibernate
Expensive, I have the classes below. I am having trouble creating a tree classification, because in JSP I am passing the parameters "Id Area" and "Tree Description", in the controller I am receiving…
-
1
votes1
answer60
viewsA: You’re not creating with "persist"
Was missing the following tag in the spring-context file: And a few more settings in XML http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd">…
-
2
votes1
answer60
viewsQ: You’re not creating with "persist"
SEVERE: Servlet.service() for servlet [Spring MVC Dispatcher Servlet] in context with path [/cq] threw exception [Request processing failed; nested exception is…
-
0
votes1
answer144
viewsA: Hibernate Error Persist
Solved Problem: Attribute "queue" which is an object, was being passed as null. Workaround: Changed select name in "queue" JSP to "queue.id"
-
1
votes1
answer144
viewsQ: Hibernate Error Persist
I have a simple system of opening / calling query. I am in error when trying to insert a new call. I started using Hibernate and I have a problem with "persist" to add a call to a certain call…
-
1
votes1
answer487
viewsQ: Update Frame Selenium VBA
Expensive, How can I update a frame with Selenium in VBA? Updating frame is an option that exists when right-clicking on some frame. I can’t update the whole window, only the frame.…
-
1
votes1
answer233
viewsA: Select
Expensive, Solved with the following code: driver.findElementByXPath("//*[@data-ng-model='passoUmCtrl.model.protocoloAtivo.relacionamento']").AsSelect.selectByValue (1)…
-
0
votes1
answer233
viewsQ: Select
Expensive, I am trying to select an option in a select with the following code and am unable to find a solution. I can locate the element, but not tell it to select X option. I’m tracing with the…
-
0
votes3
answers1426
viewsQ: Find element without tag ID and Name
Expensive, I need to locate the element that does not contain id and name in HTML. Below is the HTML example <button type="button" class="btn btn-primary ng-scope" data-ng-if="novo2()"…
-
1
votes1
answer483
viewsA: Does not locate element with findElementById
Expensive, Solved, I identified that the page has several frames, and the input’s were located within a specific frame. So I used the following code before running findElement. driver.switchToFrame…
-
0
votes1
answer483
viewsQ: Does not locate element with findElementById
Expensive, I am trying to fill two text fields (login and password) of a given page. Using the following code. (Both by byID, bySelector, neither works) driver.findElementByName("usuario").SendKeys…
-
0
votes0
answers304
viewsQ: Duplicate values in column that is foreign key
When trying to insert a new data into a given table (employee), I have a column called "manager ID" which is FK from the table itself "employee". During the registration I send the ID of another…
-
0
votes2
answers1013
viewsA: Subtraction with date - Google Apps Script
var row = data[i]; var dataCarimbo = Utilities.formatDate(new Date(row[0]), "GMT", "dd/MM/yyyy"); var dataForm = new Date(row[1]); var email = row[2]; var dataPrev = row[4]; var opcao = row[3]; var…
-
0
votes2
answers1013
viewsQ: Subtraction with date - Google Apps Script
Expensive, I need to calculate how many days remain to reach the expected date. I’m getting the following values var dataPrev = row[4]; //26/01/2018 var dataNaoFormat = new Date(); //22/01/2018 I’m…
-
1
votes2
answers35
viewsQ: Select does not select the correct value
I have the following problem: <select name="cargo" id="selectCargo" class="form-control show-tick maiuscula" required > <option value="">ESCOLHA A EMPRESA</option> <c:forEach…
-
1
votes1
answer1600
viewsA: IF condition - Show or Hide Textbox
Expensive, Solved. I tried not to have to put validation on each optionbutton, but I couldn’t. I put the validation on some optionButtons with if. Example of the code Private Sub simSISUP_Change()…
-
1
votes1
answer1600
viewsQ: IF condition - Show or Hide Textbox
Expensive, I have 4 optionButton (2 different groups), where 2 represent "Yes" and "No" for two different questions. What I want to do: When the user chooses the NO option in group1 and then chooses…
-
0
votes2
answers1621
viewsA: Pass values from one form to another
Expensive Can do it that way: In form B I will use the following code formA.ListView1.SelectedItem.SubItems(x)
-
0
votes2
answers1621
viewsA: Pass values from one form to another
Dear I couldn’t access my other account; @Marco I’m just trying to figure out how I’m gonna do it; I’m testing store the column value I need in variables (there are many); For i = 2 To LinhaFinal…