[AngularJS] Re: How to convert a pdf form to xml or json using AngularJS
Hi, Please give some solution. On Thursday, March 23, 2017 at 8:15:17 PM UTC+5:30, Sander Elias wrote: > > Hi Jyoti, > > If you can do it in c#, you can do it server-side. Just process the > document once, and keep the resulting json in a cache. I don't think you > can do it as efficient in the browser. But if you search long enough, I'm > pretty sure there is a JS library that can do what you want. Either way, > not much of an Angular issue! (neverteless, if you find something, please > report back, it might be interesting, even without being Angularish ;) ) > > Regards > Sander > -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
[AngularJS] Dropdown/select list controller - setting logged in user as the default user
Hello, I have a select/dropdown controller with a list of names populated at initial startup and this works. What I like to do is to have the select controller have the logged in user as the default user selected/displayed. for example, loggedInMember = 3 (3 representing the index number of the user who is logged in). If possible, I also like to minimize the coding in the html to keep it clean. *So, the question is how do i go about doing that?* *form.component.html* Assign incident to: (default To: Mike Smith) {{mem.usr_firstname}} {{mem.usr_lastname}} -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
[AngularJS] Re: unable to read rest server with angular 2
>From the error on the grails side (the API side), it appears to think the request header is incorrect. So is it possible that Angular is not sending the correct header? But I am confused that Grails accepts the request, does everything it should do like get data and then decides the request header is wrong. -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
[AngularJS] Re: unable to read rest server with angular 2
If the problem was coming from your Angular code, I couldn't imagine why your API would be throwing that error, which makes me think it must be on the API side. I'm not a Java developer, so those errors don't make much sense to me. On Friday, March 24, 2017 at 7:57:23 AM UTC-6, norricorp wrote: > > Just to add, I have found this > > http://tomcat.10.x6.nabble.com/How-to-write-a-correct-HTTP-request-to-Tomcat-8-5-4-instance-td5054729.html > in summary, it wonders if the correct end of line is being sent. > I was running beta16 of angular2 and then upgraded to beta32 and now > 1.rc4. And these problems started around the time of leaving beta16. > Is there something I was supposed to change for the later versions? > I really do not think the problem is at the grails end but it is obvious I > do need help on this. > -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
[AngularJS] Re: unable to read rest server with angular 2
Just to add, I have found this http://tomcat.10.x6.nabble.com/How-to-write-a-correct-HTTP-request-to-Tomcat-8-5-4-instance-td5054729.html in summary, it wonders if the correct end of line is being sent. I was running beta16 of angular2 and then upgraded to beta32 and now 1.rc4. And these problems started around the time of leaving beta16. Is there something I was supposed to change for the later versions? I really do not think the problem is at the grails end but it is obvious I do need help on this. -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
[AngularJS] Re: unable to read rest server with angular 2
Looking through the grails log, I see the following. The request from the browser is being picked up 24 Mar 2017;09:50:40.737 DEBUG org.apache.coyote.http11.Http11InputBuffer - Received [GET /heroes?max=15 HTTP/1.1^M Host: centos64:8080^M User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:52.0) Gecko/20100101 Firefox/52.0^M Accept: application/json, text/plain, */*^M Accept-Language: en-GB,en;q=0.5^M Accept-Encoding: gzip, deflate^M Referer: http://localhost:4200/dashboard^M Origin: http://localhost:4200^M DNT: 1^M Connection: keep-alive^M And then it finds the data 24 Mar 2017;09:50:42.299 DEBUG org.hibernate.engine.internal.Collections - Collection found: [heroes2.Publisher.heroes#1], was: [heroes2.Publisher.heroes#1] (initialized) 24 Mar 2017;09:50:42.299 DEBUG org.hibernate.event.internal.AbstractFlushingEventListener - Flushed: 0 insertions, 0 updates, 0 deletions to 12 objects 24 Mar 2017;09:50:42.300 DEBUG org.hibernate.event.internal.AbstractFlushingEventListener - Flushed: 0 (re)creations, 0 updates, 0 removals to 1 collections 24 Mar 2017;09:50:42.300 DEBUG org.hibernate.internal.util.EntityPrinter - Listing entities: 24 Mar 2017;09:50:42.300 DEBUG org.hibernate.internal.util.EntityPrinter - heroes2.Hero{flight=false, invulnerable=false, strength=false, city=null, name=Iron Man, publisher=null, id=11, version=0} etc etc But then I get an error 24 Mar 2017;09:50:42.305 DEBUG org.grails.web.servlet.mvc.GrailsWebRequestFilter - Cleared Grails thread-bound request context: org.apache.catalina.connector.RequestFacade@1ae7a41a 24 Mar 2017;09:50:42.381 DEBUG org.apache.coyote.http11.Http11Processor - Error parsing HTTP request header java.io.EOFException: null at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.fillReadBuffer(NioEndpoint.java:1222) at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.read(NioEndpoint.java:1163) at org.apache.coyote.http11.Http11InputBuffer.fill(Http11InputBuffer.java:742) at org.apache.coyote.http11.Http11InputBuffer.parseRequestLine(Http11InputBuffer.java:404) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:994) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:785) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1425) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) 24 Mar 2017;09:50:42.382 DEBUG org.apache.coyote.http11.Http11Processor - Socket: [org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper@564d6ef5:org.apache.tomcat.util.net.NioChannel@49642f0f:java.nio.channels.SocketChannel[connected local=/192.168.1.81:8080 remote=/192.168.1.71:50944]], Status in: [OPEN_READ], State out: [CLOSED] 24 Mar 2017;09:50:42.382 DEBUG org.apache.tomcat.util.threads.LimitLatch - Counting down[http-nio-8080-exec-2] latch=1 And I am not sure what causes that. -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
[AngularJS] error TS5023: Unknown compiler option 'moduleResolution'.
Angular 2. None of the solutions I find work. > angular-quickstart@1.0.0 start C:\Users\. > tsc && concurrently "tsc -w" "lite-server" error TS5023: Unknown compiler option 'moduleResolution'. npm ERR! Windows_NT 10.0.10586 npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "start" npm ERR! node v6.10.0 npm ERR! npm v3.10.10 npm ERR! code ELIFECYCLE npm ERR! angular-quickstart@1.0.0 start: `tsc && concurrently "tsc -w" "lite-server" ` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the angular-quickstart@1.0.0 start script 'tsc && concurrently "tsc -w" "lite-server" ' updated everything. No luck. Any ideas. This error is just the latest. Getting old. Trying to learn to develop apps. Is reactjs any better? Thanks -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.