Hi,
Since Xcode 4.3 is released as a single app, it will suggest to delete
the /Developer at first launch.
It seems that Apple is trying to eliminate the necessity of /Developer
in the future. If you're just like me, blindly trust the instruction
without thinking, it's likely that you will delete
Found the handling code here:
https://github.com/wolips/wolips/blob/master/woproject-ant-tasks/src/java/org/objectstyle/woproject/ant/WOMapper.java
Need to figure out how to fix this with least effort.
Regards,
yllan
On Tue, Oct 18, 2011 at 12:12 AM, Yung-Luen Lan wrote:
> My Cocoa bundle
is in target build.woapp and resources declaration.
>
> So you can modify the the patternset files and/or directly modify the build
> xml at that declaration if pattern sets alone are not able to do what you
> want.
>
> HTH, Kieran
>
> On Oct 17, 2011, at 7:56 AM, Yung-Luen Lan wro
esources' directory and use
>
> WOResourceManager.pathURLForResourceNamed(
> command-line-tool-name, // name of your tool
> null, // null if you put this into your app project
> null); // null as you are not interested in localized resources
>
> jw
&
Hi,
I have some external command-line tools written by Objective-C that
needs to be invoked in my wo app.
Of course I could put them in somewhere like /usr/local/bin, etc.
But I want to embed these command-line tools inside my wo app bundle
so that people don't forget to copy the command-line to
line count :)
>
>
> On 19.09.2011, at 10:51, Yung-Luen Lan wrote:
>
>> Hi,
>>
>> I'm using WOLips stable with Eclipse 3.6 and scala 2.9.0.1 following
>> the WO wiki setup.
>>
>> Scala is amazing. It reduces a lot of LOC which results more concis
Hi,
I'm using WOLips stable with Eclipse 3.6 and scala 2.9.0.1 following
the WO wiki setup.
Scala is amazing. It reduces a lot of LOC which results more concise
and clear code. So I gradually rewrite my project using scala, one
class at a time.
However, Eclipse gives me errors:
The class for 'A
Hi,
I want to split my one large web application into multiple smaller
applications so that each part running separately because:
1. Update one application won't affect the other. For example, I want
to deploy the admin backend but don't want to restart the customer
page.
2. If one JVM crash, the
n
> the stack trace:
> _preloadSharedObjectsWithModel
>
> My guess is that this is not supported (or is a bug, depending on how you
> look at it).
> John
> On Thu, Mar 17, 2011 at 5:36 AM, Yung-Luen Lan wrote:
>>
>> Hi,
>>
>> I have a project setup with
Hi,
I have a project setup with ERXMigration. The migration works except
the first time database initialization.
That is, I have a newly installed server with an empty database and I
want my project create those tables automatically.
But I get errors like this:
Mar 17 17:56:43 MyWebApp[52666] (E
ut I don't use the adaptor in my production environment because I
realized that very few people actually use this and it's not been well
tested.
Maybe we could do a survey to see which http server/adaptor you use? I
guess apache2 dominates.
Wow, 8 lines of code worth a lot of explanation.
R
aptor.
Regards,
yllan
On Thu, Sep 16, 2010 at 10:10 AM, Chuck Hill wrote:
>
> On Sep 15, 2010, at 6:03 PM, Yung-Luen Lan wrote:
>
>> Ah, thanks! Maybe it's caused by WebObjects-FCGI adaptor or nginx.
>> I tried Apache2, seems don't have this kind of problem.
&g
t wonder and replaced with ERXPropertyListSerialization in the Wonder
> 54 branch.
>
> Dave
>
>
> On Jan 5, 2011, at 1:04 AM, Yung-Luen Lan wrote:
>
>> Hi,
>>
>> I have a generic version of
>>
>> NSPropertySerialization.arrayForString
>>
>> i
Hi,
I have a generic version of
NSPropertySerialization.arrayForString
in my project. I moved the project to another machine, which have
WO5.4.3 and Wonder installed. But Eclipse complains that there's no
such generic method.
What could possibly go wrong? Classpath setting in wolips?
Regards,
Hi,
The following code receives one chunk of multipart uploads and
appending it to a file.
(I have a client app which split the file first and then send the
chunks one by one.)
However, I got trouble when I deploy the code to a snow leopard
machine. I found the file uploaded is not the same as the
y problem.
>
> Farrukh
>
> Sent from my iPad
>
> On 21-Aug-2010, at 11:16 AM, Yung-Luen Lan wrote:
>
>> Hi,
>>
>> I try to use AjaxObserveField to monitor the change of radio button.
>> However, it's
Hi,
I try to use AjaxObserveField to monitor the change of radio button.
However, it's not working.
Here is the code to demonstrate the problem:
No matter how I click the radio button, it won't change the value of
radioValue, option3 and option4 unless I click the submit butt
Hi,
I'm implementing a back-end of a e-commerce system, which do CRUD on product
records.
To return a list of products, I wrote:
return Product.fetchAllProducts(ec);
To add a new product, I wrote:
Product p = new Product();
ec.insertObject(p); // the same ec as in
Produ
objects.mdimension.com/wolips/eclipse_3_5
>>> Still trying to fix that..
>>
>> I had a similar problem today with the same site, when installing another
>> eclipse plugin. Looks like some server is down. You could try to get an
>> archive of the plug
Does anyone encounter a strange error updating/installing plugins in
Eclipse 3.5 like this?
---
Unable to load the repository
http://webobjects.mdimension.com/wolips/eclipse_3_5
org.eclipse.equinox.internal.provisional.p2.core.ProvisionException:
No repository found at
http://webobjec
...
>
>
> Chuck
>
>
> On Jun 19, 2009, at 12:56 PM, Yung-Luen Lan wrote:
>
>> Or is there any advanced technology in newer framework/runtime that
>> gives a beautiful solution?
>>
>> regards,
>> yllan
>>
>> On Fri, Jun 19, 2009 at 7:45
Um, do you require that as a movie database?
Otherwise, you could find some large enough database at
http://download.wikimedia.org/backup-index.html
Regards,
yllan
On Sat, Jun 20, 2009 at 4:27 AM, Dov Rosenberg wrote:
> Check out Netflix's recommendation engine challenge
>
> http://www.netflixpr
Or is there any advanced technology in newer framework/runtime that
gives a beautiful solution?
regards,
yllan
On Fri, Jun 19, 2009 at 7:45 PM, Yung-Luen Lan wrote:
> Hi,
>
> About data validation, there is a common pattern:
>
> 1. Present a form to let user input data.
> 2.
Use a rewrite rule like this (if you use Apache):
RewriteRule ^app/(.*)$ cgi-bin/WebObjects/YourWOApp.woa/$1 [R]
Wach out if you have HTTP GET url. It seems that Apache rewrite didn't
handle URL encoding escape well. (Or just because I didn't set it up
correctly.)
Regards,
yllan
On Fri, Jun 19,
Hi,
About data validation, there is a common pattern:
1. Present a form to let user input data.
2. Validate the data during input or when form submitted.
3. If there are invalid data, shows error message to each field.
To complete this task, I follow the approach that set the error
messages to a
Hi,
I wanna try the wonder version of JavaMonitor and wotaskd.
I directly replace the origin file in
/System/Library/WebObjects/JavaApplications with the new one.
However, I got a NoClassDefFoundError: er/extensions/appserver/ERXApplication.
After investigating JavaMonitor.woa/Contents/MacOS/Mac
Hi Mke,
On Sat, Jun 13, 2009 at 9:14 PM, Mike Schrag wrote:
> Dave already did this, but I wanted to do a pass also.
> Let me begin this by saying that I have to be very careful what I say
> because I _actually know what is going on_.
> It would be ridiculous for Apple to even consider replacing t
Hi Dave,
On Sat, Jun 13, 2009 at 7:30 PM, David
Avendasora wrote:
> Hi yllan,
> I haven't had my coffee yet today, so I'm feeling crabby...
> On Jun 13, 2009, at 3:07 AM, Yung-Luen Lan wrote:
>> Since Apple itself is still using WebObjects for MobileMe, iTunes
>> s
Hi,
*** WARNING: I wasn't able to be at WWDC or WOWODC this year so I'm
not sure the following is correct. ***
According to the website:
http://mac.topnewsdigest.com/uncategorized/conflicting-information-about-webobjects/
"Mac OS X 10.6 server no longer support WebObjects."
I'm not to talk abo
Hi,
I have a template component with a such line:
which calls the authorized() method of the parent component.
However, eclipse always display an error saying there is no key
'authorized' for the keypath 'parent' in my class.
How do I make the error message disappear? Thanks.
Regards,
yllan
On Fri, Nov 7, 2008 at 1:17 AM, Guido Neitzer <[EMAIL PROTECTED]> wrote:
> On 06.11.2008, at 02:05, Yung-Luen Lan wrote:
> Sure, you probably got an out of memory exception if you don't recycle your
> editing contexts and do some intelligent things for creating the output.
Y
, Nov 5, 2008 at 10:45 PM, Guido Neitzer <[EMAIL PROTECTED]> wrote:
> On 05.11.2008, at 02:56, Yung-Luen Lan wrote:
>
>> How could I improve the performance? Or at least let my page won't be
>> killed after 30 secs.
>
> 1. Use raw rows.
>
> 2. Don
Hi,
There is a task has be done in my wo app: creating thousands of (about
200,000) EOs and generating a csv file containing the information for
download.
When I create only 1000 EOs, it's fine. But if I create over 20,000
EOs, my page was kill due to no response after 30 secs. So there are
EOs c
Wondering if there is any cool {webobjects, WOLips, Wonder} folder
icon for Mac OS X.
You know, it will be fun if your webobjects-related folder have neat
icon rather than plain folder.
Regards,
yllan
___
Do not post admin requests to the list. They wi
Thanks for your suggestion. Could you elaborate more? Why is using PK
considered as a bad style?
Regards,
yllan
On 10/4/08, Guido Neitzer <[EMAIL PROTECTED]> wrote:
> On 03.10.2008, at 23:55, Yung-Luen Lan wrote:
>
>> I'm now connect my wo app to 3rd party banking service
Hi,
I'm now connect my wo app to 3rd party banking service. According to
their API, I need to provide a "transaction id" that is unique for
each transaction or I'll get error.
Sure, it can be done by creating an entity class and use PK as a
unique id. But I don't want to create the entity class s
cache by the browser, then i
> would try to add dummy value in a query string.
> HTH one more time,
> Stephane
> Le 14 sept. 08 à 09:55, Yung-Luen Lan a écrit :
>
> On Sun, Sep 14, 2008 at 3:01 PM, Stephane Guyot
> <[EMAIL PROTECTED]> wrote:
>
> H
On Sun, Sep 14, 2008 at 3:01 PM, Stephane Guyot
<[EMAIL PROTECTED]> wrote:
>
> Hi Yung-Luen,
> have a look on the following method : disableClientCaching ---> Class
> WOResponse
> http://developer.apple.com/documentation/DeveloperTools/Reference/WO541Reference/com/webobjects/appserver/WOResponse.ht
Uh, to be more pricisely, my problem is not because WO won't parse
empty cookie properly.
My problem is, cookie containing wosid and woinst will be deleted
after quitting browser. Hence, there's no way to implement function
like "login automatically."
Digging into this problem, I found that my se
Hi,
Is this issue fixed in 5.4.2? I still encountered this problem (Not
only Safari 3, but also FireFox 3 delete my cookie on quit) in 5.4.2.
However, with Andrew's code inside my WOApplication.createRequest(), I
still got the same problem.
What could be wrong in my code?
I rewrote some lin
Thanks for your clarification.
If I only want a case-insensible "exact" equality, is there any easy
way to do the following?
select * from table where lower(email) = lower('[EMAIL PROTECTED]');
Regards,
yllan
On Fri, Aug 29, 2008 at 12:04 AM, Mike Schrag <[EMAIL PROTECTED]> wrote:
>> I wonder if
Hi,
I want to match my email case-insensitively, it seems that the easiest
way is using ERXQ.ILIKE.
I wonder if that will introduce SQL injection vulnerability into my system:
assuming adversary have * or % in his email address query string, will
that hurt my database security?
Regards,
yllan
_
Nope. I just make symbolic links from my webserver root to WSR folder
and hard coded those absolute path.
That's the trick I learnt from David LeBer at WWDC 08.
Regards,
yllan
On Wed, Jul 23, 2008 at 5:01 PM, Paul Stringer <[EMAIL PROTECTED]> wrote:
> I had the same problem with nested folders, I
dle.name@@ host
> @@host@@ port @@WOPort@@)
> log4j.appender.myMail.layout=er.extensions.ERXPatternLayout
> # log4j.appender.myMail.layout.ConversionPattern=%5p [%t] (%F:%L) - %m%n
> log4j.appender.myMail.layout.ConversionPattern=%r %-5p %d{ISO8601}%n%n%V{t
> total/u used/f free}%n%n[%t] %n%n (%C, %M, %F:%L) - %n%n%m%n
>
Hi Rams,
I'm quite confused about this code. I copied this to my DirectAction
class but it didn't work.
In my project, I have English.lproj, zh_TW.lproj, zh_CN.lproj.
I have my Properies file setup with:
er.extensions.ERXLocalizer.defaultLanguage=English
er.extensions.ERXLocalizer.fileNamesToWatc
On Thu, Jul 17, 2008 at 8:00 PM, Yung-Luen Lan <[EMAIL PROTECTED]> wrote:
> Yes, but urlForResourceNamed("/css/main.css", null, null, null) also returns
> "/ERROR/NOT_FOUND/app=MyAppfilename=/css/main.css".
>
> Regards,
> yllan
>
> On Thu, Jul 17, 20
Ah, thanks. Forgot to recover my Properties file.
Regards,
yllan
On Fri, Jul 18, 2008 at 1:07 AM, Guido Neitzer <[EMAIL PROTECTED]> wrote:
> On 17.07.2008, at 11:04, Yung-Luen Lan wrote:
>
>> How to set the log to old way? (Automatically change the name everyday)
>
&
Hi,
How to setup the log rotation of webobjects app? My app used to
produce log file with name like
MyApp.log.20080603
automatically. Fine.
But after I update my framework, OS and WebObjects, the log file won't
append the date to filename automatically except the app terminates!
That means, I hav
Yes, but urlForResourceNamed("/css/main.css", null, null, null) also returns
"/ERROR/NOT_FOUND/app=MyAppfilename=/css/main.css".
Regards,
yllan
On Thu, Jul 17, 2008 at 7:20 PM, Lachlan Deck <[EMAIL PROTECTED]> wrote:
> On 17/07/2008, at 7:14 PM, Yung-Luen Lan wrote:
Hi,
I put my css/javascript/images into these folder:
WebServerResouces/css/
WebServerResouces/js/
WebServerResouces/imgs/
in my eclipse wo project. I checked the compiled
MyApp.woa/Contents/WebServerResources, these sub-folders were not
flattened.
However, when I call
application().resourceMan
Thanks David.
On Sat, Jun 21, 2008 at 3:48 AM, David Holt <[EMAIL PROTECTED]> wrote:
> Hello,
> You may want to move this question to the Wonder list for better answers.
> My response is below:
> On 20-Jun-08, at 12:33 AM, Yung-Luen Lan wrote:
> [SNIP]
> You'll nee
Hi,
Since Chuck said "Use prototype, or you're stupid" in his awesome
session in WOWODC 08, I looked into my project and realized that I
need to modernize it: legacy format (eogenerator / Xcode project / not
fluffy bunny layout), not using prototype in EOModel, using
session().defaultEditingContex
Hi,
Nice to see you all at WOWODC today. Obviously I'm the one who know wo
least among all of you. (I'm still learning it!)
Thanks to many people answering questions for me.
I just wonder will these slides be available to download before videos?
Regards,
yllan
__
Hi,
Here is my ERPPieChart.wod:
MyChart: ERPPieChart {
items = hashes;
nameKey = "Brand";
valueKey = "Quality";
}
Although I've already supplied items, nameKey and valueKey, eclipse
still give me an error "Either items, nameKey and valueKey or dataset
must be bound."
(has
Figured it out.
Seems that my eomodeld has broken.
Rebuild my eomodeld resolved this problem! Thanks all.
Regards,
yllan
On Sun, Apr 27, 2008 at 10:34 AM, Andrew Lindesay <[EMAIL PROTECTED]> wrote:
> Hello Yung;
>
>
>
> > I have no idea why this relationship will cause the problem. Searching
> >
Hi,
I encountered com.webobjects.eoaccess.EOGeneralAdaptorException when
saveChanges() after inserting an enterprise object into editing
context.
It only happens when I set a relationship of the inserted object.
Without setting the relationship, my app run smoothly.
The inserted entity called Sa
On Sat, Apr 26, 2008 at 12:48 AM, Yung-Luen Lan <[EMAIL PROTECTED]> wrote:
> package your.app;
>
> import com.webobjects.appserver.*;
> import com.webobjects.appserver._private.WODynamicElementCreationException;
> import com.webobjects.foundation.*;
>
> public class
r.appendContentString("");
}
}
Regards,
yllan
On Fri, Apr 25, 2008 at 6:23 AM, Lachlan Deck <[EMAIL PROTECTED]> wrote:
> Hi there,
>
>
> On 25/04/2008, at 7:01 AM, Yung-Luen Lan wrote:
>
>
> > Is it just me?
&
Is it just me?
I think it's a bug so I filed a bug report to Apple.
yllan
On Thu, Apr 24, 2008 at 12:06 AM, Yung-Luen Lan <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I use WO to generate XML file in my project. After updating my
> outdated deploy environment to WO 5.4 / Proj
Hi,
I use WO to generate XML file in my project. After updating my
outdated deploy environment to WO 5.4 / Project Wonder 4.x, I found
the xml generated is different: all the tags rendered by
WOGenericContainer become lowercase.
I use CamelCase before, and match these XML tree with their CamelCas
Thanks, Mike. It really clarify my confusion about build path.
Regards,
yllan
On Thu, Apr 17, 2008 at 1:33 AM, Mike Schrag <[EMAIL PROTECTED]> wrote:
>
> > I don't have the time to watch your movie. There is a very good chance
> that the Apple examples simply do not work with Wonder installed.
>
what did I go wrong? Thanks.
Regards,
yllan
On Tue, Apr 15, 2008 at 8:57 PM, Yung-Luen Lan <[EMAIL PROTECTED]> wrote:
> On Tue, Apr 15, 2008 at 2:37 AM, Chuck Hill <[EMAIL PROTECTED]> wrote:
> > > 3. I found the examples come with Xcode / ProjectWonder is hard to run
>
On Tue, Apr 15, 2008 at 2:37 AM, Chuck Hill <[EMAIL PROTECTED]> wrote:
> > 3. I found the examples come with Xcode / ProjectWonder is hard to run for
> > a newbie. I can't get any example running until I saw this screencast:
> > http://www.wocommunity.org/podcasts/WO54_Examples.mov
> >
> > Unfortu
Hi,
I leveraged the Ajax support in ProjectWonder into my project recently and
have several questions:
1. It will automatically include prototype + scriptaculous in the header of
output html. However, my html have jquery included, and they will conflict!
The $()
have different semantics in jquery
2008/2/27 Daniele Corti <[EMAIL PROTECTED]>:
> 2008/2/27, Yung-Luen Lan <[EMAIL PROTECTED] <[EMAIL PROTECTED]>
>
> > An extra question: when you add some features to your wo project, how do
> > you stop the current running wo server and start the new one? I don
Hi all,
I'm a newbie of both WebObjects and server programming who is responsible to
maintain a WO project left by other guy several years ago. I've added some
features and tested in Eclipse. However, during these year, I always
encountered a problem when I want to update the ERExtensions.framewor
Thanks for all the replies.
I think my project uses Project Wonder. I'm not sure because I don't
familiar with WebObjects. I just maintain this project from another guy.
Why I think so? Because the project depends on the following frameworks:
* ERChangeNotificationJMS.framework
* ERExtensions.fr
Jan 16, 2008 3:36 PM, Lachlan Deck <[EMAIL PROTECTED]> wrote:
> Hi there,
>
> your problem seems to be quite simple. See below.
>
> On 16/01/2008, at 5:12 PM, Yung-Luen Lan wrote:
>
> >
> > protected Sale sale;
>
Hi,
I have a WO app which allow user to upload photos and associate a sale
record for each uploaded photo.
The record contains the unique ID in postgresql, path of the uploaded files
and other metadata like who and when the file was uploaded.
And I have a page for administrator which lists all th
ECTED]> wrote:
>
> On 31.10.2007, at 21:03, Yung-Luen Lan wrote:
>
> > Recently I update my project with Generic code like
> > NSArray. On my machine, it did not generate error in
> > Eclipse 3.2.2 with latest stable WOLips and Wonder 4.0. (Mac OS X
> > 10.4.
Hi all,
Recently I update my project with Generic code like NSArray.
On my machine, it did not generate error in Eclipse 3.2.2 with latest stable
WOLips and Wonder 4.0. (Mac OS X 10.4.10, Java 1.5.0_07, WebObjects come
with Xcode 2.4)
But on another machine, almost the same configuration, Eclipse
/include;else echo
-I/usr/include/apache;fi')endif
#end Linux
# If you are building NSAPI uncomment this and specify where Netscape
is installed.
# This is typically /opt/netscape/suitespot
# NS_ROOT =
# default compiler is cc
ifeq "${CC}" ""
CC = cc
endif
and I have apache
72 matches
Mail list logo