Re: Optimizing EOF Applications - what does this mean to you?
On Apr 3, 2012, at 9:37 PM, Chuck Hill wrote: > Hi, > > My topic for WOWODC this year is EOF Optimization. This was chosen based on > frequent requests in the yearly surveys. I do have some things to address, > but I would really like to hear what YOU are interested in for YOUR projects. > Please let me know and I will try my best to accommodate all requests. > > Thanks, > mightDelete, willDelete, willUpdate, willInsert, awakeFromInsertion: which one to use when? > Chuck > > -- > Chuck Hill Senior Consultant / VP Development > > Practical WebObjects - for developers who want to increase their overall > knowledge of WebObjects or who are trying to solve specific problems. > http://www.global-village.net/gvc/practical_webobjects > > > > > > > > > ___ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/johan%40netsense.nl > > This email sent to jo...@netsense.nl Vriendelijke Groeten, Johan Henselmans jo...@netsense.nl ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Optimizing EOF Applications - what does this mean to you?
Congratulations DD - Dr Dan. Possibly let me know the release date of IEEE journal. I do hope to circular this good piece of info to key personnels of local University, so to increase the awareness of wo. By practice, I was a EE too and a member of IEM. Cheers Cheong Hee On Wed, Apr 4, 2012 at 11:31 AM, Alexis Tual wrote: > Congratulations Dan, looking forward to read your paper ! > > Great ideas already mentionned, also : > - Fetching raw rows (using traditionnal fetchspec or own sql) > - Converting raw rows to eos efficiently > - Design : don't model "big" bi-directional to-many relationships > - Caching : EOSharedEditingContext (don't use it ?) / > ERXEnterpriseObjectCache > - How to detect performance problem (may be out of topic) : ERProfiling, > er.extensions.ERXAdaptorChannelDelegate.enabled... > > Thanks Chuck > > 2012/4/4 Daniel Beatty > >> Greetings Chuck, >> It is Dr., although, it becomes official on May 11th. The ITNG poster >> paper will be presented at the end of the month. The globe paper is under >> review, I expect to present it in December. The IEEE Journal pub is also >> under review. I expect the journal to go out some time this Summer. Since >> the dissertation has all three included, in dissertation form, I can >> provide a copy before the Texas system makes it publicly available. >> >> Dan >> >> Sent from my iPhone >> >> On Apr 3, 2012, at 1:25 PM, Chuck Hill wrote: >> >> > Hi Dan, >> > >> > Or is that Dr. Beatty now? :-) Are those papers publicly available? >> > >> > I'd be honored to be mentioned in your dissertation. >> > >> > >> > Cheers, >> > Chuck >> > >> > >> > On 2012-04-03, at 1:22 PM, Daniel Beatty wrote: >> > >> >> Greetings Pascal, >> >> You know, I need to pay more attention to those surveys. I just >> published three papers on that very subject.I suppose my papers may be >> contributing to a popularity wave of WO, don't we wish. >> >> >> >> Of course, I am anxious to hear Chuck's version of it. There is a lot >> about Wonder, and I seem to always have just the tip of the iceberg. >> >> >> >> Dan >> >> >> >> One thing I would like to ask you and Chuck. Would either of you mind >> being mentioned by name in the acknowledgements in my dissertation? I am >> about to finish publishing it, and it is already defended. It would mean a >> lot for me to give thanks to those helped me on this remarkable journey. >> >> >> >> Sent from my iPad >> >> >> >> On Apr 3, 2012, at 12:41 PM, Pascal Robert wrote: >> >> >> >>> Using the cache correctly (to make less requests to backend) >> >>> Dealing with mass fetching/updates/deletes >> >>> Design (for example: having BLOG columns in a separate table) >> >>> >> Hi, >> >> My topic for WOWODC this year is EOF Optimization. This was chosen >> based on frequent requests in the yearly surveys. I do have some things to >> address, but I would really like to hear what YOU are interested in for >> YOUR projects. Please let me know and I will try my best to accommodate >> all requests. >> >> Thanks, >> >> Chuck >> >> -- >> Chuck Hill Senior Consultant / VP Development >> >> Practical WebObjects - for developers who want to increase their >> overall knowledge of WebObjects or who are trying to solve specific >> problems. >> http://www.global-village.net/gvc/practical_webobjects >> >> >> >> >> >> >> >> >> ___ >> Do not post admin requests to the list. They will be ignored. >> Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) >> Help/Unsubscribe/Update your Subscription: >> >> https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca >> >> This email sent to prob...@macti.ca >> >>> >> >>> >> >>> ___ >> >>> Do not post admin requests to the list. They will be ignored. >> >>> Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) >> >>> Help/Unsubscribe/Update your Subscription: >> >>> >> https://lists.apple.com/mailman/options/webobjects-dev/danielbeatty%40mac.com >> >>> >> >>> This email sent to danielbea...@mac.com >> > >> > -- >> > Chuck Hill Senior Consultant / VP Development >> > >> > Practical WebObjects - for developers who want to increase their >> overall knowledge of WebObjects or who are trying to solve specific >> problems. >> > http://www.global-village.net/gvc/practical_webobjects >> > >> > >> > >> > >> > >> > >> > >> > >> ___ >> Do not post admin requests to the list. They will be ignored. >> Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) >> Help/Unsubscribe/Update your Subscription: >> >> https://lists.apple.com/mailman/options/webobjects-dev/alexis.tual%40gmail.com >> >> This email sent to alexis.t...@gmail.com >> > > > _
Re: [ANN] WOInject 1.0
On 15/03/2012, at 5:04 PM, Johann Werner wrote: > Am 15.03.2012 um 07:12 schrieb ISHIMOTO Ken: > >> Would be nice to see that at WOWODC in Action. > > +1 Hey, Henrique, I didn't see a response to this—any chance you'll be at WOWODC 12 and in the mood for a talk/demo/workshop on WOInject? Even informally? -- Paul. http://logicsquad.net/ ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Using Git WOWODC 2012 Session
Since I just switched over, I'd be curious to know which is better: multiple large repositories with many projects (ala Wonder) or an individual repository for each project. When I converted over from svn I went with the former than the latter, and it seems fine. Different workflows, what you do for your own projects, what you do with Wonder etc. E.g. https://www.youtube.com/watch?v=GYnOwPl8yCE and https://www.youtube.com/watch?v=m7r2X9qC8jo Now that I'm switched over to git I'm excited about being able to go off on wild tangents with branches then merging them back in without leaving projects in bizzaro limbo. Any tips or tricks on this topic? What are submodules and their use? I haven't a clue. Perhaps an overview of some of the GUIs out there (i.e. use this, don't use this). On Tue, Apr 3, 2012 at 5:56 PM, David Holt wrote: > Best practices for setting up repositories. One project per? All projects > in one? > Dealing with forks and making pull requests to Wonder > Jenkins :-) > > Sent from my iPad > > On 2012-04-03, at 3:39 PM, Kieran Kelleher wrote: > > > Following Chuck's lead what would you like to get out of the > "Using Git" session . what are the problems you are facing in the git > world? I have already done an outline of my session content, but would > definitely try to accommodate any requests also. > > > > Feel free to respond to this email in public list or in private. > > > > Regards and thanks, Kieran > > ___ > > Do not post admin requests to the list. They will be ignored. > > Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) > > Help/Unsubscribe/Update your Subscription: > > > https://lists.apple.com/mailman/options/webobjects-dev/programmingosx%40mac.com > > > > This email sent to programming...@mac.com > ___ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > > https://lists.apple.com/mailman/options/webobjects-dev/ted.archibald%40gmail.com > > This email sent to ted.archib...@gmail.com > ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Optimizing EOF Applications - what does this mean to you?
Congratulations Dan, looking forward to read your paper ! Great ideas already mentionned, also : - Fetching raw rows (using traditionnal fetchspec or own sql) - Converting raw rows to eos efficiently - Design : don't model "big" bi-directional to-many relationships - Caching : EOSharedEditingContext (don't use it ?) / ERXEnterpriseObjectCache - How to detect performance problem (may be out of topic) : ERProfiling, er.extensions.ERXAdaptorChannelDelegate.enabled... Thanks Chuck 2012/4/4 Daniel Beatty > Greetings Chuck, > It is Dr., although, it becomes official on May 11th. The ITNG poster > paper will be presented at the end of the month. The globe paper is under > review, I expect to present it in December. The IEEE Journal pub is also > under review. I expect the journal to go out some time this Summer. Since > the dissertation has all three included, in dissertation form, I can > provide a copy before the Texas system makes it publicly available. > > Dan > > Sent from my iPhone > > On Apr 3, 2012, at 1:25 PM, Chuck Hill wrote: > > > Hi Dan, > > > > Or is that Dr. Beatty now? :-) Are those papers publicly available? > > > > I'd be honored to be mentioned in your dissertation. > > > > > > Cheers, > > Chuck > > > > > > On 2012-04-03, at 1:22 PM, Daniel Beatty wrote: > > > >> Greetings Pascal, > >> You know, I need to pay more attention to those surveys. I just > published three papers on that very subject.I suppose my papers may be > contributing to a popularity wave of WO, don't we wish. > >> > >> Of course, I am anxious to hear Chuck's version of it. There is a lot > about Wonder, and I seem to always have just the tip of the iceberg. > >> > >> Dan > >> > >> One thing I would like to ask you and Chuck. Would either of you mind > being mentioned by name in the acknowledgements in my dissertation? I am > about to finish publishing it, and it is already defended. It would mean a > lot for me to give thanks to those helped me on this remarkable journey. > >> > >> Sent from my iPad > >> > >> On Apr 3, 2012, at 12:41 PM, Pascal Robert wrote: > >> > >>> Using the cache correctly (to make less requests to backend) > >>> Dealing with mass fetching/updates/deletes > >>> Design (for example: having BLOG columns in a separate table) > >>> > Hi, > > My topic for WOWODC this year is EOF Optimization. This was chosen > based on frequent requests in the yearly surveys. I do have some things to > address, but I would really like to hear what YOU are interested in for > YOUR projects. Please let me know and I will try my best to accommodate > all requests. > > Thanks, > > Chuck > > -- > Chuck Hill Senior Consultant / VP Development > > Practical WebObjects - for developers who want to increase their > overall knowledge of WebObjects or who are trying to solve specific > problems. > http://www.global-village.net/gvc/practical_webobjects > > > > > > > > > ___ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > > https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca > > This email sent to prob...@macti.ca > >>> > >>> > >>> ___ > >>> Do not post admin requests to the list. They will be ignored. > >>> Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) > >>> Help/Unsubscribe/Update your Subscription: > >>> > https://lists.apple.com/mailman/options/webobjects-dev/danielbeatty%40mac.com > >>> > >>> This email sent to danielbea...@mac.com > > > > -- > > Chuck Hill Senior Consultant / VP Development > > > > Practical WebObjects - for developers who want to increase their overall > knowledge of WebObjects or who are trying to solve specific problems. > > http://www.global-village.net/gvc/practical_webobjects > > > > > > > > > > > > > > > > > ___ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > > https://lists.apple.com/mailman/options/webobjects-dev/alexis.tual%40gmail.com > > This email sent to alexis.t...@gmail.com > ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Newbie question about on WOInject (so for Henrique)
Hi Philippe, Sorry for the delay. On 02/04/2012, at 06:25, Philippe Rabier wrote: > Hi Henrique, > > I prepare my brain to use WOInject. I have a specific case where I need your > help. > > We have 2 frameworks: > - web services > - foundation > > which have no dependency with WO, EOF, … ("pure" java I could say). > Foundation provides factories used by web services but they return objects > implementing java interfaces. This factory have a static method to set the > class to instantiate like this: > NFNotificationFetcherFactory.setCreateNotificationFetcherClass2Instantiate(MyClass.class); > > We have also a Business framework which relies on EOF and the framework > principal initializes the factories with the concrete classes. (so calling > the method above). > > So as you may imagine, I thought at first replacing this mechanism with > WOInject. > That is an appropriate problem to solve with WOInject/Guice. > I like the fact that our business framework initializes the factories. We > have now 5 different apps using our business framework but they don't care > what class must be instantiated. Using WOInject/Guice, I have the impression > that the modules must be declared at a higher level aka the application. In > my example above, web services knows foundation and business knows foundation > but there is no dependency between web services and foundation. > The current version of WOInject doesn't provide an integration with the framework principal mechanism provided by Wonder. You have to declare which modules you want to load in each application class. You can, however, define the module in your framework and declare the bindings in one place. In the Business framework: class BusinessModule extends AbstractModule { protected void configure() { bind(NotificationFetcher.class).to(MyClass.class); ... } } Then, in your applications: class Application extends InjectableApplication { protected Module[] modules() { return new Module[] { new BusinessModule() }; } } I've created an issue [1] on GitHub to address this feature. > So I have 2 questions: > - can a module be loaded by a framework principal in the finishInitialization > method? In the current version no, but I'm willing to implement it for the next version. It is a nice addition. :) > - is the injection mechanism efficient (in our case, a new object is created > each time there is an http request)? I still don't have any benchmarks comparing an application running with WOInject and without it. Our empirical analysis didn't capture any discrepancies over the application performance after the addition of WOInject. I'll try to produce meaningful numbers when I finish a refactoring in the WOInject initialization code. I'll probably replace the Javassist library by ASM, which can lead to smaller performance gains. Anyway, if you want to check it out, you can configure one application to use WOInject in a few minutes. Even if you don't configure any Guice module, components, EOs, DirectActions and Sessions will be created by Guice. Other internal WebObjects classes will be instantiated via reflection, and I'll be injected after that. If you feel your application is slow after the change, let me know. [1]https://github.com/hprange/woinject/issues/1 Cheers, Henrique ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: JasperReports progress
here's what we have. in a stock D2W app there is a method in pageWrapper: public String bodyClass() { String result = null; String pageConfig = (String)d2wContext().valueForKey("pageConfiguration"); if (pageConfig != null && pageConfig.length() > 0) { result = pageConfig + "Body"; } return result; } Obviously it is setting the css class for the context. When I return from making the jasper report pdf, the d2wcontect is null and there is the NPE. as a work around, I added to the method that checks the context: if (d2wContext() != null) { NSLog.out.appendln("*** pageWrapper pageConfiguration is not null = * "); pageConfig = (String)d2wContext().valueForKey("pageConfiguration"); } I get a very ugly page. now I can figure out why the compiled jasper report is not using any of the fonts that I am specifying. Are there any gotchas with the different versions of iReport and the version of Jasper Reports in wonder? Ted --- On Tue, 4/3/12, Kieran Kelleher wrote: > From: Kieran Kelleher > Subject: Re: JasperReports progress > To: "Theodore Petrosky" > Cc: webobjects-dev@lists.apple.com > Date: Tuesday, April 3, 2012, 6:34 PM > The NPE is at: > > at > com.as.application.ui.components.PageWrapper.bodyClass(PageWrapper.java:27) > > that is your component . so why don't you look there to > see what is causing the NPE? > > On Apr 3, 2012, at 4:00 PM, Theodore Petrosky wrote: > > > So I've made progress but am stumped. I created a > customcomponent and used a rule to make one of the > displayPropertyKeys a hyperlink. > > > > I am basically using the JasperReportExample. I created > a hyperlink as one of the property keys. this will fire off > the method that starts the jasper reports process: > > > > public WOActionResults printBrief() { > > > > > Brief theBrief = > (Brief)object(); > > > > > Callable reportTask = > Reports.createBriefReportTask(theBrief); > > > > > CCAjaxLongResponsePage nextPage = > pageWithName(CCAjaxLongResponsePage.class); > > > > // Push the task > into the long response page > > > nextPage.setTask(reportTask); > > > > // Controller for > handling the Callable result in the long response page > > > FileTaskDownloadController nextPageController = new > FileTaskDownloadController(); > > > > // Hyperlink text > on the "Your file is downloaded page" to get back here > > > nextPageController.setReturnLinkText("Reports Menu"); > > > > // The filename > for the download > > > nextPageController.setDownloadFileNameForClient("BriefReport.pdf"); > > > > > nextPage.setNextPageForResultController(nextPageController); > > > > > NSLog.out.appendln("*** nextPage = * " + > nextPage); > > > > > > return nextPage; > > } > > > > Here is the Reports method: > > > > public static Callable > createBriefReportTask(Brief b) { > > > > > String > reportDescription = "Printed Brief"; > > > > > HashMap parameters = new > HashMap(); > > > parameters.put("reportDescription", reportDescription); > > > parameters.put("userName", "User From session"); > > > > EOQualifier > qualifier = ERXQ.equals(Brief.JOB_NUMBER_KEY, > b.jobNumber()); > > > > > ERXFetchSpecification fs = new > ERXFetchSpecification(Brief.ENTITY_NAME, > qualifier, null); > > > > > ERJRFetchSpecificationReportTask reportTask = new > ERJRFetchSpecificationReportTask(fs, > jasperCompiledReportFileName, parameters); > > > > return > reportTask; > > > > } > > > > indeed it goes out and starts to create the pdf. I see > the the pdf in > /var/folders/2d/23408oihsdvh08r23/T/Brief3234987239872398472.pdf > > > > However, just when DownloadIsComplete's > appendToResponse method is called I get errors: > > > > > > Apr 03 15:33:34 ASBriefsD2W[57285] WARN > NSLog - > : > Exception occurred while handling request: > > java.lang.NullPointerException > > [2012-4-3 15:33:34 EDT] > java.lang.NullPointerException > > at > com.as.application.ui.components.PageWrapper.bodyClass(PageWrapper.java:27) > > at > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > at > java.lang.reflect.Method.invoke(Method.java:597) > > at > com.webobjects.foundation.NSKeyValueCoding$ValueAccessor$1.methodValue(NSKeyValueCoding.java:636) > > at > com.webobjects.foundation.NSKeyValueCoding$_MethodBinding.valueInObject(NSKeyValueCoding.java:1134) > > at > com.webobjects.foundation.NSKeyValueCoding$DefaultImplementation.valueForKey(NS
Re: Optimizing EOF Applications - what does this mean to you?
Greetings Chuck, It is Dr., although, it becomes official on May 11th. The ITNG poster paper will be presented at the end of the month. The globe paper is under review, I expect to present it in December. The IEEE Journal pub is also under review. I expect the journal to go out some time this Summer. Since the dissertation has all three included, in dissertation form, I can provide a copy before the Texas system makes it publicly available. Dan Sent from my iPhone On Apr 3, 2012, at 1:25 PM, Chuck Hill wrote: > Hi Dan, > > Or is that Dr. Beatty now? :-) Are those papers publicly available? > > I'd be honored to be mentioned in your dissertation. > > > Cheers, > Chuck > > > On 2012-04-03, at 1:22 PM, Daniel Beatty wrote: > >> Greetings Pascal, >> You know, I need to pay more attention to those surveys. I just published >> three papers on that very subject.I suppose my papers may be >> contributing to a popularity wave of WO, don't we wish. >> >> Of course, I am anxious to hear Chuck's version of it. There is a lot about >> Wonder, and I seem to always have just the tip of the iceberg. >> >> Dan >> >> One thing I would like to ask you and Chuck. Would either of you mind being >> mentioned by name in the acknowledgements in my dissertation? I am about to >> finish publishing it, and it is already defended. It would mean a lot for >> me to give thanks to those helped me on this remarkable journey. >> >> Sent from my iPad >> >> On Apr 3, 2012, at 12:41 PM, Pascal Robert wrote: >> >>> Using the cache correctly (to make less requests to backend) >>> Dealing with mass fetching/updates/deletes >>> Design (for example: having BLOG columns in a separate table) >>> Hi, My topic for WOWODC this year is EOF Optimization. This was chosen based on frequent requests in the yearly surveys. I do have some things to address, but I would really like to hear what YOU are interested in for YOUR projects. Please let me know and I will try my best to accommodate all requests. Thanks, Chuck -- Chuck Hill Senior Consultant / VP Development Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/gvc/practical_webobjects ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca This email sent to prob...@macti.ca >>> >>> >>> ___ >>> Do not post admin requests to the list. They will be ignored. >>> Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) >>> Help/Unsubscribe/Update your Subscription: >>> https://lists.apple.com/mailman/options/webobjects-dev/danielbeatty%40mac.com >>> >>> This email sent to danielbea...@mac.com > > -- > Chuck Hill Senior Consultant / VP Development > > Practical WebObjects - for developers who want to increase their overall > knowledge of WebObjects or who are trying to solve specific problems. > http://www.global-village.net/gvc/practical_webobjects > > > > > > > > ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Using Git WOWODC 2012 Session
Best practices for setting up repositories. One project per? All projects in one? Dealing with forks and making pull requests to Wonder Jenkins :-) Sent from my iPad On 2012-04-03, at 3:39 PM, Kieran Kelleher wrote: > Following Chuck's lead what would you like to get out of the "Using > Git" session . what are the problems you are facing in the git world? I > have already done an outline of my session content, but would definitely try > to accommodate any requests also. > > Feel free to respond to this email in public list or in private. > > Regards and thanks, Kieran > ___ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/programmingosx%40mac.com > > This email sent to programming...@mac.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Using Git WOWODC 2012 Session
Following Chuck's lead what would you like to get out of the "Using Git" session . what are the problems you are facing in the git world? I have already done an outline of my session content, but would definitely try to accommodate any requests also. Feel free to respond to this email in public list or in private. Regards and thanks, Kieran ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: JasperReports progress
The NPE is at: at com.as.application.ui.components.PageWrapper.bodyClass(PageWrapper.java:27) that is your component . so why don't you look there to see what is causing the NPE? On Apr 3, 2012, at 4:00 PM, Theodore Petrosky wrote: > So I've made progress but am stumped. I created a customcomponent and used a > rule to make one of the displayPropertyKeys a hyperlink. > > I am basically using the JasperReportExample. I created a hyperlink as one of > the property keys. this will fire off the method that starts the jasper > reports process: > > public WOActionResults printBrief() { > > Brief theBrief = (Brief)object(); > > Callable reportTask = > Reports.createBriefReportTask(theBrief); > > CCAjaxLongResponsePage nextPage = > pageWithName(CCAjaxLongResponsePage.class); > > // Push the task into the long response page > nextPage.setTask(reportTask); > > // Controller for handling the Callable result in the long > response page > FileTaskDownloadController nextPageController = new > FileTaskDownloadController(); > > // Hyperlink text on the "Your file is downloaded page" to get > back here > nextPageController.setReturnLinkText("Reports Menu"); > > // The filename for the download > > nextPageController.setDownloadFileNameForClient("BriefReport.pdf"); > > nextPage.setNextPageForResultController(nextPageController); > > NSLog.out.appendln("*** nextPage = * " + nextPage); > > > return nextPage; > } > > Here is the Reports method: > > public static Callable createBriefReportTask(Brief b) { > > String reportDescription = "Printed Brief"; > > HashMap parameters = new HashMap Object>(); > parameters.put("reportDescription", reportDescription); > parameters.put("userName", "User From session"); > > EOQualifier qualifier = ERXQ.equals(Brief.JOB_NUMBER_KEY, > b.jobNumber()); > > ERXFetchSpecification fs = new > ERXFetchSpecification(Brief.ENTITY_NAME, qualifier, null); > > ERJRFetchSpecificationReportTask reportTask = new > ERJRFetchSpecificationReportTask(fs, jasperCompiledReportFileName, > parameters); > > return reportTask; > > } > > indeed it goes out and starts to create the pdf. I see the the pdf in > /var/folders/2d/23408oihsdvh08r23/T/Brief3234987239872398472.pdf > > However, just when DownloadIsComplete's appendToResponse method is called I > get errors: > > > Apr 03 15:33:34 ASBriefsD2W[57285] WARN NSLog - > : Exception > occurred while handling request: > java.lang.NullPointerException > [2012-4-3 15:33:34 EDT] java.lang.NullPointerException > at > com.as.application.ui.components.PageWrapper.bodyClass(PageWrapper.java:27) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at > com.webobjects.foundation.NSKeyValueCoding$ValueAccessor$1.methodValue(NSKeyValueCoding.java:636) > at > com.webobjects.foundation.NSKeyValueCoding$_MethodBinding.valueInObject(NSKeyValueCoding.java:1134) > at > com.webobjects.foundation.NSKeyValueCoding$DefaultImplementation.valueForKey(NSKeyValueCoding.java:1324) > at > com.webobjects.appserver.WOComponent.valueForKey(WOComponent.java:1736) > at > com.webobjects.foundation.NSKeyValueCoding$Utility.valueForKey(NSKeyValueCoding.java:447) > at > com.webobjects.foundation.NSKeyValueCodingAdditions$DefaultImplementation.valueForKeyPath(NSKeyValueCodingAdditions.java:212) > at > com.webobjects.appserver.WOComponent.valueForKeyPath(WOComponent.java:1804) > at > com.webobjects.appserver._private.WOKeyValueAssociation.valueInComponent(WOKeyValueAssociation.java:50) > at > com.webobjects.appserver._private.WOHTMLDynamicElement.stringValueInContext(WOHTMLDynamicElement.java:537) > at > com.webobjects.appserver._private.WOHTMLDynamicElement.classInContext(WOHTMLDynamicElement.java:542) > at > com.webobjects.appserver._private.WOHTMLDynamicElement._appendClassAndIdToResponse(WOHTMLDynamicElement.java:518) > > I can provide more but I have to start somewhere. > > I don't know what else to says other than 'HELP'!!! i'm drowning. > > Ted > > > ___ > Do not post admin requests to the list. They will be ignored
Re: WOWODC 2012: first list of topics!
Soon. Envoyé de mon iPhone Le 2012-04-03 à 17:10, "Jesse Tayler" a écrit : > Are we able to purchase tickets yet? > > > Sent from my iPad > > On Apr 3, 2012, at 4:31 PM, David Holt wrote: > >> This is coming together nicely. Good work Pascal! >> >> David >> >> >> On 2012-04-03, at 12:20 PM, Pascal Robert wrote: >> >>> Hello everyone, >>> >>> The first list of confirmed WOWODC topics is now online! >>> >>> http://www.wocommunity.org/wowodc12/topics.html >>> >>> I think we have a great list of topics, and more topics will be added >>> before the end of April. >>> >>> See you in June! >>> >>> -- Pascal >>> >>> >>> ___ >>> Do not post admin requests to the list. They will be ignored. >>> Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) >>> Help/Unsubscribe/Update your Subscription: >>> https://lists.apple.com/mailman/options/webobjects-dev/programmingosx%40mac.com >>> >>> This email sent to programming...@mac.com >> >> ___ >> Do not post admin requests to the list. They will be ignored. >> Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) >> Help/Unsubscribe/Update your Subscription: >> https://lists.apple.com/mailman/options/webobjects-dev/jtayler%40oeinc.com >> >> This email sent to jtay...@oeinc.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: WOWODC 2012: first list of topics!
Are we able to purchase tickets yet? Sent from my iPad On Apr 3, 2012, at 4:31 PM, David Holt wrote: > This is coming together nicely. Good work Pascal! > > David > > > On 2012-04-03, at 12:20 PM, Pascal Robert wrote: > >> Hello everyone, >> >> The first list of confirmed WOWODC topics is now online! >> >> http://www.wocommunity.org/wowodc12/topics.html >> >> I think we have a great list of topics, and more topics will be added before >> the end of April. >> >> See you in June! >> >> -- Pascal >> >> >> ___ >> Do not post admin requests to the list. They will be ignored. >> Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) >> Help/Unsubscribe/Update your Subscription: >> https://lists.apple.com/mailman/options/webobjects-dev/programmingosx%40mac.com >> >> This email sent to programming...@mac.com > > ___ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/jtayler%40oeinc.com > > This email sent to jtay...@oeinc.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: WO 5.4.3 custom launch on Windows - help needed
an Update on the Windows launch issue with spaces in the pathname. I changed my JNI launcher to use the WOBootstrap.jar startup, this somehow overcomes the problem with the spaces in the pathname to the WebObjects library. On 02.04.12 05:09, Cheong Hee (Gmail) wrote: Hi Helmut Fyi, since day one of WO or YellowBox, th spaces in the path name should be avoided as number one issue in windows platform. This is a common issue and I did added into wiki the last time. Cheers Cheong Hee - Original Message - From: "Helmut Tschemernjak" To: Sent: Monday, April 02, 2012 3:44 AM Subject: Re: WO 5.4.3 custom launch on Windows - help needed Update on the issue, I figured out that the WOBootstrap class installs a new URLClassLoader which uses file://paths to the WO runtime jars and launches the final WO App via the new the new classLoader and finally invokes the Application class. Maybe this is what needs to be done to overcome the problem. On 01.04.12 09:22, Johann Werner wrote: Hi Helmut, I am no expert in Windows deployment but on the list there were several posts that did point to a problem with application paths containing spaces. You should move your app out of C:\Program Files (x86)\ and check if that resolves your problem. jw Am 31.03.2012 um 22:06 schrieb Helmut Tschemernjak: I am working on a custom JNI launch executable for our WO app. On UNIX it works but on Windows I still have problems. I don't use the WOBootstrap.jar. It looks like the WOResourceManager cannot load the MIME.plist and the WO startup fails. Below are my used properties and the error output. I tried absolute path to the the WO jars and relative path, no success. Our app has also a MIME.plist in Contents/Resources/ Any ideas what property is missing or wrong, thank you for your help. Regards Helmut addOption: -Xms32m addOption: -Xmx256m addOption: -Xrs addOption: -DWOPlatform=HELIOS addOption: -DHELIOSDIR=C:\Program Files (x86)\Helios addOption: -Dcom.webobjects.pid=3180 addOption: -DWORootDirectory="" addOption: -DWOLocalRootDirectory="" addOption: -DWOUserDirectory=C:\Program Files (x86)\Helios\var\run\webshare.woa addOption: -Djava.class.path=Contents\Resources\Java\webshare.jar;..\WebObjects\JavaFoundation.jar;..\WebObjects\JavaWebObjects.jar;..\WebObjects\JavaXML.jar;..\WebObjects\JavaWOExtensions.jar;..\WebObjects\JavaEOControl.jar;..\WebObjects\JavaEOAccess.jar [2012-3-31 21:28:28 MESZ] Unable to locate the "JavaWebObjects" bundle [2012-3-31 21:28:28 MESZ] Unable to initialize WOProperties for reason: Cannot find JavaWebObjects framework ! java.lang.IllegalStateException: Unable to locate the "JavaWebObjects" bundle [2012-3-31 21:28:28 MESZ] A fatal exception occurred:: Cannot be initialized. [2012-3-31 21:28:28 MESZ] com.webobjects.foundation.NSForwardException [java.lang.IllegalStateException] Unable to locate the "JavaWebObjects" bundle:: Cannot be initialized. at com.webobjects.appserver.WOApplication.(WOApplication.java:918) at de.helios.webshare.Application.(Unknown Source) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at java.lang.Class.newInstance0(Unknown Source) at java.lang.Class.newInstance(Unknown Source) at com.webobjects.appserver.WOApplication.main(WOApplication.java:547) at de.helios.webshare.Application.main(Unknown Source) Caused by: java.lang.IllegalStateException: Unable to locate the "JavaWebObjects" bundle at com.webobjects.appserver.WOResourceManager.__getJavaWebObjectsResourceAsStream(WOResourceManager.java:131) at com.webobjects.appserver._private.WOProperties.initUserDefaultsKeys(WOProperties.java:317) at com.webobjects.appserver.WOApplication._initWOApp(WOApplication.java:5743) at com.webobjects.appserver.WOApplication.(WOApplication.java:779) ... 9 more My var/run/WebObjects directory includes the following WO runtime jars. The jars are extracted from an 5.4.3 .war file. Again on several UNIX platforms it works fine on Windows I miss something. -rw-r--r-- 1 root wheel 342441 17 Feb 16:08 JavaEOAccess.jar -rw-rw-r-- 1 root wheel 272836 17 Feb 16:08 JavaEOControl.jar -rw-rw-r-- 1 root wheel 699806 17 Feb 16:08 JavaFoundation.jar -rw-rw-r-- 1 root wheel 199189 17 Feb 16:08 JavaWOExtensions.jar -rw-rw-r-- 1 root wheel 825068 17 Feb 16:08 JavaWebObjects.jar -rw-rw-r-- 1 root wheel 6978345 17 Feb 16:08 JavaXML.jar -- best regards / mit freundlichen Gruessen, Helmut Tschemernjak HELIOS Software GmbH Steinriede 3 30827 Garbsen Phone: +49-5131-709320 Fax: +49-5131-709325 Internet Mail: hel...@helios.de Internet Web: http://www.helios.de ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/
Re: WOWODC 2012: first list of topics!
This is coming together nicely. Good work Pascal! David On 2012-04-03, at 12:20 PM, Pascal Robert wrote: > Hello everyone, > > The first list of confirmed WOWODC topics is now online! > > http://www.wocommunity.org/wowodc12/topics.html > > I think we have a great list of topics, and more topics will be added before > the end of April. > > See you in June! > > -- Pascal > > > ___ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/programmingosx%40mac.com > > This email sent to programming...@mac.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Optimizing EOF Applications - what does this mean to you?
bulk transactions slow fetches resulting in large lists On 2012-04-03, at 12:37 PM, Chuck Hill wrote: > Hi, > > My topic for WOWODC this year is EOF Optimization. This was chosen based on > frequent requests in the yearly surveys. I do have some things to address, > but I would really like to hear what YOU are interested in for YOUR projects. > Please let me know and I will try my best to accommodate all requests. > > Thanks, > > Chuck > > -- > Chuck Hill Senior Consultant / VP Development > > Practical WebObjects - for developers who want to increase their overall > knowledge of WebObjects or who are trying to solve specific problems. > http://www.global-village.net/gvc/practical_webobjects > > > > > > > > > ___ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/programmingosx%40mac.com > > This email sent to programming...@mac.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Optimizing EOF Applications - what does this mean to you?
Am 03.04.2012 um 21:41 schrieb Pascal Robert: > Using the cache correctly (to make less requests to backend) +1 auto batching from Wonder and other hidden gems (every time you think you found all there is in Wonder for a specific problem someone comes by and points to a class/method/property you never heard of before ;-) prefetching relationships > Dealing with mass fetching/updates/deletes > Design (for example: having BLOG columns in a separate table) > >> Hi, >> >> My topic for WOWODC this year is EOF Optimization. This was chosen based on >> frequent requests in the yearly surveys. I do have some things to address, >> but I would really like to hear what YOU are interested in for YOUR >> projects. Please let me know and I will try my best to accommodate all >> requests. >> >> Thanks, >> >> Chuck >> >> -- >> Chuck Hill Senior Consultant / VP Development >> >> Practical WebObjects - for developers who want to increase their overall >> knowledge of WebObjects or who are trying to solve specific problems. >> http://www.global-village.net/gvc/practical_webobjects ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Optimizing EOF Applications - what does this mean to you?
Hi Dan, Or is that Dr. Beatty now? :-) Are those papers publicly available? I'd be honored to be mentioned in your dissertation. Cheers, Chuck On 2012-04-03, at 1:22 PM, Daniel Beatty wrote: > Greetings Pascal, > You know, I need to pay more attention to those surveys. I just published > three papers on that very subject.I suppose my papers may be contributing > to a popularity wave of WO, don't we wish. > > Of course, I am anxious to hear Chuck's version of it. There is a lot about > Wonder, and I seem to always have just the tip of the iceberg. > > Dan > > One thing I would like to ask you and Chuck. Would either of you mind being > mentioned by name in the acknowledgements in my dissertation? I am about to > finish publishing it, and it is already defended. It would mean a lot for me > to give thanks to those helped me on this remarkable journey. > > Sent from my iPad > > On Apr 3, 2012, at 12:41 PM, Pascal Robert wrote: > >> Using the cache correctly (to make less requests to backend) >> Dealing with mass fetching/updates/deletes >> Design (for example: having BLOG columns in a separate table) >> >>> Hi, >>> >>> My topic for WOWODC this year is EOF Optimization. This was chosen based >>> on frequent requests in the yearly surveys. I do have some things to >>> address, but I would really like to hear what YOU are interested in for >>> YOUR projects. Please let me know and I will try my best to accommodate >>> all requests. >>> >>> Thanks, >>> >>> Chuck >>> >>> -- >>> Chuck Hill Senior Consultant / VP Development >>> >>> Practical WebObjects - for developers who want to increase their overall >>> knowledge of WebObjects or who are trying to solve specific problems. >>> http://www.global-village.net/gvc/practical_webobjects >>> >>> >>> >>> >>> >>> >>> >>> >>> ___ >>> Do not post admin requests to the list. They will be ignored. >>> Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) >>> Help/Unsubscribe/Update your Subscription: >>> https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca >>> >>> This email sent to prob...@macti.ca >> >> >> ___ >> Do not post admin requests to the list. They will be ignored. >> Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) >> Help/Unsubscribe/Update your Subscription: >> https://lists.apple.com/mailman/options/webobjects-dev/danielbeatty%40mac.com >> >> This email sent to danielbea...@mac.com -- Chuck Hill Senior Consultant / VP Development Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/gvc/practical_webobjects smime.p7s Description: S/MIME cryptographic signature ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
WOWODC 2012: first list of topics!
Hello everyone, The first list of confirmed WOWODC topics is now online! http://www.wocommunity.org/wowodc12/topics.html I think we have a great list of topics, and more topics will be added before the end of April. See you in June! -- Pascal ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Optimizing EOF Applications - what does this mean to you?
Greetings Pascal, You know, I need to pay more attention to those surveys. I just published three papers on that very subject.I suppose my papers may be contributing to a popularity wave of WO, don't we wish. Of course, I am anxious to hear Chuck's version of it. There is a lot about Wonder, and I seem to always have just the tip of the iceberg. Dan One thing I would like to ask you and Chuck. Would either of you mind being mentioned by name in the acknowledgements in my dissertation? I am about to finish publishing it, and it is already defended. It would mean a lot for me to give thanks to those helped me on this remarkable journey. Sent from my iPad On Apr 3, 2012, at 12:41 PM, Pascal Robert wrote: > Using the cache correctly (to make less requests to backend) > Dealing with mass fetching/updates/deletes > Design (for example: having BLOG columns in a separate table) > >> Hi, >> >> My topic for WOWODC this year is EOF Optimization. This was chosen based on >> frequent requests in the yearly surveys. I do have some things to address, >> but I would really like to hear what YOU are interested in for YOUR >> projects. Please let me know and I will try my best to accommodate all >> requests. >> >> Thanks, >> >> Chuck >> >> -- >> Chuck Hill Senior Consultant / VP Development >> >> Practical WebObjects - for developers who want to increase their overall >> knowledge of WebObjects or who are trying to solve specific problems. >> http://www.global-village.net/gvc/practical_webobjects >> >> >> >> >> >> >> >> >> ___ >> Do not post admin requests to the list. They will be ignored. >> Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) >> Help/Unsubscribe/Update your Subscription: >> https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca >> >> This email sent to prob...@macti.ca > > > ___ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/danielbeatty%40mac.com > > This email sent to danielbea...@mac.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
JasperReports progress
So I've made progress but am stumped. I created a customcomponent and used a rule to make one of the displayPropertyKeys a hyperlink. I am basically using the JasperReportExample. I created a hyperlink as one of the property keys. this will fire off the method that starts the jasper reports process: public WOActionResults printBrief() { Brief theBrief = (Brief)object(); Callable reportTask = Reports.createBriefReportTask(theBrief); CCAjaxLongResponsePage nextPage = pageWithName(CCAjaxLongResponsePage.class); // Push the task into the long response page nextPage.setTask(reportTask); // Controller for handling the Callable result in the long response page FileTaskDownloadController nextPageController = new FileTaskDownloadController(); // Hyperlink text on the "Your file is downloaded page" to get back here nextPageController.setReturnLinkText("Reports Menu"); // The filename for the download nextPageController.setDownloadFileNameForClient("BriefReport.pdf"); nextPage.setNextPageForResultController(nextPageController); NSLog.out.appendln("*** nextPage = * " + nextPage); return nextPage; } Here is the Reports method: public static Callable createBriefReportTask(Brief b) { String reportDescription = "Printed Brief"; HashMap parameters = new HashMap(); parameters.put("reportDescription", reportDescription); parameters.put("userName", "User From session"); EOQualifier qualifier = ERXQ.equals(Brief.JOB_NUMBER_KEY, b.jobNumber()); ERXFetchSpecification fs = new ERXFetchSpecification(Brief.ENTITY_NAME, qualifier, null); ERJRFetchSpecificationReportTask reportTask = new ERJRFetchSpecificationReportTask(fs, jasperCompiledReportFileName, parameters); return reportTask; } indeed it goes out and starts to create the pdf. I see the the pdf in /var/folders/2d/23408oihsdvh08r23/T/Brief3234987239872398472.pdf However, just when DownloadIsComplete's appendToResponse method is called I get errors: Apr 03 15:33:34 ASBriefsD2W[57285] WARN NSLog - : Exception occurred while handling request: java.lang.NullPointerException [2012-4-3 15:33:34 EDT] java.lang.NullPointerException at com.as.application.ui.components.PageWrapper.bodyClass(PageWrapper.java:27) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.webobjects.foundation.NSKeyValueCoding$ValueAccessor$1.methodValue(NSKeyValueCoding.java:636) at com.webobjects.foundation.NSKeyValueCoding$_MethodBinding.valueInObject(NSKeyValueCoding.java:1134) at com.webobjects.foundation.NSKeyValueCoding$DefaultImplementation.valueForKey(NSKeyValueCoding.java:1324) at com.webobjects.appserver.WOComponent.valueForKey(WOComponent.java:1736) at com.webobjects.foundation.NSKeyValueCoding$Utility.valueForKey(NSKeyValueCoding.java:447) at com.webobjects.foundation.NSKeyValueCodingAdditions$DefaultImplementation.valueForKeyPath(NSKeyValueCodingAdditions.java:212) at com.webobjects.appserver.WOComponent.valueForKeyPath(WOComponent.java:1804) at com.webobjects.appserver._private.WOKeyValueAssociation.valueInComponent(WOKeyValueAssociation.java:50) at com.webobjects.appserver._private.WOHTMLDynamicElement.stringValueInContext(WOHTMLDynamicElement.java:537) at com.webobjects.appserver._private.WOHTMLDynamicElement.classInContext(WOHTMLDynamicElement.java:542) at com.webobjects.appserver._private.WOHTMLDynamicElement._appendClassAndIdToResponse(WOHTMLDynamicElement.java:518) I can provide more but I have to start somewhere. I don't know what else to says other than 'HELP'!!! i'm drowning. Ted ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Optimizing EOF Applications - what does this mean to you?
Using the cache correctly (to make less requests to backend) Dealing with mass fetching/updates/deletes Design (for example: having BLOG columns in a separate table) > Hi, > > My topic for WOWODC this year is EOF Optimization. This was chosen based on > frequent requests in the yearly surveys. I do have some things to address, > but I would really like to hear what YOU are interested in for YOUR projects. > Please let me know and I will try my best to accommodate all requests. > > Thanks, > > Chuck > > -- > Chuck Hill Senior Consultant / VP Development > > Practical WebObjects - for developers who want to increase their overall > knowledge of WebObjects or who are trying to solve specific problems. > http://www.global-village.net/gvc/practical_webobjects > > > > > > > > > ___ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca > > This email sent to prob...@macti.ca ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Optimizing EOF Applications - what does this mean to you?
Hi, My topic for WOWODC this year is EOF Optimization. This was chosen based on frequent requests in the yearly surveys. I do have some things to address, but I would really like to hear what YOU are interested in for YOUR projects. Please let me know and I will try my best to accommodate all requests. Thanks, Chuck -- Chuck Hill Senior Consultant / VP Development Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/gvc/practical_webobjects smime.p7s Description: S/MIME cryptographic signature ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Wrong Session class
Just sharing my experience too that It also does not like the case where the project name and project folder have different names. Farrukh Sent from my iPad 2 On 2012-04-02, at 10:39 PM, Ted Archibald wrote: > I can duplicate the bug on my computer by creating a new wonder app called > test1.0 > > Something in wolips doesn't like the period, or at least something on my > computer doesn't. > > And I can assure it's not a classpath issue because I meticulously copied and > pasted EVERY file between a non-working app and a working app and the only > difference came from 3 things: 1) turning off bundleless builds 2) setting > org.objectstyle.wolips.incrementalframeworknature in > .project or 3) removing the period from the app name. Moreover, this ONLY > affected my eclipse builds and not my jenkins builds. So IMO, everything > seems to be pointing to something in the incremental app builder and the name > of the app. > > Luckily I just migrated over to git the last weekend, so now I'm not so > scared to rename apps and merge it back, so I can finally move on. > > On Mon, Apr 2, 2012 at 1:02 PM, Chuck Hill wrote: > That also seems unlikely. This should be a classpath order problem and > having ERExtensions first on the classpath (assuming you are using it, WOLips > should do this) should prevent this error. > > Chuck > > > On 2012-04-02, at 9:32 AM, Ted Archibald wrote: > > > Well I think I got it cased now, I think it's because the app name had a > > period in the name, perhaps that freaks out the incremental builder. > > > > On Mon, Apr 2, 2012 at 9:34 AM, Ted Archibald > > wrote: > > The plot thickens... > > > > I'm not sure if this is a bug in wolips or what. > > > > But the symptoms are: > > > > -When you run the app you get an error like: Class 'Session' exists > > (interfacce org.jabsorb.client.Session) but is not a subclass of WOSession. > > -In the component validation, some (but not all components) will give: The > > class for 'X' is either missing or does not extend WOElement. > > -Bundleless builds do not work, but Bundle builds work fine. > > > > I discovered a bizarre fix... in the .project file for the app if you switch > > > > org.objectstyle.wolips.incrementalapplicationnature > > > > to > > > > org.objectstyle.wolips.incrementalframeworknature > > > > > > then everything works fine again. But that doesn't quite make sense to me. > > I downloaded the wolips source and I haven't a clue why this would or > > would not work. > > > > > > On Fri, Feb 17, 2012 at 5:06 PM, John Huss wrote: > > I think you should spend a few more weeks on this. That's the responsible > > thing to do. > > > > > > On Fri, Feb 17, 2012 at 2:06 PM, Ted Archibald > > wrote: > > Feels like I'm beating a dead horse: > > > > After trying many combinations of changes I finally found one change that > > helps. If I have wolips generate bundles, everything works perfectly. But > > I wonder how I can get bundleless builds to work again. > > > > If I have wolips generate bundles, clean the project then run, everything > > is back to normal. But if I go back to bundleless builds, then the issues > > come back. > > > > > > ___ > > Do not post admin requests to the list. They will be ignored. > > Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) > > Help/Unsubscribe/Update your Subscription: > > https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net > > > > This email sent to ch...@global-village.net > > -- > Chuck Hill Senior Consultant / VP Development > > Practical WebObjects - for developers who want to increase their overall > knowledge of WebObjects or who are trying to solve specific problems. > http://www.global-village.net/gvc/practical_webobjects > > > > > > > > > > ___ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/farrukh.ijaz%40fuegodigitalmedia.com > > This email sent to farrukh.i...@fuegodigitalmedia.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Need help with ERD2WWizardCreationPage
Thanks Ramsey (again!), Works now as expected. ---markus--- On 02.04.2012, at 21:09, Ramsey Gurley wrote: > I believe the restricting fetch spec just uses a named fetch spec in your > model. You can use the restrictedChoiceKey instead and resolve the array in a > method on your object if the restrictingFetchSpecification key is to ... > restricting :-) > > Ramsey > > On Apr 2, 2012, at 11:52 AM, Markus Ruggiero wrote: > >> This is my first try with ERD2WWizardCreationPage. >> >> I can show a wizard with 3 tabs and the correct propertyKeys. However I have >> the requirement that the value of a field from step 1 is a limiting >> qualifier for a ERD2WEditToOneRelationship (shown as a popup) in a later >> step. How can I achieve this? I know about the restrictingFetchSpecification >> key but I do not see how to qualify this FS dynamically with a value the >> user entered in a previous step of the wizard. >> >> Thanks for any help >> ---markus--- >> >> >> ___ >> Do not post admin requests to the list. They will be ignored. >> Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) >> Help/Unsubscribe/Update your Subscription: >> https://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com >> >> This email sent to rgur...@smarthealth.com > > ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Model/application development layout request for comment
Thanks Atze, That's perfect. Xavier On 3 avr. 2012, at 11:55, Alexander Spohr wrote: > We have the configs in the same directory as the woa. Each app has multiple > instances. > They are choosen on the apps name in Monitor, using the same App.woa for all > of them: > > App-DE - gets its data from directory App-DE.config/ > App-NL - gets its data from directory App-NL.config/ > App-UK - gets its data from directory App-UK.config/ > ... > > Works fine. > > atze > > > ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Model/application development layout request for comment
We have the configs in the same directory as the woa. Each app has multiple instances. They are choosen on the apps name in Monitor, using the same App.woa for all of them: App-DE - gets its data from directory App-DE.config/ App-NL - gets its data from directory App-NL.config/ App-UK - gets its data from directory App-UK.config/ ... Works fine. atze ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
[SOLVED] - Rép : Re: NSMutableDictionary OR NSDictionary
Hi Henrique,it works fine. ThanksEnvoyé depuis iCloudLe 23 mar 2012 à 04:23, Raymond NANEON a écrit :Hi Henrique,Thanks, I go to try it now;RayEnvoyé depuis iCloudLe 23 mar 2012 à 04:17, Henrique Gomes a écrit :So you want the value for that key to be an Array, with two elements, each one a Dictionary? HG On Mar 23, 2012, at 10:35 AM, Raymond NANEON wrote: > Hi, > > I Want to add dictionary to a key that already has dictionary in order to have two dictionaries for the same key. > > i.e : Data.valueForkey(28)={uv = "CMX4"; salle = "B001"; temp = 8; semaine = "2"; type = "TP"; id = "0"; weekname = "A"; } > And add this value {uv = "CMX4"; salle = "B001"; temp = 8; semaine = "2"; type = "TP"; id = "0"; weekname = "A"; } for the same key 28 > > finally : Data.valueForkey(28) = { {uv = "CMX4"; salle = "B001"; temp = 8; semaine = "2"; type = "TP"; id = "0"; weekname = "A"; };{uv = "CMX4"; salle = "B001"; temp = 8; semaine = "2"; type = "TP"; id = "0"; weekname = "A"; } } like nested dictionary > > Impossible to use "append" of StringBuilder > > Thanks for your help > Envoyé depuis iCloud > ___ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/lists%40farol.pt > > This email sent to li...@farol.pt ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/rnaneon%40me.com This email sent to rnan...@me.com ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com