Posts by Fabio Macedo • 321 points
7 posts
-
0
votes1
answer176
viewsQ: Traverse a . map() in inside . map() React jsx
I’m using React with Typescript. Is it possible to go array inside an array? This is my array: const menu: Array<{name: string; to: string; icon?: ReactNode; submenu?: any}> = [ { name:…
-
5
votes2
answers458
viewsQ: How do I move the A context session to B context within Tomcat 05
Try two applications made in Java using Tomcat 6 and are in different contexts but one interacts with the other, by being integrated, I need one to be able to pass their session to the other…
-
2
votes2
answers949
viewsQ: Insert the json format into mysql and recover in Java
I have the following string in format json: { "ADT":"0", "CHD":"0", "INF":"0" } I need to do the Insert in a table on mysql database and retrieve it in Java. I’m using VARCHAR(50) and it looks like…
-
0
votes1
answer1163
viewsQ: Problem with accents in . serialize()
The .serialize(); takes all form information, but with different accents ex: LOAF stays P%C3%83O , when I test the app on localhost the accents work right but when hospedo gets like this BREAD ??? I…
-
11
votes3
answers14892
viewsQ: function $.Ajax() return value?
that is the code: var res = VerFileRepetidoBancoAjax( "teste" ); console.log("res="+res); function VerFileRepetidoBancoAjax( str ){ $.ajax({ url: "caminho.", type: "get", dataType:"json", data:…
-
2
votes2
answers329
viewsQ: Javascript interact with Java
It is possible get a javascript value and put inside a java variable. EX: var len = $(" #relacaoPax select[name=tipo] ").length; console.log( "len = " + len ); }); <% int l = len;…
-
0
votes2
answers2805
viewsQ: How to make Bootstrap work on IE7
there is some way to make the Bootstrap compatible with IE, in the documentation talks about the Respond.js but it didn’t work, follow example link <!doctype html> <script…