We want to try Ext JS on new project. Is there any well-known best practice for integrating Ext JS with server side Java (Spring/Hibernate/JS) application? Is DWR a good choice for that?
Sometimes when I compile my flex app, I got this error
Unable to create source GeneratedAsset31_dataClass. WebCe line 25 1259045578886 1546
But after I cleaned the project, this error disappeared.
It's not a big problem but very annoying and I can not find any clue by search the internet.
Any suggestion?
hi all,
I'm making a http get request like this:
try {
HttpClient client = new DefaultHttpClient();
String getURL = "http://busspur02.aseag.de/bs.exe?SID=5FC39&ScreenX=1440&ScreenY=900&CMD=CR&Karten=true&DatumT="+day+"&DatumM="+month+"&DatumJ="+year+"&ZeitH="+hour+"&ZeitM="+min+"&Intervall=60&Suchen=(S)uchen>0=Aachen&T0=H&HT0="+start_from+">1=Aachen&T0=H&HT1="+destination+"";
HttpGet get = new HttpGet(getURL);
HttpResponse responseGet = client.execute(get);
HttpEntity resEntityGet = responseGet.getEntity();
if (resEntityGet != null) {
//do something with the response
Log.i("GET RESPONSE",EntityUtils.toString(resEntityGet));
}
........
It all works well... the only problem: the output from Log.i is cut-off... It's not the complete html page. If I make the same request in a browser, I get 3x the output in opposition to making the request in the emulator and using the above code.... what's wrong?
ERROR:
04-30 14:01:01.287: WARN/System.err(1088): java.lang.IllegalStateException: Content has been consumed
04-30 14:01:01.297: WARN/System.err(1088): at org.apache.http.entity.BasicHttpEntity.getContent(BasicHttpEntity.java:84)
04-30 14:01:01.297: WARN/System.err(1088): at org.apache.http.conn.BasicManagedEntity.getContent(BasicManagedEntity.java:100)
04-30 14:01:01.307: WARN/System.err(1088): at org.apache.http.util.EntityUtils.toString(EntityUtils.java:112)
04-30 14:01:01.307: WARN/System.err(1088): at org.apache.http.util.EntityUtils.toString(EntityUtils.java:146)
04-30 14:01:01.307: WARN/System.err(1088): at mjb.project.AVV.ParseHTML.start(ParseHTML.java:177)
04-30 14:01:01.307: WARN/System.err(1088): at mjb.project.AVV.ParseHTML.onCreate(ParseHTML.java:139)
04-30 14:01:01.307: WARN/System.err(1088): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
04-30 14:01:01.327: WARN/System.err(1088): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2459)
04-30 14:01:01.327: WARN/System.err(1088): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2512)
04-30 14:01:01.327: WARN/System.err(1088): at android.app.ActivityThread.access$2200(ActivityThread.java:119)
04-30 14:01:01.347: WARN/System.err(1088): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1863)
04-30 14:01:01.347: WARN/System.err(1088): at android.os.Handler.dispatchMessage(Handler.java:99)
04-30 14:01:01.347: WARN/System.err(1088): at android.os.Looper.loop(Looper.java:123)
04-30 14:01:01.347: WARN/System.err(1088): at android.app.ActivityThread.main(ActivityThread.java:4363)
04-30 14:01:01.347: WARN/System.err(1088): at java.lang.reflect.Method.invokeNative(Native Method)
04-30 14:01:01.357: WARN/System.err(1088): at java.lang.reflect.Method.invoke(Method.java:521)
04-30 14:01:01.357: WARN/System.err(1088): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
04-30 14:01:01.357: WARN/System.err(1088): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
04-30 14:01:01.357: WARN/System.err(1088): at dalvik.system.NativeStart.main(Native Method
)
I have an ASP.NET VB.NET web project that references a VB.NET class library.
I add a new property to a class in the class library, then, from the web app, I expect to be able to use it immediately w/o errors and with full intellisense.
It used to work in 2008.
When I compile the class library, it becomes available but not until.
Was this nice feature taken away, perhaps in the interest of speed?
Is it possible to automatically encrypt files via 'git push' before transferring to a remote repository? And automatically decode them while 'git pull'.
I.e, if I have some remote server with shared access with git repository there, and I don't want to our project was stolen without a permission...
Maybe there is some special git-hooks before push and after pull?
For my side project kwiqi, I use ActionMailer's 'receive' method to process incoming email messages for tracking my expenses. Heroku doesn't have a local mail server running that same code will not work. One solution I've thought of is to periodically hit a controller action that will pull messages from Gmail. Are there other solutions that are reasonable? Is anyone processing incoming emails in Heroku?
Hi All,
In my project i have string suppose NSString* str = @"$ 120.00";
From the above string i am getting every individual character, Now i have to get all integres in the string i.e, $ is not a integer so i dont want that, "1" is a integer i want that like this . How can i do that can any one help me
Thank you
I'm trying to learn some Smalltalk. Fisrt found was Squeak, but since it has been removed from Gentoo ebuild tree because of security problem, so I decided to find an alternative.
Then I found Pharo through Seaside project, after I downloaded Pharo 1.0 package, there are actually a SqueakVM inside!
So, my question is: Is Pharo just a repackaging/rebranding of Squeak?
And are those security problem of Squeak (bundle unsecure libs) still applied to Pharo?
Thanks!
Hi,
In my C++ project when I have to go for the inclusion (#include "myclass.h") of header files?? And when I have to go for forward declaration of the class (class CMyClass;) ?? Any suggestions regarding this are welcome.
Hi,
I am engaged in a project where i need to how the path bread crumbs to the user like
Home (This is linked to home page) (page name)
like
Home contacts
and in contacts like
Contacts create
Contacts edit
etc.
Is there best practice how to do this in spring without he usage of spring web flow. I am not using spring web flow and simple using the spring MVC
Vaibhav Saxena
This may be off-topic, but I decided to ask it here anyway, because it's very related to programming.
I'm looking for a site which will host a free software project for free, offer SVN and Hg access, bug tracking &co, space for a blog...
Any tips?
Also, should this be community wiki?
Hello, all :)
I'm looking for a tool that works on Windows to reformat some C++ code in my codebase. Essentially, I've got some code I wrote a while ago that I'd like to use, but it doesn't match the style I'm using in a more recent project.
What's the best way to reformat C++ code in a standard manner?
Billy3
Hi, I'm developing a Django project and I've to show a multicolumn list for the different objects of a table. I like the design of the django-admin for showing list-objects so I looked at the code to see how it works. As I am a CSS begginer the code seemed a bit difficult and extensive to comprehend.
Is there a simplier way to make what I want or actually the CSS code of the django-admin is the path to follow?
I want to pack the project into a zip-file and have the build date time (or the current date time) as part of the zip-filename.
$(TargetDir)\7za.exe -a release.zip *.*
So it would be nice to incorporate the date into the release.zip, something like release-14-3-2010-22_56.zip
Is it possible to define custom post-build macros?
Hi,
I have a project where the is windows, freebsd and linux servers.
I have to monitor some services :
mysql replication status
www status
status with regexp on a webpage
space on disk
Is there open source software to do this and rapid to deploy ?
Thanks in advance
Best regards
Hi,
As the title suggests, I am trying to add a text editor with syntax highlighting to a project.
I have asked a similar question before and got pointed in the direction of either:
a) a UITextView and NSAttributedStrings
Or
b) a web view
Can anyone shed some light on using either of These methods or suggest an alternative? I have searched around for a few hours now and have found nothing.
Jack
I am working on a view-based project. My first view is a UIView where i fetch my data. Then i add a subview to my window which is a UITableView. Now i am unable to populate my data to UITableView. Please help..
I want to add -Xlint:deprecated to the java compiler while building android app.
I've seen the compilerarg tag inside javac tags, but the generated build.xml for the standard project doesn't have such a tag.
Any hint?
I need to deploy a new item/project template and I found out that the way to do it is to copy it to [Visual Studio folder]\Common7\IDE\ItemTemplates.
How can I find where VS was installed (in my case VS2010)?
WiX code will be welcomed...
Hi,
simple question:
How I can find out commands for a DLLImport in C#.Net and / or the Entry Points of the DLL?
Background:
I will use the MobileDevice-Libary from ITunes to send commands to an Iphone. I know round about 90% of the DLL-Commands from another open source project, but there are still 10% left, and I need a command of this 10%.
hi,
i have a nant script that i use to build my .net project and i'm looking to see if there is a way to upload the resulted assemblies to some remote folder using an FTP task of nant.
i couldn't find any good example online, and i'm wonder if anyone know how to do it, if its doable at all.
FYI: i'm running it on a windows machine, if it makes any difference.
Thanks,
Ori
I am doing billing project.i am passing invoice number to another .aspx page.
/default.aspx?editid=5 its my url. if i changed my editid no=4 then the records also
changes.how to solve this issue??
page1:
LinkButton InvoiceEdit = sender as LinkButton;
string EditId = InvoiceEdit.CommandArgument.ToString();
Response.Redirect("edit invoice.aspx?EditId=" + EditId);
page2:
String invoiceId = Request.QueryString["InvoiceId"].ToString();
Hey guys, I been wondering if VSX is backwards compatible in coding, as there had been very limited and vague resources for the VS2010 add-in API.
I need to create an add-in for a project, but since I've never coded in VSX before, I was wondering if anyone knew.
Thanks in advance.
I'm considering building a Church Management System (ChMS), essentially a CRM, but specifically tailored for churches. I've looked at several existing CRM and open source ChMS solutions but have not been satisfied with any of them. Before I start writing something from the ground up - I was wondering if anyone was aware of an open source asp.net application that might be a good fit for this project? Particularly, the application needs to perform CRUD and optimally allow for dynamic user-based creation/editing of fields associated with contacts etc.