jQWidgets Forums
Forum Replies Created
-
Author
-
This is my JSP: https://pastebin.com/kuisAePT
All time after edit data show this: org.springframework.web.servlet.PageNotFound.handleHttpRequestMethodNotSupported Request method ‘POST’ not supportedI tryed various of method (Controller – @RequestParam, Your method from documentation)… All time this same error
December 6, 2018 at 1:58 pm in reply to: Dropdown List in Popup Edit Dropdown List in Popup Edit #103087In short, I need something like this demo: http://jsfiddle.net/onbtzk2b/
It’s about a dropdownlist for Products where they show the current value. I want to get the same result for my dropdownlist but in “Edit Pop-up”This is my code for dropdownList:
$(“#name”).jqxDropDownList({
source: dataAdapter, displayMember: “name”, valueMember: “name”,
});December 6, 2018 at 11:56 am in reply to: Dropdown List in Popup Edit Dropdown List in Popup Edit #103084When I set a selectedIndex: 0 in Edit, In first row is working (https://zapodaj.net/dc798bef86532.png.html), but in second row didn’t work (https://zapodaj.net/7caf7bec9b0c6.png.html). When i refresh and “Edit” second row, the dropdownlist show fail value… (https://zapodaj.net/6a323a97a2f42.png.html). I need show current edit value in dropdownlist
On the server side, everything works well because the table data is extracted correctly using this method: https://www.jqwidgets.com/jquery-widgets-documentation/documentation/java-integration/bind-jquery-grid-to-mysql-database-using-spring-mvc.htm
I create this: https://pastebin.com/RLQ082pE (updaterow.jsp)
https://pastebin.com/rKc3CVEX (this add in table)When I try edit in popup data, Data not update. In console I have error 405 and show error in this line in console: https://zapodaj.net/80e44d295bd09.png.html
I tryed move to Controller, but didn’t work (Don’t read a request.getParameter() )
December 6, 2018 at 10:15 am in reply to: Dropdown List in Popup Edit Dropdown List in Popup Edit #103077I create this: https://pastebin.com/RLQ082pE (updaterow.jsp)
https://pastebin.com/rKc3CVEX (this add in table)When I try edit in popup data, Data not update. In console I have error 405 and show error in this line in console: https://zapodaj.net/80e44d295bd09.png.html
I tryed move to Controller, but didn’t work (Don’t read a request.getParameter() )
December 6, 2018 at 8:35 am in reply to: Dropdown List in Popup Edit Dropdown List in Popup Edit #103075The point is to show the current element of the poem in the dropdown. Look at the picture: https://zapodaj.net/4f9f0815de932.png.html
In the selected field, this field should appear immediately. If I choose “Edit” in the second row, then the dropdown is to show BR715
Is there an example of writing data to a database using JAVA? Everywhere on the internet I see that it is using PHP. I have a Controller where I have Select elements and now I would have to add a function to UPDATE
December 5, 2018 at 11:11 am in reply to: Dropdown List in Popup Edit Dropdown List in Popup Edit #103066I know, but this dropdown I show in table, So I need show current index, not static.
I need send to Database via JAVA
I need show date in table. When I edit this row a date change to current time
How can auto update when i change checkbox (true / false)? I add updaterow where commit(true) but didn’t work. Do I need add another code?
Third thing: How I can add a href to button, which redirect to another site with data from selected row? Each row generate its ID? For example input edit has unique ID for ROW. I need this method to random button. Can you help me?
Data from database
-
AuthorPosts