Posts

Showing posts from February, 2011

silverlight - What is the best way to copy / clone brushes? -

Before drawing a shape on a canvas, I have a preview that shows how the shape looks. I can adjust the opacity and then draw the shape. Then I would like to draw another shape with a different ambiguity. My problem is that by changing the opacity of the preview it also changes the opacity of the shape which I have already prepared. It has made me believe that I need to copy the used brushes to preview every time before attracting the size. There are many different brushes and, for example, shield brushes not only need to store shield prevention, but there is a new shield for each shield - the copied collection. Am I doing the right track down or should I do something else? Should I be copying or cloning? What is the best way to go an extension method? please pay attention. What you need is cloning, unfortunately, with Xmllriter / Reader, WpF will be easier in you to make it Silverlight In an extension method on the brush that makes a deep copy, it will work fine in your c...

wolfram mathematica - Changing values in nested lists according to elements in the list -

I have a list of values ​​in mathematics, for example List = {{3,1} , {5,4}} . If the second element does not reach a threshold, then how do I change the first element (3 & 5)? For example, if the second part is below 2 then I would like the first parts to go to zero. So list == {{0,} {5,4}} . Unfortunately, some of these lists are doing manually for a very long time, unfortunately there is not an option. Conceptually, in the normal way, in your case, code will be [13]: = lst = {{3, 1}, {5, 4}} outside [13] = {{3, 1}, {5, 4}} in [14]: = thr = 2 out [14] = 2 in [15]: = map [[if [# [[2]] The # symbol here stands for argument. You can read more on pure functions, double square brackets stand for extraction. You can make it a little more condensed by using level 1, which is shortened by @@@ : in [27]: = {if # [2] & lt; Thr, 0, #], # 2} & amp; @@@ lst Out [27] = {{0, 1}, {5, 4}} However, note that the first method is several times faster for large nu...

iphone - UIViewController class memory issue - presentModalViewController -

I have some memory problem with my iPhone application and I have no clue what is happening. , I noticed that the memory usage of the application is increasing continuously when one is going from one UIViewController to the other, I have used the "Mark Heap" tool from the "Allocation" tool and it has boundaries that only the object Those that are not distributed, I have UIViewControllers. To be more specific I have given my two UIViewControllers the first one named the puzzle VIPU controller and the second name is the option. When the app starts, the PuzzleViewController appears. I mark a heap here to set a baseline, and after that I press the "Options" button which will present the option UIViewController. I go back to the first one and I once again marked these stages of these steps After repeated repetition (like 20 times or so: D) I see that after every hipshot I have around 22 objects alive. Two of those objects are examples of my UIViewControll...

nhibernate - Problems with HasMany, Lazy loading and session scopes -

मेरे पास एक कंसोल अनुप्रयोग है जो NHibernate और ActiveRecord का उपयोग करता है। मैं निम्नलिखित अलग मानदंडों का उपयोग कर रहा हूं: अलग-अलग मानदंड = पृथक वर्गीकरण। सेवा के लिए & lt; & gt; (); मापदंड। जोड़ें (प्रतिबंध.लिंट ("समाप्ति", दिनांक समय। आज। जोड़ेंदिन (3))); मापदंड। जोड़ें (नया संयोजन ()। (प्रतिबंधों। इज़नल ("स्टॉप रेजयन")) जोड़ें। (प्रतिबंधों को रोकें। एसी ("स्टॉप रेजॉन", सर्विससटॉपआरिजन। वेलनेस))); मापदंड .जोड़ें (नया संयोजन ()। (प्रतिबंधों को रोकें। IseNull ("StopDate"))। जोड़ें (प्रतिबंधों। EqProperty ("StopDate", "End"))); और मैं ActiveRecordMediator के FindAll () विधि का उपयोग करके फ़ेचिंग का आह्वान कर रहा हूं। मेरे मॉडल में मेरे पास यह संपत्ति है: [HasMany (Lazy = सच)] सार्वजनिक आभासी ISet & lt; ServiceOrder & gt; सर्विस ऑर्डर ({वापसी सेवा प्राप्तकर्ताओं}; } सेट {serviceOrders = value; }} मैं निम्न लिंक् क्वेरी में उपयोग करने का प्रयास कर रहा हूं: सेवा ऑर्डर से सेवा ऑरडरटाटा सेव...

mapping - Hibernate query to return results of many-to-many DB relationship without the relationship being mapped -

Extract top 10 news from google news -

I try to locate the top N (10) as a query in the form of a Google news () I am not able to do this, but Google does not allow the server to query the server through scripts. I looked at the Google News API, but what I think is what it allows us to display "Google News results" on our website according to some websites. I want to say hyperlinks to news or point out the news. You can pull a feed using this URL on the basis of a query yoursearchterm & amp; Cf = All and Output = RSS This will allow you to get an RSS feed after which your application can be parsed and can be used. Although it is possible, I will examine the small print on Google's website because I think there are restrictions on what you can do with this data. I hope this will be helpful. You have to give credit to Google and credit sources and news sources.

c# - Array change event -

मेरे पास एक सरणी गुण है जिसे Value : सार्वजनिक स्ट्रिंग [,] मूल्य {प्राप्त; सेट; } मैं सेव () पद्धति को कॉल करना चाहता हूं जब सरणी के किसी भी मान (पूरे सरणी नहीं) बदल गया है। क्या इसे लागू करने का एक आसान तरीका है? वास्तव में नहीं Arrays बहुत आदिम प्रकार हैं और जब चीजें बदलती हैं तो आपको सूचित नहीं करते हैं। सबसे अच्छा आप कर सकते हैं एक कस्टम प्रकार बनाते हैं जो कि 2 डी सरणी की तरह काम करता है, लेकिन इसके अलावा यह एक इवेंट तब उठाता है जब कोई तत्व बदल गया हो । आपका वर्तमान वर्ग तब इस घटना की सदस्यता लेंगे और सहेजें () पर कॉल करें। कुछ अतिरिक्त टिप्पणियां: संभवत: आपको बेनकाब नहीं करना है सेटर, यह लोगों को बदलने की इजाजत देता है जो आप इंगित कर रहे हैं। आप संभवत: केवल प्राप्तकर्ता को बेनकाज़ करना चाहते हैं, ताकि वे मूल्य बदल सकें, लेकिन पूरे सरणी नहीं। मैंने जो भी उल्लेख किया है, उसके लिए एक प्रकार का हो सकता है, मुझे एक के बारे में पता नहीं है। यदि आप एपीआई को वैसे भी बदलने जा रहे हैं, तो यह आपके वर्ग पर एक सूचक को उजागर करने के लिए और अधिक समझ सकता है, फि...

android - how to implement a listener on specific items using ListVIew? -

I've created a ListView with a bunch of items, but I'm not really sure how the listener executes on a particular item Please. Please help me! I really want to eat it a lot. I tried to use this code, but when I click on any item it will only bring me into the same activity. List.setOnItemClickListener (New OnItemClickListener) {public void onItemClick (adapter view But if I use this statement with the statement, then nothing is happening: list.setOnItemClickListener (New OnItemClickListener ( ) {Public void onItemClick (AdapterView & lt;? & Gt; Arg0, see Arg1, status of the int, long ID) {if (list.getItemAtPosition (position). Par (mStrings [0])) {intent I = new Intent (main activity., Activity 2. class); startActivity i); }}}); You can base your status on status : if (position == 0) {... start activity ...}

opengl es - smoothscroll view positioning in android -

I am using a list view that I want to change to a special position while running my code directly. I'm using listview.smoothScrollToPosition (22) which will show the scrolling effect .. which I do not want to show. I want to display the 22 position of the list view directly. I used other methods like listview.setselection (), listview.scrollTo () which does not work? Please, help me thanks set selection What I use in a public domain app developed, you can read the code, it scrolls to ListView in the specified position. Perhaps you can post your code if this method is not working for you?

android - Caching downloaded JSON data to SQLite database - is it a good idea? -

In my app I have to download the Jasonon data from many web services. The data classes I use are quite complex ( Lots of properties, deep legacy trees, etc.). I intend to do caching using a single DB table, where I will store the downloaded JSON data in a VARCHAR column (with other meta-data columns). JSON is being done with the serialization GSN Library. It is quite convenient to just dump the instances in JSON, and when I need them, then parses them later. There is no need to create custom tables for every category, or write down loads of custom serialization codes. Besides, I can ask questions like this on the cash table. Question: Is this approach any kind of anti-pattern? This approach is not completely wrong; However, I'm going to recommend that you use caching storage instead. See the section "Save cache files" for more details. In this way, you can not leave any valuable location if your JSON objects are large when your storage conditions are low ...

php - Disable access to files -

मेरे पास फ़ोल्डर / texts / बहुत सारे हैं *। Txt अंदर फाइलें। मैं अपनी साइट पर php स्क्रिप्ट्स द्वारा इन फ़ाइलों तक पहुंच को कैसे सक्षम कर सकता हूं, लेकिन ब्राउज़र द्वारा सीधी पहुंच अक्षम कर सकता हूं? धन्यवाद । वेब सर्वर के दस्तावेज़ मूल के बाहर फ़ोल्डर कहीं पर ले जाएं। वैकल्पिक रूप से, उस निर्देशिका के लिए कॉन्फ़िगरेशन में जोड़ें।

python function that creates HTML for a row containing two cells -

I am looking to write a function in Python which accepts a dictionary and a key as a parameter HTML is a line containing two cells. I want to put the key / value pair in the dictionary with the dictionary dictionary - d = {'year': 1999, 'director': 'Mike Judge ',' Title ':' Office Space '} The function may look like but my guess is; DIF create HTMLRow (d, 'title'): s = & lt; Table range = "1" & gt; \ Ns = s + "& lt; tr & gt; \ n" s = s + "\ t line1, cell 1 \ n" s = s + \ N "s = s +" & lt; / tr & gt; \ n " Is this the right direction to go in? I want to use my Python code on Google App Engine, which is why I am writing HTML in Python. create def HTML rau (d, 'title '): "Post-lesson" itemprop = "text"> S = "& lt; tr & gt; \ n \ t" s + = "& lt; td>% (year) d & lt ; / Td> \ n \ t...

asp.net - MVP - Presenter and the Service Layer - Where to declare Service Layer -

I Microsoft for Enterprise. Reading through Net Solutions and I have a presentation and a few things related to the service layer. First of all, my presenter needs to call ways in the service layer, such as beginning (), save () and so on. But where do I place a reference to the service layer? Should it be at the class level in the presenter, or should I define a new service in the way of the presenter? Second - This book is not really clear - how is it processing in such a way that the presenter works for the service layer?: Public Zero Process Anticipation ) {// Get data from visual string selectedForPolePosition = predictionPageView.DriverPolePosition; String selected forSecondPosition = predictionPageView.DriverSecondPosition; String selected FORThirdPosition = predictionPageView.DriverThirdPosition; Selected stringforthposition = prediction pageview.whvorfthirthhep; Selected stringfirstpositionposition = predictionPageviewerfifth status; String raceTitle = predictionP...

flash - Preloader for SWF with embed bytearray -

Full SWF is not showing the compliant SWF preloader until it is fully loaded. Any help would really be appreciated, I could not find anything on this night, at least for me itemprop = "text"> You can not embed byte in your main document class, because the class referenced from the document class Automatically will be included on frame 1. The best way to preload is to have a separate preloader class and main square for the property. You want to export your Preloader class to frame 1, and keep your main square and assets on 2 frames. Unfortunately, it should be as much as possible, but here's how you can do this: Set up your document class Preloader in this category your LoaderInfo code, however, when you finish loading, do not mainly focus on the main , do not do this var main: main = new main () . This will automatically motivate men to compile on frame 1, whatever you will do. Instead, it indirectly, immediately like this: nextFrame (); // You ...

php - javascript encryption? -

I do not want to use HTTPS Username and click on any button, click on Show button, you will find a sequence like 2-4-5-7 in the alert box, in this sequence I have generated using Javascript, now I I want to submit this sequence to save it. It is working in the database but when I send this sequence, it goes into plain text, I want to encrypt this sequence and then decrypt it on the server using php and it should be 2-4- Save as 5-7? How can I do this JavaScript encryption, which can not be considered weak because the Javascript code is visible to the user? So it will be difficult to sniff middle men How do I encrypt using JavaScript and dept it into DPP and store and use it in DB in the above example? Any other solution will help me Does this encrypted client- Why do you want it to be the only reason for decrypting server-side? If you want to stop the data from being caught between the client and the server, then I suggest using SSL instead. HTTPS protocol is a g...

How to add next/back buttons to Notepad 3 on android? -

I'm trying to add the next / back button on the edit activity (code). I have created the options menu and added two buttons in the I onOptionsItemSelected I have written the following: Case R.id.movie_menu_previous: intent I = new intent (this , Movie scenes). I.putext (movies dbadater.cEY_ROWID, mRowId + 1); StartActivity (i); Back true; Case R.id.movie_menu_next: Intent I = New Intent (This, Movie View.); I.putext (movies dbadater.cEY_ROWID, mRowId + 1); StartActivity (i); Back true; But the problem is that the number of rows is limited. So, if the user moves on the last line, then I'm getting FC. How do I know that this is the first line? The last line? (I have modified the initial code and now I have a lot of records in the database, but not all of them are shown in ListView ) and, better in changing the populateFields logic Will not the function and call it instead of creating a new activity? I have overridden the Populatefields function and it includ...

php - Model cart locking with Paypal -

I am currently implementing PayPal Express checkout within a Zend Framework application, I've written my own cart model Includes two simple classes: Cart & amp; CartItem, and they are capable of volume, get total value, etc. I do not have any information about payment system, and I only use PayPal (this is my first time), but I am still in PayPal (what's in PayPal) Is not able to control it, at the beginning of the process (when redirecting PayPal) it is a good idea to "lock" the car, inconsistency on the existing order processed by PayPal and actual cart To avoid on the website. This may be for example, that the user opens a new tab and attempts to add products during the payment process with PayPal. If your car is locked then it is not able to use it My question do you think this is a good way? Edit : Due to the fact that I do not store anything in the database, but the shopping cart in the session is all orders to be submitted only with PayPal, I...

c# - .NET - Border around resized imaged -

I am trying to convert an image into NIT, but get a faint black border around the resized image. I got a position - that was from the person who made the destination rectangle larger than the canvas, but it does not work for me. It reads the upper and the left borders, but it is still right and down, and A full 1 px is thick black. Am I forgetting something? My code is below image image = ... // This source rectangle srcRectangle = The validity of the image loaded with new rectangle (0,0, width, height). Size cut FullSize = new size (width + 3, height + 3); Rectangle = destter = new rectangular (new point (-1, -1), crop size crop); (Bitmap newImage = new bitmap (using croppedFullSize.Width, croppedFullSize.Height, format)) (Graphics canvas = Graphics.FromImage (newImage)) {Canvas.SmoothingMode = SmoothingMode.AntiAlias; Canvas.InternationalMod = Interpolation mode. Highquite bibbic; Canvas Pixel offsetmod = pixeloffet mode.hequality; Canvas Filtrategle (brush transpers, destac...

.net - How does method inlining work for auto-properties in C#? -

I am reading and it talks about method inlining . I understand the theory, but I do not think how it will work based on 2 examples in the book. The book says: Meaning of the function is the option of the function of the body of the function for the call. is fair enough, so if I have a method, and its call: public string SayHiTo (string name) {return "hi" + name ; } Public Zero Welcome () {var msg = SayHiTo ("Sergei"); } JIT compiler (will?) Inline it: Public Zero reception () {var msg = "Hi" + "Sergey"; } Now, with these two examples (verbatim from the book): Example 1 // property of name to read only public string name {get; Private set; } // access: string val = Obj.Name; Example 2 string value = "default name"; If (Obj! = Null) val = Obj.Name; The code is mentioned in this book but how can it be extended inline form. How will the JIT compiler write these 2 instances? The syntax for the ...

iphone - monotouch development on 10.5.8 -

I can not upgrade my Mac to 10.6.6 (or not know) Currently I am running Mac OS X 10.5.8 10.5.8 What do I need to install Monochoc? Is this also possible? According to professional iPhone programming with the monotope book, Pages I need version 10.5.7 only. Is the book taken out? Is there a way that I can download the old version of Monochoch and be able to use it? Please help. Thank you .. My apologies, monochoc documentation is outdated Apple has used iTunes Has refused to accept the app through the medium, connect to the older versions, and they have set a 10.6 requirements, and thus we have left 10.5 support. I updated the old page

cocoa touch - iPhone: problem rotating a UIView - doesn't look right -

I am adding a simple UIView to my app. It works fine, as long as I do not use the 'Transform' property to change it: myView = [[UIView alloc] initWithFrame: CGRactMake (50, 50, 100, 100)]; MyView.backgroundColor = [UIColor whiteColor]; MyView.transform = CFE Refined Transformer (-0.2); [Self.view addSubview: myView]; //self.view Just another normal UIView added view has been rotated, but jagged edges - i.e. the edges have not been antialized. Here's an example of what I mean:. So far, I have not found any way to fix it - but of course, it can not be difficult to just rotate a UIView? (This also applies to a UIImageView, I've tried both). Any help or ideas will be highly appreciated. I have worked hard to explain what's going on, but I know that I This problem has been seen and one solution is to wrap your view to each other or to some transparent border. Therefore, for example, add a view to another UIView that is INSE-4 or so many around.

dialog - Loading a jquery-ui dialogbox on clicking a link -

मेरे पास निम्न टैग है: & lt; a onClick = "showDialog () ; "& gt; & Lt;? Php प्रिंट $ s; ? & Gt; & Lt; / a & gt; मेरे document.ready () फ़ंक्शन में, मेरे पास showDialog () फ़ंक्शन फ़ंक्शन शोडायलॉग () {$ ('# उपयोगकर्ताडेटा')। संवाद ('खुली'); } और मैं अपने दस्तावेज़ में इसे शामिल करके दिखाई देने के लिए संवाद नहीं बना रहा हूँ .ready () फ़ंक्शन $ ("# userdata")। संवाद ({AutoOpen: झूठी}); इसके अलावा, मेरे शरीर खंड में, मेरे पास "userdata" div तत्व & lt; div id = "userdata" & gt; हैलो & lt; / div & gt; ; लेकिन, जब मैं लिंक पर क्लिक करता हूं, कुछ भी नहीं होता .... लेकिन अगर मैं अलर्ट () को showDialog () / कोड> फ़ंक्शन, यह ट्रिगर हो रही है कोई मुझे बता सकता है कि कैसे jquery संवाद बॉक्स प्रदर्शित करने के लिए? धन्यवाद जब कोई लिंक क्लिक किया जाता है तो वह संवाद बॉक्स में सामग्री खुल जाएगा। var p = '& lt; p & gt; टेस्ट टेस्ट टेस्ट टेस्ट टेस्ट ट...

jquery - How can I have text/objects stay in a div element? (Having the div "stretch" so all of the content will stay inside?) -

Image
इंटरनेट एक्सप्लोरर के साथ जब मेरे पास jQuery (स्लिवेडाउन) या यूट्यूब वीडियो या ओमबैंड के साथ कुछ असर होता है तो यह ओवरलैप या अतिप्रवाह होगा नीचे पाठ / सामग्री पर मैं इसे कैसे कर सकता हूं ताकि डिवी "खिंचाव हो सके ताकि सभी टेक्स्ट या वीडियो तत्व के अंदर रहे? मैं जेनरेटेड डोम को देख रहा था जो कि फ़ायरफ़ॉक्स के लिए काफी गन्दा है और क्रोम के लिए जेनरेट हुआ कुछ नहीं है। मुझे curvy corners javascript पर संदेह है और मैं सुझाव देता हूं तस्वीर के बाहर की पुष्टि करने के लिए और फिर इसे डेवलपर के साथ ले रही हो रही है।

winforms - Checkbox column in Infragistics win ultragrid -

I'm a newbie for infragistics. On my Winforms app, I am using Ultrawingrid to display data from the database. How can I show a checkbox column in the grid as the first column? In addition, I have to capture the check / uncheck event and then read related Grid Row / Room in the application. Can you help me on this? Thanks for reading. / P> You also get control over the UltraGridColumn example for columns you want to provide as a checkbox Need for Something like this: Ultragrid column ugc = myGrid.DisplayLayout.Bands [0]. Column [@ "Michaelholm"]; Then change the display style of the column to the checkbox and make sure it allows editing: ugc.Style = ColumnStyle.CheckBox; Ugc.CellActivation = Activation Allow editing; In my opinion, it is appropriate for this grid enforcement code in a handler for the load event or the InitializeLayout event of the grid. (E.Cell.Column.Key, @ "myColumnKey")) {some checkbox value changes}...

input - Listening to key events from softinput (keyboard) on Android -

In my application, I want to get user input whatever is with their default soft input, but I use any input field I'm not. I have already picked up the soft input, but now I need to hear the keyboard events from that soft input. I have assumed that this will be a solution problem, but I am facing problems with the document. Is it obviously obvious? Cheers. InputManager # showSoftInput (view view, int Flags) after you open the soft input you have to set it as OnKeyListener as this view and you will receive all the major events.

google analytics - How can I generate a GA tracking code programmatically? -

Google Analytics ट्रैकिंग कोड प्रोग्रामैटिक-सहयोगी कैसे उत्पन्न करें? मैं Google Analytics API में नया हूँ, कोई भी मदद कर सकता है यह नया Google Analytics खाता बनाने के लिए नहीं संभव है या प्रोफ़ाइल्स प्रोग्रामेटिक रूप से मौजूदा एपीआई का उपयोग कर रहे हैं। दो एपीआई उपलब्ध हैं, और हालांकि, वे बॉट रीड-ओनिल हैं। Google Analytics के साथ, आप एक अधिकृत उपयोगकर्ता के लिए किसी मौजूदा एनालिटिक्स प्रोफ़ाइल से डेटा का अनुरोध करने के लिए क्लाइंट अनुप्रयोग विकसित कर सकते हैं, और इस अनुरोध के परिणामों को परिष्कृत कर सकते हैं। क्वेरी पैरामीटर वर्तमान में, डेटा निर्यात एपीआई आपके Google Analytics डेटा में केवल पढ़ने के लिए उपयोग का समर्थन करता है। वर्तमान में, समर्थन केवल-पढ़ने के लिए उपयोग : खाता डेटा, प्रोफ़ाइल डेटा, वेब प्रॉपर्टी डेटा, लक्ष्य डेटा, उन्नत सेगमेंट

swing - Creating Eclipse-like line markers bar in Java text editor -

My Java GUI app has a scroll text window In addition to a standard scrollbar, I need vertical bar with colored line markers Is, as in eclipse. Hopefully you know what I'm talking about is not scrolling this time, the position of the marker is arranged proportionally according to the height of the whole text. When the user clicks on any marker, scroll the text box on the corresponding line. I was not able to find such controls in SWT widget suites. Obviously SWT is somewhere in it, the ideal choice for me would be swing component because the app is swing-based. Many thanks in advance I do not think bundle with a component swing And I do not know of any library supply of such a component, you should be able to do it yourself. Provide a panel next to Scrollpad and whenever the ScrollPan / TextPan can again be markers according to line (JLBels in the first stage, can draw your own later and add mouse handling ) - In this case layout manager should be empty. The status ca...

tfs2010 - CompilationOutputs in TFS 2010 -

Is there a similar asset for compilation output in TFS 2010? If not, how to get all the compiled assemblies in TMS 2008, including all metadata? Thank you! In TFS2010, if you use the UpgradeTemplate plugin, the XML Build Process Template, you can use your existing TFS 2008 Based MSBILD project files that use compilation output properties and continue to build as normal. If you are using the TFS2010 workflow based builds (i.e. default template.exml or derived), the approach should be somewhat different. To compile the workflow solution internally calls an MSBuild activity and there is nothing in the properties for the job that gives the data you search for. To work around the change, there is a copy directory function at the bottom of the workflow which moves the files from the binary folder to the drop-space. You can always keep your own workflow activities around or before that process, and always do whatever you want to do.

javascript - How do I open a window on a different screen? -

I have an IE7 app, which requires opening a popup window on a second screen. I am currently blocking the desktop and clearly opening the window in an offset that it appears on each other. Although it looks like a hack and when I call the window, I want to be able to set the window screen explicitly. Is there any way to do this? I'm pretty sure this is not possible. I did some tests and the pop-up window monitor was limited to "with focus". Demo:

How to return a long string from a VBA function in Excel? -

I have the following functions defined in Excel: function long string () Dim I Like integer long string = longstring & amp; "X" i = i + 1 loop until i & gt; 40000 End Function This results in an error: #VALUE! It seems that the maximum string length is limited to 32768? How does this work? - Edit - Thank you for all your support. My solution was to split my function into several cells, in which there are fewer than 32768 characters. Microsoft 32767 length limit is in their specification (see) The length of the cell content (text): "32,767 characters., Only 1,024 displays in the room; 32,767 display in all panels." As the only way to break the strings in many ways you will get more from it.

universal application in Iphone -

In order to convert applications to universal applications, I have to do design changes in xib files One way to do this: Go to Project-> Summary (in xcode4), set "Device "From" Universal " Your Information In the Pleist, define two different .xib, one for iPhone and one for iPad: And join them with your App Rep. The launcher will load the correct xib at startup. If you are on the iPad, you can use to check it (UI_USER_INTERFACE_IDIOM () == UIUserInterfaceIdiomPad) {/ code> or iPhone

c# - Debugging values in .NET framework source debugging -

Image
I have enabled net framework source debugging in VS2010 (premium, if this is the case), and I through methods I can step inside the NAT framework DLLs, but I can not read or strike around most values ​​and I get all a red exclamation mark and a text that says: Local or Can not get the value of logic 'Skip ZaparnalPropper As tees It is not available on the instruction pointer, possibly because it has been optimized away. Example: Is there any way to enable these values ​​to read? probably will help

perl - How should I deal with failing tests for bugs that will not be fixed -

I have a complex set of integration tests that uses WWW :: MacKay of Pearl to run the web app and Depending on the results, the specific combination of data there are more than 20 sub-ratios which make the logic of the test, the loop through the data, etc. Each test runs multiple test sub-routines on a different dataset. The web app is not correct, because many bug tests fail due to very specific combinations of data but these combinations are quite rare that our team does not bother to fix the bugs for a long time. Will do; Creating many other new features takes priority. So what should I do with unsuccessful tests? This is a combination of several dozen tests for combination of data. 1) I can not fail it because then the entire test suite will fail 2) If we comment on them, then it means that we do not remember to make that test for all other datasets. 3) I can add flags to a specific dataset which fails, and if the flag is set then the test is not run, but then I am going th...

c++ - OpenCV: reading image from std::in? -

क्या OpenCV का imread फ़ंक्शन को std :: in ? Mat imread (कॉन्स्ट स्ट्रिंग & amp; फ़ाइल नाम, int flags = 1); फ़ंक्शन केवल फ़ाइल नाम स्वीकार करता है, लेकिन क्या स्टडीन के लिए कुछ "जादू" मान है? ओपनसीवी आईमैडेकोड फ़ंक्शन प्रदान करता है जो फ़ाइल नाम के बजाए बफर पर काम करता है। आपको पहले एक बफर में stdin पढ़ना होगा।

uinavigationcontroller - Setting custom image for UINavigationBar or title: confusion during navigation -

I got enough information about how to use a custom image as a background for the UIInViewbar However, between the scenes, I have the following problem for which I have not received the answer. I have a UITabBarViewController object as a root controller for which I initiate subviews (one per tab) to several UINAVACentolar objects each as their root controller in their UITableViewController object. It is possible to navigate a child controller from each table view, which displays more detailed information about the selected cell. Now I have the problem below: I have set a custom background image in the navigation controller of each table view. This is done by overwriting the drawRect method of UINavigationBar. When a user goes down in the detail view of each table view, then the image should be replaced with the title of the detail view. I complete it using a global variable and I update it in every view in every scene and use the condition inside the overwrite direct method. So ...

php - smarty error where there is no errors -

I get this error Sometimes [ 28-Mar-2011 14:22:20] PHP Notices: The function call 'get_template_vars' is unknown or deprecated. at /home/jordan/public_html/includes/smrty/sysplugins/smarty_internal_wrapper.php but I can not use this function to any Not used in the php file, and it is not present in any php file in the project (by opening all php files and searching through np ++ and all of them) / P> However, why is this error visible error log, and how to fix it? i smarty 3.0 thanks First of all, make sure you're using the latest, stable version of Smarty. The error you are getting is from Smarty, who is trying to convert the old, smarty style into a new Smarty 3 style. It can be in your code or in template tags, plugins etc. To find the culprit, try throwing into the debug_backtrace () in the convert_interface method of smarty_internal_wrapper.php

indexing - How to remove old Hibernate Search index -

I use the search hibernate for full-text search in your web application to index my administrative panel for button I speak it with this code: fullTextSession.createIndexer () .purgeAllOnStart (true) .optimizeAfterPurge (true) .optimizeOnFinish (true) .batchSizeToLoadObjects (25). ThreadsOoLoad object (5). ThreadsFourSavisent Fitting (20). Start & Wight (); If the index was created correctly and then I continued to drive the old index files and do Purnubhit again this button, and the program creates a new index Similarly Could you help me remove the old index files before you create new? delete the I also work so to speak, but only when I shut down my app I index Then I set them back on startup. Have you tried to call all () instead of removing the bridge AllOnStart ()? This is the reason why I call the app closure and it works. To be safe, after cleansing the indexes, I actually delete my index directory and all the files / folders from the disk.

python - Dendrogram generated by scipy-cluster customisation -

Image
यह एक अनुवर्ती कार्रवाई है से matplotlib.pyplot आयात शो से scipy.spatial.distance आयात pdist से scipy.cluster.hirarchy आयात लिंक, numpy.random आयात रैंड एक्स = रैंड (5, 3) एक्स से dendrogram [ 0: 5,:] * = 2 वाई = पीडीआईस्ट (एक्स) जेड = लिंक (वाई) डेन्ड्रोग्राम (जेड) शो () जब डेंड्रोग्राम () कुंजी ivl, पत्ते, रंग_ सूची, icoord के साथ एक शब्दकोश देता है जो कि पाइपोट उठा रहा है pyplot के पास जाने से पहले लेबल और पत्ती की लंबाई कैसे संशोधित कर सकते हैं d = dendrogram (Z ) डी ['पत्ते'] = ['लेबल 1', 'लेबल 2', 'लेबल 3', 'लेबल 4', 'लेबल 5'] इसे प्रभावित नहीं करता है। पत्ती की लम्बाई कुछ ऐसा होनी चाहिए: के अनुसार, आपको लेबल को परिभाषित करने में सक्षम होना चाहिए जब आप इसे कॉल कर रहे हों (या तो लेबल या leaf_label_func आर्ग्स)। इसलिए लेबल के साथ बाद में छेड़छाड़ करने की कोई आवश्यकता नहीं है।

iphone - Animate a UIButton from one image to another -

I saw in Jamie Oliver App, when you click on a button, it's a smooth transition from one size. Does anyone know how this is done? I tried to use some UIView animations, but none of them satisfies my needs The UI animation alone can not give you that effect .. To get the effect you need to pair with the changes that you are talking about, try it in the following ways you will get what you want ... [UIView startAnimations: @ "zoomin" concurrent RT: nil]; [UIView Set Animation Duration: 0.25]; StarImage.transform = CGF Trans Transform Memory Cache (2.5, 2.5); [UIView commitAnimations]; [UIView Start Permissions: @ "Zoom Out" Reference: Zero]; [UIView Set Animation Duration: 0.25]; StarImage.transform = CGF TransFormsMacecale (1, 1); [UIView commitAnimations];

Why doesn't >> prepend strings in Ruby? -

रूबी में, आप & lt; & lt; : & gt; & gt; "नमस्ते" & lt; & lt; "विश्व" = & gt; "HelloWorld" तो आप उन्हें & gt; & gt; ? & gt; & gt; "नमस्ते" & gt; & gt; "विश्व" नं। विधि: अनिर्दिष्ट विधि `& gt; & gt; ' "नमस्ते" के लिए: स्ट्रिंग मुझे एहसास है कि स्ट्रिंग में & gt; & gt; विधि निर्धारित नहीं है, लेकिन तर्क क्या है इसके पीछे? रूबी 1.9.3 ने एक स्ट्रिंग # प्रीपेड विधि जोड़ा। प्रीपेड [1] को जोड़ने के बारे में प्रस्ताव में "& gt; & gt;" भी शामिल है विधि, और उस क्रियान्वयन के बारे में धागा पर कुछ चर्चा है [2]: मैटज़ कहते हैं: "& gt; & gt; दिलचस्प नोटेशन इसके बारे में नहीं सोचती।" सोरिया कहती है: "यह पैच बाहर आईआरसी की तरफ कई बार चर्चा की गई है" हालांकि धागे के अंत में, निष्कर्ष स्ट्रिंग # प्रीपेड स्वीकार करना था, और यह कि " मुझे इसके बारे में कोई अन्य चर्चा नहीं मिल रही थी ... किस...

custom action - wix - no rows with my CA in InstallExecuteSequence Table -

मेरे पास ऐसा कोड है & lt; fragment & gt; & Lt; कस्टम एक्शन आईडी = "आईप्राइजलाइज्ड" त्रुटि = "आपको व्यवस्थापक होना चाहिए" / & gt; & LT; InstallExecuteSequence & gt; & Lt; कस्टम एक्शन = "आईप्राइजिलिज्ड" से पहले = "लॉन्च कंडिशन" & gt; व्यवस्थापक नहीं; & lt; / custom & gt; & Lt; / InstallExecuteSequence & gt; & Lt; कस्टम एक्शन आईडी = "install_myfile" फ़ाइलकी = "id_myfile.exe" ExeCommand = "/ install" वापसी = "चेक" / & gt; & LT; InstallExecuteSequence & gt; & Lt; कस्टम एक्शन = "install_myfile" अनुक्रम = "5750" / & gt; & Lt; / InstallExecuteSequence & gt; & Lt; / टुकड़ा & gt; लेकिन इंस्टॉलर इस टुकड़े को अनदेखा करता है। मैंने ओर्का.एक्सए के साथ एमएसआई-डेटाबेस देखा और मैंने पाया कि InstallExecuteSequence टेबल में इस कस्टम क्रियाओं के साथ कोई पंक्ति नहीं है I समस्या क्या है? क्या मुझे अपने कस्टम कार्...

objective c - Measuring the UITableView Scrolling Performance - iphone -

I am trying to measure scrolling performance for my UITableView, between using the subview and viewing myself . As we know about scroll display, some famous articles (and help us with technology, and all point at the same point): When we have lots of subviews, we should go with the draw . The problem is that I do not know how to benchmark performance in any case: using a subview or drawing. And the drawing is really harder than the subview, so it's difficult to understand everyone to go directly with the drawing. I am trying to write 2 small samples and write the results of 2 techniques and benchmark performance. I am currently trying with this, but it produces the same results for both techniques: NSDate * date = [date of NSDate]; Stable NSString * cell identifier = @ "cell identifier"; Custom Drawing Tab Viewable * Cell = (Custom Drawertab Viewer *) [Self Tablesviews DeuRubualCalified Identifier: Cell Identifier]; If (cell == zero) {cell == [[Custom DockingTabw...

hibernate mapping for list of classes -

I have a class a {a_id, other property list} and square b {b_id, other properties} There are separate tables for B and Mapping tables A_B (a_id, b_id, displayorder). Entries are fixed in the table, we can insert / update / remove from Table A. I try to map it to hibernate using it from the list but it is not inserting any row in A_B. What should be the ideal way to map the landscape up? & lt; Class name = "A" table = "A" & gt; & Lt; Id name = "templateKey" column = "templateKey" & gt; & Lt; Generator class = "parent" /> & Lt; / Id & gt; & Lt; Property Name = "id" column = "id" / & gt; & Lt; Property Name = "Name" column = "Name" /> & Lt; List name = "selected column" table = "A_B" & gt; & Lt; Key column = "templateKey" /> & Lt; Index-index column = "display order" /> & Lt; One-to-...

New to Ipad, familiar with SQL, how to get started -

I have been a SQL Writer using MS Access a few years ago and given an iPad on my retirement. I want to create simple database-driven apps using SQL. I downloaded the SQLite editor from the App Store but it seems that there is some error in it. questions. Do I need an Apple Computer as a workstation and then copy it to the iPad, or can I use my Windows 7 PC as an authoring tool. Where do I find the tools to increase the graphics database search results? Do I need to use C or C ++ to create an application, because I never got to learn it I know that's a strange question, but Google searches completely leave me in the dark on this subject, yet I'm wet that most apps revolve around some database manipulation. May be helpful if I find a link to a series Hi - To develop native applications for iOS devices, you need knowledge in XCode Environment and Objective-C It's a little strange and an example. For this you will need to run Mac OS on a Mac or virtual box. You can...

c# - Choosing between exception and return value -

I have created a class that parse some documents from the file. Parser {public parse (string filename) {/}} In that situation, sometimes parsing errors in that situation Some special data has to be returned. I have created a special class for this class ParsingError {// some data} How can I handle this kind of errors correctly? There are at least two options: Revert your own exception or price. Option A myParser Parse (filename, error outside); Option two try {myParser.Parse (fileName)} hold (MyParsingException ex) {// Usage error Field} UPDATE If I do not wrong the ideology behind the exception, then this extraordinary thing should be tackled, it is such a situation which is not the law This would be of the opinion that for example: Finds unknown fields in the Parser file, or the encoding is incorrect Think of how normal it is to have a parsing error if it is normal - a return value of Favors should be used for an exception which is not...

mysql - Granting access to database without knowing the password -

Then, there is a grant query for a user to provide access to a database: Dbname. * To debug @ @% 'accredited by' Dbpasswd '; Now, the problem with our system is that we do not know the database password and can not reverse engineer because it is a hash. Is it possible to clearly define the privilege without knowing the database password? The current system is very complex, also to find out where the database configuration file is located and working on it for days has not resulted in any results actually appreciate some help. PS: What is the privilege in the user table in mysql database? There are: Select_priv, Insert_priv, Update_priv, Delete_priv but they are defined per user, not on database basis. Do not use the just identifier ... section, this will not change the current password. In the "user" table, select_priv, Insert_priv, Update_priv, Delete_priv indicate that the user has these rights on all the databases (otherwise, these columns are...

javascript - if not checked input then follow -

I tried Google, but nothing could be found about this situation, MB got worse :) Anything, I need to create a form with an input checkbox, when the checkbox is checked, it goes to a link when it is not checked, it adheres to another link. , Because now it's okay here: & lt; Form name = "EOL" method = "post" verb = "/ index.cfm? Fusion = objects 2.view_product_list and eol = 1" & gt; EOL Products & lt; Input type = "checkbox" name = "EOL_input" value = "0" & ​​lt; Cfif notdefined ('attributes.eol') & gt; & Lt; Cfelse & gt; Checked & lt; / Cfif> OnClick = "eol.submit ();" & Gt; & Lt; / Form & gt; If the checkbox is not checked how can I follow the second link? I think it can be done by jquery, do anyone have any ideas? Thanks for the help! Click

focus - Jquery live with select method problem in internet explorer -

I want to use jquery live () to automatically select text in the text box, but in it It does not seem to work. Internet Explorer 8. Here's the code: & Lt; / Body & gt; & Lt; / Html & gt; If, however, I tell the alert (1) statement that it works. Any idea what the problem is? It's weird, it also works if you do not use live events:

python - GAE " no attribute 'HTTPSHandler' " dev_appserver.py -

I am trying to use Google Appenge Pethathon SKD from my Ubuntu lucid I've already compiled python2.5. But when I execute any "dev_appserver.py" command with it, I receive the following error: Traceback (last call call): File "dev_appserver.py", In line 69, the & lt; Module & gt; Run_file (__ file__, global ()) file "dev_appserver.py", line 65, run_file execfile (script_path, globals_) file "/home/rohan/workspace/app_en/google_appengine/google/appengine/tools/dev_appserver_main.py" , Line 90, & lt; Module & gt; Import the APCF file from Google.appengine.tools "/media/Ultimate/WebD/django/app_engine/google_appengine/google/appengine/tools/appcfg.py", in line 59, in & lt; Module & gt; Appointie_rpc file from Google.appengine.tools "/ media / vomit / web / digging / app_guide/google_appengine/google/appengine/tools/appengine_rpc.py" import, line 24, in & lt; Module & gt; Import the fancy_...

Raise an error if a variable is not defined in Ant -

I need a user to define a variable in the compilation of time, I still have to decide whether this An environment variable or property ( ant -Dname = value ). "text"> First question: If the variable is for environment-specific conditions outside the application, then it is an environment (OS) variable. Otherwise, make it a property, obviously, it does not fully answer your question, because what you still mean to decide (for your app or system) is to say that a variable environment Another specific guide is to ask yourself if you can apply one or more applications that depend on the different values ​​of the same variable, all of which are possibly deployed on the same system. Are being done. In such a case, we can not use an environment variable, the only way to go with the property-based variable. For the second question: Use the ant to undo Work if no condition or property is set. With an ant document on failed function, you can get an ide...

ruby - Nested Rails Objects Forms and haml -

I've got a rail model class which comes under the other models in the application. Now I have to submit an edit form. Below is a sample class that I want to receive: I want to update the record of related items respectively ... class booking & lt; ActiveRecord :: Base `is_to: user belongs_to: section belongs_to: invoice ,: class_name = & gt; "Department" end Even after this I have tried to render the edited form. I am not familiar with the haml syntax and there are very few documents that cover this matter. = form_for: booking, url = & gt; Booking_path (@ booking),: html = & gt; {: Method = & gt; : Put} do | Form | % Ul - @ booking.rursers.free_message.each me. Msg | % Li = msg = Labels: Bookings:: Status = form.text_field: Status --form.fields_for: User | User_form | / User_form.label: user ,: fullname = user_form.text_field: fullname = form.submit "update this booking" Thank you for your reply .. haml indentation is n...

c# - Partial scaling of a composed elements in WPF -

I am in the following situation: Designing an interactive flow-chart GUI I animate the scale below the flow-chart animation Was stuck with. Elements that compose the flow-chart are reduced, but they remain active. I have something like this: & lt; Canvas canvas.lift = "55" canvas .Top = "720" height = "100" width = "500" tag = "stepdown" & gt; & Lt; Line stroke = "# 99ccff" strokectaction = "8" x1 = "0" x2 = "720" Y1 = "10" Y2 = "10" & gt; & Lt; Polygon Stroke = "Black" StrokeThickness = "2" Points = "0,30 40,0 40,60" canvas Lift = "- 20" canvas. Tap = "-20" Fill = "# 99ccf" & gt; & Lt; / Polygon & gt; & Lt; Polygon stroke = "black" strokectniness = "2" points = "0,0 0,60 40,30" canvas Lift = "720" canvas. Tap = "-20" Fill = ...

php - regex replace spaces in text with -

मेरे पास एक html कोड है इस तरह से: & lt; div & gt; (& Lt; - यह एक टैब है) blaaaa ttoooo & lt; span id = "span" class = "class" & gt; हायिये बाइट & lt; / span & gt; (& Lt; - ये 4 अंतरिक्ष वर्ण हैं) & lt; span id = "span" class = "class" & gt; स्वागत वापस & lt; / span & gt; & Lt; / div & gt; मैं किसी भी स्थान (स्थान) को बदलना चाहता हूं (केवल जगह: "" , और कोई टैब नहीं ( \ t )) & amp; nbsp; के साथ & gt; और & lt; (इसका मतलब है कि स्थान (html) में नहीं है) (पीएचपी और रेगएक्स के साथ) ऐसा करने के बाद, मेरा कोड इसे: & lt; div & gt; Blaaaa & amp; nbsp; ttoooo & lt; span id = "span" class = "class" & gt; हायिये & amp; nbsp; बाय & lt; / span & gt; & Lt; - & amp; nbsp; ये & amp; nbsp; हैं & amp; nbsp; 4 & amp; nbsp; स्थान & amp; nbsp; चरित्र & lt; span id = "span" class =...

model view controller - Setting page title dynamically with tiles2 and spring mvc -

I have been asking this question for myself for a long time and I have not found a good solution for this on the web. That's why I'm using tiles 2 and Spring MVC and I want to set the page title dynamically within the body tile. Is there any way? & lt; Definition name = "main template" template = "/ web-nf / template / main.jsp" & gt; & Lt; Put-attribute name = "header" value = "/ WEB-INF / templates / haired.jsp" /> & Lt; Put-attribute name = "footer" value = "/ WEB-INF / templates / pastor.jsp" /> & Lt; Put-attribute name = "body" value = "/ WEB-INF / template / empty .jsp" /> & Lt; / Definition & gt; & Lt; Definition name = "list" expanded = "main theme" & gt; & Lt; Put-attribute name = "body" value = "/ WEB-INF / jsp / list.jsp" /> & Lt; / Definition & gt; My current solution is settin...

mysql - Post Type in Database - INT or VARCHAR -

I am creating a forum type of site that will contain different types of posts: discussion, question and comment. What would be considered the preferred method of storage for both performance and readability? For example: id | Post type | Post Title 1 2 Example Title or id | Post type | PostTitle 1 question example title Performance is my main goal, so my first idea was to store it as an INT. However, to get the post type name (which I need every time) I have run another incredibly if / else statement. I would like the type of VARCHAR because it is / if avoiding other business and remnants are readable, but I have uncertainty. If you almost always need a text version of the post type, you can add additional tables and additional code To avoid, it is possible to use VARCHAR type.

abap - Maximum records in SAP function module table parameter -

How many records can be passed to a function module through table parameters? I have never hit max in the function call but in other programs this Depends on the type of table The maximum amount that can be captured on the internal table (including its internal administration) is 2 gigabytes. A more realistic figure is up to 500 megabytes. An additional restriction for the hashed tables is that there can not be more than 2 million entries in them.

iphone - Any way to alter text attributes within a UITextField? -

Just said - I have to keep scrollable text fields with paragraphs of text. Some sentences are bold and blue while others are red and normal, while the rest is normal black / normal text. Any way to change the properties within the text / within the text? Thank you! A lie to your conscience: No, you can not do this. TRUTH (Use with caution): You can create multi strings ... using core text (but still not qualified - not worth it ). Agreement: Use a UIWebView and HTML :) can not say more clearly than that.

c# - Hold temporary information in gridview before post-back -

I have a dialog where I will register one (or multiple) contacts. The contact goes to the gridview, where they can be edited or deleted. The data in the gridview can only be saved in the database at the end of the process. How can I get it? Model Code $ (function () {$ (". ModalBox"). Dialog ({autoOpen (false, height: 400) , Resizable: false, drag-able: false, width: 602, model: true, open: function (type, data) {$ (this) .Parent (). AppendTo ($ ("form: first")); }}}}}; OBS: I do not have a good sample of CSharp or HTML code 'Cuz I do not know how to achieve this. All my codes are looking at the dirty atom (already trying many things) My grid U is an eskx, and the modal is in the same ASCX. I accept some temporary table, or something like that will help, but I have never done anything like this (a shop Cart software looks like), and I do not even know how it looks for. Thanks if you can sample some code, this is very much It w...

ruby on rails - How to exclude file in rcov and cucumber? -

Image
I want to exclude the pictures below like this picture, so it is not necessary to test, therefore How to solve the problem? From that picture, I think you want to exclude them from coverage analysis? If so, something like this can help:

jquery - val(); returning nothing -

Using jQuery ... I have a textarea of ​​ val (); trying to get ... and it is not working you said: What am I doing? & lt; Script type = "text / javascript" src = "jquery-1.5.1.min.js" & gt; & Lt; / Script & gt; & Lt; Script type = "text / javascript" & gt; $ (Function () {$ (".comment_button"). (Function () {var test = $ ("# content"). Val (); var data string = 'content =' + test; warnings ('you Said: '+ test);});}); & Lt; / Script & gt; & Lt; Style & gt; #error, #success {display: none;} & lt; / Style & gt; & Lt; Php included 'inc / main.php' ;? & Gt; & Lt; H1 & gt; Trial & lt; / H1> & Lt; Div id = "error" & gt; Error ... & lt; / Div & gt; & Lt; Div id = "success" & gt; Success ... & lt; / Div & gt; & Lt; Form name = "form" = "ask.php" method = "post...

iphone - how to add video to app -

I'm trying to create an app that plays a video, and I have problems I heard the sound but no video I have honestly tried to look around for a solution, but all suggestions do not seem to work. Here's the code: Videotest vicca controller. M #import "Videotest VIPU Controller." @ Implementation videotest to create a visual hierarchy for VIPU controller // program, - (zero) load view {NSString * moviePath = [[[NSBundle main bundle] resourcepath] stringbapping path companion: @ "Spitfiregril_iphone.m4v"]; MPMoviePlayerController * TheMovie = [[MPMoviePlayerController alloc] initWithContentURL: [NSUr File URLWithPath: MoviePath]]; TheMovie.controlStyle = MPVM Control Style Default; [[NSNotificationCenter defaultCenter] addObserver: Self Selector: @Selector (Movie Fixed Callback) Name: MPMVplayerplaybackDefinition Object: Movie]; [Movie play]; } / * // Implement viewDidload to make additional setup after loading the view, especially with a nibb. - (zero) ...

asp.net mvc 3 - jQuery fullcalendar plugin in MVC3 page. Updating data in Ajax style -

कुछ ईवेंट के साथ एक संपादन योग्य fullcalendar ग्रिड छुपाएं फ़ॉर्म सबमिट करें हिजैक्सेड कॉलबैक फ़ंक्शन सबमिट करें और ActionMethod जो कुछ जेसन रीसल्ट वापस करने के लिए सोचते हैं। लक्ष्य है - जब उपयोगकर्ता एक दिन से दूसरे को एक घटना को छोड़ देता है, तो फॉर्म अपने डेटा को सर्वर पर भेजता है, सर्वर परिवर्तित डेटा की वैधता की जांच करता है और परिणाम देता है। / P> तो मूल रूप से fullcalendar eventDrop इवेंट प्रदान करता है, कि मैं इस तरह से उपयोग कर सकते हैं: eventDrop: फ़ंक्शन (ईवेंट, दिन डेलटा, मिनट डेलटा, ऑलडे, रिवर्सफ़ेंक) {$ (" कार्रवाई $ = 'UpdateCalendar'] ") जमा ()।; } और इस तरह स्निपेट के साथ मैं सबमिट व्यवहार बदल सकता हूँ: $ (document) .ready (function () {$ ("form [ एक्शन $ = 'अपडेट कैलेंडर'] ")। सबमिट करें (फ़ंक्शन () {... यहां डेटा को सीरियलाइज किया जाना चाहिए और सर्वर पर भेजा जाना चाहिए। ...}); वापसी वापसी; // डिफ़ॉल्ट ऑब्जेक्ट सबमिट करने वाले व्यवहार को ओवरराइड करें} प्रश्न है। Fullcalendar ग्रिड पर ईवेंट सरणी कैसे ...