Re: D2W Embedded Component Questions

2013-03-01 Thread Johnny Miller
Thanks Jesse, So is it just the "magic" of D2W that says "OK, this is an embedded component so I can skip the PageWrapper"? Best, Johnny On Mar 1, 2013, at 9:41 AM, Jesse Tayler wrote: > > sure, you'll likely need your page wrapper in a page level component. > > and these steps sound about

Re: D2W Embedded Component Questions

2013-03-01 Thread Jesse Tayler
sure, you'll likely need your page wrapper in a page level component. and these steps sound about right. I don't think you'd need to make a whole new look framework unless you're going to do an entire, shared look -- others know better I'm sure but you can create just a few components that ove

Re: D2W embedded editing ??

2013-02-14 Thread Theodore Petrosky
gt; From: Fabian Peters > Subject: Re: D2W embedded editing ?? > To: "WebObjects Development" > Cc: "David Holt" , "Theodore Petrosky" > > Date: Thursday, February 14, 2013, 12:16 PM > I think Ted wants to disable the > background component'

Re: D2W embedded editing ??

2013-02-14 Thread Fabian Peters
I think Ted wants to disable the background component's elements while there is an embedded component in front. I've thought about doing this, but haven't looked into it yet. I guess it should be sufficient to add an overlay via CSS. Fabian Am 14.02.2013 um 17:03 schrieb David Holt: > Turn all

Re: D2W embedded editing ??

2013-02-14 Thread David Holt
Turn all the editable components on the parent page into strings. On 2013-02-14, at 8:42 AM, Theodore Petrosky wrote: > I have a to-many pwoObjects to-many milestones. > > when I click to edit or create a new milestone, the background attributes are > still editable. The relationship is

Re: D2W Question: ERXD2WList, how to retain sort order key -- SOLVED

2013-02-12 Thread Robert Hanviriyapunt
It turns out the header component used was ERMD2WCombinedTableHeader, which, when clicked called ERXSortOrder.toggleClicked, which made the call: NSNotificationCenter.defaultCenter().postNotification(SortOrderingChanged,

Re: D2W Question: ERXD2WList, how to retain sort order key

2013-02-12 Thread Ramsey Gurley
Oh, never mind. I just realized your talking about an embedded component. Different story. Go with what David said. On Feb 12, 2013, at 9:27 AM, Ramsey Gurley wrote: > It sounds like a bug to me. When hitting a back link, shouldn't he be getting > the same page instance with the same display gr

Re: D2W Question: ERXD2WList, how to retain sort order key

2013-02-12 Thread Ramsey Gurley
It sounds like a bug to me. When hitting a back link, shouldn't he be getting the same page instance with the same display group, and thus the same sort orderings? ERCore's user prefs will persist the sort orderings for you, but I don't think that should not be necessary when backtracking. Ram

Re: D2W Question: ERXD2WList, how to retain sort order key

2013-02-11 Thread Robert Hanviriyapunt
Is that persisted or per session? On Feb 11, 2013, at 11:11 PM, David Holt wrote: > ERCoreBusinessLogic can save user preferences for sort order. Would something > in there help you? > > Sent from my iPad > > On 2013-02-11, at 9:03 PM, Robert Hanviriyapunt wrote: > >> Hi again, >> >> I hav

Re: D2W Question: ERXD2WList, how to retain sort order key

2013-02-11 Thread David Holt
ERCoreBusinessLogic can save user preferences for sort order. Would something in there help you? Sent from my iPad On 2013-02-11, at 9:03 PM, Robert Hanviriyapunt wrote: > Hi again, > > I have a ERXD2WList [B] in a page/component [A] and have propertyIsSortable = > "true" on all properties.

Re: D2W question: sort ordering and reverting to original sort order

2013-02-10 Thread Ramsey Gurley
100 : propertyKey = 'rowNumber' => propertyIsSortable = "false" [com.webobjects.directtoweb.BooleanAssignment] Assuming ERModern's sorting table header component uses that key. On Feb 10, 2013, at 3:45 PM, Robert Hanviriyapunt wrote: > Ok, > > I'm looking though a D2W-based page that has a tab

Re: D2W question: sort ordering and reverting to original sort order

2013-02-10 Thread David Holt
Why wouldn't you use a list page and its corresponding listPageRepetition? At the very least take a look at those components to see how the headers work for sorting. And yes, this the list for D2W as well as everything else Wonder and WebObjects. David On 2013-02-10, at 2:45 PM, Robert Hanviri

Re: D2W question: sort ordering and reverting to original sort order

2013-02-10 Thread Jesse Tayler
what component did you use to display the row and hyperlink? I'd look there first. On Feb 10, 2013, at 5:45 PM, Robert Hanviriyapunt wrote: > Ok, > > I'm looking though a D2W-based page that has a table with headers that are > clickable for sorting by those attributes. I figured out a wa

Re: D2W - Custom forms generated from XML

2013-01-17 Thread Jesse Tayler
don't look now, but it's likely my smtp configuration. I hear you about this, and maybe that's why these xml datatypes exist. I wonder though, if you could make a "Fat" table with mostly all the typical attribute one might search for -- A to-many table would contain only those attributes that

Re: D2W - Custom forms generated from XML

2013-01-17 Thread Flavio Donadio
Jesse, I think I am missing some messages. This is the second time in this thread that I don't get a message. I took this from Paul Hoadley's reply. Thanks, Paul! On 16/01/2013, at 5:00 AM, Jesse Tayler wrote: > to determine which XML attribute is which during your query but I can't > imagin

Re: D2W - Custom forms generated from XML

2013-01-17 Thread Flavio Donadio
Paul, On 15/01/2013, at 19:50, Paul Hoadley wrote: >> But my question is: how do you guys recommend that I do to: >> >> 1. Generate the HTML form; and >> >> 2. Insert/update data in the XML so I can store it in the entity. >> >> I am almost certain that I will need a custom component for this

Re: D2W - Custom forms generated from XML

2013-01-15 Thread Paul Hoadley
On 16/01/2013, at 5:00 AM, Jesse Tayler wrote: > I didn't know about this "xpath" or whatever you are using http://www.w3.org/TR/xpath/ http://www.w3.org/TR/xpath20/ > to determine which XML attribute is which during your query but I can't > imagine how a table based approach would perform wor

Re: D2W - Custom forms generated from XML

2013-01-15 Thread Paul Hoadley
Hi Flavio, On 15/01/2013, at 10:48 PM, Flavio Donadio wrote: > But my question is: how do you guys recommend that I do to: > > 1. Generate the HTML form; and > > 2. Insert/update data in the XML so I can store it in the entity. > > I am almost certain that I will need a custom component for t

Re: D2W - Custom forms generated from XML

2013-01-15 Thread Jesse Tayler
Actually, I am pretty certain you'll find it both less complicated and better performing -- I didn't know about this "xpath" or whatever you are using to determine which XML attribute is which during your query but I can't imagine how a table based approach would perform worse -- plus, it s

Re: D2W - Custom forms generated from XML

2013-01-15 Thread Flavio Donadio
Jesse, Yes, I get it. It's a nice idea, but it's also kind of complicated, at least i my case. I'll have several ProductCategories, each with very distinct specifications, like "bar code scanners", "thermal printers" and "wireless LAN infrastructure". All Products in a ProductCategory are sim

Re: D2W - Custom forms generated from XML

2013-01-15 Thread Flavio Donadio
James, PostgreSQL has an XML datatype. One can have a column which stores XML content: http://www.postgresql.org/docs/9.2/static/datatype-xml.html http://www.postgresql.org/docs/9.2/static/functions-xml.html Best regards, Flavio On 15/01/2013, at 12:38, James Cicenia wrote: > That sounds li

Re: D2W - Custom forms generated from XML

2013-01-15 Thread David Holt
Sent from my iPad On 2013-01-15, at 6:38 AM, James Cicenia wrote: > That sounds like a NoSQL type database. > > Speaking of which, does WO support those? I haven't written SQL in years, so it must! :) > > > On Jan 15, 2013, at 8:33 AM, Jesse Tayler wrote: > >> not to throw a wrench, >

Re: D2W - Custom forms generated from XML

2013-01-15 Thread James Cicenia
That sounds like a NoSQL type database. Speaking of which, does WO support those? On Jan 15, 2013, at 8:33 AM, Jesse Tayler wrote: > not to throw a wrench, > > but I would NOT store XML data but rather, > > I would use a key-table design where you can simply add arbitrary keys to > things

Re: D2W - Custom forms generated from XML

2013-01-15 Thread Jesse Tayler
not to throw a wrench, but I would NOT store XML data but rather, I would use a key-table design where you can simply add arbitrary keys to things like this using queries and relationships. I once did a system for restaurant menus that had to understand the type of object (salad) would have

Re: D2W - Custom forms generated from XML

2013-01-15 Thread Flavio Donadio
On 13/01/2013, at 07:12, Paul Hoadley wrote: > I suppose it depends how frequently you expect the template XML to change, if > at all, and whether you envisage changing it on the fly, or if you could just > restart the application to pick it up from properties or a text file. Never > changes?

Re: D2W and date/time picker

2013-01-13 Thread Fabian Peters
together my date and time? > > Ted > > > > > --- On Sun, 1/13/13, Paul Hoadley wrote: > >> From: Paul Hoadley >> Subject: Re: D2W and date/time picker >> To: "Theodore Petrosky" >> Cc: "WebObjects Development" >> D

Re: D2W and date/time picker

2013-01-13 Thread Theodore Petrosky
, 1/13/13, Paul Hoadley wrote: > From: Paul Hoadley > Subject: Re: D2W and date/time picker > To: "Theodore Petrosky" > Cc: "WebObjects Development" > Date: Sunday, January 13, 2013, 3:36 AM > On > 12/01/2013, at 2:25 AM, Theodore Petrosky > wrote: &g

Re: D2W - Custom forms generated from XML

2013-01-13 Thread Paul Hoadley
Hi Flavio, On 11/01/2013, at 3:05 AM, Flavio Donadio wrote: > So, how would you guys do this? I suppose it depends how frequently you expect the template XML to change, if at all, and whether you envisage changing it on the fly, or if you could just restart the application to pick it up from

Re: D2W and date/time picker

2013-01-13 Thread Paul Hoadley
On 12/01/2013, at 2:25 AM, Theodore Petrosky wrote: > How are youse guys creating a date picker that allows the user to then type > in the time? I was thinking of two textfields. one for the date picker and a > second where the user types in the time. > > If I put two copies of the date time a

Re: D2W dateField

2012-12-18 Thread programmingosx
You probably need to change your data type to include Time and then choose or create a component that allows you to edit time. I use: ERDEditDatePopupOrNull On 2012-12-18, at 1:43 PM, Theodore Petrosky wrote: > I have rules that include a date attribute in my displayPropertyKeys. So, > beaut

Re: D2W and ERAttachment

2012-12-16 Thread Flavio Donadio
David and James, Thanks a lot for the help. I'll have a look into that later. I shouldn't have tried to code this morning. Regards, Flavio On 16/12/2012, at 13:31, David Holt wrote: > http://wiki.wocommunity.org/display/documentation/ERModernLook > > Sent from my iPad > > On 2012-12-16, at

Re: D2W and ERAttachment

2012-12-16 Thread David Holt
http://wiki.wocommunity.org/display/documentation/ERModernLook Sent from my iPad On 2012-12-16, at 7:05 AM, Flavio Donadio wrote: > Hello, people! > > > Coding hung over on a sunday... Trying to use ERAttachment with a D2W app, > but I can't find a foolproof tutorial on the web. Drunken styl

Re: D2W and ERAttachment

2012-12-16 Thread James Cicenia
The properties file is your friend: Read this: http://jenkins.wocommunity.org/job/Wonder/lastSuccessfulBuild/javadoc/er/attachment/package-summary.html You would make a relationship from image to erattachment, set your properties correctly, and then set your rules for an upload component. On D

Re: D2W - How to turn of batching in EmbeddedLists

2012-11-17 Thread Flavio Donadio
David, Sorry for taking so long. I got terribly ill and couldn't even code for the last few days. I'm all right now... I tried exactly what you suggested, but got a crash, something about casting an int to string. Changed the class to com.webobjects.directtoweb.Assignment and it works. But..

Re: D2W - How to turn of batching in EmbeddedLists

2012-11-13 Thread David LeBer
Flavio, Have you tried: 100 : pageConfiguration = 'ListEmbeddedWhatever' => defaultBatchSize = "0" [com.webobjects.directtoweb.BooleanAssignment] On 2012-11-13, at 12:29 PM, Flavio Donadio wrote: > Hello, all! > > > I can't find this anywhere on the net: how can I turn off batching in > Em

[SOLVED] Re: D2W: getting the "root" pageConfiguration

2012-10-27 Thread Fabian Peters
I finally found out what's going on. From ERD2WSwitchComponent: //FIXME restting the caches breaks the context in the embedded component public void resetCaches() { //log.debug("Resetting caches"); //takeValueForKey(null,"_task"); // this will break in 5.0 :-) //tak

Re: D2W: getting the "root" pageConfiguration

2012-10-26 Thread Ramsey Gurley
That tells you it's null, but not how it got that way. When you set the breakpoint there, is your context an instance of ERD2WContext? It should be. Assuming that is the case, then put breakpoints in ERD2WContext's constructors and see where it's getting created and what is creating it without a

Re: D2W: getting the "root" pageConfiguration

2012-10-26 Thread Fabian Peters
It's line 50 in the original ERD2WUtilities, but line 59 in my screenshot. So, i == 7 and the null result is returned by: >>> result = c.valueForKeyNoInference(first); Am 26.10.2012 um 23:53 schrieb Chuck Hill: > For the keypath you are showing, how can i == -1? Does that keypath

Re: D2W: getting the "root" pageConfiguration

2012-10-26 Thread Chuck Hill
For the keypath you are showing, how can i == -1? Does that keypath have some character other character than .? Looks like a period, but isn't? On 2012-10-26, at 2:48 PM, Fabian Peters wrote: > Well, I've been able to find where it returns null for the session, but I > have no idea why. It's

Re: D2W: getting the "root" pageConfiguration

2012-10-26 Thread Fabian Peters
Well, I've been able to find where it returns null for the session, but I have no idea why. It's line 50 of ERD2WUtilities: > // This prevents the dreaded KeyValueCoding null object exception, for > say key paths: object.entityName > // Should just return null instead of throwing. >

Re: D2W: getting the "root" pageConfiguration

2012-10-26 Thread David LeBer
Fabian, If you cannot access the session from within any part of the D2W system that is just whacked. D2W is heavily dependent on a session. Yes, you need to dig deeper, I for one, am scratching my head. D On 2012-10-26, at 4:26 PM, Fabian Peters wrote: > Unfortunately, yes. I had already t

Re: D2W: getting the "root" pageConfiguration

2012-10-26 Thread Fabian Peters
Unfortunately, yes. I had already tried another key on session. I'm now using a conditional breakpoint for the keypath in ERD2WUtilities' contextValueForKeyNoInferenceNoException method. When the creation page is generated, everything's fine. But when the edit page is generated, I get a null re

Re: D2W: getting the "root" pageConfiguration

2012-10-26 Thread Ramsey Gurley
Are you sure there's no session? What do you get when you enter session.sessionID? On Oct 26, 2012, at 12:05 PM, Fabian Peters wrote: > Thanks Ramsey, just tried this but to no avail. I've tried both > > session.context.page.d2wContext.entity.name > session.context.page.d2wContext.pageConfigur

Re: D2W: getting the "root" pageConfiguration

2012-10-26 Thread Fabian Peters
The screenshot shows what's happening due to the rule not working. No reference to the course (EntityA) is supposed to show as the root pageConfiguration is EditCourse. But I cannot determine that for the EditEmbeddedStudentCourseParticipation page. I guess I'll have to dig deeper and see why I

Re: D2W: getting the "root" pageConfiguration

2012-10-26 Thread David Holt
This is just a guess, but I think you might be approaching this inappropriately. I wonder if you need to edit Courses from the Student relationship? Or the Professor relationship? You probably need to have one interface for Courses where you edit/create them separately from Students or Professo

Re: D2W: getting the "root" pageConfiguration

2012-10-26 Thread Fabian Peters
Thanks, David! That would mean I'd have to create a custom component subclass, in order to set a custom d2wKey via that method. Or is there something I'm not seeing? Am 26.10.2012 um 20:18 schrieb David Holt: > In that case perhaps the ERD2WUtilities may help you. > > /** Utility to return

Re: D2W: getting the "root" pageConfiguration

2012-10-26 Thread Fabian Peters
Thanks Ramsey, just tried this but to no avail. I've tried both session.context.page.d2wContext.entity.name session.context.page.d2wContext.pageConfiguration in the "D2W Key" field of the ERDDebuggingHelp. The problem seems to be that the session cannot be reached, unless the call is made from

Re: D2W: getting the "root" pageConfiguration

2012-10-26 Thread Fabian Peters
> Sorry this is confusing. I'm sorry, as I fear I've been wasting your time by messing up the rules! > You've got an EditEntityC page with an embedded relationship to A or B and > then a second embedded relationship back to C inside those embedded pages? The root level pageConfiguration is eit

Re: D2W: getting the "root" pageConfiguration

2012-10-26 Thread Ramsey Gurley
You may not necessarily have a page configuration depending on how the page is instantiated. Have you tried a rule with a LHS like session.context.page.d2wContext.entity.name = 'EntityA' and session.context.page.d2wContext.task = 'edit' ? Ramsey On Oct 26, 2012, at 11:18 AM, Fabian Peters wro

Re: D2W: getting the "root" pageConfiguration

2012-10-26 Thread David Holt
Sorry this is confusing. You've got an EditEntityC page with an embedded relationship to A or B and then a second embedded relationship back to C inside those embedded pages? Can you paste the rules for this page? What are the parent page display property keys? And where are you hoping to var

Re: D2W: getting the "root" pageConfiguration

2012-10-26 Thread Fabian Peters
Sorry, sent too fast and mixed up my mock entities. This seems to be (more) correct: Unfortunately parentPageConfiguration doesn't help, as there's an additional level of nesting due to the "EditRelationshipEmbeddedEntityC". It will always just return "EditRelationshipEmbeddedEntityC", when the

Re: D2W: getting the "root" pageConfiguration

2012-10-26 Thread Fabian Peters
Unfortunately parentPageConfiguration doesn't help, as there's an additional level of nesting due to the "EditRelationshipEmbeddedEntityC". It will always just return "EditRelationshipEmbeddedEntityC", when the embedded page is "EditEmbeddedEntityC" and the "root" pageConfiguration is "EditEntit

Re: D2W: getting the "root" pageConfiguration

2012-10-26 Thread David Holt
Sorry those should have been: editEmbeddedRelationshipEntityC On 2012-10-26, at 10:57 AM, David Holt wrote: > If you're using embedded configurations, wouldn't you just have a couple of > rules like: > > 20 : (pageConfiguration = 'editRelationshipEntityC' and > parentPageConfiguration = 'Edit

Re: D2W: getting the "root" pageConfiguration

2012-10-26 Thread David Holt
If you're using embedded configurations, wouldn't you just have a couple of rules like: 20 : (pageConfiguration = 'editRelationshipEntityC' and parentPageConfiguration = 'EditEntityA') => displayPropertyKeys = ("name", "description") [com.webobjects.directtoweb.Assignment] 20 : (pageConfigura

Re: D2W: getting the "root" pageConfiguration

2012-10-26 Thread Fabian Peters
Yes, this is with ModernLook. Am 26.10.2012 um 17:56 schrieb David Holt: > Are you using ModernLook with actual embedded page configurations? > > David > > On 2012-10-26, at 6:40 AM, Fabian Peters wrote: > >> Hi all, >> >> An entity that's being edited (EntityC) has relationships to two diffe

Re: D2W: getting the "root" pageConfiguration

2012-10-26 Thread David Holt
Are you using ModernLook with actual embedded page configurations? David On 2012-10-26, at 6:40 AM, Fabian Peters wrote: > Hi all, > > An entity that's being edited (EntityC) has relationships to two different > entities (EntityA, EntityB) and different keys should be shown depending on > the

Re: D2W - Problem with navigation

2012-10-10 Thread Flavio Donadio
On 10/10/2012, at 13:59, programming...@mac.com wrote: > The problem is that you are setting up conditionally displaying different > sets of tabs, but then not providing the method in the session class to do > so. Since you are only using one set of tabs, you really don't need that line. > > If

Re: D2W - Problem with navigation

2012-10-10 Thread programmingosx
On 2012-10-10, at 7:48 AM, Flavio Donadio wrote: > On 10/10/2012, at 10:17, Theodore Petrosky wrote: > >> so it was not a 'virgin' new D2W app. > > Well... Depends on what you mean by "virgin"... :) I made just a couple > changes that shouldn't create serious problems, IMO. > > >> i would tr

Re: D2W - Problem with navigation

2012-10-10 Thread programmingosx
On 2012-10-10, at 7:48 AM, Flavio Donadio wrote:On 10/10/2012, at 10:17, Theodore Petrosky wrote:so it was not a 'virgin' new D2W app.Well... Depends on what you mean by "virgin"... :) I made just a couple changes that shouldn't create serious problems, IMO.i would try that. select new D2W wonder a

Re: D2W - Problem with navigation

2012-10-10 Thread Flavio Donadio
Pascal, Maybe that's the problem. I'm gonna try it... Cheers, Flavio On 10/10/2012, at 11:57, Pascal Robert wrote: > > Le 2012-10-10 à 10:54, Flavio Donadio a écrit : > >> Pascal, >> >> >> Do you have something different on your configurations, maybe? My Eclipse >> preferences are prett

Re: D2W - Problem with navigation

2012-10-10 Thread Pascal Robert
Le 2012-10-10 à 10:54, Flavio Donadio a écrit : > Pascal, > > > Do you have something different on your configurations, maybe? My Eclipse > preferences are pretty much the defaults, except for the settings recommended > in the installation tutorial. I just enabled that "Automatically run >

Re: D2W - Problem with navigation

2012-10-10 Thread Flavio Donadio
Pascal, Do you have something different on your configurations, maybe? My Eclipse preferences are pretty much the defaults, except for the settings recommended in the installation tutorial. I just enabled that "Automatically run EOGenerator" setting... I noticed, in Eclipse preferences -> WOL

Re: D2W - Problem with navigation

2012-10-10 Thread Flavio Donadio
On 10/10/2012, at 10:17, Theodore Petrosky wrote: > so it was not a 'virgin' new D2W app. Well... Depends on what you mean by "virgin"... :) I made just a couple changes that shouldn't create serious problems, IMO. > i would try that. select new D2W wonder app. then run. do nothing else. do >

Re: D2W - Problem with navigation

2012-10-10 Thread Flavio Donadio
David, The exception says there's no method or member with that name... Strange... I'll try Theodore's tip and create a new project. Cheers, Flavio On 10/10/2012, at 10:24, David LeBer wrote: > There definitely looks like there is something missing in that tutorial. > > The session needs t

Re: D2W - Problem with navigation

2012-10-10 Thread Flavio Donadio
ic > generation of your model. > > Ted > > > > --- On Wed, 10/10/12, Flavio Donadio wrote: > >> From: Flavio Donadio >> Subject: Re: D2W - Problem with navigation >> To: "Theodore Petrosky" >> Cc: Webobjects-dev@lists.apple.com >>

Re: D2W - Problem with navigation

2012-10-10 Thread Theodore Petrosky
BTW, Eclipse => Preferences => WOLips => Build should have a check in Automatically run EOGenerator if you want automatic generation of your model. Ted --- On Wed, 10/10/12, Flavio Donadio wrote: > From: Flavio Donadio > Subject: Re: D2W - Problem with navigation > To:

Re: D2W - Problem with navigation

2012-10-10 Thread Pascal Robert
Be aware that I wrote the tutorial, but I don't have D2W experience beside this tutorial and some fixes in an app. Maybe a D2W god could fix the tutorial if something is not working (but it did work for me). > Theodore, > > > Yes. I followed this tutorial: > http://wiki.wocommunity.org/displa

Re: D2W - Problem with navigation

2012-10-10 Thread David LeBer
There definitely looks like there is something missing in that tutorial. The session needs to return a value for "navigationRootChoice" - missing method maybe? D On 2012-10-10, at 8:39 AM, Flavio Donadio wrote: > Theodore, > > > Yes. I followed this tutorial: > http://wiki.wocommunity.org/

Re: D2W - Problem with navigation

2012-10-10 Thread Theodore Petrosky
also, did you view the d2w podcasts? those tutorials are great. --- On Wed, 10/10/12, Flavio Donadio wrote: > From: Flavio Donadio > Subject: Re: D2W - Problem with navigation > To: "Theodore Petrosky" > Cc: Webobjects-dev@lists.apple.com > Date: Wednesday,

Re: D2W - Problem with navigation

2012-10-10 Thread Theodore Petrosky
so it was not a 'virgin' new D2W app. i would try that. select new D2W wonder app. then run. do nothing else. do not add any other frameworks, nor models. it should work. --- On Wed, 10/10/12, Flavio Donadio wrote: > From: Flavio Donadio > Subject: Re: D2W - Problem with

Re: D2W - Problem with navigation

2012-10-10 Thread Flavio Donadio
Theodore, Yes. I followed this tutorial: http://wiki.wocommunity.org/display/documentation/Your+First+D2W+Project The only differences are: 1. I didn't use the EOModel from the framework created in the previous tutorial. I created a new model and migration and went on from there. The automat

Re: D2W - Problem with navigation

2012-10-10 Thread Theodore Petrosky
do I understand you created a NEW wonder D2W app, did no editing and when you ran the app you received these errors? --- On Tue, 10/9/12, Flavio Donadio wrote: > From: Flavio Donadio > Subject: D2W - Problem with navigation > To: Webobjects-dev@lists.apple.com > Date: Tuesday, October 9, 2012,

Re: D2W - Problem with navigation

2012-10-09 Thread programmingosx
It would need to be in your Session class. David On 2012-10-09, at 6:31 PM, Flavio Donadio wrote: > Hello, folks! > > > I am trying to create a simple app to practice with D2W, but I'm getting an > error with NavigationMenu.plist. The relevant part of the file is: > >> { >>

Re: D2W - Problem with navigation

2012-10-09 Thread Flavio Donadio
Just to add some info... I can say for sure that the culprit is the line: children = "session.navigationRootChoice"; I am looking at the ERXSession class reference and can't find any member or method called navigationRootChoice. Is the tutorial wrong or am I missing something? My insta

Re: D2W menu choices

2012-09-18 Thread David LeBer
; >> --- On Tue, 9/18/12, David LeBer wrote: >> >>> From: David LeBer >>> Subject: Re: D2W menu choices >>> To: "Theodore Petrosky" >>> Cc: "WebObjects Development" >>> Date: Tuesday, September 18, 201

Re: D2W menu choices

2012-09-18 Thread David Holt
Menu. > > Ted > > --- On Tue, 9/18/12, David LeBer wrote: > >> From: David LeBer >> Subject: Re: D2W menu choices >> To: "Theodore Petrosky" >> Cc: "WebObjects Development" >> Date: Tuesday, September 18, 2012, 4:28 PM >> Try s

Re: D2W menu choices

2012-09-18 Thread Theodore Petrosky
So I am looking at every rule I can find. Where is ERXNavigationMenu defined? I assumed if I found that, I could create a new rule to override that to ERXModernNavigationMenu. Ted --- On Tue, 9/18/12, David LeBer wrote: > From: David LeBer > Subject: Re: D2W menu choices > To:

Re: D2W menu choices

2012-09-18 Thread David LeBer
p him target the > level2 item so they will display with the level1 item. > > Does this make sense? > > Ted > > --- On Tue, 9/18/12, David LeBer wrote: > >> From: David LeBer >> Subject: Re: D2W menu choices >> To: "Theodore Petrosky" >&

Re: D2W menu choices

2012-09-18 Thread Theodore Petrosky
asked what I can do to help him target the level2 item so they will display with the level1 item. Does this make sense? Ted --- On Tue, 9/18/12, David LeBer wrote: > From: David LeBer > Subject: Re: D2W menu choices > To: "Theodore Petrosky" > Cc: "WebObjects"

Re: D2W menu choices

2012-09-18 Thread David LeBer
Maybe I'm just being dense, but I'm not getting what your asking here? The children are defined in the nav.plist, everything looks good. D -- David LeBer Codeferous Software On 2012-09-18, at 12:55 PM, Theodore Petrosky wrote: > I am in the process of restyling my D2W app. basically, my css c

Re: D2W Displaying (running) totals underneath lists

2012-09-06 Thread Ramsey Gurley
On Sep 6, 2012, at 4:39 AM, Markus Ruggiero wrote: > > On 05.09.2012, at 09:20, Markus Ruggiero wrote: > >> Hi listers, >> >> In a modern D2W app I want to display a row of totals underneath a list. How >> could I do this? The list might be batched. What if I wanted to have batch >> totals a

Re: D2W Displaying (running) totals underneath lists

2012-09-06 Thread Jesse Tayler
Ted was just asking this very same question, including the list page part. my suggestion was to subclass the list you are using, copy bindings and html and add whatever you need -- lastly, write a rule to ensure the component you like gets used. make sense? maybe someone else has something els

Re: D2W Displaying (running) totals underneath lists

2012-09-06 Thread Markus Ruggiero
On 05.09.2012, at 09:20, Markus Ruggiero wrote: > Hi listers, > > In a modern D2W app I want to display a row of totals underneath a list. How > could I do this? The list might be batched. What if I wanted to have batch > totals and total totals? > Nobody ever had such a requirement? No id

Re: D2W modern problem specifying display width for text fields

2012-08-23 Thread Theodore Petrosky
have you tried custom css? Ted --- On Thu, 8/23/12, Markus Ruggiero wrote: > From: Markus Ruggiero > Subject: D2W modern problem specifying display width for text fields > To: "webobjects-dev@lists.apple.com Dev Apple" > > Date: Thursday, August 23, 2012, 10:06 AM > Folks, > I am struggling t

Re: D2W modern problem specifying display width for text fields

2012-08-23 Thread Markus Ruggiero
On 23.08.2012, at 16:23, David LeBer wrote: > Markus, > > CSS overrides the length/rows value. > > Edit your css, the modern fields should have enough css class specificity to > allow you to style a specific field. > Thanks a lot, David regards ---markus--- > D > > -- > David LeBer > Cod

Re: D2W modern problem specifying display width for text fields

2012-08-23 Thread David LeBer
Markus, CSS overrides the length/rows value. Edit your css, the modern fields should have enough css class specificity to allow you to style a specific field. D -- David LeBer Codeferous Software On 2012-08-23, at 10:06 AM, Markus Ruggiero wrote: > Folks, > > I am struggling to specify dis

Re: D2W presentations transcripts

2012-08-16 Thread Pascal Robert
I also added the WebObjects Quite Good Practices transcript. One useful bit is that Confluence have indexed the transcripts so if you do a search in the wiki, it will show up. Since we don't have many docs about D2W in the wiki, it will be useful. > Hi everyone, > > You will find in the wiki t

Re: D2W presentations transcripts

2012-08-16 Thread David Holt
Cool! That is going to be very useful material!! Thanks Pascal, David On 2012-08-16, at 12:55 PM, Pascal Robert wrote: > Hi everyone, > > You will find in the wiki the transcription of the 9 D2W presentations that > were done over the years at WOWODC. > > http://wiki.wocommunity.org/displa

Re: D2W edit existing entity problems

2012-08-02 Thread Larry Mills-Gahl
I thought that might have something to do with it, but the MySQL plugin is in the classpath. I removed and rebuilt it from Wonder source and the behavior is still the same. Is there a material difference in the NSPrincipleClass for the framework between NSPrincipalClass er.mys

Re: D2W edit existing entity problems

2012-08-02 Thread David LeBer
Just a WAG: Using MySQL? Don't have the Wonder MySQL plugin in the classpath? D -- David LeBer Codeferous Software On 2012-08-02, at 1:04 PM, Larry Mills-Gahl wrote: > I have a pretty basic D2W app running that is able to create objects, but > editing the object appears to clear the entity be

Re: D2W Rules for Joda.LocalDate Edit

2012-07-30 Thread Ramsey Gurley
My guess is the formatter string is bad/wrong. Probably defaulting to a NSTimestamp style formatter instead of a SimpleDateFormat type of formatter. Try adding something like: 25 : ((smartAttribute.className = 'com.webobjects.foundation.NSTimestamp' or (smartAttribute.valueFactoryMethod != nu

Re: D2W Rules for Joda.LocalDate Edit

2012-07-30 Thread Paul Yu
Ramsey I think I added your rule correctly, but of course it is not as I'm getting this. Any ideas? Paul Jul 30 14:19:28 FarmManager[55773] INFO er.r2d2w.components.R2D2WEditDate (InspectFMFarmHouseFlock) - Date is 2011-02-01 Jul 30 14:19:28 FarmManager[55773] INFO er.r2d2w.components.R2D2

Re: D2W Rules for Joda.LocalDate Edit

2012-07-30 Thread Ramsey Gurley
On Jul 30, 2012, at 5:52 AM, Paul Yu wrote: > Ramsey > > So I'm trying to use you R2 stuff. There are lots of errors in the project, > even after I switched to the integration branch. I think there's some stuff I haven't checked in that's in progress. Or I just forgot. I'll have to look agai

Re: D2W Rules for Joda.LocalDate Edit

2012-07-27 Thread Ramsey Gurley
On Jul 27, 2012, at 4:23 PM, Paul Hoadley wrote: > Hi Paul, > > On 28/07/2012, at 6:25 AM, Paul Yu wrote: > >> What are the rules for editing/picking a property of Joda.LocalDate? > > If Ramsey's component is suitable for you, that's great, but when I checked > it out a couple of months ago,

Re: D2W Rules for Joda.LocalDate Edit

2012-07-27 Thread Paul Hoadley
Hi Paul, On 28/07/2012, at 6:25 AM, Paul Yu wrote: > What are the rules for editing/picking a property of Joda.LocalDate? If Ramsey's component is suitable for you, that's great, but when I checked it out a couple of months ago, R2D2W was dependent on Wonder's integration branch. (Is it still

Re: D2W Rules for Joda.LocalDate Edit

2012-07-27 Thread Ramsey Gurley
I have a custom edit/query/display date components that I use for any type of date. The only thing that varies about them is the formatObject set in the rule system. It's just a text input component, but it works for everything. https://github.com/nullterminated/ponder/tree/master/ERR2d2w/Compon

Re: D2W tabs question

2012-07-19 Thread Ramsey Gurley
possible to do something like > > Category1 > project1 > project 3 > > Category2 > project2 > project5 > > etc. I am going to examine the D2WList pages and see if I can figure out how > to do this. > > Ted > > --- On Wed, 7/

Re: D2W tabs question

2012-07-19 Thread Theodore Petrosky
d be possible to do something like Category1     project1     project 3 Category2     project2     project5 etc. I am going to examine the D2WList pages and see if I can figure out how to do this. Ted --- On Wed, 7/18/12, Ramsey Gurley wrote: From: Ramsey Gurley Subject: Re: D2W tabs que

Re: D2W tabs question

2012-07-18 Thread Ramsey Gurley
Just use children /* If children is a keyPath instead of an array, then the value for the keyPath is used to determine the children choices shown. If the keypath evaluates to an NSArray, then the resultant array is used as the children array. If the array evaluates to a String, then that String

Re: D2W tabs question

2012-07-18 Thread Paul Yu
gt; Maybe this is not appropriate for D2W. Or just too over my head. > > > > Ted > > > > --- On Tue, 7/17/12, David Holt > (mailto:programming...@mac.com)> wrote: > > > > > From: David Holt mailto:programming...@mac.com)> > > > Subject: Re

<    1   2   3   4   5   6   7   8   9   >