Posts

Showing posts from August, 2014

visual studio - TypeScript refactoring stopped working in VS 2013 RC2 -

I've just stopped working VS 2013 RC2 and typewriction refactoring, it has disappeared from the context menu, and Pressing Ctrl + R , Ctrl + R returns the following error message: The key combination (Ctrl + R, Ctrl + R) (.Refactor.Rename) is currently not available. I have tried to restart VS, no help, no idea, action? Edit: I have presented a bug for Microsoft. If you have a problem, please raise it: Microsoft posted the following reply It seems that VS In Express Edition, with Reformer / Rename Type 1corder 0.9, only VS Pro is available in TypeScript 1.0 above. Posted by Microsoft on 09/05/2014 at 09:25 Thank you for reporting this problem. There are refactors / renaming and navigating features that are found in Pro Studio's Vij Studio 2013 editions. The purpose of Pro + Tools is to help users work with a large codebase, so those versions of Visual Studio focus on creating tools to support those codebes. We want to learn TypeScript and continue t...

ide - Update PyCharm on Linux -

Would you please correct me to correctly update PyCharm on Linux ? Is it impossible to update PyCharm internally? In help & gt; Can I remove the previous folder with Power Charm and unpack new or do I want another way for this? On Linux, you have to delete the old Pichém Directory and start using a new package. At least now there is no other way. When launching a new version you will be asked if you want to import config files, you can find the old configuration files in the (Hidden) directory in your home folder, for example: ~ / .PyCharm2016.2 / config

c# - Sorting a dictionary by keys in the order in an Arraylist -

I was asked the following question in an interview. I can sort a dictionary from the key, in order that any array is in the list. For example, I have a dictionary such as dictionary ; String, string & gt; StringDict = New Dictionary & lt; String, string & gt; (); StringDict.Add ("1", "One"); StringDict.Add ("7", "Seven"); StringDict.Add ("6", "Six"); StringDict.Add ("2", "Two"); StringDict.Add ("3", "Three"); StringDict.Add ("5", "Five"); StringDict.Add ("4", "Four"); and an array list is as follows array list stringArList = new ArrayList (); stringArList.Add ("1"); StringArList.Add ("2"); stringArList.Add ("3"); StringArList.Add ("5"); stringArList.Add ("6"); StringArList.Add ("7"); stringArList.Add ("4"); How can I sort this array in the order in o...

unrecognized rule error in lex {lineo++;} -

I got some errors in my linux code, maybe somebody knows what I did wrong ... 16 %% 17 {ws} {/ * no action and no refunds} 18} {{9line} {lineO +};} 20 {number} {tokenval = Yytext; Return (NUM);} 21 {ID} {22 int pt = 0; 23p = lookup (yytext); 24 if (P == 0) 25p = Enter (YETtext, ID); 26 Toknaval = P; 27 Return Simblate [P]. Towne; 28 29} 30 31 & lt; & Lt; EOF & gt; & Gt; {Refunded;} 32 {Tokel = None; Returns yytext [0];} 33 34 35 %% I'm a newbie in this type of technique, and I spend much time about it but without any positive results Below the errors from the console: new.l: 21: unrecognized rule new.l: 28: unrecognized rule new.l: 28: unrecognized rule new.l: 36: an action in EOF New.l: 36: unrecognized rule new.l: 36: create deadly parse error: *** [lex.yy.c] error 1 when I delete that line The code is bad (line: 21-32) Uje that error: new.l: 19: 2: error: a row ??? Undeclared (first use in this function) {newline} {lineo ++;} line 18 ( ...

javascript - How to extend NoFlo-Ui with group selection -

I'm trying to add functionality to the noflo UI, I want to be able to select groups and display a panel I am showing the name and details of the group (the panel will be shown as a support panel in one place). I am trying to do this as the first step to increase the group paradigm. (I want to add more group metadata and the user will be able to edit that metadata.) Problem I can not select the group Ask for the group to hook. (Or selected group property) I have noticed in the way I have selected the nodes collection, but the selected nodes in the graph / thegraph-editor.html relate to the property of the node-inspector Nodes connects to property ( element / noflo-node-inspector.html and element / noflo-context.html ) I used the application / FBP Scripts in index.html but none of them seems to be corrospond in the selected nodes property. Question How can I make an asset theGraph and that property to noflo-ui ? See . Applying selected groups was more ...

c - strcpy with destination pointer and return value -

My plain bit is a bit messy, and I currently try to understand why the first works and not the second . Four * Returns some (zero) {four * S = (four *) Molk (5 + 1); Strapepi (S, "Hello"); Return S; } Zero dontReturnSomething (char * dest) {char * s = (four *) malloc (5 + 1); Strapepi (S, "Hello"); Dest = malloc (strlen (s) + 1); Strapepy (Dest, S); Free (s); } Int main (int argc, char * argv []) {char * first = return some (); Char * second = NULL; DontReturnSomething (second); Printf ("first:% s | second:% s", first, second); } Is not it basically the same thing? You need an indicator to return an indicator through an indicator. Declare as dest as char ** dest . void dontReturnSomething (char ** dest) {char * str = "Hello"; * Dest = malloc (strlen (str) + 1); Strcpy (* dest, str); } Call the function like this: dontReturnSomething (& amp; seconds); // second to the address

osx - Pkg-config script could not be found -

I'm trying to install some software, but I get the error: configure: error: pkg-config script is not found or is too old. Make sure it is in your path or set the PKG_CONFIG ambient variable in the full path of pkg-config. I just installed the brew command, and tried to use it to install pkg-config. It says that it is already established. I've ensured that it is in the path through the export PATH = $ PATH: / usr / bin / pkg-config . In addition to this, install glib, it says that I'm missing I used the brew install libfft to install this missing package, however, The message is that it is not there. This is a new Mac, so maybe things are not running in the proper directory? Any help would be appreciated, because I lost. I do not know which formula you are trying to install, but the real problem is It may be that whatever you are trying to install is "dependent" pkg-config. This line may be required in: depend_on "pkg-config" ...

sql server 2008 - SQL query for game rental website - game delivery report -

I am creating a sports rental website using MS SQL 08 and give me a report I have to be prepared to give a list of all the games that need to be posted and who This question will have to go through various steps: - The list of users has not reached their sports quota for the month they have chosen the membership Packages and rental are based on the table. Compare this list of users to your favorites list and add games to the game based on their highest priority and date. Selected games or games should be in stock, which need to compare volume level in the games table. I have a SQL query, but it is not taking into account the dates that a user added a game to their favorites list, it works perfectly, the priority level. I need to change this question, so this is the priority of the game if it adds the oldest date. In this sample data in SQL FIDE, I should give 27 barcodes to match with the need of speed rivals, but it is giving me FIFA 14 because it is the first favori...

php - Mode(s) of an Array -

I am writing some code for an educational purpose and to calculate the randomly generated mode Need the code for the array of values. If only one mode (such as 5 in the data set: 2, 3, 4, 5, 5, 6, 7) then this is easy (White Elephant's answer See here). Although I have trouble in instances where there are more than one mode (such as 3 and 4 in this data set: 1, 2, 3, 3, 3, 4, 4, 4, 5, 6, 6). The logic of how to do this already appears in javascript () and java (), but I do not know any of those languages. Can anyone possibly translate this into PHP? How can I give guidance on how to solve this problem in PHP environment? Thank you. ports from port

Remove bash formatting in text using python -

I am getting a text file with data from the bass output, so it has formatted data, more specifically, The codes are: [0; 31m16521 [0; 0m [0; Data-Economy PDF for 32 Modscape / Business-Models [0; 0 M I want to strip the form, that is, get it in plain text: 16521 For desktop / business-models- Data-economy.pdf Unless I understand that it starts with [[/ />, ; and m , I want to know what is a clear and more correct way of doing this. You can do this with a regex: import re s = '[0; 31m16521 [0; 0m [0; 32 Data-Economy for MSc Desktop / Business-Models Pdf [0; 0m 'new_s = re.sub (r' \ [. *?;. *? M ',' ', s)) & Gt; & Gt; Data-economy pdf for printed new_s 16521 desktop / business model

shift - Pandas shifting uneven timeseries data -

I have some randomly stamped time series data, with timestamps and comments on every timestamp, irregular form in pandes This means that the timestamps are uneven, for example, there is no difference between two timestamps. For example, data may be taken timestamp property 0 100 1 200 4 300 6 400 6 401 7 500 14 506 24 550 ..... 59 700 61 750 64 800 Here's a timestamp that says some time has passed since the time of origin. As you can see, we can get data in the same timestamp, 6 seconds in this case. In fact, timestamps are strictly different, just can not measure that second resolution change. Now I need to move the rain data forward, say that I want to change the whole data in 60 seconds or one minute. Then the target output is the timestamp property 0 750 1 800 then the 0 digit matches 61 points and the score 1 matches matches 64 points. Now I can do this by writing something filthy, but as much as possible I am looking to use the facilities of Inbuilt Pond...

Java code to send email only works for one email id? -

The code given below in Java is used to send emails to people in my team but it only works When string is fixed on public = "Marsh@gmail.com"; But if I have the public static string = "marsh@gmail.com, mark@gmail.com", then this will not work; Do not I remember that someone can help me send emails to many IDs at the same time? Currently the code can only be sent to one person at the same time? public static string = "marsh@gmail.com, mark@gmail.com"; = "Static" string from "SANDBOX"; Public stable string host = "localhost"; Public static zero send_production_email (string report date) {System.out.println ("Preparing to send email to admin ..."); Properties Properties = System.getProperties (); Properties.setProperty ("mail.smtp.host", host); Session session = session .get default difference (properties); {Try MimeMessage Message = New MimeMessage (Session); Message.setFrom (new Internet address (...

c++ - How to check if a text file only contains certain characters (eg. 's','f','#','\n')(update) -

I am doing a maze program and have read a maze from a file, but I need to see this file ", "F" i ¼ ?? a ???? # a ???? or "\ n" character print error message otherwise? I tried many times, but in fact it was confused. Now I have to solve it I'm trying to use STL, but there are new problems! List of zero recruitment list (list & lt; char & gt; And myList, const char * mazfile) {ifstream inFile; string line; inFile.open (mazeFile); while (! InFile.eof ()) {getline (infile, lines); for (int i = 0; i & lt ; Lines.length (); i ++) myList.push_back (line [i]);}} bool checkMaze (list & lt; char & gt; and myList) {list & lt; char & gt; :: iterator itr ; (IRR = myList.begin (); IR! = MyList.end (); IR ++) {if (* IR! = 'S' || * IR! = 'F' || * IR! = '#' | | * IR! = '\ N') false return;} back true;} myMaze.fillList (myList, argv [1]); legal valid = myMaze.checkMaze (myList); If (myMaze.isValid (argv [1])...

javascript - How to load a file from a different src folder in php -

it only Displays files, if they are loaded in the same folder as a .php page, I think I'm missing something, but I'm going to have other folders on the same server and domain Should be able to pull I tried to put a full path in " However, if it is not in the same folder then it appears only empty. & gt; DOCTYPE html public "- // W3C // DTD XHTML 1.0 Transcription / N" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> & Lt; Html xmlns = "http://www.w3.org/1999/xhtml" & gt; & Lt; Top & gt; & Lt; Meta http-equiv = "content-type" content = "text / html; charset = UTF-8" /> & Lt; Title & gt; Untitled document & lt; / Title & gt; & Lt; / Head & gt; & Lt; Body & gt; & Lt; textarea cols = "30" rows = "10" & gt; & Lt ;? Php $ filename = "../projectevo/new-page-6.html"; $ handle = fopen ($ filename, ...

php - Comparing MD5 of a field results NULL -

I have a function to calculate that input MD5 and id, name Verify the public function user ($ enq) {// resonance $ ang; $ Query = $ this- & gt; Db- & gt; Ready ("SELECT id, name by name 'user where MD5 (` id`) =' $ enc '"); // $ query- & gt; BindValue (1, $ ENC); $ Query-> Executed (); $ Data = $ query- & gt; Fetch (); // var_dump ($ query); $ Return data; } But the above questions are always the result of tap. For example, I have a user with id = 2 and MD5 (2) is c81e728d9d4c2f636f067f89cc14862c . This is the query that arises: SELECT id, name FROM user WHERE MD5 ( id ) = 'c81e728d9d4c2f636f067f89cc14862c' The query is working alone to be expected. Check this SQLFiddle: However, there seems to be a problem with the following line, try to correct it: $ query = $ this- & gt; Db- & gt; ("Selection ID, name by name, where MD5 (id) = '$ enc'"); Note: I removed the incorrect quo...

javascript - How to implement mocha like optional async callbacks? -

I would like to apply alternative async callback in the same way as the moach. I mean I have a callback function which can be both sync and async. When the user uses the optional callback parameter 'done', then it is an ASC when there is no synchronous callback parameter. // Sync version ('Something syncs', function () {console.log ('this is the sync version')}); // async version (some async does, function (done) {setTimeout (function () (done (true);}, 1000);}); Whether the callback synchronization or asyncci, How can this differ? How to implement any idea? If you can assume that your function has not been overridden to toString , then you can use it on user-defined functions to check if it has done not G is an argument, for example: function argIndexOf (f, arg) {var s = f + '; return s.sbrstring (s.indexOf (' (') + 1 , S.indexOf (')')) .replace (/ \ s + / g, '') .split (','). IndexOf (arg);} ArgIndex...

php - Laravel != operator in where not working -

itemprop = "text"> :: Table ('Media_Featured') - & gt; Where ('is_video_of_the_week', 1) - & gt; Where ('video_of_week_expected', '! =', 1) - & gt; first (); Create table 'media_featured` (`id` integer (10) unsigned NULL AUTO_INCREMENT,` media_id` integer (10) unsigned default zero, `is_video_of_the_week` tinyint (1) default zero,` is_featured` tinyint (1) default zero, Time-Ampler faucet default tap, `updated_at` timestamp, zero default faucet, 'deleted_at' timestamp less than zero, primary key (` id`), 'deleted', key 'media_featured_media_id_foreign` (`media_id`), concert Media_firette_media_ad_forrence_food Unji ( `Meedia_aid`) terms 'media' (` Aidi`)) engine = Innodibi Autongrement = 6 default charge = UTF-8 Collet = UTF 8_inikod_si; A record can be is_video_of_the_week = 1 and video_of_week_expired = zero but the query above provides the null. Any thoughts? ze...

javascript - ajax function goes to error though it goes to my webservice -

& lt; स्क्रिप्ट टाइप = 'टेक्स्ट / जावास्क्रिप्ट' & gt; क्लिक करें (फ़ंक्शन (ई) {e.preventDefault (); var उपयोगकर्ता नाम = $ ("# उपयोगकर्ता नाम")। Val (); var pwd = $ ("# पासवर्ड")। Val (); प्रमाणित करें (उपयोगकर्ता नाम, पीडब्ल्यूडी);});}); फ़ंक्शन प्रमाणीकरण (उपयोगकर्ता नाम, पीडब्ल्यूडी) {var serviceurl = "http: // स्थानीयहोस्ट: 8080 / प्रमाणीकरण / बाकी / प्रमाणीकरण / जानकारी"; $ .ajax ({url: serviceurl + '/' + userName + '/' + pwd, टाइप करें: 'POST', contentType: "application / json; charset = utf-8", डेटाप्रकार: 'jsonp', async: सच , crossdomain: सच है, jsonp: 'कॉलबैक', jsonpCallback: 'jsonpCallback', सफलता: function () {चेतावनी ( "वेब सेवा कॉल सफल रहा।");}, त्रुटि: समारोह (त्रुटि) {चेतावनी ( 'त्रुटि हो गई है! '); चेतावनी (JSON.stringify (त्रुटि))}})} & lt; / script & gt; मुझे सबमिट करने पर परिणाम मिला अनुरोध यूआरएल: यूआरएल / प्रमाणीकरण / बाकी / ...

c# - Entity Framework 6 on MVVM + PRISM patterns -

What is the better way to use unit framework with PRISM, MVVM and (Business Layer)? We will have time to learn and apply (C #) 300 entities. I had seen something about using Prism's Di together with EF, POCO (CodeFirst) directily, ModelFirst ... I have prism, MVVM, EF and DI There is not much experience with, only a little theory. What is the best arbitrator to do this? If I correctly understand the question, then you've got a presentation based on Prism architecture and business layers. And you consider the Entity Framework as a data access layer. Architecture The title of the best course available at PluralSite is the course of the unit's architecture in enterprise-level applications that discusses best practices in terms of infers large sets of data. The EE is contained in the data layer, but business layers should depend on the stock / unit of the work layer. The summary of the repository layer is encrypting unnecessary data access codes actions s...

android - How to change the appearance of a card in Google Glass -

I am trying to modify the presence of cards made in the Google Glass application developed using Gdk . I have found the right place to modify appearance - styles.xml This is the current code that gives me a glass-style card: Every time I add anything between those rows, however, there is never a change in the form of a card, but when I take the subject's parents one of the default Android themes I can not change the problem in the presence (but the status bar is at the top, so I can not use it instead of just the glass theme). I really want to focus the text in my app - is there any way to do this? Are you looking incorrectly? If you are using the card class to create your card, then you basically have 3 options Are: No image, the text will be by default on the upper left corner. If you use an image with a full layout, the text will be somewhere If you use an image with a LEFT layout, then the text again Will be aligned towards. You can use the Android text...

javascript - Sencha Touch get last call duration -

I'm working on a Sancha Touch project, so I need to get the last call duration. I have a button in the UI, when there is some tap on the button that can make a call, after that incident, I need to get a call duration on that number. I have searched a lot to get some clue but have not done a search yet Please direct me in the right direction Here is my code {xtype: 'button', text: 'phone', id: 'call mebutton', flex: 1, handler: function () {window.open ('tel: +' + 9496347047); // Here I would like to get the last duration of time for this number. }} You can not use call logs on some systems, such as You can do it on Android, and someone has written one for it (you will not be able to use it though with Sencha). You are probably the Window.open () part and compare the current time with it when the user returns to your app's screen, but it will be very accurate without any problems.

java - How to set value in log4j.xml using property file? -

I would like to know whether log4j.xml is likely to set up an attribute using the property file. For example, log4j.xml: & lt ;? XML version = "1.0" encoding = "ISO-885 9-1"? & Gt; & Lt ;! DOCTYPE log4j: Configuration system "log4j.dtd" & gt; & Lt; Log4j: Configuration & gt; & Lt; Appender Name = "console" class = "org.apache.log4j.ConsoleAppender" & gt; & Lt; Param name = "target" value = "System.out" /> & Lt; Layout class = "org.apache.log4j.PatternLayout" & gt; & Lt; param name = "ConversionPattern" value = "% d {ISO8601}% -5p [% c {1}] -% l -% m% n" / & gt; & Lt; / Layout & gt; & Lt; / Appender & gt; & Lt; Appender name = "FILE" class = "org.apache.log4j.FileAppender" & gt; & Lt; Param name = "file" value = "\ D: \ ReadText_File \ log4jlogss.txt" /> ...

Php code for geoplugin is not working with drupal 7 -

I have php code for geoplugin, it's working fine, if I run it as a normal php file But when I add it to the Drupal site .tpl.php file, it's not working at all I've tried in several ways that I found! And on the other but not all but come at all. And I am using var_dump (..) which contains the Geopaglen array but the value is only null, my code is the latest I am using: function visitor_country () { $ Client = @ $ _ SERVER ['HTTP_CLIENT_IP']; $ Forward = @ $ _ Server ['HTTP_X_FORWARDED_FOR']; $ Remote = $ _SERVER ['REMOTE_ADDR']; $ Result = "unknown"; If (filter_var ($ client, FILTER_VALIDATE_IP)) {$ ip = $ client; } Otherwise (filter_var ($ Forwarded, FILTER_VALIDATE_IP)) {$ ip = $ Forwarded; } And {$ ip = $ remote; } $ Ip_data = @ json_decode (file_get_contents ("http://www.geoplugin.net/json.gp?ip=". $ Ip)); If ($ ip_data & ip_data-> geoplugin_countryName! = Null) {$ result = $ ip_data- & gt; Geoplugin_countryN...

c - What's with the program why is it not printing any result? -

स्ट्रक्चर नोड {int data; संरचना नोड * अगला; }; शून्य पुश (स्ट्रक्चर नोड * हेड, स्ट्रक्चर नोड * n) {if (n! = NULL) {if (head == NULL) head = n; Else {n- & gt; अगले = सिर; सिर = n; }} और printf ("एक नल नोड सम्मिलित नहीं किया जा सकता"); } संरचना नोड * पॉप (स्ट्रक्चर नोड * हेड) {if (head! = NULL) {struct node * n = head; सिर = सिर- & gt; अगला; वापसी n; } Else {printf ("स्टैक रिक्त है"); वापसी नल; }} int main () {int i; संरचना नोड * सिर = नल, * n; के लिए (i = 15; i & gt; 0; i -) {struct नोड * temp = malloc (sizeof (struct नोड)); अस्थायी - & gt; डेटा = i; Temp- & gt; अगले = नल; धक्का (सिर, अस्थायी); } N = सिर; जबकि (n! = NULL) {printf ("% d", n-> डेटा); एन = n- & gt; अगले; } वापसी 0; } "post-text" itemprop = "text"> आपको फ़ंक्शन पुश पर पॉइंटर हेडर के पते को पास करना होगा। मैं आपके मामले में सिर संशोधित नहीं हो रहा है क्योंकि आप केवल सिर में मान दे रहे हैं। शून्य पुश (स्ट्रक्चर नोड ** सिर, स्ट्रक्चर नोड ...

maven - How to add Artifact metadata to nexus server -

I want to know how I can add metadata for an Artisan which I want to move to the Nexus repository. Can I define metadata in the POM file. Is there any tag in Palm to do this? If it is not possible to add via POM , what are other ways to do this? There are three ways that you can imbuate it. Add properties in Palm directly. I see with the problem that you can not easily monitor prices or search on them in Nexus. Add another file which is a property file that is in the form of artwork attached to the Maven Build Assist plugin. In this way they are in a different file, which can be parsed slightly easier than Maven Pom. Otherwise there are problems with the same 1. For both of these methods, you can create a custom Nexus plugin that shows information in any way. If you are using Nexus Professional, you can activate and use the described approach to acquire properties in the Nexus. After that you can also use search to find specific components based on your m...

haskell - Cabal-install installs old package versions by default -

I'm just upgraded to the latest version of cabal-install which is 1.20. I'm not sure that it is related, but for some reason the package has brought older packages. In my cab file, all dependencies are specified without the version number. So I believe that cables should be made available to the latest version, unless there is no conflict, right? If I run cabal install - only-dependencies within a sandbox environment, then the cable pulls all the garbage and older package versions like 1.4 instead of 0.7.2. 4 and Maggot DB-1.2.2 instead of Scotty-0.5. If I run a specific package installation such as cabal install scotty then it brings the latest version and all is well. So I have to manually install all the dependencies to get the latest dependency - one by one Annoying What is happening? Google does not give me a hit. If there are some types of changes in the cabin, then what is it? And how do I pull all the latest dependencies in the sandbox? Thank you. ...

javascript - popup with textbox to save data -

I am using ASP.Net and VB.NET, I want to develop a program with a page Which should pop up a popup button and enter 2 to 3 text boxes to enter details and these details should be saved on the click of a button in the SQL Server table thanks You can use Ajax control toolkit. Download and add it to your Visual Studio. Use this code. & lt; Style & gt; .modalBackground {Position: Absolute; Top: 0 pixels; Left: 0 pixels; Filters: alpha (opacity = 60); -office-opacity: 0.6; Opacity: 0.6; }. Popup {background-color: #ddd; Margin: 0 px auto; Width: 330px; Status: Relative; Border: Gray 2 px inset; } & Lt; / Style & gt; & Lt; Asp: ToolkitScriptManager id = "ToolkitScriptManager1" runat = "server" & gt; & Lt; / ASP: ToolkitScriptManager & gt; & Lt; Div & gt; & Lt; Asp: panel id = "pnModelPopup" runat = "server" CssClass = "popup" & gt; & Lt; Table & gt; & Lt; TR & gt; ...

javascript - HTML 5 Geolocation works on laptops only -

I am trying to use the HTML5 geolocation API and looking for samples, let me know this API But the question is, when I run yoga on any laptop, it works. But moving on the desktop computer, it is not; Both laptops and PCs are on the same network (common public IP addresses), and both have the latest versions of Firefox and Chrome browsers. What is the need to work for this API? What's in my laptop, which is not available on PC? Can you please provide more information? Is there a laptop on WiFi, Ethernet or 3G / 4G tither? Is there a PC on WiFi, Ethernet or 3G / 4G tither? "This does not work" What does this mean? The site is not returning anything? Or is the location just wrong? Is location sharing enabled / disabled on PC? Here is a useful note from W3C GeoLocation API Geolocation API defines a high-level interface for information related to the device that hosted the implementation, such as latitude and longitude. The API is an agnosti...

java jain sip how to minimize transaction timeout -

I am creating a Jain SIP application that sends a request and receives the response. If the response is not received, then I need to handle it in my code, but the default delay timeout function is too long (~ 32 seconds) before firing the process, how can I reduce it? Below is a snippet of my code: // Static sending request: sendRegisterStateful {ClientTransaction transaction = this.sipProvider.getNewClientTransaction (request); // Through client transaction, request a statement. Transaction.sendRequest (); / / Process Timeout Function: Timeless fire required after public zero time processing time / / / 7sc instead of ~ 32s} thanks, Salim Timeout MS = Timeout_factor * T1 / T1 Retrimentament Time is default: 500 mms; Timeout factor default: 64. Deflut timeout value in millisecond = 500 * 64 = 32000ms so I minimized the value of 64 to reduce default time from 32000ms - & gt; 7000ms class SIPTransaction {...... protected static final end TIMER_B = 14; Protected FINA...

javascript - Get DataTables cell value to use in html link -

I thought it was a simple thing, but using DataTables, I want to see the table The first column is hidden and use that cell data in the next column cell in an HTML image link. HTML link using "user_id", I have seen fnGetData () and MRF and I am still confused. "code": " "," SDefaultContent ": '' lt; a href = 'somepage')," bstable "," bstable "," bstable ".php? Uid = '+" data cell from 0 + "" & gt; & Lt; img src = "picture / look png" width = "16" & gt; & Lt; / A & gt; '} I always help myself with this trick: bvisible on the wrong reason, because you will not have data in the line It is not sung at all, use sClass and Display: Any Set . This way the column is invisible to the user, but it is still there. You can then use mRender to show a custom cell template: "AO column defects": [{A Target ":...

javascript - How to Call .net (WCF) web service from Netsuite Userevent script -

Please help me with the above questions. As I am new to Netset, I would like to call WCF Websterreads from Netswait, whenever I have recorded any user event script, I would like to call this webservice and send some data using post method. Please share any examples of this ... call the web service To do this, I nlapiRequestURL (url, postdata, header, method) , where method will be "POST". For instructions on how to use API details and functions, you can see it in the NetSuite Help Center.

javascript - can't load database in dhtmlxgantt php -

I have a problem with my project, the data in the database can not be shown in the Ganttchar dhmtx This is my code Code in .php & lt ;? Includes Php ('../../codebase/connector/gantt_connector.php'); $ Race = mysql_connect ("localhost", "root", ""); mysql_select_db ("gant"); $ gantt = new JSongantt Connector ($ res); $ Gantt- & gt; Render_link ("gantt_links", "id", "source", target, type "); $ gantt- & gt; render_ table (" schedule "," id ", metral," cut_name "," po_num "," start_date, duration ";);;> You are using the strange set of Render_table The parameters for this should be render_table (table, id, field) $ gantt- & gt; render_table (/ * table * / "schedule", / * id * / "id", / * Field * / "start_date, duration, matral, custom_name, po_num");

javascript - Uncaught SyntaxError: Unexpected token : on chrome and "SyntaxError: missing ; before statement" on firefox -

मेरा कोड है: function getCategoryResponse () {var appid = "1"; $ .एजेक्स ({प्रकार: 'GET', url: 'http://itunes.apple.com/WebObjects/MZStoreServices.woa/ws/genres?id=36&callback=my कॉलबैक फ़ंक्शन', डेटा: {}, डेटा प्रकार: 'Jsonp', सफलता: फ़ंक्शन (डेटा) {var ऐपडेटा = डेटा। परिणाम [0]; // सरणी console.log से पहले रिकॉर्ड प्राप्त करें (ऐपडाटा); वापसी;}, त्रुटि: फ़ंक्शन () {// चेतावनी (' कुछ बुरा हुआ '); console.log ("कुछ बुरा हुआ");}}); } इसका परिणाम निम्न है: "अनचाहे सिंटेक्स त्रुटि: अनपेक्षित टोकन:" / * क्रोम पर * / "सिंटैक्स त्रुटि: अनुपलब्ध; बयान से पहले" / * फ़ायरफ़ॉक्स * / उस यूआरएल को एक जेएसओएनपी प्रतिक्रिया नहीं लौटती है, बस एक जेएसओएन प्रतिक्रिया जो इस तरह शुरू होती है: {"36": {"नाम": "एप स्टोर", "आईडी": "36", "url": "https: // itunes apple.com/us/genre/ios/id36?mt=8 "," rssUrls ": {" topAppsByRevenue ...

javascript - Can't queue jobs using NodeJS async -

मैंने इस कोड का पालन किया, और इस कोड के साथ आया। // ASYNC JOBS var Async = require ('async'), spawn = की आवश्यकता होती है ('child_process')। Spawn maxjobs = 4; फ़ंक्शन सेटअप_आर_जब (ऑप्शन, किए गए) {लॉग ('शुरू' + opts.params.pop ()); Var पैराम्स = opts.params; हटाएं ['पैराम्स'] को हटाएं; var आर = स्पॉन ('प्रेतमज', पैराम्स, ऑप्ट्स); आर.ओ.एन. ('एक्जिट', फ़ंक्शन (कोड) {लॉग ('निकला कोड निकला:' + कोड) रिटर्न रिक्त;}) रिक्त वापसी; } Var course_queue = async.queue (setup_R_job, मैक्सिको); मैं इस फ़ंक्शन का उपयोग करते हुए नौकरियों को इन्स्तांत करता हूं। // instaciante jobs var jobForCourses = function (urls) {for (var i = urls.length - 1; मैं & gt; = 0; i--) {var opts = {cwd: __dirname, env: process.env, पैराम्स: ['../getCourseLinks.js','--course']}; opts.params.push (यूआरएल [i]); लॉग ("कतार:" + opts.params.join ('')); course_queue.push (opts); }; }; jobForCourses को निम्न के रूप में क...

Does modify different field value thread safe in boost multi_index -

मेरे पास: स्ट्रक्चर कर्मचारी {uint64_t id; Uint32_t ए; Uint32_t b; कर्मचारी () {} स्ट्रेट बाय_आईड {}; संरचना By_a {}; संरचना By_b {}; struct Change_a: public std :: unary_function & lt; कर्मचारी, शून्य & gt; {Uint32_t p; चेंज_ए (कॉन्स्ट यूआईटी 32_ टी एंड एपीपी): पी (_पी) {} शून्य ऑपरेटर () (कर्मचारी & amp; आर) {आर.ए. = पी; }}; struct Change_b: public std :: unary_function & lt; कर्मचारी, शून्य & gt; {Uint32_t p; चेंज_ए (कॉन्स्ट यूआईटी 32_ टी एंड एपीपी): पी (_पी) {} शून्य ऑपरेटर () (कर्मचारी & amp; आर) {आर.बी. = पी; }}; }; typedef multi_index_container & lt; कर्मचारी, अनुक्रमित_ द्वारा & lt; ordered_unique & LT; टैग & lt; कर्मचारी :: By_id & gt;, सदस्य & lt; कर्मचारी, uint64_t, और कर्मचारी :: आईडी & gt; & Gt;, आदेश दिया गया_ऑन_अनीक & lt; टैग & lt; कर्मचारी :: BY_a & gt ;, सदस्य & lt; कर्मचारी, uint32_t, और कर्मचारी :: ए & gt; & Gt;, आदेश दिया गया_ऑन_अनीक & lt; टैग & lt; कर्मचारी :: By_b & ...

How to know whether you are running inside a gradle daemon -

We have a situation where we take a Joint Instrument inside VM that runs slowly. However, it fails in a very bad way when we are operating inside a Graydale Damon: we are not able to completely get rid of jetty insulation, so it is possible to die with the Crowdell process Will happen. (However, this is not really a big concern, because we do not want gradle daemons in this CI integration test case). So, we want to know whether the current work is going on inside a Graydale Damon, or not - so that we can throw an exception or otherwise inform the user that it is wrong The method is, please un-demonize it. Name one of your thread "Daemon threads" so that you allow a hack, it Can work: def isDaemon = Thread.allStackTraces.keySet.any {it.name.contains "Daemon"};

provisioning profile - iOS App signing for non-AppStore distribution without needing UUIDs -

I am getting companies like Halo, Uber and such apps are distributed outside such app stores (i.e. for drivers) I know that you can prepare 'ad hawk' provisioning profile with the number of 'UHID' devices for this, but how can you create a distribution provisioning profile that is available without UUID Can the number go? Do you need an enterprise account? They use

reporting services - SSRS - How to Split comma " , " seperated values in a cell to adjacent different column with same column header in SSRS -

How to separate values ​​in a cell to get value in different columns adjacent to the same column header in the SSRS I have found a query table in the SSRS report as ProjectNo | ProjectName | Client | Programmer | 01 | Aave | Rohan, Zika | A, B, C Now I want to show SSRS in this form - ProjectNo | ProjectName | Client | Programmer | 01 | Aave | Rohan | Zoka | A. B C. Any suggestions How can I get it only by using SSRs, and can not modify the query ... You will need to enter an expression in each supporting helper cell which will use the split function to return the substrate from your query column. This expression will be in the category of each element that you want to return from the array. Hope that helps - Tell me if you would like an example.

java - Undo option in Jtable -

I'm a newbie in java and swing and I'm trying to make a jettble and I apply a reverse option to it. Want to do Is it possible that I store table models in some part of the operation and later when I press a undo button or something, then I can set the saved table model so that it performs like a revert . Thanks You can try this code. It depends on the tableclistlist code that you will find in the link given below: The public class Miman extends JFrame {Private Static last long serial VERSIONUID = 1L; DefaultTel Model Model; Joint Tables; String call [] = {"name", "address", "phone"}; Action Action = New Object Action () {Private Static Finals Long Serial Weerission UID = 1 L; Public Zero Workflow (Action EVE) {Tableclaimener TCL = (Tablesellist) e.getSource (); System.out.println ("Line:" + tcl.getRow ()); System.out.println ("Columns:" + tcl.getColumn ()); System.out.println ("old:" + tcl.getOldValue ())...

javascript - How to toggle font awesome icon on click? -

Image
I am using the Font Awesome 'Plus' icon on list items of expandable categories when they are in extended state I have a 'zero' symbol ' HTML Jquery $ ('# category-tab took one'). Click (function () {$ (this) .next ('ul') Slide Toggle ('500');}); You can change the class of i element within the click code & lt; I class = "fa-plus-circle" & gt; & Lt; / I & gt; then $ ('# category-tabs li a'). Click (function) ($ (this) .next ('ul'). Slide Toggle ('500'); $ (this) .Find ('I'). ToggleClass ('FA-Plus-Circle FA-Minus- Circle')}); Demo:

Error when starting MySQL server -

I have a problem launching MySQL server. Logs say: 2013- 10-15 13:57:01 0 [Warning] With the TIMESTAMP the underlying DEFAULT value is depreca ted. Please use the Explicit_defaults_for_stimestamp server option (see the documentation for more details) Now can I help me solve this problem ?? Go to: clear_iffalt_for_stimestamp Search for This can clear some things.

Destructuring macro for ST-JSON JSO object -

There is another question about JSON encoding in my normal Lisp. I settled on ST-JSON as my tool. I am able to get a JSO object with JSON data and I am using all fields with st-json: getjso . I wanted to write a macro similar to theory in destructuring-bind which would provide local binding to the variable named after the JSON field (since then I suspected that this is a good idea, but it is a Different question). I came up with the following: (defmacro destruct-jso (jso and body body) (let's value values) (st-json: mapjso # '(lambda (key value) (push ) () Value (push value value) jso) `(demolition-dam, keys, value, body)) But when I call it the JSO object , I get the error value PARAMS is not the required type structure. Can anyone explain this to me, where is PARAMS object? Thank you. Obviously, you have destruct-jso like this: (let's (params (St-Jason: reading-jason-to-string "{\" foo \ ": 42, \" bar \ ": \"...

wordpress - ACF get the value of an options field in a plugin -

I am adding advanced custom field plugin with options. How can I use the value of a field? From a plugin option? I have a simple php file in the plugin folder, which needs to get this value. Is this possible? For anyone searching for a solution: Field "my_option_field_01" The text field is named. If you want to display the value of that option field within the paragraph tag, then you will enter it:

Android - bindService at fragment -

I have an activity class and on this onResume section I used the next code - @ Override Protected Zero (Regenerate) {super.onResume (); Bind service (new intent (main activity., IMS service class), connection, context. } on onPause I used the next code - place the protected zeros on @Override () {unbindService (mConnection); super.onPause (); } As you can understand that I am compulsive and engaged in any service. The thing is now that I want to use the piece instead of the activity. To do this, I have changed this paraguse code to - Prevent protected zeros on @override () {getActivity () UnbindService (mConnection); super.onPause (); } And it feels good. But the thing with which I have a problem is the bind part on onResume , I have tried the next code - @ Override protected Resume at zero () {super.onResume (); Bind service (new intent (getActivity (), IMService.class), mConnection, Context.BIND_AUTO_CREATE); } But Eclipse tells me an error - ...

php - Select a substring (date) and convert it -

I have a column with date format (format) YYYY-MM- DDTHH: MM: SS I use this SQL to take the time for a specific date: SELECT SUBSTRING (date 5 to 5) From) Date From Date (SUBSTRING) From Date: From 1 To 10 = "'. $ Date." " It gives me: HH: MM date $ (from datepicker format) DD.MM.YYYY I am creating a website so that the user should see the time associated with a date before I check it Can I convert the wire from the database that it is equivalent to . Date date ? or is it from datepicker to YYYY.MM.DD instead ? How to get rid of substrings Instead of stuff and use it in Ray, choose as the time (date format) from `to` calendar WHERE DATE (datefirm) = STR_TO_DATE ($ date, '% d % M.% Y ') This will work because your DateFrom field is stored in standard string format of DATETIME object. to Is in bettix because it is a reserved word. You really want to consider changing datatype's date type DATETIME. Hia, and the...

python - How to display data from a database file onto pyqt so that the user can add/delete/edit the data? -

I have created a database file in SQL using SQL commands. I have also experimented with many foreign keys but I am not sure how this data should be displayed on Qt with Python? any idea? I would also like to be able to add / edit / delete user data Since the question is one It's a bit broad and normal, please start by this, you will get a lot of help to get started. Once you know what you are working on, you can make your UTV ET QT Designer and add functions to your event but every time you edit the form in QT, be careful that All your added python code will be removed so I recommend you to MVC pattern for your project. EDIT: To demonstrate this data, you can also have an essence of what is required: It is believed that qttable is your grid in your class Def fillQTable (self): #data = [('1', '2', '3', '4'), ('5', '6', '7', '8')] # Database Data = Is self .getData () rOWCOUNT = lEN (data) colCount = 4 self...

c# - (XNA) Velocity doesnt reach 0 -

I recently started working with XNA and there is a little problem. I have a phantom that is completely fine and everything runs, but velocity does not reach 0. It's always 2.5 or -2.5 or something like that. Protected Override Zero Update (GameTime GameTime) {// Control (if Keyboard GateState). ICaiddown (Keys.) {If (well.x maxVel * (- 1)) vel.X - = acc.X * 3 * (float) game time.Apple group gametime TotalSeconds; Player. SpritePos.X + = vel.X * (float) game time. AspenGametime Kolshakand; } And if (vel.X! = 0) {// Velocity should be set to 0, if no button is pressed. It does not work // it just stops at 2.5 or -2.5, so that no button is pressed, the speed of the connírent is slowed. If (vel.X> 0) {player.spritePos.X + = vel.x * (float) game time.appalgroup timeshundred; Vel.x - = acc.X * (float) game time. AspenGametime Kolshakand; } If (vel.X GraphicsDisvision.Visport.Width || Player.pritPos.X As I said, I'm new to coding with C # / XNA, so this code is very imp...

javascript - Jquery resize event doesn't work in Phonegap IOS? -

The 'resize' event correctly recognizes Android but it does not detect it in iOS $ (Window). Reset (function () {// code}); Ensure that the viewport is set correctly, you have it set to device-height should not be compulsory to see:

emacs - Concatenate strings in abbrev file -

concatenate is not the reason for my abbreviations file? I would like to 'nv' to expand this small part of the code, and due to readability reasons I like to separate the string into several lines. However, summarized by MX is being ignored. (defined- abbrev-table 'python-mode- abbrev-table' (("env" (concatenate 'string "# / usr \ n" "__future__ import __future__ from imports split print_function \ N "" __future__ import absolute_import \ n "" __future__ import unicode_literals \ n \ n ") void 3))) Expression is not evaluated inside the quoted list. You can use backquote to selectively evaluate parts of the list structure: (define-abbrev-table 'dragon-mode-abbrev-table` (("env \ N "" __future__ import from print_function \ n "" from __future_ import absolute_import \ n "" __future__ import unicode_litels \ n \ n "" from), from zero to 3 (concatenate ...

c# - InvalidCastException when not casting -

Image
I am using the winforms Webbrowser control to load a webpage, and for this Waiting for the page to load. So I have a time loop that checks the ReadyState property, but it's a InvalidCastException Throwing I do not understand why I see this error because I am not casting anybody And casting is not necessary because these variables like the value of the same type. Anyone put some light on this? Code below: while (wb.ReadyState! = WebBrowserReadyState.Complete) {Thread. Sleep (2500); } Edit: Why do not you just subscribe to an event instead of using a loop? Private zeros wb_DocumentCompleted (Object Sender, EventArgs E) {// stuff after loading page}

ora 06550 - JPA PLS-00306: wrong number or types of arguments in call to 'STP_REFRESH_CATEGORY_GUARANTEE' -

I am using JPA to call the Oracle stored procedure and am getting mentioned exception below error [4/24/14 9: 07: 37: 583 EDT] 00,000,031 SystemOut O [EL warning]: 2014-04-24 09: 07: 37.452 - UnitOfWork (+167971964) - Exception [EclipseLink-4002] (Eclipse Furnish Service - 2.4.0.v20120608-r11652): org.eclipse.persistence.exceptions.DatabaseException Internal Exception: java.sql.SQLException: ORA-06550: Line 1, Column 7: PLS-00306: Incorrect 'STP_REFRESH_CATEGORY_GUARANTEE' ORA-0650: Call Line 7, PL / SQL: ST Ignored on Tment error code: 6550 Call: BEGIN STP_REFRESH_CATEGORY_GUARANTEE (SHIP_CODE = & gt;?, SAIL_DATE = & gt;?, Wapasi_kod = & gt;?); End; Bind = & gt; [3 parameters bound] Query: Dataraidekvin (name = "Rifreskrent guarantee") [4/24/14 9: 07: 37: 584 ADT] 00000031 Sistmot o **************** *************************************************************************************************** *************** [4/24/14 9: 07: 37: 584 EDT] ...

rdf - Java code for Converting string message into Jena model -

I have a string message from the AMQP message broker that has RDF statements. I want to hide it in Jena model using Java and then merge the converted model into another model with another model. How can I do this? It can be divided into three logical steps, some of which you may have already done: Separate RDF details from non-RDF text Identify the syntax used for RDF (can be part of # 1) Parse the resulting string in Apache Jen model The first two are domain-specific, then you will not likely get much help even if you can not provide some example input, except that a different question (such as : 'How can I split a string based on the presence of RDF syntax?')) For the third, it is very fast and easy to assume that you have N -Triples is a document in the form that you want Is derived from l to parse it in the following Jyunet test and the ability to interact with its contents is shown. final string nTriplesDoc = "pdf: east: S>; vase: ex: P ...

arcgis - Merge polygons problems -

I have a group of polygons that I merged to create a large polygon using the editor toolbar. It worked fine, but there are still 5 or 6 lines contained in the large polygon. I am assuming that these are contained within a polygon because when I select a polygon, the lines are also selected - how can I get rid of these 'evil' lines, if I mix polygons then how do I now lines Come on Any help appreciated! My guess is that your polygon does not have the right topology, I mean the sharing limit is not exactly the same. The probability of having a small difference is very high and when you combine your polygons, you see that short interval as a line (zoom very zoom). If this was the problem then the solution is clear - before you merge, you should correct the topology of your polygon - you can use the topology class with no interval rule.

javascript - $http promise not updating scope (ng-hide) -

What I'm trying to achieve here, is getting a request for my API, which is true / Responding with the wrong, whether the user is logged in or not, ideally I want to hide the entry form if the user is logged in. I am using Angel in the HTTP method, which gives a promise and what I think is already wrapped in $ $, so I would have thought that the scope would be automatically updated. My Controller: .controller ('MyCtrl1', ['$ scope', 'isLoggedIn', '$ timeout', function ($ scope, IsLoggedIn, $ Timeout} {isLoggedIn.getState (). Then (function (result) {$ scope.displayLogin = result.data.state;}); $ scope.getLoginState = function () {console.log ($ scope. DisplayLogin); }}]); My service: .factory ('isloggedIn', function ($ http, $ q) {return} {getState: function (scope) { Return $ Http.get ('/ login-state'). Then (function (result) {return result})}}}}) html: & lt; Form method = "most" action = "/ lo...

ios - NSImage to NSData, then to UIImage -

I am creating a plast with my OSX app that contains some images, as a template for the iOS app. I am using this plist file: [NSKeyedArchiver archivedDataWithRootObject: self.someImage] But here I am going to file UIImage Can not convert it to NSImage (as it is only for OSX). I get this error: * Cancel the app due to non-exception 'NSInvalidUnarchiveOperationException', reason: '* - [ NSKeyedUnarchiver decodeObjectForKey:]: Can not decode the object of class (NSImage) '/ p> Please suggest a way to overwrite me. OS X: for nked archer Instead of using a NSImage to the NSData , NSImage method: NSData * ImageData = [Self estimate; TIFF rendering]; // file data to save the file iOS: Read image data from file, then convert it to UIImage using UIImage feature maker Do: NSData * ImageData = ...; // UIImage file from the load image file * image = [UIImage imageWithData: imageData];

javascript - Datepicker on AngularJS error with values -

What I'm trying to do here is when a user StartDate and End date When he clicks on the previous arrow, he should get the data 7 days in advance to see the progress. Javascript : $ scope.getDiffPrev = function (startup, endadet, compute def) {var start = startDate; Var date1 = (start.getDate (-7); Var month1 = (start.getMonth () + 1); Var year1 = start.getFullYear (); Var end = endDate; Var date2 = (end.getDate () -7); Var month2 = (end.getMonth () + 1); Var year2 = end.getFullYear (); $ http.get ('/ admin / api / stats? start =' + date1 + '-' + 1 month '-' + 1 year '& amp; end =' +2 date + + '-' +2 months + + '-' + 2 + 'and computeDiff = true'). Success (work) {$ scope.stats = data;}); } HTML : & lt; Label & gt; From & lt; / Label & gt; & Lt; Input type = "text" datespeak-popup = "DD-MM-yay" ng-model = "start date" /> & Lt; Label & gt; / Labe...

javascript - Combinig array values with underscore.js -

I managed to map a coffee, which reduces me to exit the database. Inputre = _.Map _. Group by (Inputrz, 'Value'), (V, K) - & gt; {Price: K, Money_Amount: _.Redus (v, (m, i) -> m + i ['money_mount']), 0), product_mount: _.rads (v, (m, ii) I sorted sorted The table with the result is 1/2/2 2/10/5 3/9/3 Where the amount of product divided by price is now counting the combined product to start from the first row and count down To get the fourth column is to be. Example: 1/2/2/2 (2 products only) 2/10/5/7 (5 + the 2 ago) 3 / 9/3/12 (before all 3 +) I tried to do it in Junkery reasons because my head starts exploding when there is a lack of thinking about the map. Before creating some weird table row. Hope someone can help me. Thank you very much. A classic classic case for a total of low It has to be done so that it reduces another to calculate the running total after sorting and to hide it in the object, as is something: runnin...

Rails: Log stuff to rails app logs from any ruby class -

I want to be able to log in to my Rails app logs from Ruby Class. I was hoping to do a class with logger.info "some stuff" in my_app / app / myClass.rb , but it It is not defined when I use logger in my controllers and elsewhere then it works I'm brand new to Rail / Ruby, and I'm assuming it That is because logger category myClass.rb , but it is automatically included in all controllers, models, etc. How can I include the logger class in an arbitrary Ruby class, or else I can login to my Rail App from a Ruby Class? "Post-Text "Itemprop =" text "> If you want to create your own logger: class MyClass def initialize @app_logger = Logger.new (" # {Rails.root} / log /app.log ") End DEF Other Method @ app_logger.info (" Anything here ") End /

java - Dynamic form and data binding with Spring MVC -

In my Spring MVC application I need to implement the form of a dynamic questionnaire: I have questions and I have 3 options for each I Then in my page I will have something like this: | Question 1 | 1 | 2 | 3 | | Question 2 | 1 | 2 | 3 | | Question 3 | 1 | 2 | 3 | | ... | 1 | 2 | 3 | | Question N | 1 | 2 | 3 | The questions are stored in the database and for the option I will use the radio button. I use a forEach tag to prepare dynamic rows , But I do not know how to post data in this scenario and how to force ModelAttribute ... which may be a good structure for my model specialty class ? Is it possible to use binding for a dynamic form with Spring MVC? How to post data You can do this, I am considering classes like question : public class questions {Private string question; Private map & lt; Integer, option & gt; OptionMap; Private integer selected optic; // getters and setters} like and options class: public class options {personal integer...