webobjects-dev Mailing List http://lists.apple.com/archives/webobjects-dev/2009/Jul/index.html webobjects-dev Mailing List Sat, 04 Jul 2009 06:35:01 +0000 WOWODC 09 Videos http://lists.apple.com/archives/webobjects-dev/2009/Jul/msg00047.html Reply to list
Hey,    I'm just wondering when will the WOWODC 09 videos will be ready?    How much will they cost this year?     Thanks 
  
]]>
Re: Eclipse 3.5 slow? http://lists.apple.com/archives/webobjects-dev/2009/Jul/msg00046.html Reply to list
[...]

define "game's pretty much over" -- total app crash? deadlock?  
exception? 

 ms  
 
]]>
Re: Eclipse 3.5 slow? http://lists.apple.com/archives/webobjects-dev/2009/Jul/msg00045.html Reply to list

I find that if I highlight a number of files and F3 it's a disaster...  
the game's pretty much over :-/ No idea yet what the cause is. 

 On 03/07/2009, at 4:59 AM, Mike Schrag wrote:

[...]

"crash" ........ does the eclipse process die? do you get an  
exception? what exception? [...]
]]>
Re: Eclipse 3.5 slow? http://lists.apple.com/archives/webobjects-dev/2009/Jul/msg00044.html Reply to list
Thanks Mike, I will take that advice... André  
 On 2-Jul-09, at 4:53 PM, Mike Schrag wrote:

[...]
]]>
Re: Eclipse 3.5 slow? http://lists.apple.com/archives/webobjects-dev/2009/Jul/msg00043.html Reply to list

[...]

by the way, 3.5 is not recommended for anyone for production use ...  
at the moment it's more nightly than even nightly is, though it will  
be moving to the "real" nightly probably tonight.  even as nightly,  
though, buyer beware. if you don't know what you're doing, you should  
use 3. [...]
]]>
Re: Eclipse 3.5 slow? http://lists.apple.com/archives/webobjects-dev/2009/Jul/msg00042.html Reply to list
[...]

whoops .. yeah .. must not have bumped the version # when i branched  
 ms  
 
]]>
Re: Completely OT: question for US ADC members http://lists.apple.com/archives/webobjects-dev/2009/Jul/msg00041.html Reply to list

I've had that bookmarked for years, but I remember that I wasn't successful at bookmarking a working link to the ADC Store itself.  (I don't know if the link changes, or if a cookie is set, and I didn't investigate further.)  Maybe that's what you ran into? [...]
]]>
Re: Eclipse 3.5 slow? http://lists.apple.com/archives/webobjects-dev/2009/Jul/msg00040.html Reply to list

[...]

You have the right version of WOLips. The current version is numbered  
3.4.5840 for Galileo 

 David  

  Thanks,  
 André  
 On 2-Jul-09, at 2:59 PM, Mike Schrag wrote:

[...]

"crash" ........ does the eclipse process die? do you get an  
exception? what exception? [...]
]]>
Relative URLs for Forms http://lists.apple.com/archives/webobjects-dev/2009/Jul/msg00039.html Reply to list
I have an application using a version of wonder from last week and using the 5.4 version of webobjects. All the forms in the app are generating full URLs instead of relative URLs. This is causing me a problem because (at lest for the moment) the machine is accessible from the Internet and through VPN using different names, but the app always generates URLs with the VPN name and so someone accessing it from the Internet is not able to use the app. Also if it makes a difference, I am accessing the app through https.    Is there a way to force the form to generate relative URLs for form submission?     I have tried the following, but it does not seem to work:         	@Override  	public WOContext createContextForRequest(WORequest request) {  		ERXWOContext context = (ERXWOContext)super.createContextForRequest(request);  		context._generateRelativeURLs();     		return context;  	}         Thanks,  Frank      
]]>
Re: Completely OT: question for US ADC members http://lists.apple.com/archives/webobjects-dev/2009/Jul/msg00038.html Reply to list

Le 09-07-02 à 15:51, Janine Sisk a écrit :

[...]

I think the Premier store ask right away for membership info, but not  
for Select. At least that was the case for the Canadian ADC Select  
store. 

 janine  
 On Jul 2, 2009, at 12:40 PM, Mark Morris wrote:  
 Hi Janine,   [...]
]]>
Re: Completely OT: question for US ADC members http://lists.apple.com/archives/webobjects-dev/2009/Jul/msg00037.html Reply to list

Wow - I swear the last time I tried that, it told me I had to have a paid membership to see it.  Thanks!    janine     On Jul 2, 2009, at 12:40 PM, Mark Morris wrote:   Hi Janine,    Anyone can view ADC pricing, they just make the link hard to find.  Go to:     	<http://developer.apple. [...]
]]>
Re: Dynamically adding columns to tables with WORepetition http://lists.apple.com/archives/webobjects-dev/2009/Jul/msg00036.html Reply to list
[...]

This source for this might help.  
 http://developer.apple.com/documentation/MacOSXServer/Reference/WO54_Reference/com/webobjects/woextensions/WOTable.html  
  Chuck  
 --
Chuck Hill             Senior Consultant / VP Development  
Practical WebObjects - for developers who want to increase their  
overall knowledge of WebObjects or who are trying to solve specific  
problems. 
http://www.global-village.net/products/practical_webobjects 



  
]]>
Re: Dynamically adding columns to tables with WORepetition http://lists.apple.com/archives/webobjects-dev/2009/Jul/msg00035.html Reply to list
Try using a WOTable component and calculate the maxColumns binding  
from the number of items. You may also have to transpose the matrix of  
elements since WOTable renders row by row. 

  On Jul 2, 2009, at 1:48 PM, Jeff Dunnett wrote:

[...]
]]>
Re: Completely OT: question for US ADC members http://lists.apple.com/archives/webobjects-dev/2009/Jul/msg00034.html Reply to list

Hi Janine,    Anyone can view ADC pricing, they just make the link hard to find.  Go to:     	<http://developer.apple.com/membership/usa.html>     ... and click on the link in step #1 of "Ordering Information".     Regards,  Mark        On Jul 2, 2009, at 2:35 PM, Janine Sisk wrote:  > quoted text [...]
]]>
Completely OT: question for US ADC members http://lists.apple.com/archives/webobjects-dev/2009/Jul/msg00033.html Reply to list

Sorry to waste the bandwidth, folks, but this is the best place I know to reach a bunch of people who have the not-free ADC memberships.    I need to buy a new system and want to find out if the hardware discount will save me at least as much as the membership will cost. [...]
]]>
Re: Eclipse 3.5 slow? http://lists.apple.com/archives/webobjects-dev/2009/Jul/msg00032.html Reply to list

So, it must be a version issue because my WOLips version is 3.4.5840  
and the eclipse version is 3.5; but I got WOLips from  http://webobjects.mdimension.com/wolips/eclipse_3_5/ 
. So where is WOLips 3.5? 

 Thanks,  
 André  
 On 2-Jul-09, at 2:59 PM, Mike Schrag wrote:

[...]

"crash" ........ [...]
]]>
Re: Eclipse 3.5 slow? http://lists.apple.com/archives/webobjects-dev/2009/Jul/msg00031.html Reply to list

Thanks I downloaded the Eclipse SDK which seems to work. At first it  
would not do code completion, but I just had to go into the  
preferences and turn on Java code completion which was turned off for  
some reason. 

I am having one more problem. The ant build scripts are taking forever  
to run. [...]
]]>
Re: Eclipse 3.5 slow? http://lists.apple.com/archives/webobjects-dev/2009/Jul/msg00030.html Reply to list

[...]

"crash" ........ does the eclipse process die? do you get an  
exception? what exception? what is the error message? what version of  
eclipse are you using?

[...]

i've never had to ever do this, i don't know what you mean. what  
problem are you trying to solve?

[...]

what crashes? [...]
]]>
Re: Eclipse 3.5 slow? http://lists.apple.com/archives/webobjects-dev/2009/Jul/msg00029.html Reply to list

Hello,  
1) Does anyone know why eclipse crashes if you try to open a .wo file  
from a "Related" or "Search" view. Am I missing something from WOLips?  
Here is my installation, 
  WOLips	3.4.5840	 
  WOLips Base	3.4.5840	 
  WOLips Goodies Mac	3.4.5840	 
  WOLips Third Party Feature	3.4. [...]
]]>
Re: UTF-16 no BOM and Eclipse http://lists.apple.com/archives/webobjects-dev/2009/Jul/msg00028.html Reply to list
Look like it has to be UTF-16LE (UTF-16 Little Endian).

[...]
]]>
Dynamically adding columns to tables with WORepetition http://lists.apple.com/archives/webobjects-dev/2009/Jul/msg00027.html Reply to list

Hello,  
I am trying to puzzle out how to do something and am hoping that the  
members of this list can help. 

I have a list of keywords (with check boxes beside them) that I want  
to display in columns on a screen.  That list of key words can be  
anywhere from 5 - 45 words. [...]
]]>
Re: JavaXML.framework replacement http://lists.apple.com/archives/webobjects-dev/2009/Jul/msg00026.html Reply to list

JavaXML is a convenience so that you can deploy easily. there is no  
specific WO code in there and it can easily be replaced by its  
components. Be careful about Axis, WO 5.2.x works with Axis 1.0, WO  
5.3.x with Axis 1.1 and WO 5.4.x with Axis 1.4. [...]
]]>
Re: ERXRssPage http://lists.apple.com/archives/webobjects-dev/2009/Jul/msg00025.html Reply to list
sorry, anArticle is in my page     anItem.date a key to the publication date     the java class just extends WOComponent     you shoud just create a new WOComponent     delete anything in the html and put in <wo:ERXRssPage....     if you don't want use inline bindings you can do     <webobject name = "myRss">  your stuff per item  </webobject>     and in wod     myRss: ERXRssPage {  	list = xxxx  	item = xxx  	etc etc  }       On 02/lug/09, at 17:50, Frank Gibau wrote:   Hello Amedeo, thank you for your fast answer.   At least I tried it.   the Syntax: <wo:ERXRssPage... is new to me, I am using  <webobject name = "TextField7" />.  I think I translated it right to my Syntax.     I have Questions:   itemPubDate="$anArticle.articleDate";     1. What is $anArticle.articleDate ist that something I have to declare in my .java-Class.     2 does the java-Class extends WOComponent or extensions.ERXRssPage.     Stupid Questions, I am sorry.   Thank you     Frank                    Am 02.07.2009 um 16:22 schrieb Amedeo Mantica:    Hello,     I got some problem, lack of docs, but is very simple     create an empty component with just ERXRssPage (no body, no head)         <wo:ERXRssPage feedUrl="http://www.myfeed.org" feedDescription="DESCRIPTION" feedTitle="FEED TITLE" list="$yourArray" item="$anItem" itemTitle="$KeyToItemTitle" itemContent="$anArticle.testoBreve" itemPubDate="$anArticle.articleDate" itemLink="$anItem.Link">     	<p><b><wo:string value = "$anItem.text"/></b></p>     	ANY CONTENT YOU LIKE     </wo:ERXRssPage>        Is really simple  put in your .java the method for retreiving the list and the itering variable     Regards  Amedeo     On 02/lug/09, at 16:08, Frank Gibau wrote:  > quoted text
       
]]>
Re: Eclipse 3.5 slow? http://lists.apple.com/archives/webobjects-dev/2009/Jul/msg00024.html Reply to list

http://download.eclipse.org/eclipse/downloads/drops/R-3.5-200906111540/index.php  
 Dave  
 On Jul 2, 2009, at 11:23 AM, Mr. Frank Cobia wrote:  
Where do you get the 64bit version. My understanding is that the  
default download package for cocoa is 32bit and I was unable to find   [...]
]]>
Re: Eclipse 3.5 slow? http://lists.apple.com/archives/webobjects-dev/2009/Jul/msg00023.html Reply to list

Where do you get the 64bit version. My understanding is that the  
default download package for cocoa is 32bit and I was unable to find a  
64 bit download. 

 Thanks,
Frank  
  On Jun 29, 2009, at 8:22 PM, Kieran Kelleher wrote:  
 Hola Ricardo, :-)  
 If you are on intel, try 64-bit version. [...]
]]>
Re: Non-web apps http://lists.apple.com/archives/webobjects-dev/2009/Jul/msg00022.html Reply to list

Hi, 

i do this starting a new Thread in the Application class. 

public Application() 
{ 
    super(); 
    ... 
    FOTimedMailer.startMailTimer(FOTimedMailer.NEXT); 
} 



public class FOTimedMailer extends TimerTask 
{ 
    ... 
    public static void startMailTimer(int modus) 
    {  [...]
]]>
Re: ERXRssPage http://lists.apple.com/archives/webobjects-dev/2009/Jul/msg00021.html Reply to list
Hello,     I got some problem, lack of docs, but is very simple     create an empty component with just ERXRssPage (no body, no head)         <wo:ERXRssPage feedUrl="http://www.myfeed.org" feedDescription="DESCRIPTION" feedTitle="FEED TITLE" list="$yourArray" item="$anItem" itemTitle="$KeyToItemTitle" itemContent="$anArticle.testoBreve" itemPubDate="$anArticle.articleDate" itemLink="$anItem.Link">     	<p><b><wo:string value = "$anItem.text"/></b></p>     	ANY CONTENT YOU LIKE     </wo:ERXRssPage>        Is really simple  put in your .java the method for retreiving the list and the itering variable     Regards  Amedeo     On 02/lug/09, at 16:08, Frank Gibau wrote:  > quoted text
       
]]>
Re: WebObjects, Java and CalDAV, getting in trouble http://lists.apple.com/archives/webobjects-dev/2009/Jul/msg00020.html Reply to list
Hello Pascal,     I put      log4j.logger.httpclient.wire.header=DEBUG  log4j.logger.httpclient.wire.content=DEBUG      but I get same output.     I don't know what is going bad, other loggings are working ( ER, EOAdaptor )     Amedeo    On 01/lug/09, at 12:53, Pascal Robert wrote:   Look like your log4j log level is not set to DEBUG, try changing them to :  	log4j.logger.httpclient.wire.header=DEBUG 	log4j.logger.httpclient.wire.content=DEBUG  With those settings, you will be able to see what's your app is sending and receiving.  > quoted text

[...]
]]>
ERXRssPage http://lists.apple.com/archives/webobjects-dev/2009/Jul/msg00019.html Reply to list

Hey ,
I want to use RSS Feeds on my WO-Side.  
 I found ERXRssPage and question and answer from
Amedeo Mantica and  Neil MacLennan.  
 But the explanations there, where a little to brief for me.  
 Does anybody have examples for me.  
 Thanks  
 Frank   [...]
]]>
Re: Non-web apps http://lists.apple.com/archives/webobjects-dev/2009/Jul/msg00018.html Reply to list
Moving this thread to webobjects-dev as I think it has broader scope than just Wonder.    I want to create a program that is packaged as a webobjects application , i.e. MyAgent.woa but currently it doesn't process http requests.  It's main thread just checks for work to do in the database and then does it.  I'm currently not subclassing WOApplication.  I have my own MPVAgent class which subclasses Object.  But I can already see how I could benefit if have it subclass WOApplication (or ERXApplication) instead of my MPVAgent class.     However, in order to do so, I need to know what method to subclass to setup my thread that does the main work I described.     Has anybody done something like this?  Any advise?     I have lots of these so called agents.          On Jul 2, 2009, at 9:00 AM, Ricardo J. Parada wrote:   Just unfamiliarity with how to subclass it correctly to make it do exactly what I want it to do.          On Jul 2, 2009, at 5:57 AM, David Avendasora wrote:   I'm unclear as to why your would not extend ERXApplication in your back end apps, even if they aren't web apps. What are you trying to avoid? Having them respond to outside requests?      Dave     On Jul 1, 2009, at 11:01 PM, Ricardo J. Parada wrote:  > quoted text
        
]]>
UTF-16 no BOM and Eclipse http://lists.apple.com/archives/webobjects-dev/2009/Jul/msg00017.html Reply to list

Look like Eclipse always add the BOM to UTF-16 files? I switched a  
Localizable.strings from UTF-8 to UTF-16 in BBEdit, and I specified no  
BOM (UTF-16, No BOM). Now, WOResourceManager.stringForKey() finds the  
value for the key and everything is good. [...]
]]>
Re: Fetching the data of a many-to many relationShip http://lists.apple.com/archives/webobjects-dev/2009/Jul/msg00016.html Reply to list
AHA ok got it... I understood now.  G   On Thu, Jul 2, 2009 at 12:40 PM, David Avendasora <email@hidden> wrote: 
     On Jul 2, 2009, at 6:26 AM, Gustavo Pizano wrote: 
    On Thu, Jul 2, 2009 at 11:48 AM, David Avendasora <email@hidden> wrote: 
    On Jul 2, 2009, at 5:19 AM, Gustavo Pizano wrote:    > quoted text
 mmmm I see.  

[...]

RIght. If you aren't flattening, then when you call wg.toTranslationSets() all you are going to get are EOs that represent the join table (they are valid EOs, they just don't have much "business" meaning.  
    Since the join table EOs will have to-one relationships to TranslationSet and WG, then you have to call the relationship to get the actual object you are looking for. So, the exact syntax would be

[...]

public NSArray<TranslationSet> translationsSets() {  	NSArray<TranslationSet> aux = wg.toTranslationSets().valueForKey(WGxTS.TranslationSet_KEY); 
 }        Dave

[...]
]]>
Re: Fetching the data of a many-to many relationShip http://lists.apple.com/archives/webobjects-dev/2009/Jul/msg00015.html Reply to list

On Jul 2, 2009, at 6:26 AM, Gustavo Pizano wrote:     On Thu, Jul 2, 2009 at 11:48 AM, David Avendasora <email@hidden> wrote:     On Jul 2, 2009, at 5:19 AM, Gustavo Pizano wrote:    > quoted text
 mmmm I see.      > quoted text
    RIght. If you aren't flattening, then when you call wg. [...]
]]>
Re: Fetching the data of a many-to many relationShip http://lists.apple.com/archives/webobjects-dev/2009/Jul/msg00014.html Reply to list
On Thu, Jul 2, 2009 at 11:48 AM, David Avendasora <email@hidden> wrote: 

On Jul 2, 2009, at 5:19 AM, Gustavo Pizano wrote:

[...]

oops.. I guess I'll have to go back to the theory,... didn'gt get why the valueForKey .. I guess its becuase each WGxTS has the TranslationSet_KEY and WG_KEY so geting the values for those kesy will create the proper swl command and fetch the right data.. isn't it? 

Dave

[...]
]]>
Re: Fetching the data of a many-to many relationShip http://lists.apple.com/archives/webobjects-dev/2009/Jul/msg00013.html Reply to list

[...]

If all the WGxTS table is doing is being a join table for a many-to- 
many relationship, then flattening it I believe is the right thing to  
do.

[...]

If you don't do flattening, then you'd need something along the lines  
of: wg.toTranslationSets().valueForKey("TranslationSet") 

 Dave

[. [...]
]]>
Re: er.excel No Such Method Error exception http://lists.apple.com/archives/webobjects-dev/2009/Jul/msg00012.html Reply to list

The "merge-with-old-installation" ant install (Wonder build.xml)  
phenomenon strikes again :-) 

To prevent this from burning you .... and it typically does when any  
Libraries/*.jar are replaced in repository with a new verison having a  
different filename..... [...]
]]>
Fetching the data of a many-to many relationShip http://lists.apple.com/archives/webobjects-dev/2009/Jul/msg00011.html Reply to list
Hello.  I have the following:  I have a Entity called WG, and one called, TRANSLATIONSET. so the relationship is WG << >> TRANSLATIONSET.   if I have the wg , I want to get all the TRANSLATIONSET that this partigual wg has. Whne I was definiyng the EOModel, I set up a manytomany relationship with a join table called WGxTS and I unchecked the Flattern box, I read it somewhere. 
 so if I do.  NSArray aux = wg.toTranslationSets();  the contents of aux are all what is in the WGxTS which is not more than the pk of WG and TRANSLATIONSET related..  What am I missing here, this is the first time Im working with many-to-many rs. 
  Thanks in advance  Gustavo  
  
]]>
deploying across multiple app servers http://lists.apple.com/archives/webobjects-dev/2009/Jul/msg00010.html Reply to list

Hi Clark - Thanks for the hint. I've solved both issues now but in a
slightly different way:

[...]

I fixed this one by editing the Properties file inside the actual
WOTaskd.woa (/System/Library/WebObjects/Applications/JavaApplications/WOTaskd.woa/Contents/Resources/Properties).

[...] [...]
]]>
Re: ERXPatternLayout question http://lists.apple.com/archives/webobjects-dev/2009/Jul/msg00009.html Reply to list

Never mind... I found it... sometimes it takes sending out the email to find out... :-)    It's in the javadoc for ERXPatternLayout.  Not sure how I missed it...     The $ is the current application name of the WOApplication  And # is the current port number on which the primary adaptor listens to. [...]
]]>
ERXPatternLayout question http://lists.apple.com/archives/webobjects-dev/2009/Jul/msg00008.html Reply to list

Hi all,    What does the %$ and %# mean.  I tried to look it up in the documentation for ERXPatternLayout and the super class PatternLayout but I don't see it anywhere...     Here's my conversion pattern:      log4j.appender.A1.layout.ConversionPattern=%d{MMM dd HH:mm:ss} %$[%#] [...]
]]>
Re: er.excel No Such Method Error exception http://lists.apple.com/archives/webobjects-dev/2009/Jul/msg00007.html Reply to list
Good to hear.

On Wed, Jul 1, 2009 at 4:35 PM, Johnny Miller<email@hidden> wrote:

[...]
]]>
Re: er.excel No Such Method Error exception http://lists.apple.com/archives/webobjects-dev/2009/Jul/msg00006.html Reply to list

I hit it two different ways. You are either missing POI from the
classpath, or somehow you have two versions of the POI jars there.
ExcelGenerator frameworks include POI, but if you update in place, you
may now have two versions of that jar within your framework. Check
that out. [...]
]]>
er.excel No Such Method Error exception http://lists.apple.com/archives/webobjects-dev/2009/Jul/msg00005.html Reply to list

Hello,    All of a sudden an excel spread sheet generation component stopped working for me.     Here is the stack trace:      Exception in thread "WorkerThread0" com.webobjects.foundation.NSForwardException [java.lang.NoSuchMethodError] org.apache.poi.hssf.usermodel.HSSFRow. [...]
]]>
Re: JavaXML.framework replacement http://lists.apple.com/archives/webobjects-dev/2009/Jul/msg00004.html Reply to list

We ended up doing exactly that. If you deploy your apps as a servlet the
JavaXML framework is not even loaded by the servlet container because it
contains servlet classes like HTTPRequest. The J2EE spec that any jar that
contains those classes will be ignored by the classloader. [...]
]]>
JavaXML.framework replacement http://lists.apple.com/archives/webobjects-dev/2009/Jul/msg00003.html Reply to list

Hi all,  
I am trying to figure out the best way to replace any jars required by  
projects that in the past were provided by the JavaXML.framework. 

Should I simply download the latest versions of the needed jars from  
their original sources and put them in my Libraries directory? [...]
]]>
Re: WebObjects, Java and CalDAV, getting in trouble http://lists.apple.com/archives/webobjects-dev/2009/Jul/msg00002.html Reply to list

Look like your log4j log level is not set to DEBUG, try changing them  
to : 

 	log4j.logger.httpclient.wire.header=DEBUG
	log4j.logger.httpclient.wire.content=DEBUG  
With those settings, you will be able to see what's your app is  
sending and receiving. [...]
]]>
WO Developers available http://lists.apple.com/archives/webobjects-dev/2009/Jul/msg00001.html Reply to list

Hi,     Just a quick announcement: two experienced WebObjects developers are now available in Germany. We're located in Bonn, Germany, but are willing to relocate, at least within Europe. We've worked on a number of large scale projects from conception to deployment. [...]
]]>
Re: WebObjects, Java and CalDAV, getting in trouble http://lists.apple.com/archives/webobjects-dev/2009/Jul/msg00000.html Reply to list

Hi Pascal,  do you have any suggestion?       On 30/giu/09, at 15:17, Amedeo Mantica wrote:   I see just these     Jun 30, 2009 3:16:12 PM org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme  INFO: Digest authentication scheme selected  Jun 30, 2009 3:16:12 PM org.apache. [...]
]]>