Re: [OT] Chrome voice recognition
Only if you do them in proper French! ;-) On Apr 27, 2011, at 5:23 PM, Pascal Robert wrote: > Look like I will be able to do my WOWODC sessions in French and you will get > automatic English translation! > >> Voice recognition made it into today's Chrome release (^_^) >> >> http://chrome.blogspot.com/2011/04/everybodys-talking-and-translating-with.html >> >> Ramsey >> >> ___ >> 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: >> http://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: > http://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 Come to WOWODC this July for unparalleled WO learning opportunities and real peer to peer problem solving! Network, socialize, and enjoy a great cosmopolitan city. See you there! http://www.wocommunity.org/wowodc11/ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: [OT] Chrome voice recognition
Look like I will be able to do my WOWODC sessions in French and you will get automatic English translation! > Voice recognition made it into today's Chrome release (^_^) > > http://chrome.blogspot.com/2011/04/everybodys-talking-and-translating-with.html > > Ramsey > > ___ > 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: > http://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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
[OT] Chrome voice recognition
Voice recognition made it into today's Chrome release (^_^) http://chrome.blogspot.com/2011/04/everybodys-talking-and-translating-with.html Ramsey ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: D2W display rules for relationships
Thanks. One thing I noticed is that from Inspect pages, if I add an action like the below, instead of going to the new InspectAffiliate page, I get the ajax quick progress effect and no new page. The generated page has javascript:void(0) when I hover over the inspect. Does a rule need to exist to enable actions from Embedded pageConfigurations? On Tue, Apr 26, 2011 at 3:51 PM, Ramsey Gurley wrote: > If you're using an embedded list, you can add actions like: > > 100: pageConfiguration = 'ListEmbeddedAffiliate' => actions = > {left=("inspectAction");right=();} > > Ramsey > > On Apr 26, 2011, at 3:40 PM, Joe Little wrote: > >> Here's another one. If I have an edit page for an entity, my >> relationships should up with Edit/Inspect buttons. If, however, I >> inspect an entity, I get neither of those buttons and thus can't >> inspect (or get full details like I want) for the relationship. There >> is some default rule that likely causes this, but I'm not smart enough >> obviously to figure it out. In the current case, I have a >> ERMODListPage coming from a ListEmbeddedAffiliate that has no buttons, >> but the inspect/edit buttons come with a ERMODEditRelationshipPage >> from the EditRelationshipEmbeddedAffiliate. >> >> >> On Tue, Apr 26, 2011 at 3:22 PM, Joe Little wrote: >>> worked like a charm.. on to my other problematically displayed fields.. >>> >>> On Tue, Apr 26, 2011 at 3:11 PM, David LeBer >>> wrote: On 2011-04-26, at 5:56 PM, Joe Little wrote: > Lets focus on *Note pages and their display of Projects (one to one).. > That answer is ERD2WDisplayToOne or ERMDEditRelationship ERD2WDisplayToOne is going to use keyWhenRelationship. ERMEditRelationship embeds an ERMODEditRelationshipPage so it will get it's on copy of the d2wContext and it's own pageConfiguration. So use a rule something like: pageConfiguration = 'EditRelationshipEmbeddedProject' => displayPropertyKeys = ("name") [Assignment] If you need to qualify further (i.e: change the displayPropertyKeys depending on what the parent object is) you can add an 'and' to something like: parentPageConfiguration = 'EditNote' Note: Typed directly into mail, YMMV, it's the end of the day, don't quote me, look... bunnies! > > On Tue, Apr 26, 2011 at 2:41 PM, David LeBer > wrote: >> >> On 2011-04-26, at 5:34 PM, Joe Little wrote: >> >>> I'm trying to get any Projects that have Notes to display just the >>> noteText, and likewise, all Notes to display just the project Name for >>> their relationships, but its always shows all the fields. >>> >>> (pageConfiguration like '*Project' and propertyKey = 'notes') => >>> displayPropertyKeys = ("noteText") >>> (pageConfiguration like '*Note' and propreryKey = 'project) => >>> displayPropertyKeys = ("name") >>> >>> Don't seem to have any affect. Any clue to what I'm doing wrong? I >>> used the D2W inspector, and those should be the rules for what I have. >> >> What component is being used to display the relationship to Notes for a >> Project, and what component is displaying the Project for a Note? ;david -- David LeBer Codeferous Software 'co-def-er-ous' adj. Literally 'code-bearing' site: http://codeferous.com blog: http://davidleber.net profile: http://www.linkedin.com/in/davidleber twitter: http://twitter.com/rebeld -- WOWODC 2011 : July 1-2-3, Montreal. http://wowodc.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: >> http://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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: AjaxUpdateContainer ?
If you can't use a batching table, can you maybe split your data set into groups and then wrap each group in a tbody tag, which you can then mark as an update container (or wrap it in an update container). That way you don't have to have one update container per row, but you're also not forcing an update of thousands rows at a time. You just need to set a useful group size, say 50 or so rows. F On 2011-Apr-26, at 04:33 PM, Theodore Petrosky wrote: > I guess I should have started off by saying that my user demands that all > rows of data be visible all the time (because this is what it looks like in > excel). I even have a boolean to not show old data but she insists that all > data (including legacy data) is important and she needs to see it all the > time (so nothing gets marked as 'complete'). > > I think it sucks big time, but what can I do? I have been dragging my feet > for 3 weeks already and the only solution I have found was to wrap every row > in an UpdateContainer. > > Ted > > --- On Tue, 4/26/11, Chuck Hill wrote: > >> From: Chuck Hill >> Subject: Re: AjaxUpdateContainer ? >> To: "Theodore Petrosky" >> Cc: webobjects-dev@lists.apple.com >> Date: Tuesday, April 26, 2011, 1:56 PM >> >> On Apr 26, 2011, at 5:16 AM, Theodore Petrosky wrote: >> >>> I am presenting a table to my user and I am noticing >> that the number of rows that they want to keep current is >> growing to more than 1k. >>> >>> One of the UI issues is to color individual rows that >> signify specific meta data (ie. row is red so it is >> important, green is something else). >>> >>> Currently, I have one AjaxUpdateContainer wrapping the >> whole table. If the user updates the row color, I fire the >> container update. But with over 1k rows, this is starting to >> take time (10 - 15 seconds). So I thought that I would wrap >> the individual row in its own update container. >>> >>> Before I jump into this, I thought I would ask. If I >> had 1000 update containers on my page, am I shooting myself >> in the foot? Or is this what the AjaxUpdateContainer is made >> for? Or do I have to update the whole table for the row >> color to update (with CSS)? >> > > >> It is probably not much worse than a 1000 row table, a 1000 >> row table is pretty bad already. :-) That is a >> terrible interface, IMO. You need to batch the data >> and keep the table small. See AjaxGrid for one way to >> do this. >> >> >> Chuck >> > > ___ > 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: > http://lists.apple.com/mailman/options/webobjects-dev/listfez%40dakri.com > > This email sent to list...@dakri.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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: DB2 Plugin Done
Thanks for the help. The targets are in there now. Jeffrey Simpson Senior Software Engineer Telephone: 240.235.2144 Fax: 240.235.2174 Youth For Understanding (YFU) prepares young people for their responsibilities and opportunities in a changing, interdependent world. simpson@yfu.orgOn Apr 27, 2011, at 2:25 PM, Pascal Robert wrote: > Hi Jeffrey, > > I had a quick look and so far the project structure seems ok. The only thing > missing is the targets in build.xml: > > https://github.com/jeffreyindc/wonder/blob/master/Build/build/build.xml > > You should add a target for the plugin (see the H2Plugin.all target for an > example) and another target for the PluginTest project. > >> This is a better link to the github >> https://jeffreyi...@github.com/jeffreyindc/wonder.git >> >> >> Jeffrey Simpson >> Senior Software Engineer >> Telephone: 240.235.2144 >> Fax: 240.235.2174 >> >> Youth For Understanding (YFU) prepares young people for their >> responsibilities and opportunities in a changing, interdependent world. >> simpson@yfu.orgOn Apr 27, 2011, at 12:36 PM, Jeffrey Simpson wrote: >> >>> I have checked in my plugin to g...@github.com:jeffreyindc/wonder.git. >>> Please have a look. I know I am probably the only person using DB2 but the >>> PluginTest may be of interest. >>> >>> >>> >>> >>> Jeffrey Simpson >>> Senior Software Engineer >>> Telephone: 240.235.2144 >>> Fax: 240.235.2174 >>> >>> Youth For Understanding (YFU) prepares young people for their >>> responsibilities and opportunities in a changing, interdependent world. >>> simpson@yfu.orgOn Apr 27, 2011, at 11:45 AM, Pascal Robert wrote: >>> Le 2011-04-27 à 11:41, Jeffrey Simpson a écrit : > Ok I got a github account and made a fork. What is confusing me is which > branch in the fork do I check out and add my code to. Is master the > right one? If you use WebObjects 5.4.x, "master" is the right one. > > > Jeffrey Simpson > Senior Software Engineer > Telephone: 240.235.2144 > Fax: 240.235.2174 > > Youth For Understanding (YFU) prepares young people for their > responsibilities and opportunities in a changing, interdependent world. > simpson@yfu.orgOn Apr 27, 2011, at 10:02 AM, Pascal Robert wrote: > >> >> Le 2011-04-27 à 09:47, Jeffrey Simpson a écrit : >> >>> >>> So I have written the DB2 Plugin. It is really 2 plugins. DB2Plugin >>> and DB2ForISeriesPlugIn. There are some slight difference between DB2 >>> running on Linux, Unix and Windows and DB2 running on the iSeries. I >>> think the DB2ForISeriesPlugIn would work for DB2 for OS/390 but I do >>> not promise it. >> >> Cool! >> >>> So how should I give this to Wonder? Here is a list of what I have >>> done. >> >> Open a GitHub account, do your own fork of Wonder and add your projects >> into your Wonder fork. You can ask people who run DB2 to try out your >> plugin and if everything works fine, you can do a pull request so that a >> Wonder committer can add it into the "master" Wonder repository. >> >>> New DB2Plugin Framework. >>> New PluginTest application. This is a first stab at a application that >>> can be user to test plugins. Different plugins can be tested using the >>> properties in ERXModelGroup. >>> >>> Changed ERExtentions ERXSQLHelper to add support for DB2 >>> >>> Changed ERPrototypes EOJDBCDB2Prototypes to have values that make sense >>> to DB2. >>> >>> The ERExtentions and ERPrototypes changes I can create a patch but what >>> about the other the plugin and the Test App? >>> >>> >>> Jeffrey Simpson >>> Senior Software Engineer >>> Telephone: 240.235.2144 >>> Fax: 240.235.2174 >>> simp...@yfu.org >>> >>> Youth For Understanding (YFU) prepares young people for their >>> responsibilities and opportunities in a changing, interdependent world. >>> ___ >>> 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: >>> http://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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: tiny_mce problem with D2W (solved)
Hi all, The problem with tiny_mce was fixed. The solution was to use the Project Wonder Apache adaptor instead of the cgi. That was the only difference that we found between the server with version 10.6.0, where the application was working correctly, and the new server with version 10.6.6. We installed the ProjectWonder adaptor and now everything is fine. Regards, Daniel. On 24/04/2011, at 12:19, David LeBer wrote: > Did the Ajax framework's web server resources make it in the migration? > > i.e: If you view inspect element on the head of the page, do the paths for > the js resources resolve correctly? > > On 2011-04-24, at 1:11 PM, Daniel Mejia wrote: > >> Hi All, >> >> I need some help with the ERDEditHTML component. >> >> I have an application that use ERDEditHTML component to edit many fields of >> and entity using tabs in D2W. The editor is in different fields in different >> tabs. The editor in the first tab is displayed correctly and I can edit the >> text using TinyMCE, but the other text fields that are inside the other tabs >> they never display the HTML editor. Actually, the editor is displayed if I >> reload the page. I can't see any error in the logs and the only error that I >> can see is in the browser debugger where I get the following error: >> >> TypeError: Result of expression 'Ajax.InPlaceEditorWithEmptyText' >> [undefined] is not a constructor. >> >> The application run correctly in a server using mac os server 10.6, but this >> weekend we migrate to a new server with 10.6.6 and this feature was broken. >> >> I hope somebody can lead me where I need to look to fix this problem. >> >> I'm using: >> WO 5.4.3 >> Project Wonder 54 >> Deployed in Mac OS 10.6.6 >> java.version=1.6.0_24 >> The application has all the frameworks embedded. >> >> Saludos, >> >> Daniel. >> >> >> >> >> ___ >> 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: >> http://lists.apple.com/mailman/options/webobjects-dev/dleber_wodev%40codeferous.com >> >> This email sent to dleber_wo...@codeferous.com > > ;david > > -- > David LeBer > Codeferous Software > 'co-def-er-ous' adj. Literally 'code-bearing' > site: http://codeferous.com > blog: http://davidleber.net > profile: http://www.linkedin.com/in/davidleber > twitter: http://twitter.com/rebeld > -- > Toronto Area Cocoa / WebObjects developers group: > http://tacow.org > > > > ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: DB2 Plugin Done
Hi Jeffrey, I had a quick look and so far the project structure seems ok. The only thing missing is the targets in build.xml: https://github.com/jeffreyindc/wonder/blob/master/Build/build/build.xml You should add a target for the plugin (see the H2Plugin.all target for an example) and another target for the PluginTest project. > This is a better link to the github > https://jeffreyi...@github.com/jeffreyindc/wonder.git > > > Jeffrey Simpson > Senior Software Engineer > Telephone: 240.235.2144 > Fax: 240.235.2174 > > Youth For Understanding (YFU) prepares young people for their > responsibilities and opportunities in a changing, interdependent world. > simpson@yfu.orgOn Apr 27, 2011, at 12:36 PM, Jeffrey Simpson wrote: > >> I have checked in my plugin to g...@github.com:jeffreyindc/wonder.git. >> Please have a look. I know I am probably the only person using DB2 but the >> PluginTest may be of interest. >> >> >> >> >> Jeffrey Simpson >> Senior Software Engineer >> Telephone: 240.235.2144 >> Fax: 240.235.2174 >> >> Youth For Understanding (YFU) prepares young people for their >> responsibilities and opportunities in a changing, interdependent world. >> simpson@yfu.orgOn Apr 27, 2011, at 11:45 AM, Pascal Robert wrote: >> >>> >>> Le 2011-04-27 à 11:41, Jeffrey Simpson a écrit : >>> Ok I got a github account and made a fork. What is confusing me is which branch in the fork do I check out and add my code to. Is master the right one? >>> >>> If you use WebObjects 5.4.x, "master" is the right one. >>> Jeffrey Simpson Senior Software Engineer Telephone: 240.235.2144 Fax: 240.235.2174 Youth For Understanding (YFU) prepares young people for their responsibilities and opportunities in a changing, interdependent world. simpson@yfu.orgOn Apr 27, 2011, at 10:02 AM, Pascal Robert wrote: > > Le 2011-04-27 à 09:47, Jeffrey Simpson a écrit : > >> >> So I have written the DB2 Plugin. It is really 2 plugins. DB2Plugin >> and DB2ForISeriesPlugIn. There are some slight difference between DB2 >> running on Linux, Unix and Windows and DB2 running on the iSeries. I >> think the DB2ForISeriesPlugIn would work for DB2 for OS/390 but I do not >> promise it. > > Cool! > >> So how should I give this to Wonder? Here is a list of what I have done. > > Open a GitHub account, do your own fork of Wonder and add your projects > into your Wonder fork. You can ask people who run DB2 to try out your > plugin and if everything works fine, you can do a pull request so that a > Wonder committer can add it into the "master" Wonder repository. > >> New DB2Plugin Framework. >> New PluginTest application. This is a first stab at a application that >> can be user to test plugins. Different plugins can be tested using the >> properties in ERXModelGroup. >> >> Changed ERExtentions ERXSQLHelper to add support for DB2 >> >> Changed ERPrototypes EOJDBCDB2Prototypes to have values that make sense >> to DB2. >> >> The ERExtentions and ERPrototypes changes I can create a patch but what >> about the other the plugin and the Test App? >> >> >> Jeffrey Simpson >> Senior Software Engineer >> Telephone: 240.235.2144 >> Fax: 240.235.2174 >> simp...@yfu.org >> >> Youth For Understanding (YFU) prepares young people for their >> responsibilities and opportunities in a changing, interdependent world. >> ___ >> 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: >> http://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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: DB2 Plugin Done
This is a better link to the github https://jeffreyi...@github.com/jeffreyindc/wonder.git Jeffrey Simpson Senior Software Engineer Telephone: 240.235.2144 Fax: 240.235.2174 Youth For Understanding (YFU) prepares young people for their responsibilities and opportunities in a changing, interdependent world. simpson@yfu.orgOn Apr 27, 2011, at 12:36 PM, Jeffrey Simpson wrote: > I have checked in my plugin to g...@github.com:jeffreyindc/wonder.git. > Please have a look. I know I am probably the only person using DB2 but the > PluginTest may be of interest. > > > > > Jeffrey Simpson > Senior Software Engineer > Telephone: 240.235.2144 > Fax: 240.235.2174 > > Youth For Understanding (YFU) prepares young people for their > responsibilities and opportunities in a changing, interdependent world. > simpson@yfu.orgOn Apr 27, 2011, at 11:45 AM, Pascal Robert wrote: > >> >> Le 2011-04-27 à 11:41, Jeffrey Simpson a écrit : >> >>> Ok I got a github account and made a fork. What is confusing me is which >>> branch in the fork do I check out and add my code to. Is master the right >>> one? >> >> If you use WebObjects 5.4.x, "master" is the right one. >> >>> >>> >>> Jeffrey Simpson >>> Senior Software Engineer >>> Telephone: 240.235.2144 >>> Fax: 240.235.2174 >>> >>> Youth For Understanding (YFU) prepares young people for their >>> responsibilities and opportunities in a changing, interdependent world. >>> simpson@yfu.orgOn Apr 27, 2011, at 10:02 AM, Pascal Robert wrote: >>> Le 2011-04-27 à 09:47, Jeffrey Simpson a écrit : > > So I have written the DB2 Plugin. It is really 2 plugins. DB2Plugin and > DB2ForISeriesPlugIn. There are some slight difference between DB2 > running on Linux, Unix and Windows and DB2 running on the iSeries. I > think the DB2ForISeriesPlugIn would work for DB2 for OS/390 but I do not > promise it. Cool! > So how should I give this to Wonder? Here is a list of what I have done. Open a GitHub account, do your own fork of Wonder and add your projects into your Wonder fork. You can ask people who run DB2 to try out your plugin and if everything works fine, you can do a pull request so that a Wonder committer can add it into the "master" Wonder repository. > New DB2Plugin Framework. > New PluginTest application. This is a first stab at a application that > can be user to test plugins. Different plugins can be tested using the > properties in ERXModelGroup. > > Changed ERExtentions ERXSQLHelper to add support for DB2 > > Changed ERPrototypes EOJDBCDB2Prototypes to have values that make sense > to DB2. > > The ERExtentions and ERPrototypes changes I can create a patch but what > about the other the plugin and the Test App? > > > Jeffrey Simpson > Senior Software Engineer > Telephone: 240.235.2144 > Fax: 240.235.2174 > simp...@yfu.org > > Youth For Understanding (YFU) prepares young people for their > responsibilities and opportunities in a changing, interdependent world. > ___ > 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: > http://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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: DB2 Plugin Done
I have checked in my plugin to g...@github.com:jeffreyindc/wonder.git. Please have a look. I know I am probably the only person using DB2 but the PluginTest may be of interest. Jeffrey Simpson Senior Software Engineer Telephone: 240.235.2144 Fax: 240.235.2174 Youth For Understanding (YFU) prepares young people for their responsibilities and opportunities in a changing, interdependent world. simpson@yfu.orgOn Apr 27, 2011, at 11:45 AM, Pascal Robert wrote: > > Le 2011-04-27 à 11:41, Jeffrey Simpson a écrit : > >> Ok I got a github account and made a fork. What is confusing me is which >> branch in the fork do I check out and add my code to. Is master the right >> one? > > If you use WebObjects 5.4.x, "master" is the right one. > >> >> >> Jeffrey Simpson >> Senior Software Engineer >> Telephone: 240.235.2144 >> Fax: 240.235.2174 >> >> Youth For Understanding (YFU) prepares young people for their >> responsibilities and opportunities in a changing, interdependent world. >> simpson@yfu.orgOn Apr 27, 2011, at 10:02 AM, Pascal Robert wrote: >> >>> >>> Le 2011-04-27 à 09:47, Jeffrey Simpson a écrit : >>> So I have written the DB2 Plugin. It is really 2 plugins. DB2Plugin and DB2ForISeriesPlugIn. There are some slight difference between DB2 running on Linux, Unix and Windows and DB2 running on the iSeries. I think the DB2ForISeriesPlugIn would work for DB2 for OS/390 but I do not promise it. >>> >>> Cool! >>> So how should I give this to Wonder? Here is a list of what I have done. >>> >>> Open a GitHub account, do your own fork of Wonder and add your projects >>> into your Wonder fork. You can ask people who run DB2 to try out your >>> plugin and if everything works fine, you can do a pull request so that a >>> Wonder committer can add it into the "master" Wonder repository. >>> New DB2Plugin Framework. New PluginTest application. This is a first stab at a application that can be user to test plugins. Different plugins can be tested using the properties in ERXModelGroup. Changed ERExtentions ERXSQLHelper to add support for DB2 Changed ERPrototypes EOJDBCDB2Prototypes to have values that make sense to DB2. The ERExtentions and ERPrototypes changes I can create a patch but what about the other the plugin and the Test App? Jeffrey Simpson Senior Software Engineer Telephone: 240.235.2144 Fax: 240.235.2174 simp...@yfu.org Youth For Understanding (YFU) prepares young people for their responsibilities and opportunities in a changing, interdependent world. ___ 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: http://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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Blowfish Security Algorithm missing? [SOLVED]
On 2011-04-27, at 12:27 PM, John Huss wrote: > On Wed, Apr 27, 2011 at 7:24 AM, David Avendasora > wrote: > > On Apr 26, 2011, at 11:45 PM, Kieran Kelleher wrote: > > > In hindsight, I blame John Huss for this mess! ;-) > > Yes! That horrible John Huss. Suggesting you modify your JRE settings! > > Whistling quietly while I quietly back out of the room... > > Dave > > Yeah! It was David's idea originally, I just made it better. Let's justs > blame David - they are expendable and in plentiful supply. :-) Hey!? ;david -- David LeBer Codeferous Software 'co-def-er-ous' adj. Literally 'code-bearing' site: http://codeferous.com blog: http://davidleber.net profile:http://www.linkedin.com/in/davidleber twitter:http://twitter.com/rebeld -- WOWODC 2011 : July 1-2-3, Montreal. http://wowodc.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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: getting a session from WOApplication dispatchRequest
Example: https://github.com/nullterminated/ponder/raw/master/ERAuth/Sources/er/auth/ERStageManager.java This allows me to maintain a user on the session without the session knowing anything about the user. I just call ERStageManager.INSTANCE.setActor(user) after a successful login and I'm done. (^_^) Ramsey On Apr 27, 2011, at 8:32 AM, Mike Schrag wrote: > wonder posts SessionWillAwakeNotification and SessionWillSleepNotification > notifications ... might be the better way to do it. you probably don't want > to be doing session stuff in dispatch request ... you can do it, but you have > to check out before, checkin, call super, check out, check in or you'll > probably get an exception or deadlock when it tries to lock the session twice > on the same thread. > > ms > > On Apr 27, 2011, at 11:21 AM, Michael Gargano wrote: > >> Hi all, >> >> I need to do something like this... >> >> public WOResponse dispatchRequest(WORequest) { >> >> session = getWOSession >> >> retrieve / modify values in session >> >> bind some thread local variables >> >> response = super.dispatchRequest() >> >> unbind the tread local variables >> >> return response >> } >> >> I was trying to get the session from the request's context, but the context >> has not be created at this point. So, there were two ways I was looking at >> accomplishing this >> >> 1) call createContextFromRequest() to get a new context followed by >> restoreSessionWithID >> (this seems like the dicer of the two options) >> >> 2) call sessionStore() to retrieve the session store then call >> restoreSessionWithID() to get a reference to the session make my reads and >> changes >> >> Chuck had mentioned doing this in Session's awake() and sleep(), but the >> problem is that I'm trying to unify the WOSession with another framework's >> session model, so some of the information I need to restore the other >> session resides in the WOSession. The other framework also has a bunch of >> stuff it binds to thread local, but everything works off it's own internal >> utility classes preventing me from using ERXThreadStorage. >> >> Thanks. >> -Mike >> >> ___ >> 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: >> http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40pobox.com >> >> This email sent to msch...@pobox.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: > http://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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: D2W pull downs for toOne relationships aren't behaving as I'd expect anymore
On 2011-04-27, at 12:17 PM, Joe Little wrote: > Thanks. I found > > http://webobjects.mdimension.com/hudson/job/Wonder/javadoc/er/directtoweb/components/relationships/ERD2WQueryToManyRelationship.html > > Which does gives the toOneUIStyle option, but what are the assignable > values? You gave me popup, but I'm hoping to be able find these > possible values, and I'm not getting anywhere without clues each time > I look thinks up. Sometimes you just need to look at the code. ERD2WEditToOneRelationship wraps an ERXToOneRelationship, and passes this binding to it: uiStyle = d2wContext.toOneUIStyle; ERXToOneRelationship implements: public boolean isCheckBox() { return uiStyle().equals("checkbox"); } public boolean isRadio() { return uiStyle().equals("radio"); } public boolean isPopup() { return uiStyle().equals("popup"); } public boolean isBrowser() { return uiStyle().equals("browser"); } So the options are "checkbox, radio, popup, browser". > > On Wed, Apr 27, 2011 at 3:42 AM, David Avendasora > wrote: >> Hi Joe! >> >> You have missed the rule that tells D2W what UI style to use for the >> ERD2WEditToOneRelationship component. >> >> 25 : (pageConfiguration like '*EmbeddedAffiliate' and propertyKey >> ='company') => toOneUIStyle = popup [com.webobjects.directtoweb.Assignment] >> >> That should get you the popup instead of the radio buttons! >> >> Note: The Radio Button UI Style could use some CSS love... :-) >> >> Dave >> >> On Apr 27, 2011, at 12:13 AM, Joe Little wrote: >> >>> I have one working pull down I created before, but whenever I try to >>> add another using the same scheme, I'm getting a ugly check box >>> selection vs a pull down list, as seen from the attached. The rule I >>> was using was: >>> >>> 100: (pageConfiguration like '*EmbeddedAffiliate' and propertyKey = >>> 'company') => componentName = "ERD2WEditToOneRelationship" >>> *Assignment* >>> >>> I'm trying to make company a pull down selection, but I end up with >>> the attached for both CreatedEmbeddedAffiliate and >>> EditEmbeddedAffiliate. >>> >>> ___ >>> 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: >>> http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com >>> >>> This email sent to webobje...@avendasora.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: > http://lists.apple.com/mailman/options/webobjects-dev/dleber_wodev%40codeferous.com > > This email sent to dleber_wo...@codeferous.com > ;david -- David LeBer Codeferous Software 'co-def-er-ous' adj. Literally 'code-bearing' site: http://codeferous.com blog: http://davidleber.net profile:http://www.linkedin.com/in/davidleber twitter:http://twitter.com/rebeld -- WOWODC 2011 : July 1-2-3, Montreal. http://wowodc.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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Blowfish Security Algorithm missing? [SOLVED]
On Wed, Apr 27, 2011 at 7:24 AM, David Avendasora wrote: > > On Apr 26, 2011, at 11:45 PM, Kieran Kelleher wrote: > > > In hindsight, I blame John Huss for this mess! ;-) > > Yes! That horrible John Huss. Suggesting you modify your JRE settings! > > Whistling quietly while I quietly back out of the room... > > Dave Yeah! It was David's idea originally, I just made it better. Let's justs blame David - they are expendable and in plentiful supply. :-) John ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Blowfish Security Algorithm missing? [SOLVED]
Before I close this issue and forget about it, an interesting thing is that a plain old simple java test class, based on copy/paste of ERXBlowfish+related logic (see attached), shows that the default sun.boot.class.path for command line launch on OS X 10.6.7 does not include these **/Home/lib/ext/*.jar's.To test this on your machine, here are the commands (for those of us who are spoiled by IDE's) BlowFishCrypterTest.java Description: Binary data Drop the java file in a new folder somewhere, navigate to the dir in Terminal and do this:$ javac -d . BlowFishCrypterTest.java$ java test/BlowFishCrypterTestThe output will be sth like this:java.class.path:.sun.boot.class.path:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsfd.jar/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/classes.jar/System/Library/Frameworks/JavaVM.framework/Frameworks/JavaRuntimeSupport.framework/Resources/Java/JavaRuntimeSupport.jar/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/ui.jar/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/laf.jar/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/sunrsasign.jar/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsse.jar/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jce.jar/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/charsets.jar_blowfishKey = javax.crypto.spec.SecretKeySpec@d97ad666_encryptCipher = javax.crypto.Cipher@53ad085; Provider = SunJCE version 1.6_decryptCipher = javax.crypto.Cipher@5f7a8a02; Provider = SunJCE version 1.6It works.So, maybe the fact that Eclipse grabs those references in the Home/lib/ext and ads them to the JRE Definition automatically when you try to Edit the JRE Definition is a bug?This Eclipse JRE Definition is perhaps yet another thing to add to the Chuck Hill "Develop as you intend to deploy" mantra (http://bit.ly/fDAV2g).Regards, KieranOn Apr 26, 2011, at 11:45 PM, Kieran Kelleher wrote:This is a booby-trap waiting to happen to you all who might be using ERXBlowfishCrypter (or possibly other java security features) ;-) Documenting this here so that "Future Me" will not waste time solving this problem again.The problem was that the JRE Definition has changed kind-of-by-itself, when I opened the JRE Definition in Eclipse to add java src location at the end of last week.Steps to reproduce in OS X 10.6.7:1) If you haven't already done so, update to the very latest Java 1.6 Update 4 for OS X 10.6 on your OS X development Mac and restart.2) Add this code to the end of your app initialization (in your override of ERXApplication.didFinishLaunching() for example) classpath = ERXProperties.stringForKey("sun.boot.class.path"); if (classpath != null) { classpath = classpath.replace(':', '\n'); } System.out.println("sun.boot.class.path = \n" + classpath);3) Run your app and check the output of that debug code in your console. If you have NOT edited your JRE definition in Eclipse Prefs in a long time, you will probably see something like this:sun.boot.class.path = /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/classes.jar/System/Library/Frameworks/JavaVM.framework/Frameworks/JavaRuntimeSupport.framework/Resources/Java/JavaRuntimeSupport.jar/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/ui.jar/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/jsse.jar/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/jce.jar/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Classes/charsets.jar4) Now open Eclipse Preferences => Java => Installed JREs. Select your default JVM and click Edit. Scroll to the bottom of the JRE Definition list and note the presence of a bunch of automatically added **/Home/lib/ext/*.jar's. Click Finish.5) Now RESTART ECLIPSE, and run your app again and check the debug output for sun.boot.class.path. Note that it will have changed even though you did not actually Add or Remove any jars in the edit dialog. Apparently, each time you open the JRE Definition, it will automatically grab extra security provider jars inside Java Home/lib/ext, which were probably added by some Java update in between the time I installed Eclipse and now.For more fun try and get ERXBlowfishCrypter to work while these other jars (which include security providers) are in boot path. I have confirmed that it will failOf interest is that some of the providers in this set of new jars are high priority security providers in the Properties file at: /System/Library/Frameworks/JavaVM.framework/Home/lib/security/java.security_Steps to Workaround:1) Open the JRE Definition2) Remove all the **/Home/lib/ext/*.jar's. Click Finish.--In hindsight, I blame John Huss for this mess! ;-) Th
Re: D2W pull downs for toOne relationships aren't behaving as I'd expect anymore
Thanks. I found http://webobjects.mdimension.com/hudson/job/Wonder/javadoc/er/directtoweb/components/relationships/ERD2WQueryToManyRelationship.html Which does gives the toOneUIStyle option, but what are the assignable values? You gave me popup, but I'm hoping to be able find these possible values, and I'm not getting anywhere without clues each time I look thinks up. On Wed, Apr 27, 2011 at 3:42 AM, David Avendasora wrote: > Hi Joe! > > You have missed the rule that tells D2W what UI style to use for the > ERD2WEditToOneRelationship component. > > 25 : (pageConfiguration like '*EmbeddedAffiliate' and propertyKey ='company') > => toOneUIStyle = popup [com.webobjects.directtoweb.Assignment] > > That should get you the popup instead of the radio buttons! > > Note: The Radio Button UI Style could use some CSS love... :-) > > Dave > > On Apr 27, 2011, at 12:13 AM, Joe Little wrote: > >> I have one working pull down I created before, but whenever I try to >> add another using the same scheme, I'm getting a ugly check box >> selection vs a pull down list, as seen from the attached. The rule I >> was using was: >> >> 100: (pageConfiguration like '*EmbeddedAffiliate' and propertyKey = >> 'company') => componentName = "ERD2WEditToOneRelationship" >> *Assignment* >> >> I'm trying to make company a pull down selection, but I end up with >> the attached for both CreatedEmbeddedAffiliate and >> EditEmbeddedAffiliate. >> >> ___ >> 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: >> http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com >> >> This email sent to webobje...@avendasora.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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: DB2 Plugin Done
Le 2011-04-27 à 11:41, Jeffrey Simpson a écrit : > Ok I got a github account and made a fork. What is confusing me is which > branch in the fork do I check out and add my code to. Is master the right > one? If you use WebObjects 5.4.x, "master" is the right one. > > > Jeffrey Simpson > Senior Software Engineer > Telephone: 240.235.2144 > Fax: 240.235.2174 > > Youth For Understanding (YFU) prepares young people for their > responsibilities and opportunities in a changing, interdependent world. > simpson@yfu.orgOn Apr 27, 2011, at 10:02 AM, Pascal Robert wrote: > >> >> Le 2011-04-27 à 09:47, Jeffrey Simpson a écrit : >> >>> >>> So I have written the DB2 Plugin. It is really 2 plugins. DB2Plugin and >>> DB2ForISeriesPlugIn. There are some slight difference between DB2 running >>> on Linux, Unix and Windows and DB2 running on the iSeries. I think the >>> DB2ForISeriesPlugIn would work for DB2 for OS/390 but I do not promise it. >> >> Cool! >> >>> So how should I give this to Wonder? Here is a list of what I have done. >> >> Open a GitHub account, do your own fork of Wonder and add your projects into >> your Wonder fork. You can ask people who run DB2 to try out your plugin and >> if everything works fine, you can do a pull request so that a Wonder >> committer can add it into the "master" Wonder repository. >> >>> New DB2Plugin Framework. >>> New PluginTest application. This is a first stab at a application that can >>> be user to test plugins. Different plugins can be tested using the >>> properties in ERXModelGroup. >>> >>> Changed ERExtentions ERXSQLHelper to add support for DB2 >>> >>> Changed ERPrototypes EOJDBCDB2Prototypes to have values that make sense to >>> DB2. >>> >>> The ERExtentions and ERPrototypes changes I can create a patch but what >>> about the other the plugin and the Test App? >>> >>> >>> Jeffrey Simpson >>> Senior Software Engineer >>> Telephone: 240.235.2144 >>> Fax: 240.235.2174 >>> simp...@yfu.org >>> >>> Youth For Understanding (YFU) prepares young people for their >>> responsibilities and opportunities in a changing, interdependent world. >>> ___ >>> 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: >>> http://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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: DB2 Plugin Done
Ok I got a github account and made a fork. What is confusing me is which branch in the fork do I check out and add my code to. Is master the right one? Jeffrey Simpson Senior Software Engineer Telephone: 240.235.2144 Fax: 240.235.2174 Youth For Understanding (YFU) prepares young people for their responsibilities and opportunities in a changing, interdependent world. simpson@yfu.orgOn Apr 27, 2011, at 10:02 AM, Pascal Robert wrote: > > Le 2011-04-27 à 09:47, Jeffrey Simpson a écrit : > >> >> So I have written the DB2 Plugin. It is really 2 plugins. DB2Plugin and >> DB2ForISeriesPlugIn. There are some slight difference between DB2 running >> on Linux, Unix and Windows and DB2 running on the iSeries. I think the >> DB2ForISeriesPlugIn would work for DB2 for OS/390 but I do not promise it. > > Cool! > >> So how should I give this to Wonder? Here is a list of what I have done. > > Open a GitHub account, do your own fork of Wonder and add your projects into > your Wonder fork. You can ask people who run DB2 to try out your plugin and > if everything works fine, you can do a pull request so that a Wonder > committer can add it into the "master" Wonder repository. > >> New DB2Plugin Framework. >> New PluginTest application. This is a first stab at a application that can >> be user to test plugins. Different plugins can be tested using the >> properties in ERXModelGroup. >> >> Changed ERExtentions ERXSQLHelper to add support for DB2 >> >> Changed ERPrototypes EOJDBCDB2Prototypes to have values that make sense to >> DB2. >> >> The ERExtentions and ERPrototypes changes I can create a patch but what >> about the other the plugin and the Test App? >> >> >> Jeffrey Simpson >> Senior Software Engineer >> Telephone: 240.235.2144 >> Fax: 240.235.2174 >> simp...@yfu.org >> >> Youth For Understanding (YFU) prepares young people for their >> responsibilities and opportunities in a changing, interdependent world. >> ___ >> 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: >> http://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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: getting a session from WOApplication dispatchRequest
wonder posts SessionWillAwakeNotification and SessionWillSleepNotification notifications ... might be the better way to do it. you probably don't want to be doing session stuff in dispatch request ... you can do it, but you have to check out before, checkin, call super, check out, check in or you'll probably get an exception or deadlock when it tries to lock the session twice on the same thread. ms On Apr 27, 2011, at 11:21 AM, Michael Gargano wrote: > Hi all, > > I need to do something like this... > > public WOResponse dispatchRequest(WORequest) { > > session = getWOSession > > retrieve / modify values in session > > bind some thread local variables > > response = super.dispatchRequest() > > unbind the tread local variables > > return response > } > > I was trying to get the session from the request's context, but the context > has not be created at this point. So, there were two ways I was looking at > accomplishing this > > 1) call createContextFromRequest() to get a new context followed by > restoreSessionWithID > (this seems like the dicer of the two options) > > 2) call sessionStore() to retrieve the session store then call > restoreSessionWithID() to get a reference to the session make my reads and > changes > > Chuck had mentioned doing this in Session's awake() and sleep(), but the > problem is that I'm trying to unify the WOSession with another framework's > session model, so some of the information I need to restore the other session > resides in the WOSession. The other framework also has a bunch of stuff it > binds to thread local, but everything works off it's own internal utility > classes preventing me from using ERXThreadStorage. > > Thanks. > -Mike > > ___ > 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: > http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40pobox.com > > This email sent to msch...@pobox.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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
getting a session from WOApplication dispatchRequest
Hi all, I need to do something like this... public WOResponse dispatchRequest(WORequest) { session = getWOSession retrieve / modify values in session bind some thread local variables response = super.dispatchRequest() unbind the tread local variables return response } I was trying to get the session from the request's context, but the context has not be created at this point. So, there were two ways I was looking at accomplishing this 1) call createContextFromRequest() to get a new context followed by restoreSessionWithID (this seems like the dicer of the two options) 2) call sessionStore() to retrieve the session store then call restoreSessionWithID() to get a reference to the session make my reads and changes Chuck had mentioned doing this in Session's awake() and sleep(), but the problem is that I'm trying to unify the WOSession with another framework's session model, so some of the information I need to restore the other session resides in the WOSession. The other framework also has a bunch of stuff it binds to thread local, but everything works off it's own internal utility classes preventing me from using ERXThreadStorage. Thanks. -Mike ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: DB2 Plugin Done
Le 2011-04-27 à 09:47, Jeffrey Simpson a écrit : > > So I have written the DB2 Plugin. It is really 2 plugins. DB2Plugin and > DB2ForISeriesPlugIn. There are some slight difference between DB2 running on > Linux, Unix and Windows and DB2 running on the iSeries. I think the > DB2ForISeriesPlugIn would work for DB2 for OS/390 but I do not promise it. Cool! > So how should I give this to Wonder? Here is a list of what I have done. Open a GitHub account, do your own fork of Wonder and add your projects into your Wonder fork. You can ask people who run DB2 to try out your plugin and if everything works fine, you can do a pull request so that a Wonder committer can add it into the "master" Wonder repository. > New DB2Plugin Framework. > New PluginTest application. This is a first stab at a application that can > be user to test plugins. Different plugins can be tested using the > properties in ERXModelGroup. > > Changed ERExtentions ERXSQLHelper to add support for DB2 > > Changed ERPrototypes EOJDBCDB2Prototypes to have values that make sense to > DB2. > > The ERExtentions and ERPrototypes changes I can create a patch but what about > the other the plugin and the Test App? > > > Jeffrey Simpson > Senior Software Engineer > Telephone: 240.235.2144 > Fax: 240.235.2174 > simp...@yfu.org > > Youth For Understanding (YFU) prepares young people for their > responsibilities and opportunities in a changing, interdependent world. > ___ > 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: > http://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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
DB2 Plugin Done
So I have written the DB2 Plugin. It is really 2 plugins. DB2Plugin and DB2ForISeriesPlugIn. There are some slight difference between DB2 running on Linux, Unix and Windows and DB2 running on the iSeries. I think the DB2ForISeriesPlugIn would work for DB2 for OS/390 but I do not promise it. So how should I give this to Wonder? Here is a list of what I have done. New DB2Plugin Framework. New PluginTest application. This is a first stab at a application that can be user to test plugins. Different plugins can be tested using the properties in ERXModelGroup. Changed ERExtentions ERXSQLHelper to add support for DB2 Changed ERPrototypes EOJDBCDB2Prototypes to have values that make sense to DB2. The ERExtentions and ERPrototypes changes I can create a patch but what about the other the plugin and the Test App? Jeffrey Simpson Senior Software Engineer Telephone: 240.235.2144 Fax: 240.235.2174 simp...@yfu.org Youth For Understanding (YFU) prepares young people for their responsibilities and opportunities in a changing, interdependent world. ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Blowfish Security Algorithm missing? [SOLVED]
On Apr 26, 2011, at 11:45 PM, Kieran Kelleher wrote: > In hindsight, I blame John Huss for this mess! ;-) Yes! That horrible John Huss. Suggesting you modify your JRE settings! Whistling quietly while I quietly back out of the room... Dave ___ 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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: D2W pull downs for toOne relationships aren't behaving as I'd expect anymore
Hi Joe! You have missed the rule that tells D2W what UI style to use for the ERD2WEditToOneRelationship component. 25 : (pageConfiguration like '*EmbeddedAffiliate' and propertyKey ='company') => toOneUIStyle = popup [com.webobjects.directtoweb.Assignment] That should get you the popup instead of the radio buttons! Note: The Radio Button UI Style could use some CSS love... :-) Dave On Apr 27, 2011, at 12:13 AM, Joe Little wrote: > I have one working pull down I created before, but whenever I try to > add another using the same scheme, I'm getting a ugly check box > selection vs a pull down list, as seen from the attached. The rule I > was using was: > > 100: (pageConfiguration like '*EmbeddedAffiliate' and propertyKey = > 'company') => componentName = "ERD2WEditToOneRelationship" > *Assignment* > > I'm trying to make company a pull down selection, but I end up with > the attached for both CreatedEmbeddedAffiliate and > EditEmbeddedAffiliate. > > ___ > 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: > http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com > > This email sent to webobje...@avendasora.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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: isEntityDeletable being cached in D2WContext in ERMODListPage
I found the cause of the problem: The actions key for the list page cached the results of the isEntityDeletable/isEntityEditable rule in a dictionary with the following rule: 0 : *true* => actions = defaultActions [er.directtoweb.assignments.ERDKeyValueAssignment] (0) From: ERDirectToWeb.framework/Resources overriding this with a er.directtoweb.assignments.delayed.ERDDelayedKeyValueAssignment solves it. Thank you, Freddie Tilley On 22 apr 2011, at 11:59, Freddie Tilley wrote: > When tracing the isEntityDeletable rule, I get > > DEBUG er.directtoweb.rules.isEntityDeletable.fire (MyClass) - CANDIDATES for > keyPath: isEntityDeletable ... once, also showing my delayed boolean > assignment rule > DEBUG er.directtoweb.rules.isEntityDeletable.fire (MyClass) - FIRE: > isEntityDeletable for propertyKey: null depends on ... happens once > > however DEBUG er.directtoweb.rules.DelayedBooleanAssignment (MyClass) - > Resolving delayed fire for boolean conditions: ... does fire every time I > enter the page, but > with no effect. > > Freddie > > On 21 apr 2011, at 17:20, David LeBer wrote: > >> >> On 2011-04-21, at 11:05 AM, Ramsey Gurley wrote: >> >>> Create a logger for isEntityDeletable and see when the rule is >>> firing/caching. >>> >>> http://wiki.objectstyle.org/confluence/display/WO/How+to+debug+a+D2W+application >>> >>> Add >>> >>> log4j.logger.er.directtoweb.rules.ERD2WTraceRuleFiringEnabled = DEBUG >> >> You can do that easily while your app is in development by enabling the D2W >> debugging info on your page (Using the D2W link in the ERD2WDebugFlags >> block) and then clicking the Rule Tracing: Turn link. >> >>> >>> to your properties file. Once you've done that, you can create the rule >>> logging properties really easily on your app's log4j page. >>> >>> .../YourApp.woa/wa/ERXDirectAction/log4j >>> >>> Ramsey >>> >>> On Apr 21, 2011, at 4:16 AM, Freddie Tilley wrote: >>> Hi, I'm using D2W with the ERModernLook framework. When displaying items in a list page I use a ERDDelayedBooleanAssignment with a conditionKey of session.isAdmin to set the isEntityDeletable property. Logging into the site as an either an admin or a regular user will set the isEntityDeletable property, but after logging in as a different user type the settings of the previous user type remain in the d2w context. Clearing the d2w cache does set the values to the correct property. What can I do to resolve this issue? Thank you, Freddie Tilley >> >> ;david >> >> -- >> David LeBer >> Codeferous Software >> 'co-def-er-ous' adj. Literally 'code-bearing' >> site:http://codeferous.com >> blog:http://davidleber.net >> profile: http://www.linkedin.com/in/davidleber >> twitter: http://twitter.com/rebeld >> -- >> Toronto Area Cocoa / WebObjects developers group: >> http://tacow.org >> >> >> >> >> ___ >> 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: >> http://lists.apple.com/mailman/options/webobjects-dev/freddie%40cpp.nl >> >> This email sent to fred...@cpp.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: > http://lists.apple.com/mailman/options/webobjects-dev/freddie%40cpp.nl > > This email sent to fred...@cpp.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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com