Re: Quick Q regarding D2W smartAttributes

2020-12-08 Thread Markus Ruggiero via Webobjects-dev
thanks for all your suggestion. I finally found out what happened and how to fix this. This is an example of such a flag with Postgres Prototype "flag": class is "java.lang.Boolean", value class is "NSNumber" and valueType is "c". EOGenerator correctly craetes java.lang.Boolean methods but wh

Re: Quick Q regarding D2W smartAttributes

2020-12-02 Thread Jesse Tayler via Webobjects-dev
Just as a thought, I look and noted I have a component rule for boolean in my app with much the same logic at 100 priority. This suggests you’ve just got some OTHER rule cranked up and don’t forget that rule could just be VERY strict with greater specificity vs. priority. 100 : (smartAttribute

Re: Quick Q regarding D2W smartAttributes

2020-12-02 Thread Jesse Tayler via Webobjects-dev
Did you make certain your className does indeed report as that form of boolean? These things resolve from your model and you can fish around those attributes for information. Honestly, I’ve found that in these cases with D2W I resort to simply reporting things from the D2WContext right onto

Quick Q regarding D2W smartAttributes

2020-12-02 Thread Markus Ruggiero via Webobjects-dev
Quick question: Why does this rule 200 : (smartAttribute.className = 'java.lang.Boolean' and task = 'list') => componentName = "D2WDisplayBoolean" [com.webobjects.directtoweb.Assignment] not fire (even with a bumped-up prio)? A more specific rule however works but is a nuisance because I have t

Multi column D2W Edit Page?

2020-12-01 Thread Markus Ruggiero via Webobjects-dev
Maybe I am overlooking something . . . Is there a multi colum create/inspect/edit page available in (ERX)D2W? I have an EO with many attributes and having them listed one after the other creates rather long pages with lots of whitespace at the right side. Would be great if at least two

D2W Wonder with multiple EOModels

2020-10-12 Thread Don Lindsay via Webobjects-dev
Hello, I apologize if this is a duplicate my apple lists account appeared to be messed up so I resubscribed; I have a D2W application with two EOModels that connect to two different databases.EOF works correctly to pull the data for both models, I turned on EOF debugging and I see records

D2W Application Cant Add records to tables

2020-06-30 Thread Don Lindsay via Webobjects-dev
Hello; I created a D2W application, and this may be a newbie question as I just started using Wonder D2W. With WebObjects D2W, I don’t remember ever having an issue with creating records in tables and saving them, the button was on the the screen for each entity. In this new D2W Wonder

Re: Standalone D2W RuleModeler update?

2020-01-18 Thread Riccardo De Menna via Webobjects-dev
via Webobjects-dev >>> wrote: >>> >>> Is there a new(er) version of the standalone macOS D2W RuleModeler >>> available? The version I have is 1.6.0. >>> >>> I looked up the source in WonderSource but this also seems to be 1.6.0. >>>

Re: Standalone D2W RuleModeler update?

2020-01-15 Thread Jesse Tayler via Webobjects-dev
>> wrote: >> >> Is there a new(er) version of the standalone macOS D2W RuleModeler >> available? The version I have is 1.6.0. >> >> I looked up the source in WonderSource but this also seems to be 1.6.0. >> Opening the xcodeproj file throws hundreds of is

Re: Standalone D2W RuleModeler update?

2020-01-15 Thread Riccardo De Menna via Webobjects-dev
> On 28 Dec 2019, at 16:09, Markus Ruggiero via Webobjects-dev > wrote: > > Is there a new(er) version of the standalone macOS D2W RuleModeler available? > The version I have is 1.6.0. > > I looked up the source in WonderSource but this also seems to be 1.6.0. > Op

Re: Standalone D2W RuleModeler update?

2019-12-28 Thread Ted Petrosky via Webobjects-dev
ed Petrosky (WO)" mailto:webobjects-dev@lists.apple.com>> Reply-To: Markus Ruggiero mailto:mailingli...@kataputt.com>> Date: Saturday, December 28, 2019 at 10:09 AM To: "Ted Petrosky (WO)" mailto:webobjects-dev@lists.apple.com>> Subject: Standalone D2W RuleModele

Standalone D2W RuleModeler update?

2019-12-28 Thread Markus Ruggiero via Webobjects-dev
Is there a new(er) version of the standalone macOS D2W RuleModeler available? The version I have is 1.6.0. I looked up the source in WonderSource but this also seems to be 1.6.0. Opening the xcodeproj file throws hundreds of issues at me. That is way over my head to fix (at leat at the moment

Re: D2W ModelDialog inside EditPage

2019-05-29 Thread Savas Celik via Webobjects-dev
Hello Jérémy Thank you very much, this worked perfectly. Savas > On 28 May 2019, at 21:21, Gastronomie des Terroirs > wrote: > > Hello Savas, > > In your modal dialog container, use ERXWOForm tag instead of WOForm and set > embedded to true (see below). > > Hope this helps, > > Jérémy >

D2W ModelDialog inside EditPage

2019-05-28 Thread Savas Celik
I have a problem with the ModelDialog, I tried to call an AjaxModelDialog in my EditPage. The AjaxModelDialog is displayed but unfortunately the values changed in the AjaxModelDialog are not saved. I get a warning displayed in the console which says that an AjaxModelDialog must not be inside a f

Re: D2W to many deny delete

2019-02-21 Thread Fabian Peters
deactivated. Still, the user has no way of knowing why the object cannot be deleted… Fabian > Am 15.02.2019 um 18:43 schrieb Theodore Petrosky : > > I have a small d2w project. > > Person has a to-many relationship to DocuentScan. In my Person entity I see > the documentSca

Re: Weird D2W rule selection

2018-08-22 Thread Fabian Peters
> displayPropertyKeys = > ("productCode", ) [com.webobjects.directtoweb.Assignment] (fallback > rule with different list of properties > > That can be when region is not properly defined, BUT it is. > > Opening D2W debug output in the resulting browser show

Weird D2W rule selection

2018-08-22 Thread Markus Ruggiero
Product' => displayPropertyKeys = ("productCode", ) [com.webobjects.directtoweb.Assignment] (fallback rule with different list of properties That can be when region is not properly defined, BUT it is. Opening D2W debug output in the resulting browser shows at the very top when hovering over the "?" the

Re: Replacing the delete button in a D2W ListTask

2018-08-22 Thread Savas Celik
= {"right" = > ("deleteAction", "fooAction"); } [com.webobjects.directtoweb.Assignment] > > And this will tell D2W which component to use for it: > > 100 : propertyKey = 'fooAction' => componentName = "FooButton" > [com.webobjects.dir

Re: Replacing the delete button in a D2W ListTask

2018-08-22 Thread Fabian Peters
Hi Savas, This will add a "fooAction" on the right side: 100 : pageConfiguration = 'ListAddress' => actions = {"right" = ("deleteAction", "fooAction"); } [com.webobjects.directtoweb.Assignment] And this will tell D2W which com

Re: Replacing the delete button in a D2W ListTask

2018-08-22 Thread Fabian Peters
Hi Savas, That's certainly possible. This rule in ERModernLook should be the one to modify: 20 : (look = 'ERModernLook' and propertyKey = 'deleteAction') => componentName = "ERMDDeleteButton" [com.webobjects.directtoweb.Assignment]:Default modern button component names There's also ERMDRemove

Replacing the delete button in a D2W ListTask

2018-08-21 Thread Savas Celik
Hello, how can I replace the delete button with a custom made button in a list task? or is this even possible? Thanks in advance. Savas ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@

Re: D2W

2018-03-21 Thread Theodore Petrosky
but it has worked for me. Ted > On Mar 21, 2018, at 10:40 AM, e...@hacilar.ch wrote: > > Yes I'm working with Project Wonder on a D2W Application. On the > PageConfigurations Edit and Create > there are 2 Buttons on the Bottom. > I need to add some additional functionality

Re: D2W

2018-03-21 Thread emre
Yes I'm working with Project Wonder on a D2W Application. On the PageConfigurations Edit and Create there are 2 Buttons on the Bottom. I need to add some additional functionality to those Buttons. Do you know if this is possible? Am 21.03.2018 15:24, schrieb Theodore Petrosky: are you

D2W access PageButton

2018-03-21 Thread emre
Hi all, I am currently working on a FileUpload in D2W and need to access to the PageButtons, so I can do my custom work, like cleaning up the directory on a Cancel. How exactly can I access those PageButtons? Thanks in advance. Emre Hacilar e...@hacilar.ch

Re: D2W and Ajax oh my!

2017-03-02 Thread Flavio Donadio
ser to be able to edit an attribute by >>> clicking on the cell and use an AjaxInPlace to edit the text. >>> >>> I have everything working except the refresh when the user clicks the >>> 'save' button. I am hoping the answer is simple. If I were not

Re: D2W and Ajax oh my!

2017-03-02 Thread Flavio Donadio
ng working except the refresh when the user clicks the 'save' > button. I am hoping the answer is simple. If I were not using D2W, I would > wrap the table in an AjaxUpdateContainer and just fire that update after I > did a saveChanges(). > > Before I start subclassing ERM

Re: d2w file upload help

2016-11-22 Thread Paul Hoadley
Hi Ted, With the caveat that I don’t use ERAttachment in a D2W setting... On 22 Nov 2016, at 10:52 PM, Theodore Petrosky wrote: > I have a ERAttachment relationship and I am upload assets. I need to upload > .zip files and process them after they arrive. I need to unzip them. the >

d2w file upload help

2016-11-22 Thread Theodore Petrosky
I have a ERAttachment relationship and I am upload assets. I need to upload .zip files and process them after they arrive. I need to unzip them. the contents of the zip is a webpage (index.html and images). Hopefully, I can unzip the file, and provide a link to this folder to view the webpage.

Re: excel export D2W

2016-10-28 Thread Fabian Peters
Hi Ted, That's handled via the rules. I don't have an example for dates, but for numeric values it looks like: 10 : (propertyKey like '*NetTurnover' or propertyKey like '*GrossProfit') => excelCellFormatForProperty = "#,##0€;#,##0€" [com.webobjects.directtoweb.Assignment] 10 : (propertyKey lik

Data type column error on D2W attachment save

2016-06-28 Thread Vanek Josef
Hi guys, I'm facing a strange error when trying to save a file attachment in D2W application. The app is using Wonder 6, subclass of ERXApplication, using PostgreSQL PlugIn and adaptor, includes classical frameworks as shown below: + of course all traditionals JavaWOFrameworks. The

Nefarious IE / javascript / D2W problem

2016-05-08 Thread Mark Wardle
Dear all, There are probably not many who might encounter this as a problem as the combination of D2W and IE and javascript is less likely. However, I can see it might appear if you use ERModernLook’s ERMODTabInspectPage as it looks as if it would be subject to the same problem. Essentially

Re: D2W rule controlled NavigationMenu.plist?

2016-01-07 Thread Markus Ruggiero
Thanks to Theodore and Fabian, that was exactly what I needed ---markus--- > On 07.01.2016, at 13:03, Theodore Petrosky wrote: > > I hide/show tabs with boolean values in my user. SO > user.security.seesClients is true so I have a condition in my > Navigation.plist: > > { >

Re: Looking for multiple D2W rule files strategy

2015-11-26 Thread Ramsey Gurley
I do all rules in one file. I do create an empty user file to suppress warnings and keep it fast. Note: adding additional files adds a scan for that file in every framework. Mostly I find this manageable so long as I reduce rules so they apply as broadly as possible. If every entity is a specia

Re: Looking for multiple D2W rule files strategy

2015-11-26 Thread Fabian Peters
. You could also override additionalModelNames() in ERD2WModel to get all entities and assume there's a rule file for each – which may not really be needed. Fabian > Am 26.11.2015 um 11:17 schrieb Markus Ruggiero : > > Hi list, > > A D2W app usually has the 2 rule fil

Looking for multiple D2W rule files strategy

2015-11-26 Thread Markus Ruggiero
Hi list, A D2W app usually has the 2 rule files user.d2wmodel and d2w.d2wmodel. A wonder property allows to add more rule files (er.directtoweb.ERD2WModel.additionalModelNames). Up to now I have all my rules in those 2 default files. I am thinking about having one rule file per entity name

Re: More than the 2 default D2W rule files

2015-11-02 Thread Markus Ruggiero
> On 02.11.2015, at 16:26, Theodore Petrosky wrote: > > what do you mean more than "two default rule files” > > er.directtoweb.ERD2WModel.additionalModelNames=("Person.d2wmodel", > "Contribution.d2wmodel", "Employee.d2wmodel") > > Is that what you mean? > Thanks a lot, that's exactly what I

More than the 2 default D2W rule files

2015-11-02 Thread Markus Ruggiero
Just a quick question (cannot find the info right now as I am not in the office where all those clever books are) What do I have to do to be able to use more than the two default rule files user.d2wmodel and d2w.d2wmodel? Thanks a lot ---markus--- Markus Ruggiero mailingli...@kataputt.com Chec

Re: SOLVED: problem with willInsert() and willUpdate() when using D2W.

2015-10-19 Thread Mark Wardle
getting validation errors. It sounds simple now but the D2W edit page checks a D2W key called shouldValidateBeforeSave which means that validateForInsert() or validateForSave() is called BEFORE willInsert or willUpdate. The documentation for ERXEnterpriseObject of course suggests that willInsert

SOLVED: problem with willInsert() and willUpdate() when using D2W.

2015-10-19 Thread Mark Wardle
but the D2W edit page checks a D2W key called shouldValidateBeforeSave which means that validateForInsert() or validateForSave() is called BEFORE willInsert or willUpdate. The documentation for ERXEnterpriseObject of course suggests that willInsert/willUpdate will be called AFTER validation

Re: D2W HTML Editor?

2015-09-07 Thread Fabian Peters
Hi Markus, There's ERDEditHTML, which is based on tinyMCE. It checks the key "richTextMode" to initialize different configurations. cheers, Fabian > Am 07.09.2015 um 14:57 schrieb Markus Ruggiero : > > Is there a simple D2W plug-and-play property level component tha

D2W HTML Editor?

2015-09-07 Thread Markus Ruggiero
Is there a simple D2W plug-and-play property level component that can be used to have (HTML) styled text input? How would I use it then? Thanks ---markus--- ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list

Open D2W pull requests seeking help

2015-05-19 Thread Johann Werner
Hi all, we currently have a couple of open pull requests for Wonder regarding D2W topics. In the course of getting pull requests merged or closed without endless waiting we need D2W skilled people who could take a look at those pull requests and leave some comments about usefulness/corrections

Re: D2W - help with rule

2015-05-13 Thread Ramsey Gurley
>> >>>> On May 13, 2015, at 1:15 PM, Theodore Petrosky wrote: >>>> >>>> this one works for me: >>>> >>>> 100 : entity.name = 'AdRelease' => isEntityEditable = {"conditionKey" = >>>> "session.user.security.canEditAd

Re: D2W - help with rule

2015-05-13 Thread Theodore Petrosky
t;> UCLA GSE&IS >> >> >>> On May 13, 2015, at 1:15 PM, Theodore Petrosky wrote: >>> >>> this one works for me: >>> >>> 100 : entity.name = 'AdRelease' => isEntityEditable = {"conditionKey" = >>> &quo

Re: D2W - help with rule

2015-05-13 Thread Timothy Worman
nditionKey" = >>> "session.user.security.canEditAdRelease"; "trueValue" = "true"; } >>> [er.directtoweb.assignments.delayed.ERDDelayedBooleanAssignment] >>> >>> >>> >>> On May 13, 2015, at 4:12 PM, Timo

Re: D2W - help with rule

2015-05-13 Thread Ramsey Gurley
.canEditAdRelease"; "trueValue" = "true"; } >> [er.directtoweb.assignments.delayed.ERDDelayedBooleanAssignment] >> >> >> >> On May 13, 2015, at 4:12 PM, Timothy Worman wrote: >> >>> My D2W kung fu is not the strongest and

Re: D2W - help with rule

2015-05-13 Thread Theodore Petrosky
Release' => isEntityEditable = {"conditionKey" = >> "session.user.security.canEditAdRelease"; "trueValue" = "true"; } >> [er.directtoweb.assignments.delayed.ERDDelayedBooleanAssignment] >> >> >> >> On May 13, 2015, at 4:12 PM, Timothy Worman wrote: >>

Re: D2W - help with rule

2015-05-13 Thread Timothy Worman
e = 'AdRelease' => isEntityEditable = {"conditionKey" = > "session.user.security.canEditAdRelease"; "trueValue" = "true"; } > [er.directtoweb.assignments.delayed.ERDDelayedBooleanAssignment] > > > > On May 13, 2015, at 4:12 PM, Timothy Worma

Re: D2W - help with rule

2015-05-13 Thread Theodore Petrosky
this one works for me: 100 : entity.name = 'AdRelease' => isEntityEditable = {"conditionKey" = "session.user.security.canEditAdRelease"; "trueValue" = "true"; } [er.directtoweb.assignments.delayed.ERDDelayedBooleanAssignment] On May 13, 20

D2W - help with rule

2015-05-13 Thread Timothy Worman
My D2W kung fu is not the strongest and I’m in need of some D2W guru love. I have an entity that I only want to be editable for certain users. So, I have this in my rule file: 110 : (entity.name = ‘Role' and task != 'editRelationship') =>

Re: custom d2w component ?

2015-04-21 Thread David LeBer
That FAQ entry is a little incomplete. 1. For those rules and using the D2WCustomComponent wrapper that is all you need to do. The custom component does not need to extend any specific class. 2. If you want to create a true d2w component, that you can specify with one rule: 100

custom d2w component ?

2015-04-21 Thread Theodore Petrosky
on the wiki, under - D2W Rules Reference - Cookbook - FAQ in section 7. How do I easily use my own custom component in a Direct to Web page? there are two rules and then step two, add the two methods to the java. What should my component extend? I mean, is there a minimal class to extend it

D2W component ??

2015-03-14 Thread Theodore Petrosky
I have a whole bunch of booleans (attributes) in the security section of my Person (Entity). I have been using the ERD2WMultiItemCustomComponent to aggregate multiple check boxes (with labels [the propertyKeys]) to a single line. The problem with ERD2WMultiItemCustomComponent is that it appears

Re: using ajax in a D2W app??

2015-03-11 Thread Ramsey Gurley
updateContainerID = "AEDiv1"; > action = mainPopupAction; > fullSubmit = true; > } > > AEUpdateComponent : AjaxUpdateContainer { > id = "AEDiv1"; > } > WOForm : WOForm { > multipleSubmit = "true"; > } > >

Re: using ajax in a D2W app??

2015-03-11 Thread Theodore Petrosky
erveField { > observeFieldID = "AEFieldID"; > updateContainerID = "AEDiv1"; > action = mainPopupAction; > fullSubmit = true; > } > > AEUpdateComponent : AjaxUpdateContainer { > id = "AEDiv1"; > } > WOForm : WOForm {

using ajax in a D2W app??

2015-03-11 Thread Theodore Petrosky
updateContainerID = "AEDiv1"; action = mainPopupAction; fullSubmit = true; } AEUpdateComponent : AjaxUpdateContainer { id = "AEDiv1"; } WOForm : WOForm { multipleSubmit = "true"; } Does anyone see what I am missing? the ajax framework is there, and this

Project template to automate some resources creation for D2W app

2015-03-06 Thread Ângelo Andrade Cirino
Hi all, I would like to create a project template to automate the creation of D2W rules files and the application menus based on the application’s EOModels and some user selections. I see two options: 1. Modify the new project from template wizard to load and parse the models. 2. Add two new

Re: D2W Rules

2015-02-27 Thread Lize Anthonin (@JCOMMOPS)
That sounds to be a good idea too, since we're dealing with displaying which can depends on locale, it's better and cleaner to my mind to handle this at that level. A good things is that when developing D2W app, the debug tool enable you to dump created keys directly by clicking o

Re: D2W Rules

2015-02-26 Thread Ramsey Gurley
all, > > Quick question, I have some rules defined in my D2W application, which aim to > improve display for foreign entity, for instance (I don't use RuleModeler, so > the syntax must be not correct here, but it's no big deal for that question) : > pageConfiguration =

Re: D2W Rules

2015-02-26 Thread Lize Anthonin (@JCOMMOPS)
i all, Quick question, I have some rules defined in my D2W application, which aim to improve display for foreign entity, for instance (I don't use RuleModeler, so the syntax must be not correct here, but it's no big deal for that question) : pageConfi

Re: D2W Rules

2015-02-26 Thread Theodore Petrosky
5:10 AM, Lize Anthonin (@JCOMMOPS) wrote: > Hi all, > > Quick question, I have some rules defined in my D2W application, which aim to > improve display for foreign entity, for instance (I don't use RuleModeler, so > the syntax must be not correct here, but it's

D2W Rules

2015-02-26 Thread Lize Anthonin (@JCOMMOPS)
Hi all, Quick question, I have some rules defined in my D2W application, which aim to improve display for foreign entity, for instance (I don't use RuleModeler, so the syntax must be not correct here, but it's no big deal for that question) : pageConfiguration = 'foo' =

Re: Wonder D2W App Tomcat Deployment

2015-02-23 Thread Kevin Hinkson
b 22 2015 at 1:23:14 PM Kevin Hinkson > <mailto:k...@coralstone.co>> wrote: >> Hi, >> >> I am able to deploy other Wonder apps to Tomcat without any problems but I >> cannot get even an empty D2W app to deploy. I’m attempting to deploy to >> Tomca

Re: Wonder D2W App Tomcat Deployment

2015-02-23 Thread John Huss
;s > short). > > On Sun Feb 22 2015 at 1:23:14 PM Kevin Hinkson wrote: > >> Hi, >> >> I am able to deploy other Wonder apps to Tomcat without any problems but >> I cannot get even an empty D2W app to deploy. I’m attempting to deploy to >> Tomcat 7 Java 7 a

Re: Wonder D2W App Tomcat Deployment

2015-02-23 Thread Kevin Hinkson
You have to use ERXServletAdaptor or copy it and write your own (it's short). > > On Sun Feb 22 2015 at 1:23:14 PM Kevin Hinkson <mailto:k...@coralstone.co>> wrote: > Hi, > > I am able to deploy other Wonder apps to Tomcat without any problems but I > cannot

Re: Wonder D2W App Tomcat Deployment

2015-02-23 Thread John Huss
You have to use ERXServletAdaptor or copy it and write your own (it's short). On Sun Feb 22 2015 at 1:23:14 PM Kevin Hinkson wrote: > Hi, > > I am able to deploy other Wonder apps to Tomcat without any problems but I > cannot get even an empty D2W app to deploy. I’m attemp

Wonder D2W App Tomcat Deployment

2015-02-22 Thread Kevin Hinkson
Hi, I am able to deploy other Wonder apps to Tomcat without any problems but I cannot get even an empty D2W app to deploy. I’m attempting to deploy to Tomcat 7 Java 7 and I get the following for an empty D2W app with the only change being to enable servlet deployment: INFO: Command line

Re: Is there a D2W input length limiting component?

2015-02-04 Thread Robert B. Hanviriyapunt
apple.com > Subject: Is there a D2W input length limiting component? > Message-ID: <23b95d4e-15f7-447f-8a53-5ebaf65c8...@kataputt.com> > Content-Type: text/plain; charset="utf-8" > > Before I try to create something on my own > > I need a text input that can l

Is there a D2W input length limiting component?

2015-02-04 Thread Markus Ruggiero
Before I try to create something on my own I need a text input that can limit the length of the text entered to eg 2000 chars and display a running counter so that the user knows immediately how much he has left. Is there something in (D2W) Wonder? Thanks for any pointer ---markus--- CU

Re: limiting All Queries in D2W

2015-01-30 Thread Fabian Peters
ut if you want to limit the choices in a relationship component, the >>>> "restrictedChoiceKey" approach should be easier to use: >>>> >>>> 100 : (task = 'edit' and entity.name = 'Location' and propertyKey = >>>> &#x

Re: limiting All Queries in D2W

2015-01-30 Thread Theodore Petrosky
>> >>> 100 : (task = 'edit' and entity.name = 'Location' and propertyKey = >>> 'parentLocation') => restrictedChoiceKey = >>> "object.availableParentLocations" [com.webobjects.directtoweb.Assignment] >

Re: limiting All Queries in D2W

2015-01-30 Thread Theodore Petrosky
on') => restrictedChoiceKey = >>> "object.availableParentLocations" [com.webobjects.directtoweb.Assignment] >>> >>> Just put a method on the EO that returns the possible choices for the >>> relationship. >>> >>> HT

Re: limiting All Queries in D2W

2015-01-30 Thread Fabian Peters
hod on the EO that returns the possible choices for the >> relationship. >> >> HTH, Fabian >> >> Am 29.01.2015 um 16:41 schrieb Theodore Petrosky : >> >>> Fabian, >>> >>> You commented on this a long time ago. and in ch

Re: limiting All Queries in D2W

2015-01-30 Thread Theodore Petrosky
eb.Assignment] > > Just put a method on the EO that returns the possible choices for the > relationship. > > HTH, Fabian > > Am 29.01.2015 um 16:41 schrieb Theodore Petrosky : > >> Fabian, >> >> You commented on this a long time ago. and

Re: limiting All Queries in D2W

2015-01-29 Thread Fabian Peters
thod on the EO that returns the possible choices for the relationship. HTH, Fabian Am 29.01.2015 um 16:41 schrieb Theodore Petrosky : > Fabian, > > You commented on this a long time ago. and in checking my old emails, I see > this is along the lines of what I

Re: limiting All Queries in D2W

2015-01-29 Thread Theodore Petrosky
Fabian, You commented on this a long time ago. and in checking my old emails, I see this is along the lines of what I need. I have a D2W app with an embedded toMany CreateEmbeddedBookPerson that has an ERD2WEditToOneRelationship that I am trying to create a fetch specification for. I see in

Re: D2w - toMany relation

2015-01-23 Thread Theodore Petrosky
[com.webobjects.directtoweb.BooleanAssignment] Cheers, Flavio On 12/01/2015, at 08:48, Pierre Gilquin wrote: Hi, I have a tomany relation very similar to the RentalHistory relation in Movie DB (Customer ->> RentalHistory -> Movie). I created an Wonder D2W Application with my

Re: D2w - toMany relation

2015-01-23 Thread Pierre Gilquin
itRelationshipEmbeddedRentalHistory' => shouldShowQueryRelatedButton = "false" [com.webobjects.directtoweb.BooleanAssignment] Cheers, Flavio On 12/01/2015, at 08:48, Pierre Gilquin wrote: Hi, I have a tomany relation very similar to the RentalHistory relation in Movie DB (Customer

Re: D2w - toMany relation

2015-01-15 Thread Fabian Peters
; "UniqueConstraintException.loginname_idx" = "Please choose a different >> username (It must be unique)."; >> >> "Quote.quoteAmount"="You must enter a dollar amount in the format >> 123.00 (you entered @@escapedVa

Re: D2w - toMany relation

2015-01-15 Thread Pierre Gilquin
e Gilquin wrote: One more question : is there a way to change the button text ? and in general, how to localyze an d2w app ? Thanks Pierre ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobject

Re: D2w - toMany relation

2015-01-15 Thread Theodore Petrosky
2015, at 2:26 AM, Pierre Gilquin wrote: > One more question : > is there a way to change the button text ? and in general, how to localyze an > d2w app ? > > > Thanks > > Pierre > > ___ > Do not post admin requests to th

Re: D2w - toMany relation

2015-01-14 Thread Fabian Peters
o change the button text ? and in general, how to localyze an > d2w app ? > > > Thanks > > Pierre > > ___ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list (Webobjects-dev@list

Re: D2w - toMany relation

2015-01-14 Thread Pierre Gilquin
One more question : is there a way to change the button text ? and in general, how to localyze an d2w app ? Thanks Pierre ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev

Re: D2w - toMany relation

2015-01-13 Thread Pierre Gilquin
] Cheers, Flavio On 12/01/2015, at 08:48, Pierre Gilquin wrote: Hi, I have a tomany relation very similar to the RentalHistory relation in Movie DB (Customer ->> RentalHistory -> Movie). I created an Wonder D2W Application with my model and that's already very good. But the

Re: D2w - toMany relation

2015-01-13 Thread Fabian Peters
owQueryRelatedButton = "false" >> [com.webobjects.directtoweb.BooleanAssignment] >> >> >> Cheers, >> Flavio >> >> On 12/01/2015, at 08:48, Pierre Gilquin wrote: >> >>> Hi, >>> >>> >>> I have a tomany rel

Re: D2w - toMany relation

2015-01-13 Thread Pierre Gilquin
n 12/01/2015, at 08:48, Pierre Gilquin wrote: Hi, I have a tomany relation very similar to the RentalHistory relation in Movie DB (Customer ->> RentalHistory -> Movie). I created an Wonder D2W Application with my model and that's already very good. But the component used f

Re: D2w - toMany relation

2015-01-12 Thread Theodore Petrosky
= d2wContext.shouldShowQueryRelatedButton; } I find that you must begin looking through the source of D2W to find all these hidden jewels. Ted On Jan 12, 2015, at 5:48 AM, Pierre Gilquin wrote: > Hi, > > > I have a tomany relation very similar to the RentalHistory relation in Movie &g

Re: D2w - toMany relation

2015-01-12 Thread Flavio Donadio
On 12/01/2015, at 08:48, Pierre Gilquin wrote: > Hi, > > > I have a tomany relation very similar to the RentalHistory relation in Movie > DB (Customer ->> RentalHistory -> Movie). > I created an Wonder D2W Application with my model and that's already very > good.

D2w - toMany relation

2015-01-12 Thread Pierre Gilquin
Hi, I have a tomany relation very similar to the RentalHistory relation in Movie DB (Customer ->> RentalHistory -> Movie). I created an Wonder D2W Application with my model and that's already very good. But the component used for the relation use 2 buttons Search and New. How

Re: D2W - How to turn of batching in EmbeddedLists

2014-12-22 Thread Flavio Donadio
David and list, Two years later, I got the answer: 100 : (pageConfiguration like 'EditRelationshipEmbedded*' or pageConfiguration like 'ListEmbedded*') => showBottomBatchCount = "false" [com.webobjects.directtoweb.BooleanAssignment] 100 : (pageConfiguration like 'EditRelationshipEmbedded*' or

Re: dependent lists in D2W

2014-12-21 Thread Fabian Peters
e these relationships > > PersonBook toOne Book toOne Show > PersonBook toOne Person > > When I am creating a new personBook, I want a Show popup that lists all > shows. if I select the Show, the Book popup is given the short list of books > for that show. > > So,

dependent lists in D2W

2014-12-20 Thread Theodore Petrosky
be quite long. I am looking at the Ajax dependent popups and I have done this before in a regular Wonder app, but never in D2W. Is there a component to create this dependent popup setup in D2W? Maybe I need to rethink the whole structure of the database. Ted

Re: Ponder/D2W Format Date Output in my list.

2014-12-20 Thread James Cicenia
I changed the R2D2WDisplayDate to use dateFormat instead of formatter Date: WOString { //formatter = d2wContext.formatObject; value = objectPropertyValue; valueWhenEmpty = d2wContext.valueWhenEmpty; dateformat = d2wContext.formatter; } worked for me > On Dec 20, 2

Re: Ponder/D2W Format Date Output in my list.

2014-12-20 Thread Theodore Petrosky
first I have never done a “like” on a propertyKey. But I suspect that formatter, I would have expected "%Y-%m-%d” On Dec 20, 2014, at 12:24 PM, James Cicenia wrote: > Why doesn’t this work? > > > 200 : ((pageConfiguration like 'List*' or pageConfiguration like 'EditList*') > and propertyKey l

Ponder/D2W Format Date Output in my list.

2014-12-20 Thread James Cicenia
Why doesn’t this work? 200 : ((pageConfiguration like 'List*' or pageConfiguration like 'EditList*') and propertyKey like ‘*Dt') => formatter = "YY-MM-dd" [ERDDelayedKeyValueAssignment] ___ Do not post admin requests to the list. They will be ignored

Re: d2w add displayPropertyKeys in new ListPageInterface

2014-12-09 Thread Ramsey Gurley
No, that’s fine. However, with custom assignment you could put the rule in a framework and wouldn’t have to implement that method on your session in every app you build. You can also control caching properly using dependent keys. 100 : pageConfiguration = 'ListInstrumentFamily' => displayPropert

Re: d2w add displayPropertyKeys in new ListPageInterface

2014-12-09 Thread Theodore Petrosky
Ramsey, since displayPropertyKeys is looking for an array of strings is there a way to do this. Where session.myDisplayKeys returns an array of strings. 100 : pageConfiguration = 'ListInstrumentFamily' => displayPropertyKeys = "session.myDisplayKeys" [com.webobjects.directtoweb.Assignment] or

Re: d2w add displayPropertyKeys in new ListPageInterface

2014-12-09 Thread James Cicenia
I have been able to change the displayProperties in code and have it successfully render. Then again I think I am instantiating a new report each time. > On Dec 9, 2014, at 11:54 AM, Ramsey Gurley wrote: > > You may want to avoid pushing the context like that. I’ve had some case where > I p

Re: d2w add displayPropertyKeys in new ListPageInterface

2014-12-09 Thread James Cicenia
Well if I use a custom rule assignment the custom rule still needs to get the array. So wouldn’t it just be the same to stuff it in the Session which is what I did in the past but it didn’t seem right. > On Dec 9, 2014, at 11:54 AM, Ramsey Gurley wrote: > > You may want to avoid pushing t

Re: d2w add displayPropertyKeys in new ListPageInterface

2014-12-09 Thread Ramsey Gurley
You may want to avoid pushing the context like that. I’ve had some case where I pushed the context on values typically set by rules and it resulted in hard caching those values. No matter what other rules I had set, it was stuck that way. If I need to do it in code, I do so via a custom rule ass

  1   2   3   4   5   6   7   8   9   10   >