Re: Issues with H2
Hi Pascal, I seem to recall Ravi adjusting some properties recently in Wonder also - so you might want to try setting Movies.URL=jdbc...etc in case this is overriding your settings. The global setting should have won though. On 21/04/2010, at 11:16 AM, Lachlan Deck wrote: > On 20/04/2010, at 7:58 PM, Pascal Robert wrote: > >> Ok, it look like my issues with migrations for ERMoviesLogic are because of >> JDBC URL switching! When the ERAttachment, ERAttachmentData and ERTag >> tables are created, my connection dictionary is : >> >> avr. 20 05:47:23 Movies[62935] DEBUG NSLog - connecting with dictionary: >> {plugin = "H2PlugIn"; username = ""; driver = "org.h2.Driver"; password = >> ""; URL = "jdbc:h2:/Resources/Movies"; } >> >> But when it creates the MovieTag table, it's switching to another URL! >> >> avr. 20 05:47:24 Movies[62935] DEBUG NSLog - connecting with dictionary: >> {plugin = "H2PlugIn"; username = ""; driver = "org.h2.Driver"; LC_ALL = >> "iso_1"; password = ""; databaseEncoding = "ISO >> Latin-1"; URL = >> "jdbc:h2:file:/Users/probert/Tools/Src/Wonder/Wonder/Frameworks/BusinessLogic/ERMoviesLogic/build/ERMoviesLogic.framework/Resources/Movies"; >> } >> >> That is weird, and I'm using global properties : >> >> dbConnectUserGLOBAL= >> dbConnectPasswordGLOBAL= >> dbConnectDriverGLOBAL=org.h2.Driver >> dbConnectPluginGLOBAL=H2PlugIn >> dbConnectURLGLOBAL=jdbc:h2:/Resources/Movies > > Haven't tried with those models but you should only need: > dbConnectUserGLOBAL= > dbConnectPasswordGLOBAL= > dbConnectURLGLOBAL=jdbc:h2:/Resources/Movies > > # handled by h2 plugin > ##dbConnectDriverGLOBAL=org.h2.Driver > ##dbConnectPluginGLOBAL=H2PlugIn > > You can try just using in-mem db also just to make sure you've got no errors. > dbConnectURLGLOBAL=jdbc:h2:mem:Movies > >> >> And I don't have this problem with MySQL, which make it even worse. In fact, >> in MySQL no MovieTag is created at all. Anyone here tried to add ERTaggable >> stuff in a H2 db? >> >> -- >> >> Pascal Robert >> prob...@macti.ca >> >> WOWODC 2010 : August 27th-29th, Montreal. 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/lachlan.deck%40gmail.com >> >> This email sent to lachlan.d...@gmail.com > > with regards, > -- > > Lachlan Deck > > > with regards, -- Lachlan Deck ___ 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: Issues with H2
On 20/04/2010, at 7:58 PM, Pascal Robert wrote: > Ok, it look like my issues with migrations for ERMoviesLogic are because of > JDBC URL switching! When the ERAttachment, ERAttachmentData and ERTag tables > are created, my connection dictionary is : > > avr. 20 05:47:23 Movies[62935] DEBUG NSLog - connecting with dictionary: > {plugin = "H2PlugIn"; username = ""; driver = "org.h2.Driver"; password = > ""; URL = "jdbc:h2:/Resources/Movies"; } > > But when it creates the MovieTag table, it's switching to another URL! > > avr. 20 05:47:24 Movies[62935] DEBUG NSLog - connecting with dictionary: > {plugin = "H2PlugIn"; username = ""; driver = "org.h2.Driver"; LC_ALL = > "iso_1"; password = ""; databaseEncoding = "ISO > Latin-1"; URL = > "jdbc:h2:file:/Users/probert/Tools/Src/Wonder/Wonder/Frameworks/BusinessLogic/ERMoviesLogic/build/ERMoviesLogic.framework/Resources/Movies"; > } > > That is weird, and I'm using global properties : > > dbConnectUserGLOBAL= > dbConnectPasswordGLOBAL= > dbConnectDriverGLOBAL=org.h2.Driver > dbConnectPluginGLOBAL=H2PlugIn > dbConnectURLGLOBAL=jdbc:h2:/Resources/Movies Haven't tried with those models but you should only need: dbConnectUserGLOBAL= dbConnectPasswordGLOBAL= dbConnectURLGLOBAL=jdbc:h2:/Resources/Movies # handled by h2 plugin ##dbConnectDriverGLOBAL=org.h2.Driver ##dbConnectPluginGLOBAL=H2PlugIn You can try just using in-mem db also just to make sure you've got no errors. dbConnectURLGLOBAL=jdbc:h2:mem:Movies > > And I don't have this problem with MySQL, which make it even worse. In fact, > in MySQL no MovieTag is created at all. Anyone here tried to add ERTaggable > stuff in a H2 db? > > -- > > Pascal Robert > prob...@macti.ca > > WOWODC 2010 : August 27th-29th, Montreal. 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/lachlan.deck%40gmail.com > > This email sent to lachlan.d...@gmail.com with regards, -- Lachlan Deck ___ 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: Need some help about ERDivaLook
On 21/04/2010, at 5:08 AM, farrukh.i...@fuegodigitalmedia.com wrote: > Where can I find a simple and already configured stylesheet that I can use > with ERDivaLook? Examples/ERDivaLookExample (There are two examples themes included). > Any link to some solid documentation would be great. http://wiki.objectstyle.org/confluence/display/WO/ERDivaLook ___ 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: Sproutcore is back?
Sproutcore didn't go anywhere did it? Tim Worman UCLA GSE&IS On Apr 20, 2010, at 5:22 AM, James Cicenia wrote: > http://forums.appleinsider.com/showthread.php?s=&threadid=108852 > > So what happened to the chocolaty sounding framework? > > > James Cicenia > > > > > > ___ > 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/lists%40thetimmy.com > > This email sent to li...@thetimmy.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: subtotal question
On Apr 1, 2010, at 5:30 PM, Lachlan Deck wrote: On 25/03/2010, at 3:08 AM, James Cicenia wrote: I see, that makes sense. I guess I thought there was someway to do it all in the wod You talking about WODictionaryRepetition from JavaWOExtensions? http://developer.apple.com/legacy/mac/library/documentation/WebObjects/Reference/WOJExtensions/WOExtensions.pdf with regards, -- Lachlan Deck Nice Lachlan. I didn't even realize that one existed. I just stumbled across another one that looks like it would do the trick from the wod too... (^_^) http://webobjects.mdimension.com/hudson/job/Wonder53/javadoc/er/extensions/components/ERXKeyValueSetter.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: Sproutcore is back?
Cappuccino is very much alive and kicking. I've played with both very recently, and they each have strengths and weaknesses. I think any potential user needs to sit down and evaluate both. I personally prefer Capp for the Objective J syntax, I find SproutCore's hybrid JavaScript implementation to be a little bit cumbersome. Andy 'Dru' Satori On Apr 20, 2010, at 8:22 AM, James Cicenia wrote: > http://forums.appleinsider.com/showthread.php?s=&threadid=108852 > > So what happened to the chocolaty sounding framework? > > > James Cicenia > > > > > > ___ > 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/dru%40druware.com > > This email sent to d...@druware.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: [OT] how to calculate a printable page?
Hi Ute, In my experience, at least with sites/apps used by users primarily from the US, it is safe to assume that Windows machines will by default have printer margins set to 0.75" (roughly 1.835 cm). Since default margins on the Mac are smaller (I think it may be 0.5" or 1.27 cm) we tend to use Windows as the guideline as it makes things easier and less time consuming. The default margins in Europe are different (A4 vs. letter size paper, etc.) but I think that the ratio is between two platforms is similar. As for the footer, we usually just add sufficient space between the footer and the content above it by specifying top or bottom margin value to the appropriate div in our CSS file. While this does not guarantee that the footer will be perfectly at the bottom of the page it handles user-specific variables (increased type size in the browser, etc.) better and is, in my experience, a much easier approach. However, if you need absolute control over element positioning you may need to resort to using PDF instead. Hope this helps. Haris On Apr 20, 2010, at 3:02 AM, ute Hoffmann wrote: > Hi, > I need to place a footer at the end of a page, the page is html and is to be > printed. > > Now I found a formula which changes cm to pixel, but it states, > that there is a difference between windows and mac, which > leads to a difference of 200 Pixel for the same cm-Values. > > requirement is this: User enters the printing borders in cm > and the web-Page is changed accordingly and finally printed > with the entered borders. > > Now: I cannot believe that this means I have to ask the user > whether he is on windows or mac and thus have different > calculations going on. > > Is the right way to not let the user print from the webpage but let > him download a pdf? > > How do others solve this? > > Regards, > > Ute > ___ > 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/hpobric%40mac.com > > This email sent to hpob...@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: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Cannot link against WO 542 api doc
Hi there, I try to link the javadoc for my projects against the javadocs of WebObjects 5.4.2. Therefore I put http://developer.apple.com/legacy/mac/library/documentation/InternetWeb/Reference/WO542Reference/"/> into my javadoc.xml ant file. Unfortunately I get an error message: [javadoc] javadoc: warning - Error fetching URL: http://developer.apple.com/legacy/mac/library/documentation/InternetWeb/Reference/WO542Reference/package-list OK, the file "package-list" is missing. I downloaded the api docs and inserted a manually created "package-list" file into the api docs. Doesn't work either :-( Funny to note, that it works with the WO 5.3 api doc using "http://developer.apple.com/documentation/WebObjects/Reference/WO53_Reference/"/>" Any ideas? C.U.CW -- Christoph Wick Director of IT Systems and Services ACADEMY GmbH & Co.KG, Pierstrasse 8, 50997 Cologne, Germany Fon: +49 2236 33665-0 Fax: +49 2236 33665-90 http://www.academy.de -- Sitz der Gesellschaft: Köln, Amtsgericht Köln, Reg.Nr: HRA 16306 ___ 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
Need some help about ERDivaLook
Hi, Where can I find a simple and already configured stylesheet that I can use with ERDivaLook? It's quite cumbersome to identify the ids and classes that need to be styled. Any link to some solid documentation would be great. Also I've my own D2W templates extended from Wonder's Neutral Look which implement certain interfaces. I want to know which ERDiva* components correspond to ERNEU* components so I could subclass and apply them properly. Farrukh ___ 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 - Do the pros use "dummy" tables?
The contexts are (sub-)page specific, they don't have anything to do with the flow. You need to be able to navigate to and from your "plain" pages. Either through the menu wrapper, the Factory, custom action components or an action delegate. I'd recommend at least subclasses ERD2WPage, as you get a lot of stuff like Navigation state, header texts etc for free. Most of the time, the nextpage-y things are also set correctly. I also recommend on putting all or at least as much of the navigation as you can into the factory, no matter if for D2W or non-D2W components, as you will otherwise have a ton of places to hunt it down. Check out (yawn) bugtracker as an example. In particular the stuff in Session, the Nav-config and the Factory. Cheers, Anjo Am 20.04.2010 um 14:29 schrieb James Cicenia: > Ok - > > So I guess my next question. I can then go in and out of D2W? > > What do I need to know about the context's then? > > Say my login page is custom and say a few others. > > Page A Custom > Page B Custom > Page C D2W > Page D D2w > Page E Custom > > > Say I needed to move through all five pages. What do I need to do or concern > myself with > when I go from page B to C and from page D to E ? > > Thanks > PS: I really do have the hang of using all D2W for backend admin stuff and it > works really well. > > > > > > On Apr 20, 2010, at 7:14 AM, David LeBer wrote: > >> >> On 2010-04-20, at 2:44 AM, Mark Wardle wrote: >> >>> I've got so many different structured medical questionnaires / forms mapped >>> as entities that it would be burdensome to create a component to edt and >>> and every one. D2W is the solution! >>> >>> However, for custom complex pages - particularly landing pages or >>> integration pages, I use a normal component and perhaps leverage D2W by >>> using embedded D2W list(s) if I want all the pagination and batch stuff for >>> free. >>> >>> I do have a complex SNOMED CT browser/chooser and although it is a D2W >>> component (supporting editrelationship or select) it can only be used with >>> one kind of entity. I suppose I could spend a little longer and make >>> everything very generic but sometimes you've just got to get something >>> working haven't you? >>> >>> What I'm trying to say is, don't give up on non-d2w components! >> >> Yes. >> >> D2W is awesome, often in a "I can't believe I built apps before I discovered >> it" kind of way, but it does come to the table with certain expectations and >> doesn't cover all situations. Sometimes you just have to make the pragmatic >> choice to do something custom because that's going to be the straightest >> route to your solution. >> >> All of our apps have a significant ('ly high) percentage of them supplied by >> D2W components and governed by D2W rules, but there are always sections that >> are custom built the 'old fashioned'* way. >> >> When we discover we are solving the same problem multiple times, it is time >> to look for a general solution, and often that results in a new D2W widget. >> >> * term specifically chosen to raise the ire of list curmudgeons. >> >>> >>> Mark >>> >>> -- >>> Dr. Mark Wardle >>> Specialist registrar, Neurology >>> (Sent from my mobile) >>> >>> >>> On 20 Apr 2010, at 01:01, James Cicenia wrote: >>> well say let's talk hypothetical. In portion we have some dynamic graphs and in the other are we have a dynamic spreadsheet of changing values. All of this is read only data compiled from many different EO sets. James On Apr 19, 2010, at 5:47 PM, Ramsey Lee Gurley wrote: > > On Apr 19, 2010, at 5:06 PM, James Cicenia wrote: > >> Hello - >> >> This has baffled me about D2W. It definitely seems to need to have an >> entity. >> >> So my question is ... how do you model custom screens? >> >> Do you create a dummy entity with dummy attributes associated with the >> "areas" on the screen? >> >> D2Wondering, >> James Cicenia > > What is going in the "areas" on the screen specifically? > > 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/mark%40wardle.org This email sent to m...@wardle.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/dleber_wodev%40codeferous.com >>> >>> This email sent to dleber_wo...@codeferous.com >> >> ;david >> >> -- >> David LeBer >> Codeferous Software >> 'co-def-er-ous'
Re: D2W - Do the pros use "dummy" tables?
Ok - So I guess my next question. I can then go in and out of D2W? What do I need to know about the context's then? Say my login page is custom and say a few others. Page A Custom Page B Custom Page C D2W Page D D2w Page E Custom Say I needed to move through all five pages. What do I need to do or concern myself with when I go from page B to C and from page D to E ? Thanks PS: I really do have the hang of using all D2W for backend admin stuff and it works really well. On Apr 20, 2010, at 7:14 AM, David LeBer wrote: > > On 2010-04-20, at 2:44 AM, Mark Wardle wrote: > >> I've got so many different structured medical questionnaires / forms mapped >> as entities that it would be burdensome to create a component to edt and and >> every one. D2W is the solution! >> >> However, for custom complex pages - particularly landing pages or >> integration pages, I use a normal component and perhaps leverage D2W by >> using embedded D2W list(s) if I want all the pagination and batch stuff for >> free. >> >> I do have a complex SNOMED CT browser/chooser and although it is a D2W >> component (supporting editrelationship or select) it can only be used with >> one kind of entity. I suppose I could spend a little longer and make >> everything very generic but sometimes you've just got to get something >> working haven't you? >> >> What I'm trying to say is, don't give up on non-d2w components! > > Yes. > > D2W is awesome, often in a "I can't believe I built apps before I discovered > it" kind of way, but it does come to the table with certain expectations and > doesn't cover all situations. Sometimes you just have to make the pragmatic > choice to do something custom because that's going to be the straightest > route to your solution. > > All of our apps have a significant ('ly high) percentage of them supplied by > D2W components and governed by D2W rules, but there are always sections that > are custom built the 'old fashioned'* way. > > When we discover we are solving the same problem multiple times, it is time > to look for a general solution, and often that results in a new D2W widget. > > * term specifically chosen to raise the ire of list curmudgeons. > >> >> Mark >> >> -- >> Dr. Mark Wardle >> Specialist registrar, Neurology >> (Sent from my mobile) >> >> >> On 20 Apr 2010, at 01:01, James Cicenia wrote: >> >>> well say let's talk hypothetical. >>> >>> In portion we have some dynamic graphs and in the other >>> are we have a dynamic spreadsheet of changing values. >>> >>> All of this is read only data compiled from many different EO sets. >>> >>> James >>> >>> >>> On Apr 19, 2010, at 5:47 PM, Ramsey Lee Gurley wrote: >>> On Apr 19, 2010, at 5:06 PM, James Cicenia wrote: > Hello - > > This has baffled me about D2W. It definitely seems to need to have an > entity. > > So my question is ... how do you model custom screens? > > Do you create a dummy entity with dummy attributes associated with the > "areas" on the screen? > > D2Wondering, > James Cicenia What is going in the "areas" on the screen specifically? 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/mark%40wardle.org >>> >>> This email sent to m...@wardle.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/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
Sproutcore is back?
http://forums.appleinsider.com/showthread.php?s=&threadid=108852 So what happened to the chocolaty sounding framework? James Cicenia ___ 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 - Do the pros use "dummy" tables?
On 2010-04-20, at 2:44 AM, Mark Wardle wrote: > I've got so many different structured medical questionnaires / forms mapped > as entities that it would be burdensome to create a component to edt and and > every one. D2W is the solution! > > However, for custom complex pages - particularly landing pages or integration > pages, I use a normal component and perhaps leverage D2W by using embedded > D2W list(s) if I want all the pagination and batch stuff for free. > > I do have a complex SNOMED CT browser/chooser and although it is a D2W > component (supporting editrelationship or select) it can only be used with > one kind of entity. I suppose I could spend a little longer and make > everything very generic but sometimes you've just got to get something > working haven't you? > > What I'm trying to say is, don't give up on non-d2w components! Yes. D2W is awesome, often in a "I can't believe I built apps before I discovered it" kind of way, but it does come to the table with certain expectations and doesn't cover all situations. Sometimes you just have to make the pragmatic choice to do something custom because that's going to be the straightest route to your solution. All of our apps have a significant ('ly high) percentage of them supplied by D2W components and governed by D2W rules, but there are always sections that are custom built the 'old fashioned'* way. When we discover we are solving the same problem multiple times, it is time to look for a general solution, and often that results in a new D2W widget. * term specifically chosen to raise the ire of list curmudgeons. > > Mark > > -- > Dr. Mark Wardle > Specialist registrar, Neurology > (Sent from my mobile) > > > On 20 Apr 2010, at 01:01, James Cicenia wrote: > >> well say let's talk hypothetical. >> >> In portion we have some dynamic graphs and in the other >> are we have a dynamic spreadsheet of changing values. >> >> All of this is read only data compiled from many different EO sets. >> >> James >> >> >> On Apr 19, 2010, at 5:47 PM, Ramsey Lee Gurley wrote: >> >>> >>> On Apr 19, 2010, at 5:06 PM, James Cicenia wrote: >>> Hello - This has baffled me about D2W. It definitely seems to need to have an entity. So my question is ... how do you model custom screens? Do you create a dummy entity with dummy attributes associated with the "areas" on the screen? D2Wondering, James Cicenia >>> >>> What is going in the "areas" on the screen specifically? >>> >>> 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/mark%40wardle.org >> >> This email sent to m...@wardle.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/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
Issues with H2
Ok, it look like my issues with migrations for ERMoviesLogic are because of JDBC URL switching! When the ERAttachment, ERAttachmentData and ERTag tables are created, my connection dictionary is : avr. 20 05:47:23 Movies[62935] DEBUG NSLog - connecting with dictionary: {plugin = "H2PlugIn"; username = ""; driver = "org.h2.Driver"; password = ""; URL = "jdbc:h2:/Resources/Movies"; } But when it creates the MovieTag table, it's switching to another URL! avr. 20 05:47:24 Movies[62935] DEBUG NSLog - connecting with dictionary: {plugin = "H2PlugIn"; username = ""; driver = "org.h2.Driver"; LC_ALL = "iso_1"; password = ""; databaseEncoding = "ISO Latin-1"; URL = "jdbc:h2:file:/Users/probert/Tools/Src/Wonder/Wonder/Frameworks/BusinessLogic/ERMoviesLogic/build/ERMoviesLogic.framework/Resources/Movies"; } That is weird, and I'm using global properties : dbConnectUserGLOBAL= dbConnectPasswordGLOBAL= dbConnectDriverGLOBAL=org.h2.Driver dbConnectPluginGLOBAL=H2PlugIn dbConnectURLGLOBAL=jdbc:h2:/Resources/Movies And I don't have this problem with MySQL, which make it even worse. In fact, in MySQL no MovieTag is created at all. Anyone here tried to add ERTaggable stuff in a H2 db? -- Pascal Robert prob...@macti.ca WOWODC 2010 : August 27th-29th, Montreal. 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: [OT] how to calculate a printable page?
I remember having to battle this up when I did my Canadian passport form 5 years ago. They add instructions on how to change the margins for major browsers on Windows, but none on the Mac. And yes, the margins are different for each browser so not only you have to calculate for each platform, you have to change the values per browser too! I think the only full proof method is using a Java applet where you can find out the printer settings to build everything... PDF is second choice. And I guess the cm values are not the same because of DPI. > Hi, > I need to place a footer at the end of a page, the page is html and is to be > printed. > > Now I found a formula which changes cm to pixel, but it states, > that there is a difference between windows and mac, which > leads to a difference of 200 Pixel for the same cm-Values. > > requirement is this: User enters the printing borders in cm > and the web-Page is changed accordingly and finally printed > with the entered borders. > > Now: I cannot believe that this means I have to ask the user > whether he is on windows or mac and thus have different > calculations going on. > > Is the right way to not let the user print from the webpage but let > him download a pdf? > > How do others solve this? > > Regards, > > Ute > ___ > 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: [OT] how to calculate a printable page?
Hi Ute, If only it were as easy as Mac/PC. As far as I know, if you want the user to be able to specify exact borders you are going to need to use something else besides HTML. Maybe PDF, but even then you are subject to the printer's actual print area and the user's preferences defined on their computer, including things like page number, URL, etc. I think PDF is certainly the only way you are going to be able to create an electronic file with exact margins and place a footer within that margin. How the user decides to go about printing that file is out of your control and could easily end up printing the document with your footer cut off by the printer's print area. Dave On Apr 20, 2010, at 4:02 AM, ute Hoffmann wrote: > Hi, > I need to place a footer at the end of a page, the page is html and is to be > printed. > > Now I found a formula which changes cm to pixel, but it states, > that there is a difference between windows and mac, which > leads to a difference of 200 Pixel for the same cm-Values. > > requirement is this: User enters the printing borders in cm > and the web-Page is changed accordingly and finally printed > with the entered borders. > > Now: I cannot believe that this means I have to ask the user > whether he is on windows or mac and thus have different > calculations going on. > > Is the right way to not let the user print from the webpage but let > him download a pdf? > > How do others solve this? > > Regards, > > Ute > ___ > 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
[OT] how to calculate a printable page?
Hi, I need to place a footer at the end of a page, the page is html and is to be printed. Now I found a formula which changes cm to pixel, but it states, that there is a difference between windows and mac, which leads to a difference of 200 Pixel for the same cm-Values. requirement is this: User enters the printing borders in cm and the web-Page is changed accordingly and finally printed with the entered borders. Now: I cannot believe that this means I have to ask the user whether he is on windows or mac and thus have different calculations going on. Is the right way to not let the user print from the webpage but let him download a pdf? How do others solve this? Regards, Ute ___ 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