Re: import from an external DB

2016-02-23 Thread Anjo Krank
In case it's helpful, there's ERXJDBCUtilities in Wonder which copies from one DB to another. Cheers, Anjo > Am 22.02.2016 um 20:30 schrieb OC : > > Chuck, > > On 22. 2. 2016, at 19:18, Chuck Hill wrote: > >> It sounds to me like sharing the model would be less effort. > > Thanks! > >> R

Re: Default D2W Rules for Components

2012-05-03 Thread Anjo Krank
Been using this for years, eg: > 35 : ((entity.userInfo.isLarge != 'YES' and not (entity.name like > '*Statistic')) => showResultsImmediately = true [BooleanAssignment] Cheers, Anjo Am 03.05.2012 um 19:33 schrieb David Holt: > Hi all, > > A few of us have been discussing creating an additio

Re: limiting All Queries in D2W

2012-04-13 Thread Anjo Krank
Much easier to use: => extraRestrictingQualifier = { "band" = "session.user.band"; } [ERDDelayedExtraQualifierAssignment] QueryPage: public EODataSource queryDataSource() { EODataSource ds = null; if(ds == null) { ds = super.queryDataSource(); }

Re: ajaxgrid and d2w

2011-07-12 Thread Anjo Krank
You could create the dictionary it used via D2W. Cheers, Anjo Am 12.07.2011 um 20:45 schrieb Ramsey Gurley: > I thought the same thing, but evidently, I was wrong. I had another look and > AjaxLook list page. You're right Mike, it isn't a wrapper around AjaxGrid. > If you want to use an A

Re: build.xml: Content is not allowed in prolog.

2011-05-18 Thread Anjo Krank
The individual build files aren't used anyway. You should use the top level build file. Cheers, Anjo Am 17.05.2011 um 20:44 schrieb Henrique Prange: > Hi Cheong, > > On 16/05/2011, at 06:25, Cheong Hee (Gmail) wrote: > >> Hi >> >> I am still at the stone age. > > Do yourself a favor, try

Re: HotDeploy

2011-05-05 Thread Anjo Krank
> is that what bounce does? No. What bounce does is look at the # of instances, start a number of instances on each server, then set all other minus the number of instances started to refuse and schedule, so that they shutdown after a while and restart. The net effect is that you have the sam

Re: [Wonder-disc] ERPrototypes Date Postgres

2011-04-28 Thread Anjo Krank
like this? >> >> - hugi >> >> PS: Pardon the wo/wonder cross post, I've been having problems posting to >> wonder-disc and thought the original message wasn't delivered. >> PPS: Pardon the potential errors in the app. Programming with one hand &

Re: [Wonder-disc] ERPrototypes Date Postgres

2011-04-28 Thread Anjo Krank
l the other DBs (about which you don't give a damn). No one will ever have the knowledge to actually update new definitions as they go in later on and they grow num props*num dbs... All in all, it's easier to simply copy stuff over. Cheers, Anjo Am 28.04.2011 um 21:21 schrieb An

Re: [Wonder-disc] ERPrototypes Date Postgres

2011-04-28 Thread Anjo Krank
rogramming with one hand whilst > cooking with the other. > > > > On 28.4.2011, at 18:24, Anjo Krank wrote: > >> Almost :) For one thing, the names should be "FrontBase" or "JDBCFrontbase" >> not EOJDBCFrontbasePrototypes, also is could &q

Re: [Wonder-disc] ERPrototypes Date Postgres

2011-04-28 Thread Anjo Krank
20:04 schrieb Hugi Thordarson: > Since you ask so nicely… > > http://hugi.karlmenn.is/erprototypes > > It's not an editor, but at least it allows for some quick comparison. I'll > gladly spend the extra 30 minutes required to make it an editor if anyone > wants it.

Re: exporting to excel and styles

2011-04-15 Thread Anjo Krank
IIRC, a color number. One to 16 (64?)? Check the docs for POI. Cheers, Anjo Am 15.04.2011 um 15:57 schrieb Theodore Petrosky: > I keep hunting for documentation on the styles available in exporting to > excel. for instance I see a fillBackgroundColor and this comment: > > Styles: >id="foo

Re: model connections to multiple DBs

2011-04-04 Thread Anjo Krank
Depending on the actual data, the memory consumption won't be any different in comparison to a solution based on a shared DB. Only the reference tables could be re-used, all the other data belongs to the tenant anyway. Add to that the larger size of the individual records (you'd need the tenan

Re: model connections to multiple DBs

2011-04-04 Thread Anjo Krank
of stacks? > > Thanks. > -Mike > > > On Apr 4, 2011, at 11:11 AM, Anjo Krank wrote: > >> Actually, it's a yes. >> >> You can create one EOF stack per user and clone the model group so it's used >> in that stack. T

Re: model connections to multiple DBs

2011-04-04 Thread Anjo Krank
Actually, it's a yes. You can create one EOF stack per user and clone the model group so it's used in that stack. Then adjust the model dict for the connection and you're good to go. You need to take really good care you never use EOModelGroup.defaultGroup() anywhere, though. Cheers, Anjo Am

Re: URGENT problem with D2W and PageWrapper.wo

2011-03-23 Thread Anjo Krank
I so love verbose bug descriptions... can't you simply post the relevant parts of your components, so as to not force everyone to make wild guesses? Cheers, Ajo Am 23.03.2011 um 16:40 schrieb Markus Ruggiero: > I have an urgent and rather weird problem in a D2W application. I can put > anythin

Re: [OT] Play! Framework

2011-03-10 Thread Anjo Krank
t ridiculous in terms of mem usage for everything but the smallest apps. Cheers, Anjo Am 10.03.2011 um 22:50 schrieb Ray Kiddy: > > On Mar 10, 2011, at 1:29 PM, Anjo Krank wrote: > >> Just finished glancing through a Scala book... how do you implement faulting >> with i

Re: [OT] Play! Framework

2011-03-10 Thread Anjo Krank
Just finished glancing through a Scala book... how do you implement faulting with it? You know: Bar bar = foo.getBar(). The only thing I saw is continuation-passing, which is async by nature? Cheers, Anjo Am 10.03.2011 um 21:18 schrieb Lachlan Deck: > lift (for scala) is pretty cool. > > htt

Re: Shortened autogenerated names

2011-03-09 Thread Anjo Krank
Am 09.03.2011 um 19:04 schrieb Mike Schrag: >>> Why couldn't one use a randomly generated unique ID that is ten characters >>> long (or so)? There *could* be name collision but the chances would be >>> small. Alternatively, why not invent a "context sequence" that starts at 1 >>> and counts up

Re: D2W Question

2011-03-08 Thread Anjo Krank
opy/paste to make sure there is no typo in the word excelFileName > does obviously not properly set that particular key in d2wContext. Could it > be that the d2wContext is not the same when I set the key? > > Confused > ---markus > > > On 07.03.2011, at 19:50, Anjo Kr

Re: D2W Changing localization based on pageConfiguration

2011-03-07 Thread Anjo Krank
Check out the ERDDefaultDisplayNameAssigment for possible key combos (or create your own default assignment). Cheers, Anjo Am 07.03.2011 um 19:47 schrieb David Avendasora: > Hi, > > I have two pageConfigurations in my app that display the same set of columns. > One is intended for humans, a

Re: D2W Question

2011-03-07 Thread Anjo Krank
> This works and is almost generic (ExcelDownload component is). However for > being truly generic it would be great if I could specify excelFileName and > displayNameForSectionKey dynamically with the entity name instead of hard > coding those into the rules as above. So what I want is a rule l

Re: Remote recording application - Powered by WO and Wonder

2011-03-07 Thread Anjo Krank
Hi James, if you are interested in some productivity gains and x-platform capabilities, I'd suggest you check out appcellerator's titanium. For web-based stuff, I find it's a much better fit than the native frameworks. Cheers, Anjo Am 07.03.2011 um 13:05 schrieb Brook, James: > Cheong, > >

Re: NSNotificationCenter

2011-03-01 Thread Anjo Krank
And it's not well suited to notify the user of anything. After all, it's a web app. The "user" is only there in one thread for one RR loop. You might want to check JMS for that (or write some simple persistent notification thingy yourself). Cheers, Anjo Am 01.03.2011 um 12:59 schrieb Mike Schr

Re: [Wonder-disc] ERXBatchingDisplayGroup and insertObjectAtIndex

2011-02-27 Thread Anjo Krank
Am 27.02.2011 um 23:18 schrieb David Avendasora: > Which is why I said "a ticket to patch", as I would be providing a patch, and > I showed the code I would be submitting. This doesn't fix anything. On the next refresh you still won't see your objects, so it will be more confusing, not less.

Re: ERXBatchingDisplayGroup and insertObjectAtIndex

2011-02-27 Thread Anjo Krank
The batching DG has very different semantics than the non-batching one. Basically, all of the EC changing stuff won't work as planned. You can safely only use it for querying large data sets. You should only add a ticket if you also provide a fix, which I estimate is very hard to do correctly.

Re: Mailing software

2011-02-11 Thread Anjo Krank
Mailchimp looks nice too and they have neat guides on their Site. But the per-customer or per-email fee will make it too expensive. And I'd first need to weed out our email accounts... The suggestion to wait is good. Maybe I'll also sort on domains and the interleave them into a queue. This sho

Re: Job Opportunities

2011-02-11 Thread Anjo Krank
The trick is that you get the extra points if you tried grabbing it from - say - the Concierge page and de-minified and re-documented it so you could work with it while it is still unreleased. A fools errand, of course :P Cheers, Anjo Am 11.02.2011 um 14:47 schrieb Antonio Petri: > Sorry the

Re: Mailing software

2011-02-11 Thread Anjo Krank
ow am very > impressed > with all their integrated cloud services. > > Regards > James > > On Feb 11, 2011, at 6:51 AM, Anjo Krank wrote: > >> Hi, >> >> has anyone built direct marketing/personalized email software with WO (or >> used any reaso

Mailing software

2011-02-11 Thread Anjo Krank
Hi, has anyone built direct marketing/personalized email software with WO (or used any reasonable package) that he'd like to share experiences with? I find my stuff is getting rejected probably due to the speed at which I sent mails out, but before I go around stumbling in the dark, it'd be gre

Re: Exceptions originting from non-existing DirectActions

2011-02-08 Thread Anjo Krank
DA.performActionNamed(String val) { try {super.performActionNamed(val)} catch(InvocationTargetException ex) {return new WOResponse();}; } Am 08.02.2011 um 11:33 schrieb Henrique Gomes: > It might help to give more information, page structure, what components, etc. > I might wrong but either you

Re: Better D2W question: pull down lists for relationships

2011-02-01 Thread Anjo Krank
That stuff most likely isn't up to date. The actual keys should be written into the d2wclientConfiguration.plist of the respective framework. Once they are, the keys are directly available in the running app via hover's when debugging is turned on. Statically they don't make a lot of sense... (

Re: Chuck's New Book

2011-01-25 Thread Anjo Krank
I'm confused. Why would you prefer that someone pooped while thinking of you? Cheers, Anjo Am 25.01.2011 um 14:55 schrieb David Avendasora: > > On Jan 25, 2011, at 8:18 AM, Kieran Kelleher wrote: > >> This is front cover of Chuck's new book which he wrote with David Avendasora >> in mind! ;

Re: Plugins system?

2011-01-17 Thread Anjo Krank
WO is caching classes and methods on a lot of levels and places. Also IIRC you need to program against interfaces, so actual WO/EOF stuff will be impossible for the most part. My uneducated guess is you won't get happy. Cheers, Anjo Am 17.01.2011 um 14:39 schrieb Henrique Prange: > We're t

Re: Plugins system?

2011-01-16 Thread Anjo Krank
- Use some scripting system like jruby. Presumably it can reload code. - Include everything beforehand an en-/disable based on properties. - create a new class loader, call App.main() and quit the current app (probably tricky to do). And it would depend on what sort of functionality you actually

Re: OGNL binding failing for WOImageButton

2011-01-14 Thread Anjo Krank
This would be a serious issue, but from ERXApp: if (_rapidTurnaroundActiveForAnyProject() && isDirectConnectEnabled()) { registerRequestHandler(new ERXStaticResourceRequestHandler(), "_wr_"); } so this shouldn't be a problem in deployment

Re: Postgres 9.0 and bytea?

2011-01-05 Thread Anjo Krank
using the one from 9.0 took care of the problem. It looks like it couldn't handle the new \x notation, and thought it was the start of an escape sequence and the rest normal chars. Cheers, Anjo Am 06.01.2011 um 02:24 schrieb Q: > > On 06/01/2011, at 10:09 AM, Anjo Krank wrote

Postgres 9.0 and bytea?

2011-01-05 Thread Anjo Krank
Hi, is anyone here using PG with bytea columns? I just updated a test db from 8.3 to 9.0 and am getting errors on received data - rs.getBytes(col) returns the bytes (49) for the characters of my PKs, not the bytes. In the shell, it looks like this in 8.3: gaia=# select length(pk_id) from a

Re: Quick ERXEnterpriseObject newly inserted Question --

2010-12-14 Thread Anjo Krank
It's simply bad style. Cheers, Anjo Am 14.12.2010 um 23:15 schrieb David Holt: > Hi Anjo, > > On 2010-12-14, at 1:34 PM, Anjo Krank wrote: > >> There is a reason why stuff in BT is done as it is. >> >> I.e. there is a People.class.setCurrentUser(Peopl

Re: Quick ERXEnterpriseObject newly inserted Question --

2010-12-14 Thread Anjo Krank
There is a reason why stuff in BT is done as it is. I.e. there is a People.class.setCurrentUser(People user) and People.class.currentUser(EOEditingContext ec). Basically it puts all the thread storage code (including the key) in People, which is, like, good style? Also, ERXThreadStorage alread

Re: Memory control

2010-11-30 Thread Anjo Krank
Am 30.11.2010 um 19:42 schrieb John Larson: > Since I'm scared to death of subclassing the factory in ERXEC Why would you? Cheers, Anjo ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-

Re: D2W Query Pages w/ Ajax

2010-11-28 Thread Anjo Krank
Sigh. Never mind, they only cache the key, not the value. Cheers, Anjo Am 28.11.2010 um 17:52 schrieb Anjo Krank: > FYI, these rules should be delayed assignments: > >100 : (task = 'edit' and smartAttribute.prototype.name = 'javaEnum' and > propertyKey

Re: D2W Query Pages w/ Ajax

2010-11-28 Thread Anjo Krank
FYI, these rules should be delayed assignments: 100 : (task = 'edit' and smartAttribute.prototype.name = 'javaEnum' and propertyKey = 'city') => restrictedChoiceKey = object.cityChoices [com.webobjects.directtoweb.Assignment], 100 : (task = 'edit' and smartAttribute.prototype.name = 'jav

Re: Wonder's Monitor

2010-11-23 Thread Anjo Krank
How so? Cheers, Anjo Am 23.11.2010 um 00:48 schrieb Pascal Robert: > Ah, finally a Monitor for the 2010s :-) BTW, I think we should remove the > Migrations tab, AFAIK that tab content is useless. > >> Looks like poo ;-) >> >> >> >> ;david >> >> -- >> David LeBer >> Codeferous Software >> '

Re: WebObjects scalability question - WOSession?

2010-11-17 Thread Anjo Krank
And can you PLEASE move this thread to wo-talk (where I'm not subscribed). I'm getting seriously annoyed and wouldn't like to have to unsubscribe here too. Cheers, Anjo Am 17.11.2010 um 12:30 schrieb Anjo Krank: > Back when Netruxr was using it, it didn't exist as

Re: WebObjects scalability question - WOSession?

2010-11-17 Thread Anjo Krank
Back when Netruxr was using it, it didn't exist as a shareable SF project, only as a free download of two (non-working) PB projects. After they went bust shortly afterwards, there wasn't any promotion from them as a company (obviously) and the main effort from the former members was Max writin

Re: Scala and WebObjects

2010-11-11 Thread Anjo Krank
> I have a question that I kept to myself for months, but let's go public. > People talks about moving away from WO or even writing WO/EOF replacements. > But AFAIK, Wonder shows that we can extend the core frameworks a lot. The core problem being that "we" means a very, very tiny amount of peop

Re: Scala and WebObjects

2010-11-11 Thread Anjo Krank
>> To be clear: one of the selling points of Roo as no lock-in. You can use any >> number of JPA providers, you get code generated which you can customize >> pretty well via aspect-j (a part of which I would like to see in EO >> generator so one remove the weird _Foo classes) and you get this wi

Re: Scala and WebObjects

2010-11-11 Thread Anjo Krank
enough for some to be actually considered as an viable alternative for WO/EOF. Cheers, Anjo Am 11.11.2010 um 10:21 schrieb Karl: > Anjo should change his surname to Anjo Frank. > > We really appreciate (this is true Anjo) his honesty. > > Karl > > On 2010-11-11, at 12:15

Re: Scala and WebObjects

2010-11-11 Thread Anjo Krank
And the ORM can't cache relationships and doesn't have an EC? Great... I was the google developer day the other day and they presented SpringRoo. Most of the people there thought it was the coolest thing things sliced bread... little do they know. Cheers, Anjo Am 11.11.2010 um 09:44 schrieb

Re: ERModern* and localization

2010-10-21 Thread Anjo Krank
It's not weird. You would imagine that only a few languages would have a title like "VERB NOUN". The rest could use god knows what. And using rules for localization will produce hundreds of them for no gain. Also, it's a difference between page titles and button titles so it makes sense to have

Re: POJO and D2W / ERDCustomEditComponent subclasses

2010-10-21 Thread Anjo Krank
Depending on what you actually want to do, I'd probably rather go with using the JavaMemoryAdaptor for some pojo entity. Cheers, Anjo Am 20.10.2010 um 22:15 schrieb Mark Wardle: > Hi all, > > Just after some quick advice! > > I've written a fairly complete ajax-based to-one relationship > com

Re: D2W & Strategy Design Pattern

2010-10-13 Thread Anjo Krank
pageConfiguration = "QueryStudentPerson" => displayPropertyKeys = (..) pageConfiguration = "QueryTeacherPerson" => displayPropertyKeys = (..) ... > D2W.factory().pageForConfigurationNamed("QueryStudentPerson", session()) Obviously, you need to know what exactly you are looking for in advance.

Re: D2W & an Unmodeled Relationship

2010-10-07 Thread Anjo Krank
But the "embedded" part in the PC name refers to not having a wrapper. You can use the component to - say - bind a relationship in a plain page and have *it* create the wrapper. Cheers, Anjo Am 07.10.2010 um 13:48 schrieb David Avendasora: > > On Oct 7, 2010, at 6:24 AM, David Holt wrote: >

Re: WRReporting and DRGrouping - reports grouped by day, week and month

2010-08-21 Thread Anjo Krank
Easy answer: format the date with some formatter that yields alpha-sortable output and group on that (2010-08 etc). Cheers, Anjo Am 18.08.2010 um 16:28 schrieb Brook, James: > I am working on a project in its late stages and need to knock together a > quick reporting interface. I have starte

Re: SVN and Eclipse

2010-07-30 Thread Anjo Krank
Since it's a tgz, I wouldn't count on the diffs being much smaller than the actual file... And *I* wouldn't store the binary, only all assets that are needed to create it: woproject binary, WO systems libs, Wonder libs, etc. After all, the tgz is next to worthless in a year or two, unless you c

Re: ERXKeepAliveResponse for Video Streaming?

2010-07-27 Thread Anjo Krank
That doesn't really work unless you fix the adaptor to support non-closing connections. You can run it in DirectConnect mode though. It's for pushing script and HTML to the browser from the server. Cheers, Anjo Am 27.07.2010 um 13:32 schrieb Farrukh Ijaz: > Dear All, > > Anyone has any idea h

Re: (dead)locking of EC and OSC

2010-07-26 Thread Anjo Krank
> Actually, we were locking the DBCntxt. We are reloading some EOModels, and it > seemed to be necessary to invalidate objects: Can you say why you are doing such an ungodly thing? Cheers, Anjo ___ Do not post admin requests to the list. They will b

Re: Does the ERXStaticResourceRequestHandler work with those compressed jarred resources?

2010-07-23 Thread Anjo Krank
Hm. Then again, IIRC we use strings for paths... so you probably *could* give these methods a "jar:xxx" string and handle that in the method. Not the cleanest way, but what the heck. I'm not sure if not using the default props is that good a thing. Sometimes these change or get added to and you

Re: Does the ERXStaticResourceRequestHandler work with those compressed jarred resources?

2010-07-22 Thread Anjo Krank
The reason we don't do it ourself is that a lot of that stuff calls into erxfileutils and that uses path names. Fixing it would be a lot of work and make code more complicated without a lot of real gain (at least from when I last looked at it). So unless any of the committers actually need to u

Re: WebObjects and HTML injection

2010-07-22 Thread Anjo Krank
behavior. Cheers, Anjo Am 22.07.2010 um 18:40 schrieb Patrick Middleton: > > On 22 Jul 2010, at 12:49, Anjo Krank wrote: > >> Why would you "preserve" the session id when it's no longer valid? >> >> Cheers, Anjo >> >> >> >>

Re: WebObjects and HTML injection

2010-07-22 Thread Anjo Krank
Why would you "preserve" the session id when it's no longer valid? Cheers, Anjo Am 22.07.2010 um 13:28 schrieb Patrick Middleton: > in order to sanitize inputs -- mostly by removing anything containing the > likes of 'http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archiv

Re: Does the ERXStaticResourceRequestHandler work with those compressed jarred resources?

2010-07-22 Thread Anjo Krank
Am 22.07.2010 um 05:00 schrieb Mr. G Brown: >> We only accept 5.4 fixes now, not issues. None of the comitters use or >> condone the use of 5.4 and thus we can't really test or debug problems with >> it. Note that the poster showed remarkable constraint. Now, if that was *me* who'd have writ

Re: table name bound to item?

2010-07-21 Thread Anjo Krank
> wo:WOGenericElement Use: > wo:WOGenericContainer Cheers, Anjo Am 21.07.2010 um 20:59 schrieb Theodore Petrosky: > almost... here is what I have. It looks like webobjects doesn't really like > the wo:WOGenericElement: > > > > > >Back > > > > >test >o

Re: 20 Second Delay on editingContext.saveChanges()

2010-07-08 Thread Anjo Krank
Am 08.07.2010 um 20:23 schrieb Anjo Krank: > n^log(n) Make that n*log(n) of course. Cheers, Anjo ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscr

Re: 20 Second Delay on editingContext.saveChanges()

2010-07-08 Thread Anjo Krank
> Yes, EOF will be slow when saving an object with a huge modeled toMany > relationship since it fetches the entire relationship for validateForSave. That's the same stuff they were telling us during WWDC years ago. Back then "huge" was a guy that bought 20k songs. The actual issue is that NSM

Re: OT: JPEG EXIF Image Orientation

2010-07-05 Thread Anjo Krank
exiftool? Cheers, Anjo Am 05.07.2010 um 20:26 schrieb Joe Moreno: > Any help is greatly appreciated. > ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubsc

Re: Newbie question about WebObjects suitability for social game (Facebook) development

2010-07-01 Thread Anjo Krank
Hm. Currently EOF doesn't have built-in support for the NoSQL stuff. Neither does it support sharding. Or stuff like distributed caching (we do have tons of caching helpers in Wonder, but they won't help you when you need distributed updates). Also the EOF caching might get in your way when yo

Re: ERProfiling -> ERXBatchingDisplayGroup

2010-06-30 Thread Anjo Krank
You would almost certainly only use these on pages, not in sessions. Otherwise your user will open 2 pages with the same DG instance in it and happily page to and fro in them. And the ERXAdaptorChannelDelegate expression log stuff for checking out which statements actually run and the ERXDataba

Re: D2W How does one use a variable in the RHS of a rule?

2010-06-25 Thread Anjo Krank
Using a delayed localized assigment and a pattern. Like bla => displayNameForPageConfiguration = "@@object.fullName@@ Purchases List" [ERDDelayedLocalizedAssigment] (untestet, but should work if the page actually inspects the user). Cheers, Anjo Am 26.06.2010 um 01:33 schrieb David Holt: >

Re: wotaskd/Monitor eating lot of RAM on Linux?

2010-06-22 Thread Anjo Krank
> So look like for whatever reason, Wonder's wotaskd eats almost double the RAM > than the vanilla one :-/ Which, in the grand scheme of things, is still not a lot? It's not like you have more than one per server. Cheers, Anjo Am 22.06.2010 um 18:51 schrieb Pascal Robert: > > Le 10-06-22 à

Re: [OT] Service Mapping Description with REST?

2010-06-19 Thread Anjo Krank
Heh. Don't you think it's kinda typical for IBM to take sth that's supposed to be a simple replacement of SOAP and turn it into... SOAP? Isn't the whole idea of REST *not* to be SOAP-y RPC, but more simple, informal CRUD? Cheers, Anjo Am 18.06.2010 um 19:30 schrieb Ramsey Gurley: > > On Jun

Re: Setting enctype = "multipart/form-data" via D2W Rule

2010-06-18 Thread Anjo Krank
data" > Class = com.webobjects.directtoweb.Assignment > > Should it be a different class? > > On Jun 18, 2010, at 1:02 AM, Anjo Krank wrote: > >> whatever => formEncoding = "multipart/form-data" [100] >> >> >> Am 18.06.2010 um 04:10 schri

Re: Setting enctype = "multipart/form-data" via D2W Rule

2010-06-18 Thread Anjo Krank
whatever => formEncoding = "multipart/form-data" [100] Am 18.06.2010 um 04:10 schrieb Bernard Bradley: > Hi to all the D2W gurus, > > I'm struggling with getting the ERD2WEditAttachment component to work and I > think it has to do with setting enctype = "multipart/form-data" properly. > The

Re: problem with wonder

2010-06-15 Thread Anjo Krank
Set ERXEntityClassDescription.validateEntityClassAvailability=false Cheers, Anjo Am 15.06.2010 um 17:30 schrieb Cros Laurent: > No, I don't have EO classes in packages, and I don't know how to generate the > classes from the EOModel. > Actually, before I wasn't working with EO classes and it

Re: WebObjects on GlassFish and jsp rendering garbage characters for wo:component

2010-06-15 Thread Anjo Krank
's okay but I think there should be some setting that > can help > Farrukh > > On 2010-06-15, at 1:58 PM, Anjo Krank wrote: > >> This is probably gzip? Set >> >> er.extensions.ERXApplication.responseCompressionEnabled=false >> >> Ch

Re: WebObjects on GlassFish and jsp rendering garbage characters for wo:component

2010-06-15 Thread Anjo Krank
This is probably gzip? Set er.extensions.ERXApplication.responseCompressionEnabled=false Cheers, Anjo Am 15.06.2010 um 12:54 schrieb Farrukh Ijaz: > Hi, > > I've deployed my Wonder application on GlassFish as SSDD. Everything works > fine when I'm using the Wonder application within the Gl

Re: NoSQL: Yet Another WO thing....

2010-06-13 Thread Anjo Krank
> Yeah. They are talking about KEY-F-ING-VALUE-CODING! No they are not. KVC is handling foo.b...@sum.amount.com. Not get foo from one store, then get bar and then see what you can do with it. This is mainly a bunch of persistent hash tables. What they *are* talking about is de-normaliziation of

Re: Need help with deadlock in app

2010-06-11 Thread Anjo Krank
You didn't unlock an EC. From a previous mail: > Dunno, but if you had > > er.extensions.ERXEC.traceOpenLocks=true > > and > > app.setStatisticsStore(new ERXStatisticsStore()) > > it would tell you (at the expense of some processing time). You might want to check the wonder-disc and wonder

Re: Backtracking detection in a long response page

2010-06-08 Thread Anjo Krank
How is that a problem? The only thing the users *might* see while backtracking is "50% done" followed by "45% done" followed by "51% done" after the next refresh? Cheers, Anjo Am 08.06.2010 um 19:26 schrieb Pascal Robert: > BTW, how I found out that users are backtracking is because I saw

Re: [OT] Restaurant recommendations at WWDC?

2010-06-07 Thread Anjo Krank
Well, I DID manage to get out of it again, but only barely. Cheers, Anjo Am 07.06.2010 um 19:23 schrieb Chuck Hill: > For American greasy spoon classics (and very late night bacon and eggs), the > Pinecrest is where I head. Anjo thinks the bathroom is a little scary. __

Re: Deadlocks in one of our apps

2010-06-01 Thread Anjo Krank
Um. Just how did you switch to ERXWOLongResponsePage? If you overrode run() than nothing's gonna happen. Cheers, Anjo Am 01.06.2010 um 15:34 schrieb Pascal Robert: > ERXWOLongResponsePage ___ Do not post admin requests to the list. They will be igno

Re: Deadlocks in one of our apps

2010-05-31 Thread Anjo Krank
There's a bunch of stuff wrong here. First, the only actually locked thread is: - com.webobjects.eocontrol.EOObjectStoreCoordinator.addCooperatingObjectStore(com.webobjects.eocontrol.EOCooperatingObjectStore) @bci=5, line=130 (Interpreted frame) - com.webobjects.eoaccess.EODatabaseChannel.set

Re: Recording the steps made by an user in an app

2010-05-27 Thread Anjo Krank
There's stuff in ERXSession that does this. Search for ERXActionLogging in the Wonder source. I think the trick was to override session.appendToReponse to log objectForKey("ERXActionLogging") and context.page.name. Cheers, Anjo Am 27.05.2010 um 16:26 schrieb Pascal Robert: > We have a strang

Re: Snow Leopard, Apache 2.2, Skewed Load Balancing?

2010-05-25 Thread Anjo Krank
Am 25.05.2010 um 22:46 schrieb Chuck Hill: >> Can you try "ab"? This should show things with more accurate numbers. >> >> ab -n 500 http://whereever > > What would that show relevant to the woadaptor load balancer choosing > instances for requests without a woinst cookie or number in the URL?

Re: Snow Leopard, Apache 2.2, Skewed Load Balancing?

2010-05-25 Thread Anjo Krank
>> ~300 Transactions and 4-50 Sessions are, like, nothing if your instance is >> up for more than 5 mins? > > It was just a quick picture... How could I have known :) >> All it takes is one users looking at a lot of pages to skew these figures. > > That would skew the # of transactions, yes.

Re: Snow Leopard, Apache 2.2, Skewed Load Balancing?

2010-05-25 Thread Anjo Krank
~300 Transactions and 4-50 Sessions are, like, nothing if your instance is up for more than 5 mins? All it takes is one users looking at a lot of pages to skew these figures. Apart from that, I dimly remember the host and port setting also influenced the load distribution. Cheers, Anjo Am 25

Re: Eclipse/WOLips Strange Chinese Characters

2010-05-12 Thread Anjo Krank
You can edit the files with the built-in editor, which replaces, say, .AN| with \U00e4. Then you can save them as plain ascii. Cheers, Anjo Am 12.05.2010 um 21:28 schrieb Ramsey Gurley: > +1 > > UTF-16 big endian, no BOM (UTF-16BE in Eclipse) > > Ramsey > > On May 12, 2010, at 2:53 PM, D

Re: [OT] - WWDC10

2010-04-29 Thread Anjo Krank
Am 30.04.2010 um 00:18 schrieb Edgar Klein: >> If there's only a couple of e-tickets available I vote for giving it to the >> "oversea" active person on the list like Anjo for exemple. While I surely would appreciate the thought, WWDC doesn't have *any* stuff on WO/enterprise anymore. And as WO

Re: iPhone web applications and hyperlinks

2010-04-26 Thread Anjo Krank
The url? The html of the page? The form values the user entered so far? It's not my app, how would I know? Cheers, Anjo Am 26.04.2010 um 00:55 schrieb Paul Hoadley: > On 26/04/2010, at 2:16 AM, Anjo Krank wrote: > >> Doesn't it support localstorage.whatever="foo

Re: iPhone web applications and hyperlinks

2010-04-25 Thread Anjo Krank
Doesn't it support localstorage.whatever="foo"? Cheers, Anjo Am 25.04.2010 um 14:46 schrieb Paul Hoadley: > For the archives: > > On 25/04/2010, at 11:16 AM, Paul Hoadley wrote: > >> I have a WO app which some users are accessing via Mobile Safari on iPhones. >> I am taking some steps to m

Re: announcement

2010-04-21 Thread Anjo Krank
And for the most part, we do *not* keep other people from writing or applying patches. There are ~40 committers for Wonder. There is no reason why only Mike should do patches and stuff. Cheers, Anjo Am 21.04.2010 um 20:45 schrieb Mike Schrag: > you can if you want, but i'll be fixing them anyw

Re: D2W - Do the pros use "dummy" tables?

2010-04-20 Thread Anjo Krank
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 g

Re: Direct Action Question

2010-03-24 Thread Anjo Krank
Kinda. It will most likely create a session. Cheers, Anjo Am 24.03.2010 um 23:40 schrieb Johnny Miller: > Will that work if I don't have a session? > > Thanks! > > On Mar 24, 2010, at 12:18 PM, Anjo Krank wrote: > >> add the context id to the form params

Re: Direct Action Question

2010-03-24 Thread Anjo Krank
add the context id to the form params ?cid=context.contextID, then restore the context, return the context().page(). Cheers, Anjo Am 24.03.2010 um 23:02 schrieb Johnny Miller: > Hi, > > I have a form that is bound to a direct action in a footer that exists on > every page of a site. After

Re: Should i use web objects or jBoss

2010-03-20 Thread Anjo Krank
> If you are just starting out, you may want to consider using Scala, rather > than Java, from the beginning, > . Terrible advice. He won't get anywhere in choosing a totally obscure combination where no one will be able t

Re: Asynchronous HTTP Downloads

2010-03-17 Thread Anjo Krank
Am 17.03.2010 um 12:44 schrieb Mike Schrag: > screw wohttpconnection ... Seconded. Cheers, Anjo ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Upda

Re: OT: Cheese Rolling event in England cancelled for 2010

2010-03-15 Thread Anjo Krank
And it's warm too. Chorizo! Mjam! Cheers, Anjo Am 15.03.2010 um 18:26 schrieb Miguel Arroz: > Hi! > > If WO developers like cheese, I suggest WOWODC 2011 to be in Alentejo... we > also have black pork, chouriço, and many many other things that will make you > want to move there! ;) > > Y

Re: strange Exceptions

2010-03-09 Thread Anjo Krank
Yep. Patches welcome :) Cheers, Anjo Am 09.03.2010 um 23:18 schrieb Mike Schrag: > these don't look like actual exceptions, they just look like the stack traces > from where the debug statement occurred ... these things should always say > that in their exception message IMO __

Re: user is only allowed to log in once

2010-03-08 Thread Anjo Krank
Am 08.03.2010 um 21:46 schrieb Mike Schrag: > for non-D2W you have to implement that interface for every single component > you could ever use, though ... and deal with the fact that you could have > pages with uncommitted EO's, etc. for D2W you might be able to do a rough > impl, but you still

Re: user is only allowed to log in once

2010-03-08 Thread Anjo Krank
wouldn't need a sweet > stateful web framework > > ms > > On Mar 8, 2010, at 3:09 PM, Anjo Krank wrote: > >> Bah. You don't really need to store the pages. You only need to store how >> they can be reconstructed... >> >> Cheer

  1   2   3   4   5   6   7   >