Re: mac os x 10.8.1 xcode 4.4 FAILED try to compile Web_Objects.so

2012-10-23 Thread Ron X
i couldn't access to it:
i am only in wo-dev

2012/10/5 Gaastra Dennis - WO Lists webobjects_li...@webappz.com

 Please look at my email from yesterday:

 Mountain Lion WO Deployment Package by WEBAPPZ

 Greetings,

 Dennis


 On 02/Oct/12 2:49 PM, Brook, James wrote:

 I had the same problem. I got the adaptor to compile by manually
 modifying the /usr/sbin/apxs script. On the lines where 'libtool' is called
 I added --tag CC to the list of arguments. That's in two places.

 I am not sure why that is necessary because according to the manual
 libtool should try to infer the language being compiled for and failing
 that it should default to the C language (that's what the CC tag is for).

 I have never had this problem before but today I upgraded to Mountain
 Lion and installed the latest XCode developer tools.  The Mountain Lion
 upgrade seems to have upgraded Apache files including the apxs script.

 I assume there must be a better solution to this problem. Any ideas?

 On Sep 3, 2012, at 1:13 PM, Ron X ron.x.by...@gmail.com wrote:

  vm-mlion-01:~ esuser$ gcc -v
 Using built-in specs.
 Target: i686-apple-darwin11
 Configured with: /private/var/tmp/llvmgcc42/**llvmgcc42-2336.11~28/src/*
 *configure --disable-checking --enable-werror
 --prefix=/Applications/Xcode.**app/Contents/Developer/usr/**llvm-gcc-4.2
 --mandir=/share/man --enable-languages=c,objc,c++,**obj-c++
 --program-prefix=llvm- --program-transform-name=/^[**cg][^.-]*$/s/$/-4.2/
 --with-slibdir=/usr/lib --build=i686-apple-darwin11
 --enable-llvm=/private/var/**tmp/llvmgcc42/llvmgcc42-2336.**
 11~28/dst-llvmCore/Developer/**usr/local 
 --program-prefix=i686-apple-**darwin11-
 --host=x86_64-apple-darwin11 --target=i686-apple-darwin11
 --with-gxx-include-dir=/usr/**include/c++/4.2.1
 Thread model: posix
 gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build
 2336.11.00)

 2012/9/3 Johann Werner j...@oyosys.de
 If you type

 gcc -v

 on your command line what output do you get?


 Am 03.09.2012 um 07:37 schrieb Ron X ron.x.by...@gmail.com:

  hi!
 no, have the same problem:

 vm-mlion-01:~ esuser$ cd Documents/wonder.old/**Utilities/Adaptors/
 vm-mlion-01:Adaptors esuser$ ls
 APPLE_LICENSEInstallationInstructions.html
 AdaptorMakefile
 ApacheNSAPI
 Apache2PB.project
 Apache2.2WonderReadme.html
 BuildingInstructions.htmlexample.xml
 CGImake.config
 FastCGIwoadaptor.dtd
 IISwoadaptor.xml
 vm-mlion-01:Adaptors esuser$ make ADAPTORS=Apache2.2 OS=MACOS
 APXS=/usr/sbin/apxs
 cd Apache2.2 ; make
 /usr/sbin/apxs -c -S CC=gcc -Wc,-O2 -I/usr/include/apache2
  -I../Adaptor  -DSINGLE_THREADED_ADAPTOR -DMACOS -DFORKING_WEBSERVER
 -DAPACHE   -Wall  -arch x86_64  -arch i386 -Wl,  -arch x86_64  -arch i386
 -macosx_version_min 10.5 -lm -module mod_WebObjects.c
 ../Adaptor/MoreURLCUtilities.c ../Adaptor/Platform.c
 ../Adaptor/WOURLCUtilities.c ../Adaptor/WOURLCUtilities_3.c
 ../Adaptor/appcfg.c ../Adaptor/cfgparse.c ../Adaptor/config.c
 ../Adaptor/hostlookup.c ../Adaptor/list.c ../Adaptor/listing.c
 ../Adaptor/loadaverage.c ../Adaptor/loadbalancing.c ../Adaptor/log.c
 ../Adaptor/nbsocket.c ../Adaptor/random.c ../Adaptor/request.c
 ../Adaptor/response.c ../Adaptor/roundrobin.c ../Adaptor/shmem.c
 ../Adaptor/strdict.c ../Adaptor/strtbl.c ../Adaptor/transaction.c
 ../Adaptor/transport.c ../Adaptor/wastring.c ../Adaptor/womalloc.c
 ../Adaptor/xmlcparser.c ../Adaptor/xmlctokenizer.c ../Adaptor/xmlparse.c
 /usr/share/apr-1/build-1/**libtool --silent --mode=compile gcc
  -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -I/usr/local/include
 -I/usr/include/apache2  -I/usr/include/apr-1   -I/usr/include/apr-1  -O2
 -I/usr/include/apache2  -I../Adaptor  -DSINGLE_THREADED_ADAPTOR -DMACOS
 -DFORKING_WEBSERVER -DAPACHE   -Wall  -arch x86_64  -arch i386  -c -o
 mod_WebObjects.lo mod_WebObjects.c  touch mod_WebObjects.slo
 libtool: compile: unable to infer tagged configuration
 libtool: compile: specify a tag with `--tag'
 apxs:Error: Command failed with rc=65536
 .
 make[1]: *** [mod_WebObjects.so] Error 1
 make: *** [Apache2.2] Error 2
 vm-mlion-01:Adaptors esuser$ cd A
 APPLE_LICENSE  Adaptor/   Apache/Apache2/   Apache2.2/
 vm-mlion-01:Adaptors esuser$ cd Apache2.2/
 vm-mlion-01:Apache2.2 esuser$ make ADAPTORS=Apache2.2 OS=MACOS
 APXS=/usr/sbin/apxs
 /usr/sbin/apxs -c -S CC=gcc -Wc,-O2 -I/usr/include/apache2
  -I../Adaptor  -DSINGLE_THREADED_ADAPTOR -DMACOS -DFORKING_WEBSERVER
 -DAPACHE   -Wall  -arch x86_64  -arch i386 -Wl,  -arch x86_64  -arch i386
 -macosx_version_min 10.5 -lm -module mod_WebObjects.c
 ../Adaptor/MoreURLCUtilities.c ../Adaptor/Platform.c
 ../Adaptor/WOURLCUtilities.c ../Adaptor/WOURLCUtilities_3.c
 ../Adaptor/appcfg.c ../Adaptor/cfgparse.c ../Adaptor/config.c
 ../Adaptor/hostlookup.c ../Adaptor/list.c ../Adaptor/listing.c
 ../Adaptor/loadaverage.c ../Adaptor/loadbalancing.c ../Adaptor/log.c
 ../Adaptor/nbsocket.c 

ERDControllerButton

2012-10-23 Thread Ron X
hi everybody!

i have created new d2w wonder app
than i created customization.css with: (
http://wiki.wocommunity.org/display/documentation/D2W+Flow+Control)
div.ERDControllerButton {
display: block;
}
add 2 rules (
http://wiki.wocommunity.org/display/documentation/D2W+Flow+Control) -
buttonList and branchChoices

in the PageWrapper i paste:

  div id = MenuHeader
webobject name = EntitiesMenu /
wo:ERDControllerButtonR/wo:ERDControllerButton
  /div

but nothing except R i didn't see - no button like  in
http://wiki.wocommunity.org/display/documentation/D2W+Flow+Control

how can i fix it?
thanx
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Wonder Hello World application gives error on Windows

2012-10-23 Thread Kamal D Shah
Hi,

I am trying to deploy a Wonder application on a Windows 2008 Server. I first 
tried a simple WO app (without Wonder) and deployed on Windows. It worked fine.

However, whenI try to deploy a Project Wonder application, when I double click 
on the cmd file, I get the following error:

java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.webobjects._bootstrap.WOBootstrap.main(WOBootstrap.java:87)
Caused by: com.webobjects.foundation.NSForwardException [java.util.zip.ZipExcept
ion] error in opening zip file:java.util.zip.ZipException: error in opening zip
file
at com.webobjects.foundation.NSForwardException._runtimeExceptionForThro
wable(NSForwardException.java:41)
at er.extensions.appserver.ERXApplication$Loader.stringFromJar(ERXApplic
ation.java:618)
at er.extensions.appserver.ERXApplication$Loader.init(ERXApplication.j
ava:393)
at er.extensions.appserver.ERXApplication.setup(ERXApplication.java:755)

at er.extensions.appserver.ERXApplication.main(ERXApplication.java:630)
at your.app.Application.main(Application.java:7)
... 5 more
Caused by: java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.init(Unknown Source)
at java.util.jar.JarFile.init(Unknown Source)
at java.util.jar.JarFile.init(Unknown Source)
at er.extensions.appserver.ERXApplication$Loader.stringFromJar(ERXApplic
ation.java:598)
... 9 more

Any idea on what could be wrong?


Thanks
Kamal

http://kamaldshah.com
http://dialysis.org.in


 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Newbie question about REST

2012-10-23 Thread Philippe Rabier
Thanks Mike. Makes sense. Don't know why I was considering DA differently.

Anyway, a last question to be sure. 
In ERXEORestDelegate.java ( 
https://github.com/projectwonder/wonder/blob/integration/Frameworks/EOF/ERRest/Sources/er/rest/ERXEORestDelegate.java
 ), you lock the ec because you can't assume that the ec is always auto-locked?

Philippe

On 22 oct. 2012, at 17:03, Mike Schrag wrote:

 if you run wonder with auto locking, you'll auto lock. if you don't, you need 
 to lock. same rules as normal WO.
 
 ms
 
 On Oct 22, 2012, at 11:00 AM, Philippe Rabier prab...@me.com wrote:
 
 Hi All,
 
 Me again. I need help from the ERRest gurus. Finally, if I'm right, all 
 examples are wrong. The example developed by Mike, the one made by Pascal in 
 the wiki - 
 http://wiki.wocommunity.org/display/documentation/Your+First+Rest+Project ...
 
 I read more carefully the source code of ERRest and I didn't see some 
 auto-lock mechanisms.
 
 So where is the truth?
 
 Philippe
 
 On 21 oct. 2012, at 21:05, Philippe Rabier wrote:
 
 Sorry. I read the ERXEORestDelegate code and I got my answer. We have to 
 lock/unlock the ec manually.
 
 Philippe
 
 On 21 oct. 2012, at 14:47, Philippe Rabier wrote:
 
 Hi all,
 
 If we do some fetches or updates manually in our controllers (in the 
 createAction(), indexAction(), …) I suppose we have to manually lock the 
 editingContext returned by the provided method edtingContext().
 
 Is my assumption correct?
 
 Philippe
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/prabier%40me.com
 
 This email sent to prab...@me.com
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/prabier%40me.com
 
 This email sent to prab...@me.com
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/mschrag%40pobox.com
 
 This email sent to msch...@pobox.com
 


 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Problems with H2 DB

2012-10-23 Thread Ron X
hi

i wanna create simple app to check sending mails using H2 DB in memory

so  i changed propeties to these:

dbConnectURLGLOBAL=jdbc:h2:mem:Messages
dbConnectDriverGLOBAL=org.h2.Driver

and add H2PlugIn to the workspace
but i got this exceptions:

can anybody help me?

WARN  30.4 MB used/50.66 MB free [WorkerThread0] (ERXModelGroup.java:199)
- Clearing previous class descriptions
DEBUG 32.7 MB used/48.36 MB free [WorkerThread0]
(ERXNSLogLog4jBridge.java:46)  - Using JDBCPlugIn
'com.webobjects.jdbcadaptor._H2PlugIn' for JDBCAdaptor@1571914293
DEBUG 32.98 MB used/48.08 MB free [WorkerThread0]
(ERXNSLogLog4jBridge.java:46)  - Using JDBCPlugIn
'com.webobjects.jdbcadaptor._H2PlugIn' for JDBCAdaptor@819697057
INFO  34.37 MB used/46.7 MB free [WorkerThread0]
(ERCAuditTrailHandler.java:84)  - Configuration : {}
DEBUG 22.88 MB used/58.18 MB free [WorkerThread0]
(ERXNSLogLog4jBridge.java:46)  - Didn't find any JNDI data source.
DriverManager.initialize: jdbc.drivers = null
JDBC DriverManager initialized
registerDriver: driver[className=org.h2.Driver,org.h2.Driver@c77a748]
DEBUG 23.19 MB used/57.88 MB free [WorkerThread0]
(ERXNSLogLog4jBridge.java:46)  - Using JDBCPlugIn
'com.webobjects.jdbcadaptor._H2PlugIn' for JDBCAdaptor@59207261
DEBUG 23.49 MB used/57.57 MB free [WorkerThread0]
(ERXNSLogLog4jBridge.java:46)  -  connecting with dictionary:
{maxConnections = 20; minConnections = 1; connectionRecycle = 1.0;
debugLevel = 1; driver = org.h2.Driver; logPath =
/tmp/ERXJDBCConnectionBroker_@@name@@_@@WOPort@@.log; maxCheckout =
86400; password = password deleted for log; URL =
jdbc:h2:mem:Messages; }
DriverManager.getConnection(jdbc:h2:mem:Messages)
trying driver[className=org.h2.Driver,org.h2.Driver@c77a748]
getConnection returning driver[className=org.h2.Driver,org.h2.Driver@c77a748
]
DEBUG 30.82 MB used/50.25 MB free [WorkerThread0]
(ERXNSLogLog4jBridge.java:46)  - Loading jdbcInfo from H2JDBCInfo.plist as
opposed to using the JDBCPlugIn default implementation.
DEBUG 31.13 MB used/49.93 MB free [WorkerThread0]
(ERXNSLogLog4jBridge.java:46)  -  === Begin Internal Transaction
DEBUG 31.13 MB used/49.93 MB free [WorkerThread0]
(ERXNSLogLog4jBridge.java:46)  - Searching for primary key value for
ERCMAIL_MESSAG
DEBUG 31.13 MB used/49.93 MB free [WorkerThread0]
(ERXNSLogLog4jBridge.java:46)  -  evaluateExpression:
com.webobjects.jdbcadaptor._H2PlugIn$H2Expression: SELECT PK FROM
EO_PK_TABLE WHERE NAME = 'ERCMAIL_MESSAG' FOR UPDATE withBindings: 
SQLState(42S02) vendor code(42102)
WARN  31.76 MB used/49.3 MB free [WorkerThread0]
(ERXNSLogLog4jBridge.java:43)  - WARNING: Unable to find primary key value
for ERCMAIL_MESSAG
[2012-10-23 14:16:3 FET] WorkerThread0 Table EO_PK_TABLE not found; SQL
statement:
SELECT PK FROM EO_PK_TABLE WHERE NAME = 'ERCMAIL_MESSAG' FOR UPDATE
[42102-167]at
org.h2.message.DbException.getJdbcSQLException(DbException.java:329)
at org.h2.message.DbException.get(DbException.java:169)
at org.h2.message.DbException.get(DbException.java:146)
at org.h2.command.Parser.readTableOrView(Parser.java:4770)
at org.h2.command.Parser.readTableFilter(Parser.java:1084)
at org.h2.command.Parser.parseSelectSimpleFromPart(Parser.java:1690)
at org.h2.command.Parser.parseSelectSimple(Parser.java:1797)
at org.h2.command.Parser.parseSelectSub(Parser.java:1684)
at org.h2.command.Parser.parseSelectUnion(Parser.java:1527)
at org.h2.command.Parser.parseSelect(Parser.java:1515)
at org.h2.command.Parser.parsePrepared(Parser.java:405)
at org.h2.command.Parser.parse(Parser.java:279)
at org.h2.command.Parser.parse(Parser.java:251)
at org.h2.command.Parser.prepareCommand(Parser.java:217)
at org.h2.engine.Session.prepareLocal(Session.java:415)
at org.h2.engine.Session.prepareCommand(Session.java:364)
at org.h2.jdbc.JdbcConnection.prepareCommand(JdbcConnection.java:)
at org.h2.jdbc.JdbcStatement.executeInternal(JdbcStatement.java:164)
at org.h2.jdbc.JdbcStatement.execute(JdbcStatement.java:152)
at
com.webobjects.jdbcadaptor.JDBCChannel._bindInputVariablesWithBindingsAndExecute(JDBCChannel.java:272)
at
com.webobjects.jdbcadaptor.JDBCChannel._evaluateExpression(JDBCChannel.java:337)
at
com.webobjects.jdbcadaptor.JDBCChannel.evaluateExpression(JDBCChannel.java:296)
at com.webobjects.jdbcadaptor.JDBCPlugIn.newPrimaryKeys(JDBCPlugIn.java:699)
at
com.webobjects.jdbcadaptor.JDBCChannel.primaryKeysForNewRowsWithEntity(JDBCChannel.java:586)
at
com.webobjects.eoaccess.EODatabaseContext._batchNewPrimaryKeysWithEntity(EODatabaseContext.java:5728)
at
com.webobjects.eoaccess.EODatabaseContext.prepareForSaveWithCoordinator(EODatabaseContext.java:5711)
at
com.webobjects.eocontrol.EOObjectStoreCoordinator.saveChangesInEditingContext(EOObjectStoreCoordinator.java:370)
at
com.webobjects.eocontrol.EOEditingContext.saveChanges(EOEditingContext.java:3192)
at er.extensions.eof.ERXEC._saveChanges(ERXEC.java:1177)
at er.extensions.eof.ERXEC.saveChanges(ERXEC.java:1100)
at dm.legalsounds.DirectAction.defaultAction(DirectAction.java:37)
at 

PostgreSQL, migrations and because it has pending trigger events

2012-10-23 Thread Pascal Robert
FYI, if you are using migrations and PostgreSQL, and you are getting ALTER 
TABLE table name failed because it has pending trigger events, it's because 
you are adding a boolean column without setting the default value. I got this 
problem this morning because I didn't add the default value for one of the 3 
boolean columns I was adding in the migration.
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: PostgreSQL, migrations and because it has pending trigger events

2012-10-23 Thread Henrique Prange
Hi Pascal,

I've seen this problem in other scenarios too. Adding the following statement 
at the beginning of the migration solved it:

ERXJDBCUtilities.executeUpdate(channel, SET CONSTRAINTS ALL IMMEDIATE;);

Cheers,

Henrique

On 23/10/2012, at 10:13, Pascal Robert prob...@macti.ca wrote:

 FYI, if you are using migrations and PostgreSQL, and you are getting ALTER 
 TABLE table name failed because it has pending trigger events, it's because 
 you are adding a boolean column without setting the default value. I got this 
 problem this morning because I didn't add the default value for one of the 3 
 boolean columns I was adding in the migration.
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/hprange%40gmail.com
 
 This email sent to hpra...@gmail.com


 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Mail Bug

2012-10-23 Thread Ron X
when i wrote an app to check mail i found smth probably bug:


EOEditingContext ec = ERXEC.newEditingContext();

ERCMailMessage message =
ERCMailDelivery.sharedInstance().composeEmail(ERJavaMail.sharedInstance().adminEmail(),
new NSArray(ERJavaMail.sharedInstance().adminEmail()),
new NSArray(ERJavaMail.sharedInstance().adminEmail()),
null,
This is a test,
This is the body,
ec);

ec.saveChanges();

ERMailer.instance().processOutgoingMail();

  430 line   NSArray primaryKeyDictionaries =
editingContext().objectsWithFetchSpecification(pkFetchSpec);

failed with

INFO  27.4 MB used/53.66 MB free [WorkerThread0]
(ERXDatabaseContextDelegate.java:184)  - Database Exception occured:
com.webobjects.foundation.NSForwardException
[java.lang.NoSuchMethodException] Class java.lang.String does not implement
method value:java.lang.NoSuchMethodException: Class java.lang.String does
not implement method value


another thing is that u have property createTables if need - creates tables
without IS_READ field in ERCMAIL_MESSAG!

this bug broke the sending process

another question is does exist possibility to change table names before
creation?
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: ERDControllerButton

2012-10-23 Thread Ramsey Gurley
Check your page source. ERModern hides it with css by default.

On Oct 23, 2012, at 1:10 AM, Ron X wrote:

 hi everybody!
 
 i have created new d2w wonder app
 than i created customization.css with: 
 (http://wiki.wocommunity.org/display/documentation/D2W+Flow+Control)
 div.ERDControllerButton {
 display: block;
 }
 add 2 rules 
 (http://wiki.wocommunity.org/display/documentation/D2W+Flow+Control) - 
 buttonList and branchChoices
 
 in the PageWrapper i paste:
 
   div id = MenuHeader
 webobject name = EntitiesMenu /
 wo:ERDControllerButtonR/wo:ERDControllerButton
   /div
 
 but nothing except R i didn't see - no button like  in 
 http://wiki.wocommunity.org/display/documentation/D2W+Flow+Control
 
 how can i fix it?
 thanx
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com
 
 This email sent to rgur...@smarthealth.com

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Tool-tip framework

2012-10-23 Thread Taylor Hadden
Hello,

Is there an existing framework for using Ajax-based tooltips within the Ajax 
Wonder framework or elsewhere in Wonder?

Thanks,
Taylor

taylorchadden.com
@drizztmainsword





 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Tool-tip framework

2012-10-23 Thread Chuck Hill
I just made a simple component that used this:
http://www.jlhaslip.trap17.com/samples/tooltips/index.html

Chuck


On 2012-10-23, at 10:29 AM, Taylor Hadden wrote:

 Hello,
 
 Is there an existing framework for using Ajax-based tooltips within the Ajax 
 Wonder framework or elsewhere in Wonder?
 
 Thanks,
 Taylor
 
 taylorchadden.com
 @drizztmainsword
 
 
 
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
 
 This email sent to ch...@global-village.net

-- 
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/gvc/practical_webobjects

Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing 
Companies in B.C! 
Global Village Consulting ranks 76th in 24th annual PROFIT 200 ranking of 
Canada’s Fastest-Growing Companies by PROFIT Magazine!









 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Tool-tip framework

2012-10-23 Thread Taylor Hadden
Hi Chuck,

It looks like I'm getting a 404 and 403 error from that link.

taylorchadden.com
@drizztmainsword





On Oct 23, 2012, at 1:54 PM, Chuck Hill ch...@global-village.net wrote:

 I just made a simple component that used this:
 http://www.jlhaslip.trap17.com/samples/tooltips/index.html
 
 Chuck
 
 
 On 2012-10-23, at 10:29 AM, Taylor Hadden wrote:
 
 Hello,
 
 Is there an existing framework for using Ajax-based tooltips within the Ajax 
 Wonder framework or elsewhere in Wonder?
 
 Thanks,
 Taylor
 
 taylorchadden.com
 @drizztmainsword
 
 
 
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
 
 This email sent to ch...@global-village.net
 
 -- 
 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/gvc/practical_webobjects
 
 Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing 
 Companies in B.C! 
 Global Village Consulting ranks 76th in 24th annual PROFIT 200 ranking of 
 Canada’s Fastest-Growing Companies by PROFIT Magazine!
 
 
 
 
 
 
 
 

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Tool-tip framework

2012-10-23 Thread Theodore Petrosky
i went looking.. that URL doesn't work for me.

Ted

--- On Tue, 10/23/12, Chuck Hill ch...@global-village.net wrote:

 From: Chuck Hill ch...@global-village.net
 Subject: Re: Tool-tip framework
 To: Taylor Hadden tay...@red-aurora.com
 Cc: webobjects-dev@lists.apple.com webobjects-dev@lists.apple.com
 Date: Tuesday, October 23, 2012, 1:54 PM
 I just made a simple component that
 used this:
 http://www.jlhaslip.trap17.com/samples/tooltips/index.html
 
 Chuck
 
 
 On 2012-10-23, at 10:29 AM, Taylor Hadden wrote:
 
  Hello,
  
  Is there an existing framework for using Ajax-based
 tooltips within the Ajax Wonder framework or elsewhere in
 Wonder?
  
  Thanks,
  Taylor
  
  taylorchadden.com
  @drizztmainsword
  
  
  
  
  
  ___
  Do not post admin requests to the list. They will be
 ignored.
  Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
  Help/Unsubscribe/Update your Subscription:
  https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
  
  This email sent to ch...@global-village.net
 
 -- 
 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/gvc/practical_webobjects
 
 Global Village Consulting ranks 13th in 2012 in BIV's Top
 100 Fastest Growing Companies in B.C! 
 Global Village Consulting ranks 76th in 24th annual PROFIT
 200 ranking of Canada’s Fastest-Growing Companies by
 PROFIT Magazine!
 
 
 
 
 
 
 
 
 
  ___
 Do not post admin requests to the list. They will be
 ignored.
 Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com
 
 This email sent to tedp...@yahoo.com

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Tool-tip framework

2012-10-23 Thread Bogdan Zlatanov
+1 

I'm also getting 403.

Cheers

On 23 Oct 2012, at 20:07, Taylor Hadden wrote:

 Hi Chuck,
 
 It looks like I'm getting a 404 and 403 error from that link.
 
 taylorchadden.com
 @drizztmainsword
 
 
 
 
 
 On Oct 23, 2012, at 1:54 PM, Chuck Hill ch...@global-village.net wrote:
 
 I just made a simple component that used this:
 http://www.jlhaslip.trap17.com/samples/tooltips/index.html
 
 Chuck
 
 
 On 2012-10-23, at 10:29 AM, Taylor Hadden wrote:
 
 Hello,
 
 Is there an existing framework for using Ajax-based tooltips within the 
 Ajax Wonder framework or elsewhere in Wonder?
 
 Thanks,
 Taylor
 
 taylorchadden.com
 @drizztmainsword
 
 
 
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
 
 This email sent to ch...@global-village.net
 
 -- 
 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/gvc/practical_webobjects
 
 Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest 
 Growing Companies in B.C! 
 Global Village Consulting ranks 76th in 24th annual PROFIT 200 ranking of 
 Canada’s Fastest-Growing Companies by PROFIT Magazine!
 
 
 
 
 
 
 
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/bogdan.zlatanov%40gmail.com
 
 This email sent to bogdan.zlata...@gmail.com

 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: Tool-tip framework

2012-10-23 Thread Chuck Hill
Yep, looks to be dead now.


On 2012-10-23, at 11:08 AM, Theodore Petrosky wrote:

 i went looking.. that URL doesn't work for me.
 
 Ted
 
 --- On Tue, 10/23/12, Chuck Hill ch...@global-village.net wrote:
 
 From: Chuck Hill ch...@global-village.net
 Subject: Re: Tool-tip framework
 To: Taylor Hadden tay...@red-aurora.com
 Cc: webobjects-dev@lists.apple.com webobjects-dev@lists.apple.com
 Date: Tuesday, October 23, 2012, 1:54 PM
 I just made a simple component that
 used this:
 http://www.jlhaslip.trap17.com/samples/tooltips/index.html
 
 Chuck
 
 
 On 2012-10-23, at 10:29 AM, Taylor Hadden wrote:
 
 Hello,
 
 Is there an existing framework for using Ajax-based
 tooltips within the Ajax Wonder framework or elsewhere in
 Wonder?
 
 Thanks,
 Taylor
 
 taylorchadden.com
 @drizztmainsword
 
 
 
 
 
 ___
 Do not post admin requests to the list. They will be
 ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
 
 This email sent to ch...@global-village.net
 
 -- 
 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/gvc/practical_webobjects
 
 Global Village Consulting ranks 13th in 2012 in BIV's Top
 100 Fastest Growing Companies in B.C! 
 Global Village Consulting ranks 76th in 24th annual PROFIT
 200 ranking of Canada’s Fastest-Growing Companies by
 PROFIT Magazine!
 
 
 
 
 
 
 
 
 
 ___
 Do not post admin requests to the list. They will be
 ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/tedpet5%40yahoo.com
 
 This email sent to tedp...@yahoo.com

-- 
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/gvc/practical_webobjects

Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest Growing 
Companies in B.C! 
Global Village Consulting ranks 76th in 24th annual PROFIT 200 ranking of 
Canada’s Fastest-Growing Companies by PROFIT Magazine!









 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

doing an install centos 6.3

2012-10-23 Thread Theodore Petrosky
I just formatted a little mini sitting on my desk and thought I would go 
through the install process of webobjects. 

in the section:

You can start wotaskd and Monitor to make sure that they run without any 
problems :

I see an error I don't recall seeing before:

2012-10-23 14:02:11,700 WARN  50.86 MB/29.71 MB [main] 
logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:43) - Your application is 
not running on a supported development platform. AutoLaunch will not work.
Your application's URL is:
http://localhost.localdomain:56789/cgi-bin/WebObjects/JavaMonitor.woa

is this normal, or is there something waiting to bite me.

Ted
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: doing an install centos 6.3

2012-10-23 Thread Bogdan Zlatanov
Hi Theodore,

I think you should be OK. AFAIK, it just means it won't open a browser 
automatically, otherwise you should be fine.

Cheers,
Bogdan

On 23 Oct 2012, at 20:12, Theodore Petrosky wrote:

 I just formatted a little mini sitting on my desk and thought I would go 
 through the install process of webobjects. 
 
 in the section:
 
 You can start wotaskd and Monitor to make sure that they run without any 
 problems :
 
 I see an error I don't recall seeing before:
 
 2012-10-23 14:02:11,700 WARN  50.86 MB/29.71 MB [main] 
 logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:43) - Your application 
 is not running on a supported development platform. AutoLaunch will not work.
 Your application's URL is:
 http://localhost.localdomain:56789/cgi-bin/WebObjects/JavaMonitor.woa
 
 is this normal, or is there something waiting to bite me.
 
 Ted
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/bogdan.zlatanov%40gmail.com
 
 This email sent to bogdan.zlata...@gmail.com


 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: doing an install centos 6.3

2012-10-23 Thread Pascal Robert

Le 2012-10-23 à 14:12, Theodore Petrosky tedp...@yahoo.com a écrit :

 I just formatted a little mini sitting on my desk and thought I would go 
 through the install process of webobjects. 
 
 in the section:
 
 You can start wotaskd and Monitor to make sure that they run without any 
 problems :
 
 I see an error I don't recall seeing before:
 
 2012-10-23 14:02:11,700 WARN  50.86 MB/29.71 MB [main] 
 logging.ERXNSLogLog4jBridge (ERXNSLogLog4jBridge.java:43) - Your application 
 is not running on a supported development platform. AutoLaunch will not work.
 Your application's URL is:
 http://localhost.localdomain:56789/cgi-bin/WebObjects/JavaMonitor.woa
 
 is this normal, or is there something waiting to bite me.

It's normal.
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: Tool-tip framework

2012-10-23 Thread Chuck Hill
Mine was made for a specific purpose, but here it is:

CSS:

/* Tooltips inspired by  
// http://www.jlhaslip.trap17.com/samples/tooltips/index.html*/

a.tooltip {
position:relative;   /*this is the key*/
z-index:24;
text-decoration:none;
font-size: 1em;
}

a.tooltip:hover {
z-index:25;
}

ul a.tooltip:link {  /* remove underline when used in AjaxTabbedPanel */
text-decoration: none;
}

a.tooltip span {
display: none;  /* hide the span text using this css */
}

a.tooltip:hover span { /*the span will display just on :hover state*/
display:block;
position:absolute;
top: 1.5em;
left: 1em;
border:1px solid #00; /* border colour */
background-color:#D6E4F5; /* background colour here */
color:#00; /* text colour */
text-align: center;
font-size: .8em;
font-style:italic;
z-index:30;
}

/* End tooltips */


Here is an excerpt of the code

package net.hhshoppers.cadre.core.components;

public class StateHover extends com.webobjects.appserver.WOComponent
{
private State state;



/**
 * Basic class constructor.
 *
 * @param context of current page
 */
public StateHover(WOContext context)
{
super(context);
}



/**
 * @return codetrue/code
 */
public boolean isStateless()
{
return true;
}



/**
 * @return State corresponding to the stateCode binding
 */
public State state()
{
if (state == null)
{
if (hasBinding(stateCode))
{
state = StateMachine.instance().stateForCode((Number) 
valueForBinding(stateCode));
}
}

return state;
}



/**
 * @return codetrue/code if there is a non-null {@link State} bound
 */
public boolean hasState()
{
return state() != null;
}




/**
 * Returns the special tooltip class that generates the custom tooltip 
along with any class.
 * from the class binding
 *
 * @return CSS class for the link
 */
public String cssClass()
{
return (hasState() ? state().cssClass() : ) +  tooltip  + 
valueForStringBinding(class, );
/** ensure [valid_result] Result != null;   **/
}



/**
 * Returns style to not show link cursor plus any style from the style 
binding.
 *
 * @return CSS style for the link
 */
public String style()
{
return cursor:default; + valueForStringBinding(style, );
}



/**
 * Clears cached State.
 *
 * @see com.webobjects.appserver.WOComponent#reset()
 */
public void reset()
{
state = null;
super.reset();
/** ensure [state_discarded] state == null;   **/

}

}


Template:
WEBOBJECT NAME=StateHoverWEBOBJECT NAME=ShortName/ spanWEBOBJECT 
NAME=LongName//span/WEBOBJECT

WOD:
StateHover: WOHyperlink {
href = javascript:void(0);;
id  = ^id;
class = cssClass;
style = style;
}

ShortName : WOString {
value = state.shortName;
}

LongName : WOString {
value = state.longName;
}




On 2012-10-23, at 11:07 AM, Taylor Hadden wrote:

 Hi Chuck,
 
 It looks like I'm getting a 404 and 403 error from that link.
 
 taylorchadden.com
 @drizztmainsword
 
 
 
 
 
 On Oct 23, 2012, at 1:54 PM, Chuck Hill ch...@global-village.net wrote:
 
 I just made a simple component that used this:
 http://www.jlhaslip.trap17.com/samples/tooltips/index.html
 
 Chuck
 
 
 On 2012-10-23, at 10:29 AM, Taylor Hadden wrote:
 
 Hello,
 
 Is there an existing framework for using Ajax-based tooltips within the 
 Ajax Wonder framework or elsewhere in Wonder?
 
 Thanks,
 Taylor
 
 taylorchadden.com
 @drizztmainsword
 
 
 
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
 
 This email sent to ch...@global-village.net
 
 -- 
 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/gvc/practical_webobjects
 
 Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest 
 Growing Companies in B.C! 
 Global Village Consulting ranks 76th in 24th annual PROFIT 200 ranking of 
 Canada’s Fastest-Growing Companies by PROFIT Magazine!
 
 
 
 
 
 
 
 
 

-- 
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/gvc/practical_webobjects

Global 

Re: Tool-tip framework

2012-10-23 Thread Mark Gowdy
One word - Twitter Bootstrap.
(well, two words)

Mark

Sent from my iPhone

On 23 Oct 2012, at 19:21, Chuck Hill ch...@global-village.net wrote:

 Mine was made for a specific purpose, but here it is:
 
 CSS:
 
 /* Tooltips inspired by  
 // http://www.jlhaslip.trap17.com/samples/tooltips/index.html*/
 
 a.tooltip {
position:relative;   /*this is the key*/
z-index:24;
text-decoration:none;
font-size: 1em;
 }
 
 a.tooltip:hover {
z-index:25;
 }
 
 ul a.tooltip:link {  /* remove underline when used in AjaxTabbedPanel */
text-decoration: none;
 }
 
 a.tooltip span {
display: none;  /* hide the span text using this css */
 }
 
 a.tooltip:hover span { /*the span will display just on :hover state*/
display:block;
position:absolute;
top: 1.5em;
left: 1em;
border:1px solid #00; /* border colour */
background-color:#D6E4F5; /* background colour here */
color:#00; /* text colour */
text-align: center;
font-size: .8em;
font-style:italic;
z-index:30;
 }
 
 /* End tooltips */
 
 
 Here is an excerpt of the code
 
 package net.hhshoppers.cadre.core.components;
 
 public class StateHover extends com.webobjects.appserver.WOComponent
 {
private State state;
 
 
 
/**
 * Basic class constructor.
 *
 * @param context of current page
 */
public StateHover(WOContext context)
{
super(context);
}
 
 
 
/**
 * @return codetrue/code
 */
public boolean isStateless()
{
return true;
}
 
 
 
/**
 * @return State corresponding to the stateCode binding
 */
public State state()
{
if (state == null)
{
if (hasBinding(stateCode))
{
state = StateMachine.instance().stateForCode((Number) 
 valueForBinding(stateCode));
}
}
 
return state;
}
 
 
 
/**
 * @return codetrue/code if there is a non-null {@link State} bound
 */
public boolean hasState()
{
return state() != null;
}
 
 
 
 
/**
 * Returns the special tooltip class that generates the custom tooltip 
 along with any class.
 * from the class binding
 *
 * @return CSS class for the link
 */
public String cssClass()
{
return (hasState() ? state().cssClass() : ) +  tooltip  + 
 valueForStringBinding(class, );
/** ensure [valid_result] Result != null;   **/
}
 
 
 
/**
 * Returns style to not show link cursor plus any style from the style 
 binding.
 *
 * @return CSS style for the link
 */
public String style()
{
return cursor:default; + valueForStringBinding(style, );
}
 
 
 
/**
 * Clears cached State.
 *
 * @see com.webobjects.appserver.WOComponent#reset()
 */
public void reset()
{
state = null;
super.reset();
/** ensure [state_discarded] state == null;   **/
 
}
 
 }
 
 
 Template:
 WEBOBJECT NAME=StateHoverWEBOBJECT NAME=ShortName/ spanWEBOBJECT 
 NAME=LongName//span/WEBOBJECT
 
 WOD:
 StateHover: WOHyperlink {
href = javascript:void(0);;
id  = ^id;
class = cssClass;
style = style;
 }
 
 ShortName : WOString {
value = state.shortName;
 }
 
 LongName : WOString {
value = state.longName;
 }
 
 
 
 
 On 2012-10-23, at 11:07 AM, Taylor Hadden wrote:
 
 Hi Chuck,
 
 It looks like I'm getting a 404 and 403 error from that link.
 
 taylorchadden.com
 @drizztmainsword
 
 
 
 
 
 On Oct 23, 2012, at 1:54 PM, Chuck Hill ch...@global-village.net wrote:
 
 I just made a simple component that used this:
 http://www.jlhaslip.trap17.com/samples/tooltips/index.html
 
 Chuck
 
 
 On 2012-10-23, at 10:29 AM, Taylor Hadden wrote:
 
 Hello,
 
 Is there an existing framework for using Ajax-based tooltips within the 
 Ajax Wonder framework or elsewhere in Wonder?
 
 Thanks,
 Taylor
 
 taylorchadden.com
 @drizztmainsword
 
 
 
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
 
 This email sent to ch...@global-village.net
 
 -- 
 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/gvc/practical_webobjects
 
 Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest 
 Growing Companies in B.C! 
 Global Village Consulting ranks 76th in 24th annual PROFIT 200 ranking of 
 Canada’s Fastest-Growing Companies by PROFIT Magazine!
 
 -- 
 Chuck Hill Senior Consultant / VP Development
 
 Practical WebObjects - for developers who want to increase their overall 
 knowledge of WebObjects 

Re: Tool-tip framework

2012-10-23 Thread Johnny Miller
+1000

We really need a JQuery Ajax Framwork in my opinion.  There is a MooTools 
version of Bootstrap that I've been using and I do have a ToolTip 
implementation (not Ajax though) based upon it.


On Oct 23, 2012, at 9:45 AM, Mark Gowdy go...@mac.com wrote:

 One word - Twitter Bootstrap.
 (well, two words)
 
 Mark
 
 Sent from my iPhone
 
 On 23 Oct 2012, at 19:21, Chuck Hill ch...@global-village.net wrote:
 
 Mine was made for a specific purpose, but here it is:
 
 CSS:
 
 /* Tooltips inspired by  
 // http://www.jlhaslip.trap17.com/samples/tooltips/index.html*/
 
 a.tooltip {
   position:relative;   /*this is the key*/
   z-index:24;
   text-decoration:none;
   font-size: 1em;
 }
 
 a.tooltip:hover {
   z-index:25;
 }
 
 ul a.tooltip:link {  /* remove underline when used in AjaxTabbedPanel */
   text-decoration: none;
 }
 
 a.tooltip span {
   display: none;  /* hide the span text using this css */
 }
 
 a.tooltip:hover span { /*the span will display just on :hover state*/
   display:block;
   position:absolute;
   top: 1.5em;
   left: 1em;
   border:1px solid #00; /* border colour */
   background-color:#D6E4F5; /* background colour here */
   color:#00; /* text colour */
   text-align: center;
   font-size: .8em;
   font-style:italic;
   z-index:30;
 }
 
 /* End tooltips */
 
 
 Here is an excerpt of the code
 
 package net.hhshoppers.cadre.core.components;
 
 public class StateHover extends com.webobjects.appserver.WOComponent
 {
   private State state;
 
 
 
   /**
* Basic class constructor.
*
* @param context of current page
*/
   public StateHover(WOContext context)
   {
   super(context);
   }
 
 
 
   /**
* @return codetrue/code
*/
   public boolean isStateless()
   {
   return true;
   }
 
 
 
   /**
* @return State corresponding to the stateCode binding
*/
   public State state()
   {
   if (state == null)
   {
   if (hasBinding(stateCode))
   {
   state = StateMachine.instance().stateForCode((Number) 
 valueForBinding(stateCode));
   }
   }
 
   return state;
   }
 
 
 
   /**
* @return codetrue/code if there is a non-null {@link State} bound
*/
   public boolean hasState()
   {
   return state() != null;
   }
 
 
 
 
   /**
* Returns the special tooltip class that generates the custom tooltip 
 along with any class.
* from the class binding
*
* @return CSS class for the link
*/
   public String cssClass()
   {
   return (hasState() ? state().cssClass() : ) +  tooltip  + 
 valueForStringBinding(class, );
   /** ensure [valid_result] Result != null;   **/
   }
 
 
 
   /**
* Returns style to not show link cursor plus any style from the style 
 binding.
*
* @return CSS style for the link
*/
   public String style()
   {
   return cursor:default; + valueForStringBinding(style, );
   }
 
 
 
   /**
* Clears cached State.
*
* @see com.webobjects.appserver.WOComponent#reset()
*/
   public void reset()
   {
   state = null;
   super.reset();
   /** ensure [state_discarded] state == null;   **/
 
   }
 
 }
 
 
 Template:
 WEBOBJECT NAME=StateHoverWEBOBJECT NAME=ShortName/ spanWEBOBJECT 
 NAME=LongName//span/WEBOBJECT
 
 WOD:
 StateHover: WOHyperlink {
   href = javascript:void(0);;
   id  = ^id;
   class = cssClass;
   style = style;
 }
 
 ShortName : WOString {
   value = state.shortName;
 }
 
 LongName : WOString {
   value = state.longName;
 }
 
 
 
 
 On 2012-10-23, at 11:07 AM, Taylor Hadden wrote:
 
 Hi Chuck,
 
 It looks like I'm getting a 404 and 403 error from that link.
 
 taylorchadden.com
 @drizztmainsword
 
 
 
 
 
 On Oct 23, 2012, at 1:54 PM, Chuck Hill ch...@global-village.net wrote:
 
 I just made a simple component that used this:
 http://www.jlhaslip.trap17.com/samples/tooltips/index.html
 
 Chuck
 
 
 On 2012-10-23, at 10:29 AM, Taylor Hadden wrote:
 
 Hello,
 
 Is there an existing framework for using Ajax-based tooltips within the 
 Ajax Wonder framework or elsewhere in Wonder?
 
 Thanks,
 Taylor
 
 taylorchadden.com
 @drizztmainsword
 
 
 
 
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
 
 This email sent to ch...@global-village.net
 
 -- 
 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/gvc/practical_webobjects
 
 Global Village Consulting ranks 13th in 2012 in BIV's Top 100 Fastest 
 Growing Companies in B.C! 
 Global Village Consulting ranks 76th in 24th annual PROFIT 200 ranking of 
 Canada’s Fastest-Growing Companies by 

Re: Tool-tip framework

2012-10-23 Thread Alexis Tual
Bootstrap is awesome, it transforms a crappy 1.0 webapp to a sweet cloud of
web2.0ness :)
I don't know if it's worth the pain to create a wrapper around this, as it
is already pretty lightweight and straightforward.

Cheers,

Alex

2012/10/24 Johnny Miller jlmil...@kahalawai.com

 +1000

 We really need a JQuery Ajax Framwork in my opinion.  There is a MooTools
 version of Bootstrap that I've been using and I do have a ToolTip
 implementation (not Ajax though) based upon it.


 On Oct 23, 2012, at 9:45 AM, Mark Gowdy go...@mac.com wrote:

  One word - Twitter Bootstrap.
  (well, two words)
 
  Mark
 
  Sent from my iPhone
 
  On 23 Oct 2012, at 19:21, Chuck Hill ch...@global-village.net wrote:
 
  Mine was made for a specific purpose, but here it is:
 
  CSS:
 
  /* Tooltips inspired by
  // http://www.jlhaslip.trap17.com/samples/tooltips/index.html*/
 
  a.tooltip {
position:relative;   /*this is the key*/
z-index:24;
text-decoration:none;
font-size: 1em;
  }
 
  a.tooltip:hover {
z-index:25;
  }
 
  ul a.tooltip:link {  /* remove underline when used in AjaxTabbedPanel */
text-decoration: none;
  }
 
  a.tooltip span {
display: none;  /* hide the span text using this css */
  }
 
  a.tooltip:hover span { /*the span will display just on :hover state*/
display:block;
position:absolute;
top: 1.5em;
left: 1em;
border:1px solid #00; /* border colour */
background-color:#D6E4F5; /* background colour here */
color:#00; /* text colour */
text-align: center;
font-size: .8em;
font-style:italic;
z-index:30;
  }
 
  /* End tooltips */
 
 
  Here is an excerpt of the code
 
  package net.hhshoppers.cadre.core.components;
 
  public class StateHover extends com.webobjects.appserver.WOComponent
  {
private State state;
 
 
 
/**
 * Basic class constructor.
 *
 * @param context of current page
 */
public StateHover(WOContext context)
{
super(context);
}
 
 
 
/**
 * @return codetrue/code
 */
public boolean isStateless()
{
return true;
}
 
 
 
/**
 * @return State corresponding to the stateCode binding
 */
public State state()
{
if (state == null)
{
if (hasBinding(stateCode))
{
state = StateMachine.instance().stateForCode((Number)
 valueForBinding(stateCode));
}
}
 
return state;
}
 
 
 
/**
 * @return codetrue/code if there is a non-null {@link State}
 bound
 */
public boolean hasState()
{
return state() != null;
}
 
 
 
 
/**
 * Returns the special tooltip class that generates the custom
 tooltip along with any class.
 * from the class binding
 *
 * @return CSS class for the link
 */
public String cssClass()
{
return (hasState() ? state().cssClass() : ) +  tooltip  +
 valueForStringBinding(class, );
/** ensure [valid_result] Result != null;   **/
}
 
 
 
/**
 * Returns style to not show link cursor plus any style from the
 style binding.
 *
 * @return CSS style for the link
 */
public String style()
{
return cursor:default; + valueForStringBinding(style, );
}
 
 
 
/**
 * Clears cached State.
 *
 * @see com.webobjects.appserver.WOComponent#reset()
 */
public void reset()
{
state = null;
super.reset();
/** ensure [state_discarded] state == null;   **/
 
}
 
  }
 
 
  Template:
  WEBOBJECT NAME=StateHoverWEBOBJECT NAME=ShortName/
 spanWEBOBJECT NAME=LongName//span/WEBOBJECT
 
  WOD:
  StateHover: WOHyperlink {
href = javascript:void(0);;
id  = ^id;
class = cssClass;
style = style;
  }
 
  ShortName : WOString {
value = state.shortName;
  }
 
  LongName : WOString {
value = state.longName;
  }
 
 
 
 
  On 2012-10-23, at 11:07 AM, Taylor Hadden wrote:
 
  Hi Chuck,
 
  It looks like I'm getting a 404 and 403 error from that link.
 
  taylorchadden.com
  @drizztmainsword
 
 
 
 
 
  On Oct 23, 2012, at 1:54 PM, Chuck Hill ch...@global-village.net
 wrote:
 
  I just made a simple component that used this:
  http://www.jlhaslip.trap17.com/samples/tooltips/index.html
 
  Chuck
 
 
  On 2012-10-23, at 10:29 AM, Taylor Hadden wrote:
 
  Hello,
 
  Is there an existing framework for using Ajax-based tooltips within
 the Ajax Wonder framework or elsewhere in Wonder?
 
  Thanks,
  Taylor
 
  taylorchadden.com
  @drizztmainsword
 
 
 
 
 
  ___
  Do not post admin requests to the list. They will be ignored.
  Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
  Help/Unsubscribe/Update your Subscription:
 
 https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
 
  This email sent to ch...@global-village.net
 
  --
  Chuck Hill Senior Consultant / VP Development

Re: Tool-tip framework

2012-10-23 Thread Johnny Miller
Hi Alexis,

You are probably right.  But, IMO, it would be really cool if the Ajax 
framework used jQuery and data attributes.  You wouldn't have to load two JS 
libraries, you would get cleaner markup and you wouldn't have to worry about 
evaluating javascript returned by an Ajax request.  If you combined the Ajax 
framework components with the javascript plugins for Bootstrap: 
http://twitter.github.com/bootstrap/javascript.html that in my mind would be 
the greatest set of components for building web apps.  On top of that there are 
all these other 3rd party javascript themes/plugins being built for Bootstrap 
as well (https://wrapbootstrap.com).

my 2 cents,

Johnny

On Oct 23, 2012, at 11:41 AM, Alexis Tual alexis.t...@gmail.com wrote:

 Bootstrap is awesome, it transforms a crappy 1.0 webapp to a sweet cloud of 
 web2.0ness :)
 I don't know if it's worth the pain to create a wrapper around this, as it is 
 already pretty lightweight and straightforward.
 
 Cheers,
 
 Alex
 
 2012/10/24 Johnny Miller jlmil...@kahalawai.com
 +1000
 
 We really need a JQuery Ajax Framwork in my opinion.  There is a MooTools 
 version of Bootstrap that I've been using and I do have a ToolTip 
 implementation (not Ajax though) based upon it.
 
 
 On Oct 23, 2012, at 9:45 AM, Mark Gowdy go...@mac.com wrote:
 
  One word - Twitter Bootstrap.
  (well, two words)
 
  Mark
 
  Sent from my iPhone
 
  On 23 Oct 2012, at 19:21, Chuck Hill ch...@global-village.net wrote:
 
  Mine was made for a specific purpose, but here it is:
 
  CSS:
 
  /* Tooltips inspired by
  // http://www.jlhaslip.trap17.com/samples/tooltips/index.html*/
 
  a.tooltip {
position:relative;   /*this is the key*/
z-index:24;
text-decoration:none;
font-size: 1em;
  }
 
  a.tooltip:hover {
z-index:25;
  }
 
  ul a.tooltip:link {  /* remove underline when used in AjaxTabbedPanel */
text-decoration: none;
  }
 
  a.tooltip span {
display: none;  /* hide the span text using this css */
  }
 
  a.tooltip:hover span { /*the span will display just on :hover state*/
display:block;
position:absolute;
top: 1.5em;
left: 1em;
border:1px solid #00; /* border colour */
background-color:#D6E4F5; /* background colour here */
color:#00; /* text colour */
text-align: center;
font-size: .8em;
font-style:italic;
z-index:30;
  }
 
  /* End tooltips */
 
 
  Here is an excerpt of the code
 
  package net.hhshoppers.cadre.core.components;
 
  public class StateHover extends com.webobjects.appserver.WOComponent
  {
private State state;
 
 
 
/**
 * Basic class constructor.
 *
 * @param context of current page
 */
public StateHover(WOContext context)
{
super(context);
}
 
 
 
/**
 * @return codetrue/code
 */
public boolean isStateless()
{
return true;
}
 
 
 
/**
 * @return State corresponding to the stateCode binding
 */
public State state()
{
if (state == null)
{
if (hasBinding(stateCode))
{
state = StateMachine.instance().stateForCode((Number) 
  valueForBinding(stateCode));
}
}
 
return state;
}
 
 
 
/**
 * @return codetrue/code if there is a non-null {@link State} bound
 */
public boolean hasState()
{
return state() != null;
}
 
 
 
 
/**
 * Returns the special tooltip class that generates the custom tooltip 
  along with any class.
 * from the class binding
 *
 * @return CSS class for the link
 */
public String cssClass()
{
return (hasState() ? state().cssClass() : ) +  tooltip  + 
  valueForStringBinding(class, );
/** ensure [valid_result] Result != null;   **/
}
 
 
 
/**
 * Returns style to not show link cursor plus any style from the style 
  binding.
 *
 * @return CSS style for the link
 */
public String style()
{
return cursor:default; + valueForStringBinding(style, );
}
 
 
 
/**
 * Clears cached State.
 *
 * @see com.webobjects.appserver.WOComponent#reset()
 */
public void reset()
{
state = null;
super.reset();
/** ensure [state_discarded] state == null;   **/
 
}
 
  }
 
 
  Template:
  WEBOBJECT NAME=StateHoverWEBOBJECT NAME=ShortName/ 
  spanWEBOBJECT NAME=LongName//span/WEBOBJECT
 
  WOD:
  StateHover: WOHyperlink {
href = javascript:void(0);;
id  = ^id;
class = cssClass;
style = style;
  }
 
  ShortName : WOString {
value = state.shortName;
  }
 
  LongName : WOString {
value = state.longName;
  }
 
 
 
 
  On 2012-10-23, at 11:07 AM, Taylor Hadden wrote:
 
  Hi Chuck,
 
  It looks like I'm getting a 404 and 403 error from that link.
 
  taylorchadden.com
  @drizztmainsword
 
 
 
 
 
  On Oct 23, 2012, at 1:54 PM, Chuck Hill ch...@global-village.net wrote:
 
  I just made a simple 

Re: WOWODC 2013?

2012-10-23 Thread Klaus Berkling

On Oct 20, 2012, at 5:10 PM, Daniel Beatty wrote:

 Do you know of anyone in those Northern Californian cities that would not 
 mind coming down to the So Cal or even to the Desert (in the winter maybe) 
 for a WOWODC-Pacific Coast?I have no intention on competing with Pascal.  
 Trust me, he can keep all of the nervousness, sweat, tears, anxiety, cussing 
 in French, etc so long as I get the pretty girls, etc.Although, I have 
 had a little trouble with that, hence the consideration of Vegas.

There is this black hole near the south bay, rumor has it there are WO 
developers there.  Others do their WO development in the basement with the 
lights off in fear of being discovered and sucked into the black hole.  There's 
Joe and me. I seem to be out of phase and immune from the black hole.  I don't 
know what Joe's secret is. Occasionally someone escapes the black hole, like 
Ray.

We can have a WOWODC mini at a diner some place equidistance from each other. 
Cambria is nice.

:-)

kib

The trouble with normal is it always gets worse.
Bruce Cockburn

Klaus Berkling
Web Application Dev.  Systems Administrator
DynEd International, Inc.
www.dyned.com | blog




 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Wonder 5.8.0 is released

2012-10-23 Thread Pascal Robert
Wonder 5.8.0 release candidate have been pushed into master. Many fixes and 
cleanup in this release, plus a couple of new things (CCGoogleAnalytics, REST 
API in wotaskd, TextSearchDemo example from WOWODC 2010).
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com