Re: CSS question and YUI

2007-03-29 Thread Helmut Schottmüller
Hi James, if that's the complete code, where is your treediv element in the body and where is your opening body tag? Without that it won't work :-) Regards, Helmut Am 29.03.2007 um 23:38 schrieb James Cicenia: Hello - I have been wracking my brain on why I am getting no output on this s

Re: WebObjects classloader fun.

2007-03-29 Thread Q
On 30/03/2007, at 2:44 PM, Mike Schrag wrote: Does anyone know much about how webobjects uses the classloader and how the _NSUtilities class cache is initialized and used? [snip] it appears that _NSUtilities has a static initialiser that pulls in and caches classes rather than asking the cu

Re: Network change

2007-03-29 Thread Mike Schrag
What do you use for a host name? I have set my wotaskd to run under localhost and also launch my apps with -WOHost localhost. Applying Chuck's recommendation solved this problem completely for me ... I also set apache's ServerName to localhost so everyone all the way through the chain agrees

Re: WebObjects classloader fun.

2007-03-29 Thread Mike Schrag
Does anyone know much about how webobjects uses the classloader and how the _NSUtilities class cache is initialized and used? [snip] it appears that _NSUtilities has a static initialiser that pulls in and caches classes rather than asking the current thread context classloader for them when

Re: Network change

2007-03-29 Thread Chuck Hill
What do you use for a host name? I have set my wotaskd to run under localhost and also launch my apps with -WOHost localhost. Chuck On Mar 29, 2007, at 8:28 PM, Kieran Kelleher wrote: I am sure anyone with a laptop sees the "No instance available" problem often when they move from one net

Network change

2007-03-29 Thread Kieran Kelleher
I am sure anyone with a laptop sees the "No instance available" problem often when they move from one network to another. Whenever I see this after moving networks, I run the following script which used to work 99% of the time on my old Macbook Pro, but doing something similar on new Core 2

WebObjects classloader fun.

2007-03-29 Thread Q
Does anyone know much about how webobjects uses the classloader and how the _NSUtilities class cache is initialized and used? I have been playing with different ways to hook the GroovyClassLoader into the classloader chain prior to launching a WO application (so that you can use uncompiled

Fwd: WOWODC

2007-03-29 Thread Pascal Robert
Quick reminder, in guess someone didn't see it. De : Pascal Robert <[EMAIL PROTECTED]> Date : 23 mars 2007 10:52:56 HAE À : WebObjectsDev Apple , WebObjects Forms Forms <[EMAIL PROTECTED]> Cc : [EMAIL PROTECTED] Objet : WOWODC Hello fellow WO dudes, it's time for your WWDC planning ? Well,

Re: Anyone have a phone number formatter?

2007-03-29 Thread Chuck Hill
If you just want output formatting (and not input parsing), it can be as simple as this: public StringBuffer format(Object object, StringBuffer stringBuffer, FieldPosition fieldPosition) { if (object instanceof Number) { stringBuffer.append(((Number)object

Anyone have a phone number formatter?

2007-03-29 Thread Kevin Windham
I am looking for info on how to create a formatter for phone numbers. I have surmised that I am supposed to use java.text.format in some fashion, but I am having trouble finding any examples. Does anyone have any examples they can share, or can point me to some better info than the java doc

Re: Project architecture

2007-03-29 Thread Webobjects Developer
Thanks everyone for the very useful insight. I think my original question was answered -- or at least I have a different way to look at things now! I'm sure I'll be back for more questions soon. On 3/29/07, Chuck Hill <[EMAIL PROTECTED]> wrote: > I think the problem is how to detach the programm

Re: Project architecture

2007-03-29 Thread Miguel Arroz
Hi! Think on it like a desktop app. WO builds applications, just like a desktop application. You cannot add windows to the application while it's running - unless your app is actually a "window creator", like Apple's Interface Builder! :) To add a window to a normal application, there'

Re: CSS question and YUI

2007-03-29 Thread James Cicenia
Thanks ... that is helping immensely... FireFox that is On Mar 29, 2007, at 5:38 PM, Mike Schrag wrote: I've never used this syntax before, but I would initiate Lazy Debug Mode(TM) and put some alert('..')'s around in there. I would also verify that the JS is actually loading, and run thi

Re: Project architecture

2007-03-29 Thread David Holt
There's no "page" per se. You are creating instructions for your web app to assemble components and templates (and maybe data) into what would commonly be known as a "page". You tell your app to assemble these components by clicking a link or pressing a button, generally. This triggers an a

Re: Project architecture

2007-03-29 Thread David Avendasora
This is one of the key distinctions between WO and a lot of other frameworks or web-technologies out there. A WO application can have any kind of a front-end. A website is just one of them (certainly the most common). You can have a Swing front end, or something along the lines of iTunes.

Re: CSS question and YUI

2007-03-29 Thread Mike Schrag
I've never used this syntax before, but I would initiate Lazy Debug Mode(TM) and put some alert('..')'s around in there. I would also verify that the JS is actually loading, and run this in FireFox w/ FireBug to get decent error handling -- Safari does not cut it. On Mar 29, 2007, at 5:38

Re: Project architecture

2007-03-29 Thread Robert Walker
Maybe this will help: When you ask WO to begin generating a page (component) with something like: WOComponent page = pageWithName("MyPage"); the framework will locate the class MyPage and create an instance of MyPage for you. The next thing that happens is the framework will attempt to

Re: Project architecture

2007-03-29 Thread Chuck Hill
On Mar 29, 2007, at 2:22 PM, Webobjects Developer wrote: If your designer adds a page with dynamic content, what effect does that have on the application? Does a programmer need to do something to integrate the page? Do you need to rebuild and re-deploy? You are not editing a page in a site.

Re: Project architecture

2007-03-29 Thread Chuck Hill
On Mar 29, 2007, at 1:08 PM, Webobjects Developer wrote: Using WO, how does one separate the web designer from the programmer? It is usually pretty hard, especially if she is cute and the programmer unmarried. :-P Chuck -- Practical WebObjects - for developers who want to increase thei

WebObjects Job

2007-03-29 Thread Mitchel Roider
At LiveScribe we are developing the next generation of digital pen technology. We are looking for senior software engineers that have a passion for creating a great user experience. As a member of the web software engineering team your creativity, technical expertise, great sense of design,

Re: Project architecture

2007-03-29 Thread Chuck Hill
On Mar 29, 2007, at 1:02 PM, Webobjects Developer wrote: You could use SSI to include dynamic parts by calling direct actions. Good idea. I'll look into this. Perhaps WO can even do it directly by intercepting the URL before it gets passed to the direct action... I am not sure you are under

Re: Adding attributes to markup

2007-03-29 Thread Robert Walker
You can add additional bindings to your wod file and wire them up to code in your controller just like any other binding. These will be add as attributes. WOD bindings: String1: WOString { class = "myClass"; value = message; } On Mar 29, 2007, at 5:33 PM, Webobjects Develop

Re: WWDC

2007-03-29 Thread Guido Neitzer
On 29.03.2007, at 15:02, Miguel Arroz wrote: Yes, I tried, see my mail a while ago! :) It's nice, clean, private bathroom, good breakfast on the bar next door. The only bad thing is that it's right on the edge of the Tenderloin... but, on the other hand, it's next to Hilton, so how bad ca

CSS question and YUI

2007-03-29 Thread James Cicenia
Hello - I have been wracking my brain on why I am getting no output on this simple YUI test of mine: Anything stand out to anyone? - James Cicenia Portfolio Intelligence // 3 Olive Solutions http://10.0.1.2:/tos/yui/ build/tree

Adding attributes to markup

If I have an HTML template and I want to use a WO component to provide an attribute on markup, what is the best way to do that? I've used the following type of construct, but I'm uncomfortable with it, at best: class="alt"> (Note: the 'class="alt"' is only a placeholder for preview; it will of

Re: Project architecture

You're completely correct that most (all?) publishing systems have this problem. And I think you (and others) are right that inserting special placeholder HTML is not a big problem. But as I asked to another responder: When the designer adds a new page, what process takes place after that? Does a

Re: Project architecture

If your designer adds a page with dynamic content, what effect does that have on the application? Does a programmer need to do something to integrate the page? Do you need to rebuild and re-deploy? On 3/29/07, David Holt <[EMAIL PROTECTED]> wrote: In our case, the web designer did all the HTML t

Re: WWDC

Hi! Yes, I tried, see my mail a while ago! :) It's nice, clean, private bathroom, good breakfast on the bar next door. The only bad thing is that it's right on the edge of the Tenderloin... but, on the other hand, it's next to Hilton, so how bad can it be? :) I never had a problem there

Re: Project architecture

I think it's also noteworthy to mention that WO is not unique in this at all. You would have exactly the same issues with anything based on J2EE. JSPs are not dissimilar to WO Templates. Even some scripting solutions like Ruby on Rails are not immune from this. You're still going to hav

Re: Project architecture

In our case, the web designer did all the HTML templates we needed. We use them as page wrappers in our WO content. We have no "static" content, but there's no reason you can't link from static web pages to full blown WO components (or vice versa). The templates are all CSS, so minor tweaks

Re: WWDC

On Mar 29, 2007, at 12:29 PM, Chuck Hill wrote: There are lots of cheaper, decent hotels around Union Square. Just Google for "hotel union square san francisco". Has anyone tried the Hotel Mark Twain? It's a bit less expensive and is near Union Square. The reviews online are very mixed -

Re: Project architecture

- static pages (no dynamic content) - stateless dynamic pages (requiring no session management but still contain dynamic content) - stateful dynamic pages (requiring a session to track user's action, but not to protect content) - stateful secure pages (requiring a session and a login and likely SS

Re: Project architecture

You could use SSI to include dynamic parts by calling direct actions. Good idea. I'll look into this. Perhaps WO can even do it directly by intercepting the URL before it gets passed to the direct action... I don't think technology is going to do much to compensate for a designer who does not

Re: Handling invalid URLs

How about with this method that can be found in WOApplication: public WOResponse handleSessionRestorationErrorInContext(WOContext aContext) Invoked when a session (WOSession) instance cannot be restored, which typically happens when the session times out. The default behavior displays a pag

Re: Project architecture

As I see it, there are three types of pages: - static, - non-persistent dynamic, - persistent dynamic. I actually see this list slightly different: - static pages (no dynamic content) - stateless dynamic pages (requiring no session management but still contain dynamic content) - stateful dyn

Re: WWDC

Le 07-03-29 à 15:29, Chuck Hill a écrit : There are lots of cheaper, decent hotels around Union Square. Just Google for "hotel union square san francisco". I usually stay at the King George, I probably will again this year. I checked last week, King Georges has higher rates this year it

Re: Project architecture

On Mar 29, 2007, at 11:44 AM, Webobjects Developer wrote: WebObjects applications tend to be bigger ones. If your needs aren't high, you probably go better with PHP or whatever other scripting language. But then your designer may even break your code when he does changes - so, it's up to you.

Re: Project architecture

On 29.03.2007, at 12:44, Webobjects Developer wrote: I was hoping that others had already solved the problem of integrating web designers into the workflow What do you like to hear? It depends on your design on how you can integrate designers in the workflow. You don't need a real CMS to do

Re: WWDC

There are lots of cheaper, decent hotels around Union Square. Just Google for "hotel union square san francisco". I usually stay at the King George, I probably will again this year. That said, there are many good choices and the internet rates are quite reasonable for downtown San Fran.

Re: WWDC

Hi! I stayed last year on Mark Twain Hotel, near Union Square. It's cheap, decent, clean, individual bathroom and shower, and has a hell of a really delicious breakfast right in the bar next door. I will stay here again this year. A lot of WWDC folks stayed there too, I saw them everyda

Re: Project architecture

You have good advice. The question is how to implement/architect it? As I see it, there are three types of pages: - static, - non-persistent dynamic, - persistent dynamic. But from a web designer perspective, they will be designing all of the pages to look and feel the same. They will share str

Re: WWDC

Valerio, Apple usually works deals with a few of the local hotels. It's usually a decent discount off the normal full rate, but I've found that you can get hotels through online discounters (and priceline) for less than the Apple discount rate. I couldn't find anything on their site abo

WWDC

It seems like I'm going to the WWDC in June. Does anyone know if Apple has some deal with local hotels ? Or does anyone have suggestions ? Thanks, -- Valerio Luccio (212) 998-8736 Center for Brain Imaging4 Washington Place, Room 158 New York University New Y

Re: Project architecture

WebObjects applications tend to be bigger ones. If your needs aren't high, you probably go better with PHP or whatever other scripting language. But then your designer may even break your code when he does changes - so, it's up to you. I've spent a considerable amount of time evaluating WO vs. o

Re: Project architecture

Another aspect of site design that you seem to be missing is that a well designed site will isolate the static and dynamic parts of the site. Take Apple's own web site as an example. Browsing around you will quickly notice that the entire site is not wrapped in WebObjects. The home page

Re: Trouble setting properties in ERJavaMail

In your project there is a file named Properties in the Resources folder. If using Eclipse, you may need to adjust the project explorer filter settings since it may be hidden if you don't see it. Anyway, you can put property settings in there. You can put custom ones for your app, WebObject

Re: Project architecture

On 29.03.2007, at 11:41, Mac Developer wrote: The part that scares me (for which I'm still looking for a solution): ... Normally our workflow is to get working HTML mockups for every page in the application and a programmer transfers that to the actual components and the application. ... Thi

Re: Project architecture

Thanks for the useful reply (and to the others who have pointed out the value of DirectActions). The part that scares me (for which I'm still looking for a solution): ... Normally our workflow is to get working HTML mockups for every page in the application and a programmer transfers that to th

Re: Project architecture

Hi, Perhaps you are mis-interpreting something in WebObjects: a WOComponent might be a page. Or might be a snippet of a page. Or might be a wrapper around something. Or might be something completely different. But it has nothing to do with the actual URL to view exactly one page. We hav

Re: Project architecture

To avoid the session ID to appear in the URL, you must have a little work and use stateless components. ... or cookie session ids. ms ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@l

Re: Project architecture

Hi Webobjects developer! :) If you want to have bookmarkable URLs, you may use Direct Actions. To avoid the session ID to appear in the URL, you must have a little work and use stateless components. Of course, you will loose some of the power of WO, as WO is optimized to component actions

Re: Project architecture

On 29-Mar-07, at 1:03 PM, Webobjects Developer wrote: Also, using WO components for the user web site pages makes it harder to provide bookmarkable links for the pages on the user web site that have dynamic content. I think that you're confusing component actions and direct actions. Both use WO

Project architecture

I'm a relative newcomer to WebObjects, but I've built a few applications and feel like I have a good handle on the technology. I'm thinking about using WebObjects for my next online project. My question is about project architecture. I envision the following major components: - The backend datab

Re: Trouble setting properties in ERJavaMail

On 29.03.2007, at 10:38, Kevin Windham wrote: # * Enables ERJavaMail to send all the mails to only one destination # This is useful when debugging er.javamail.centralize = false I still get this, Exception sending email: java.lang.IllegalArgumentException: When setting 'er.javamail.centrali

Handling invalid URLs

Hi, We give users the ability to embed URLs in their WO content. The problem we have is that they sometimes put in bad URLs such as: https://obi.chicken.ca/cgi-bin/WebObjects/OBI.woa/wo/a%20href= This results in an exception: handleSessionRestorationErrorInContext Does anyone know how to h

Trouble setting properties in ERJavaMail

I'm struggling trying to figure out where the properties file is supposed to be that loads in settings for ERJavaMail. I have searched and found listings of the properties I should set to fix my problem, but I can't figure out where to put them. I have tried putting them in the properties f

Re: WOSortOrderManyKey

Thanks for the advice...In fact, I've just dropped this component, bored to loose my time with this... Now I use EOSortOrdering in order to sort my WODisplayGroup, much easier... Thank you ! Bruno Le 29 mars 07 à 16:39, Robert Walker a écrit : Bruno, If I were you I would forget that you

Re: Mixing technologies...

The most Wonder integration I've ever done on a WireHose project is to use their change notification framework. I would be very interested to hear of the results of your experimenting. As would the wirehose-dev discussion list hosted by CodeFab: http:// public.codefab.com/mailman/listinfo/wi

Mixing technologies...

Dear all, Here's a simple question for the experienced/adventurous folks on the list - has anyone worked on projects which combine the wonders of Project Wonder with the features available through the Wirehose framework? From my reading of the Wirehose documents, it seems that both can co

Re: WOSortOrderManyKey

Bruno, If I were you I would forget that you ever saw this component. I realize now why I've never seen it used. It is actually a really bad control. It doesn't even seem to be working correctly. I got it half working but even if it did work it's still a really poorly done widget. Yo

Re: WOSortOrderManyKey

On Mar 29, 2007, at 4:14 AM, WIESEN Bruno wrote: I can't deal with this component and I can't find good documentations... Can someone give me a working example? or somewhere to find documentations? How about the source: /Developer/Examples/JavaWebObjects/Source/JavaWOExtensions/ - Patrick

WOSortOrderManyKey

Hello, I can't deal with this component and I can't find good documentations... Can someone give me a working example? or somewhere to find documentations? Thank you. Bruno. ___ Do not post admin requests to the list. They will be ignored. Webobjec