Re: WO and Vaadin

2016-01-31 Thread Matthias Jakob
Hi Pierre,
plz don’t do that - Im using Vaadin for 4 years now. WO is dead, yes thats the 
truth … Combining EOF and Vaadin does not point in the right direction (and 
does not make sense). (Lambdas, Streams, Annotations??)
If its Legacy ok … integrate a bit new Wonder stuff and thats it ...

Or use the DB Model and start a new Vaadin App (would be my choice). So its 
really good to use JPA and EJB in conjunction with Vaadin. And belief me .. 
Vaadin EJB and JPA are really cool combination ...

This is a MVP example from the Vaadin Dev Day in Frankfurt Sep. 22 … (It was 
really cool …) and a really good starting point:

https://github.com/peterl1084/devday-cdi 


Matthias

> Am 31.01.2016 um 15:35 schrieb Pierre Gilquin :
> 
> Hi,
> I have a legacy WO 5.2 app that I have to modernize.
> First step, I will try to move to 5.4 and Wonder.
> 
> For front-end, I would like to use Vaadin. Currently, this app is deployed in 
> JBoss.
> Vaadin need its own servlet.
> Is there a way to configure the web.xml to add the vaadin servlet and be able 
> to developp a vaadin UI for managing EO ?
> 
> 
> Thanks in advance for any hint
> 
> Pierre
> 
> 
> ___
> 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/jakob%40ementals.de
> 
> This email sent to ja...@ementals.de

 ___
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

Websphere/other Appserver Deployment with two EARs/WARs in one Node?

2015-01-14 Thread Matthias Jakob
Hi there,

we got a problem with the deployment of two EARs in IBM Websphere 8.5.

One application runs without any problems. Yet, if we install a second one in 
the same Appserver, there’s an error as following:

[13.01.15 06:48:20:348 CET] 000a webappE 
com.ibm.ws.webcontainer.webapp.WebApp commonInitializationFinally SRVE0266E: 
Beim Initialisieren von Servlets ist ein Fehler aufgetreten: {0}
 javax.servlet.UnavailableException: Error 
initializing servlet adaptor: null
at 
com.webobjects.jspservlet.WOServletAdaptor._applicationInit(WOServletAdaptor.java:442)
at 
com.webobjects.jspservlet.WOServletAdaptor.initStatics(WOServletAdaptor.java:95)
at 
com.webobjects.jspservlet.WOServletAdaptor.init(WOServletAdaptor.java:652)
at 
er.extensions.jspservlet.ERXServletAdaptor.init(ERXServletAdaptor.java:66)
at javax.servlet.GenericServlet.init(GenericServlet.java:161)
at 
com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:342)
at 
com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.init(ServletWrapperImpl.java:168)
at 
com.ibm.ws.webcontainer.servlet.ServletWrapper.loadOnStartupCheck(ServletWrapper.java:1366)
at 
com.ibm.ws.webcontainer.webapp.WebApp.doLoadOnStartupActions(WebApp.java:618)
at 
com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinally(WebApp.java:587)
at 
com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:421)
at 
com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.java:88)
at 
com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:169)
at 
com.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.java:749)
at 
com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.java:634)
at 
com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:422)
at 
com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:714)
at 
com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1165)
at 
com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1369)
at 
com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:639)
at 
com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:967)
at 
com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:771)
at 
com.ibm.ws.runtime.component.ApplicationMgrImpl$5.run(ApplicationMgrImpl.java:2169)
at 
com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:5468)
at 
com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:5594)
at 
com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:255)
at 
com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2174)
at 
com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:389)
at 
com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:123)
at 
com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:332)
at 
com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access$500(CompositionUnitMgrImpl.java:119)
at 
com.ibm.ws.runtime.component.CompositionUnitMgrImpl$CUInitializer.run(CompositionUnitMgrImpl.java:938)
at 
com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:496)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1702)


Unfortunately the debugging is tricky as the source codes of 
javawojspservlet.jar and erxservletadaptor.jar are missing. Decompilation in 
order to find the error did also not work out and produced even more exceptions 
because JAD code uses a slightly different code that is not helpful here.

I get something like this if I included the JAD code in my project (for 
debugging) - unknown source - omg - debugging infos are there and strange 
different exception:

E com.ibm.ws.webcontainer.webapp.WebApp commonInitializationFinally SRVE0266E: 
Beim Initialisieren von Servlets ist ein Fehler aufgetreten: {0}
 javax.servlet.UnavailableException: Error 
initializing ERXServletAdaptor: 
xxx.xxx.xxx.xxx.Application.setup(java.lang.String)
at 
er.extensions.jspservlet.ERXServletAdaptor.invokeApplicationSetupMethod(Unknown 
Source)
at er.extensions.jspservlet.ERXServletAdaptor.init(Unknown Source)
at javax.servlet.GenericServlet.init(GenericServlet.java:161)
at 
com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:342)
at 
com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.init(ServletWrapperImpl.java:168)
   

Re: Which RIA

2014-05-21 Thread Matthias Jakob
Hi there,

I think the real question is the backend technology - what are you using here? 
WebServices - Hibernate?
Whats the data binding done with?

You know www.vaadin.com?

I now think its better than WO …

Mat


Am 21.05.2014 um 13:01 schrieb Philippe Rabier :

> Ho ho there is a big confusion or maybe Benoit's email was confusing too. 
> 
> Montage Studio, the IDE is linked with GitHub. 
> 
> MontageJS, the open source FW is not. You just need to install it and use a 
> text editor and that's it. Of course you put your source code wherever you 
> want. 
> 
> We use it for a while without Montage Studio. 
> 
> Philippe Rabier
> -
> http://twitter.com/prabier
> 
> Sent from my iPhone
> 
> On 21 May 2014, at 11:57, Frank Stock  wrote:
> 
>> Hi All,
>> 
>> I want to build new applications with a RIA framework. 
>> I did some (very basic) testing with EmberJS and MontagesJS. 
>> For me MontageJS looks very good, but I don't want to be connected with 
>> Github, I can't let my projects on open source (all in house applications - 
>> we build mainly administration like order-processing).
>> Working with EmeberJS in Webstorm looked good.
>> Can someone give me any advice?
>> 
>> Thanks in advance,
>> Frank Stock
>> Chem-lab nv 
>> Belgium
>> ___
>> 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%40icloud.com
>> 
>> This email sent to prab...@icloud.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/jakob%40ementals.de
> 
> This email sent to ja...@ementals.de

 ___
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: JNDI JDBC entry in web.xml Servlet Deployment vs. Migrations

2014-04-25 Thread Matthias Jakob
At the End,

don’t leave dbConnectURLGLOBAL blank ;-) thats all ;-(

Matthias


Am 25.04.2014 um 01:47 schrieb Matthias Jakob :

> Hi David,
> hi Andrew,
> hi there,
> 
> after a remote debugging session I’ve found the problem (Remember I will use 
> a JNDI JDBC Datasource!):
> 
> In ERXMigrator
> 
>   protected boolean canMigrateModel(EOModel model) {
>   String adaptorName = model.adaptorName();
>   if ("Memory".equals(adaptorName)) {
>   return true;
>   }
>   if ("JDBC".equals(adaptorName)) {
>   String url = 
> (String)model.connectionDictionary().objectForKey(JDBCAdaptor.URLKey);
>   if ((url != null && 
> url.toLowerCase().startsWith("jdbc:"))) {
>   return true;
>   }
>   String dataSourceJndiName = (String) 
> model.connectionDictionary().objectForKey(JDBCAdaptor.DataSourceJndiNameKey);
>   if(dataSourceJndiName != null) {
>   return true;
>   }
>   }
>   return false;
>   }
> 
> 
> AdaptorName = JDBC
> url = null (JNDI should be used so in my Properties GlobalURL etc. is not  
> set)
> dataSourceJndiName = null !! (why?)
> 
> results in 
> 
>   protected void _buildDependenciesForModel(EOModel model, int 
> migrateToVersion, Map versions, Map ERXModelVersion> migrations) throws InstantiationException, 
> IllegalAccessException {
>   if (!canMigrateModel(model)) {
>   return;
>   }
> …
> …
> 
> Migrator: you can’t make a Migration … and thats it …
> 
> Datasource is set in web.xml as I said before …
> 
> I’ve found this posting 
> https://www.mail-archive.com/webobjects-dev@lists.apple.com/msg13087.html 
> (Andrew L.)
> 
> they said set JDBCAdaptor.DataSourceJndiNameKey in connectionDictionary …
> 
> I’ve done so …
> 
> index.eomodeled:
> 
> {
> EOModelVersion = "2.1"; 
> adaptorName = JDBC; 
> connectionDictionary = {
>   JDBCAdaptor.DataSourceJndiNameKey = "jdbc/test";
> }; 
> entities = ({className = "xxx.xxx.xxx.KeyValues"; name = KeyValues; }); 
> }
> 
> Results in 
> 
> The connection dictionaries for TestModel and erprototypes have the same URL 
> and username, but at least one of them is a prototype model, so it shouldn't 
> be a problem.
> [28.03.14 CET] 005d webappE com.ibm.ws.webcontainer.webapp.WebApp 
> commonInitializationFinally SRVE0266E: Beim Initialisieren von Servlets ist 
> ein Fehler aufgetreten: {0}
>  javax.servlet.UnavailableException: Error 
> initializing servlet adaptor: null
>   at 
> com.webobjects.jspservlet.WOServletAdaptor._applicationInit(WOServletAdaptor.java:442)
>   at 
> com.webobjects.jspservlet.WOServletAdaptor.initStatics(WOServletAdaptor.java:95)
>   at 
> com.webobjects.jspservlet.WOServletAdaptor.init(WOServletAdaptor.java:652)
>   at 
> er.extensions.jspservlet.ERXServletAdaptor.init(ERXServletAdaptor.java:66)
>   at javax.servlet.GenericServlet.init(GenericServlet.java:161)
>   at 
> com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:342)
>   at 
> com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.init(ServletWrapperImpl.java:168)
>   at 
> com.ibm.ws.webcontainer.servlet.ServletWrapper.loadOnStartupCheck(ServletWrapper.java:1366)
>   at 
> com.ibm.ws.webcontainer.webapp.WebApp.doLoadOnStartupActions(WebApp.java:610)
>   at 
> com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinally(WebApp.java:580)
>   at 
> com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:425)
>   at 
> com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.java:88)
> 
> How can I set JDBCAdaptor.DataSourceJndiNameKey in my Properties?
> 
> Or better how can I fix the JNDI - Migration problem the right way?
> 
> 
> Thank you for your help!
> Matthias
> 
> 
> 
> 
> Am 24.04.2014 um 15:18 schrieb David Avendasora :
> 
>> 
>> On Apr 24, 2014, at 9:16 AM, David Avendasora  
>> wrote:
>> 
>>> Override the migrationsWillRun method and stick a breakpoint on it. Let’s 
>>> make sure that it is getting that far.
>> 
>> Umm… in your subclass of ERXApplication, in case that wasn’t clear… It 
>> probably was to you, but hey, Future Dave is going to come here at some 
>> point, and *that* guy is pathetic.
>&

Re: JNDI JDBC entry in web.xml Servlet Deployment vs. Migrations

2014-04-24 Thread Matthias Jakob
Hi David,
hi Andrew,
hi there,

after a remote debugging session I’ve found the problem (Remember I will use a 
JNDI JDBC Datasource!):

In ERXMigrator

protected boolean canMigrateModel(EOModel model) {
String adaptorName = model.adaptorName();
if ("Memory".equals(adaptorName)) {
return true;
}
if ("JDBC".equals(adaptorName)) {
String url = 
(String)model.connectionDictionary().objectForKey(JDBCAdaptor.URLKey);
if ((url != null && 
url.toLowerCase().startsWith("jdbc:"))) {
return true;
}
String dataSourceJndiName = (String) 
model.connectionDictionary().objectForKey(JDBCAdaptor.DataSourceJndiNameKey);
if(dataSourceJndiName != null) {
return true;
}
}
return false;
}


AdaptorName = JDBC
url = null (JNDI should be used so in my Properties GlobalURL etc. is not  set)
dataSourceJndiName = null !! (why?)

results in 

protected void _buildDependenciesForModel(EOModel model, int 
migrateToVersion, Map versions, Map migrations) throws InstantiationException, 
IllegalAccessException {
if (!canMigrateModel(model)) {
return;
}
…
…

Migrator: you can’t make a Migration … and thats it …

Datasource is set in web.xml as I said before …

I’ve found this posting 
https://www.mail-archive.com/webobjects-dev@lists.apple.com/msg13087.html 
(Andrew L.)

they said set JDBCAdaptor.DataSourceJndiNameKey in connectionDictionary …

I’ve done so …

index.eomodeled:

{
EOModelVersion = "2.1"; 
adaptorName = JDBC; 
connectionDictionary = {
JDBCAdaptor.DataSourceJndiNameKey = "jdbc/test";
}; 
entities = ({className = "xxx.xxx.xxx.KeyValues"; name = KeyValues; }); 
}

Results in 

The connection dictionaries for TestModel and erprototypes have the same URL 
and username, but at least one of them is a prototype model, so it shouldn't be 
a problem.
[28.03.14 CET] 005d webappE com.ibm.ws.webcontainer.webapp.WebApp 
commonInitializationFinally SRVE0266E: Beim Initialisieren von Servlets ist ein 
Fehler aufgetreten: {0}
 javax.servlet.UnavailableException: Error 
initializing servlet adaptor: null
at 
com.webobjects.jspservlet.WOServletAdaptor._applicationInit(WOServletAdaptor.java:442)
at 
com.webobjects.jspservlet.WOServletAdaptor.initStatics(WOServletAdaptor.java:95)
at 
com.webobjects.jspservlet.WOServletAdaptor.init(WOServletAdaptor.java:652)
at 
er.extensions.jspservlet.ERXServletAdaptor.init(ERXServletAdaptor.java:66)
at javax.servlet.GenericServlet.init(GenericServlet.java:161)
at 
com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:342)
at 
com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.init(ServletWrapperImpl.java:168)
at 
com.ibm.ws.webcontainer.servlet.ServletWrapper.loadOnStartupCheck(ServletWrapper.java:1366)
at 
com.ibm.ws.webcontainer.webapp.WebApp.doLoadOnStartupActions(WebApp.java:610)
at 
com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinally(WebApp.java:580)
at 
com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:425)
at 
com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.java:88)

How can I set JDBCAdaptor.DataSourceJndiNameKey in my Properties?

Or better how can I fix the JNDI - Migration problem the right way?


Thank you for your help!
Matthias




Am 24.04.2014 um 15:18 schrieb David Avendasora :

> 
> On Apr 24, 2014, at 9:16 AM, David Avendasora  
> wrote:
> 
>> Override the migrationsWillRun method and stick a breakpoint on it. Let’s 
>> make sure that it is getting that far.
> 
> Umm… in your subclass of ERXApplication, in case that wasn’t clear… It 
> probably was to you, but hey, Future Dave is going to come here at some 
> point, and *that* guy is pathetic.
> 
> Sir Dave
> 
> —
> WebObjects - so easy that even Dave Avendasora can do it!™
> —
> David Avendasora
> Senior Software Abuser
> Nekesto, Inc.
> 
> 
> 
> 
> 
> 

 ___
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: JNDI JDBC entry in web.xml Servlet Deployment vs. Migrations

2014-04-24 Thread Matthias Jakob
Hi David,


protected void migrationsWillRun(ERXMigrator migrator) {
// TODO Auto-generated method stub
super.migrationsWillRun(migrator);
System.out.println("-->migrationsWillRun<--");
}

Is never called, local or in the Appserver ??

If migration run or not …

Calling migration by hand is not a problem ?

er.migration.migrateAtStartup=false 

@Override
public void finishInitialization() {
// TODO Auto-generated method stub
super.finishInitialization();
try {
System.out.println("-->finishInitialization<--");
migrator().log.setLevel(Level.DEBUG);
migrator().migrateToLatest();
System.out.println("-->finishInitialization<--");
}
catch (ERXMigrationFailedException e) {
// It might be a missing plugin problem
e.printStackTrace();
}
}




Am 24.04.2014 um 15:18 schrieb David Avendasora :

> 
> On Apr 24, 2014, at 9:16 AM, David Avendasora  
> wrote:
> 
>> Override the migrationsWillRun method and stick a breakpoint on it. Let’s 
>> make sure that it is getting that far.
> 
> Umm… in your subclass of ERXApplication, in case that wasn’t clear… It 
> probably was to you, but hey, Future Dave is going to come here at some 
> point, and *that* guy is pathetic.
> 
> Sir Dave
> 
> —
> WebObjects - so easy that even Dave Avendasora can do it!™
> —
> David Avendasora
> Senior Software Abuser
> Nekesto, Inc.
> 
> 
> 
> 
> 
> 

 ___
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: JNDI JDBC entry in web.xml Servlet Deployment vs. Migrations

2014-04-24 Thread Matthias Jakob
Clear ;-) Sir! ;-)

Am 24.04.2014 um 15:18 schrieb David Avendasora :

> 
> On Apr 24, 2014, at 9:16 AM, David Avendasora  
> wrote:
> 
>> Override the migrationsWillRun method and stick a breakpoint on it. Let’s 
>> make sure that it is getting that far.
> 
> Umm… in your subclass of ERXApplication, in case that wasn’t clear… It 
> probably was to you, but hey, Future Dave is going to come here at some 
> point, and *that* guy is pathetic.
> 
> Sir Dave
> 
> —
> WebObjects - so easy that even Dave Avendasora can do it!™
> —
> David Avendasora
> Senior Software Abuser
> Nekesto, Inc.
> 
> 
> 
> 
> 
> 


 ___
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: JNDI JDBC entry in web.xml Servlet Deployment vs. Migrations

2014-04-24 Thread Matthias Jakob
Hi Theodore,
thank you for your help!

- WebSphere or Glassfish its the same.
- Microsoft SQL Server
- Remote Server
- second start with deleted Tables - no connection on Startup!!?!?

- Only _dbupdater and my single demo Table was deleted … No Database Drop … its 
already there ...

;-(

Its really strange …

Matthias


Am 24.04.2014 um 14:52 schrieb Theodore Petrosky :

> what is the deployment environment?
> what database?
> is the database on the same machine?
> what do the logs of the database say? (can you increase the logging to 
> verbose?)
> at least then you would know if your app is trying to talk to the backend.
> 
> migrations can not create the database. it must exist (empty or if not, the 
> migration table should be at the correct level [you are specifying 0]) 
> 
> 
> 
> On Apr 24, 2014, at 8:23 AM, Matthias Jakob  wrote:
> 
>> Thank you David, John,
>> 
>> Tested and found out that the first deployment on a fresh server works fine 
>> with migrations. Uninstall WAR Application, delete Tables, Install again - 
>> start - no migrations are executed  ;-(
>> Glassfish, Websphere same behavior ...
>> 
>> 
>> Why? Confused ;-(
>> 
>> Thank you,
>> Matthias 
>> 
>> 
>> Am 23.04.2014 um 20:29 schrieb David Avendasora :
>> 
>>> I may be incorrect, but I don’t think migrations have ever been able to 
>>> *create* a database. I think you have always needed the DB to exist first, 
>>> then migrations can create schemas, tables, constraints, etc. 
>>> 
>>> It has been a long time since I tried to start from scratch, so it is 
>>> entirely possible that I’m completely wrong. :-) (shocking, I know)
>>> 
>>> Sir Socks
>>> 
>>> 
>>> 
>>> On Apr 22, 2014, at 6:22 PM, Matthias Jakob  wrote:
>>> 
>>>> Hi there!
>>>> I’ve got a problem with my web.xml JNDI JDBC entry in Servlet Deployment 
>>>> and migrations.
>>>> 
>>>> Using the web.xml entry 
>>>> 
>>>> 
>>>> MS SQL Server
>>>> jdbc/TEST
>>>> javax.sql.DataSource
>>>> Container
>>>> Shareable
>>>> 
>>>> 
>>>> It works fine with an already created database  and a „Properties" 
>>>> database config. 
>>>> With an already created database and a switch from properties to JNDI JDBC 
>>>> all is fine ;-) (database operations are done ..)
>>>> 
>>>> But if I clean my DB and start form zero, no migration is done with 
>>>> JNDI/JDBC entry?
>>>> 
>>>> It’s an ERXApplication, the properties are right I think:
>>>> 
>>>> # Migrations
>>>> er.migration.migrateAtStartup=true
>>>> er.migration.createTablesIfNecessary=true
>>>> er.migration.modelNames=Test
>>>> er.extensions.migration.ERXMigration.useDatabaseSpecificMigrations=false
>>>> 
>>>> Test.InitialMigrationVersion=0
>>>> Test.MigrationClassPrefix=xx.xx.Test
>>>> 
>>>> JNDI JDBC is a must have, because of a large deployment environment, 
>>>> properties conf is not an option ;-(
>>>> 
>>>> What is wrong, what can I do to fix the problem?
>>>> 
>>>> 
>>>> Please help!
>>>> 
>>>> Matthias 
>>>> ___
>>>> 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/webobjects%40avendasora.com
>>>> 
>>>> This email sent to webobje...@avendasora.com
>>> 
>>> 
>>> —
>>> WebObjects - so easy that even Dave Avendasora can do it!™
>>> —
>>> David Avendasora
>>> Senior Software Abuser
>>> Nekesto, Inc.
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>> 
>> 
>> ___
>> 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: JNDI JDBC entry in web.xml Servlet Deployment vs. Migrations

2014-04-24 Thread Matthias Jakob
Thank you David, John,

Tested and found out that the first deployment on a fresh server works fine 
with migrations. Uninstall WAR Application, delete Tables, Install again - 
start - no migrations are executed  ;-(
Glassfish, Websphere same behavior ...


Why? Confused ;-(

Thank you,
Matthias 


Am 23.04.2014 um 20:29 schrieb David Avendasora :

> I may be incorrect, but I don’t think migrations have ever been able to 
> *create* a database. I think you have always needed the DB to exist first, 
> then migrations can create schemas, tables, constraints, etc. 
> 
> It has been a long time since I tried to start from scratch, so it is 
> entirely possible that I’m completely wrong. :-) (shocking, I know)
> 
> Sir Socks
> 
> 
> 
> On Apr 22, 2014, at 6:22 PM, Matthias Jakob  wrote:
> 
>> Hi there!
>> I’ve got a problem with my web.xml JNDI JDBC entry in Servlet Deployment and 
>> migrations.
>> 
>> Using the web.xml entry 
>> 
>> 
>> MS SQL Server
>> jdbc/TEST
>> javax.sql.DataSource
>> Container
>> Shareable
>> 
>> 
>> It works fine with an already created database  and a „Properties" database 
>> config. 
>> With an already created database and a switch from properties to JNDI JDBC 
>> all is fine ;-) (database operations are done ..)
>> 
>> But if I clean my DB and start form zero, no migration is done with 
>> JNDI/JDBC entry?
>> 
>> It’s an ERXApplication, the properties are right I think:
>> 
>> # Migrations
>> er.migration.migrateAtStartup=true
>> er.migration.createTablesIfNecessary=true
>> er.migration.modelNames=Test
>> er.extensions.migration.ERXMigration.useDatabaseSpecificMigrations=false
>> 
>> Test.InitialMigrationVersion=0
>> Test.MigrationClassPrefix=xx.xx.Test
>> 
>> JNDI JDBC is a must have, because of a large deployment environment, 
>> properties conf is not an option ;-(
>> 
>> What is wrong, what can I do to fix the problem?
>> 
>> 
>> Please help!
>> 
>> Matthias 
>> ___
>> 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/webobjects%40avendasora.com
>> 
>> This email sent to webobje...@avendasora.com
> 
> 
> —
> WebObjects - so easy that even Dave Avendasora can do it!™
> —
> David Avendasora
> Senior Software Abuser
> Nekesto, Inc.
> 
> 
> 
> 
> 
> 


 ___
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

JNDI JDBC entry in web.xml Servlet Deployment vs. Migrations

2014-04-22 Thread Matthias Jakob
Hi there!
I’ve got a problem with my web.xml JNDI JDBC entry in Servlet Deployment and 
migrations.

Using the web.xml entry 


MS SQL Server
jdbc/TEST
javax.sql.DataSource
Container
Shareable


It works fine with an already created database  and a „Properties" database 
config. 
With an already created database and a switch from properties to JNDI JDBC all 
is fine ;-) (database operations are done ..)

But if I clean my DB and start form zero, no migration is done with JNDI/JDBC 
entry?

It’s an ERXApplication, the properties are right I think:

# Migrations
er.migration.migrateAtStartup=true
er.migration.createTablesIfNecessary=true
er.migration.modelNames=Test
er.extensions.migration.ERXMigration.useDatabaseSpecificMigrations=false

Test.InitialMigrationVersion=0
Test.MigrationClassPrefix=xx.xx.Test

JNDI JDBC is a must have, because of a large deployment environment, properties 
conf is not an option ;-(

What is wrong, what can I do to fix the problem?


Please help!

Matthias 
 ___
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

JQueryUI, Ajax Components?

2014-02-05 Thread Matthias Jakob
Hi there,
are there any experiences with this?
Do ajax components still function or not (i think no but not tested - hope 
never dies ;-)?

i.e. ( i know there is a ajax date picker): 



$(function() { $('.pickMe').datepicker(); });

Destroyed or not?

Thank you,
Matthias






 ___
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: get API Binded value name ...

2011-08-21 Thread Matthias Jakob
Hi Chuck,
thank you!!

Matthias

__

Dipl.-Inf.(FH) Matthias Jakob
Entwickler

Takwa GmbH
Friedrich-List-Str. 36
99096 Erfurt

Mobil: +49 170 5438255
eMail: matthias.ja...@takwa.de
WWW: http://www.takwa.de

Sitz: Erfurt
Amtsgericht Erfurt HRB 12964
Geschäftsführung: Ingo Buchholz
__

Am 21.08.2011 um 20:30 schrieb Chuck Hill:

>/**
> * Returns the WOAssociation for this binding, or nil if it 
> is not bound.
> *
> * @param bindingName the binding name to be evaluated
> * @return the WOAssociation for this binding, or nil if it 
> is not bound.
> */
>public WOAssociation associationForBinding(String bindingName)
>{
>/** require [valid_param] bindingName != null; **/
> 
>WOAssociation associationForBinding = null;
> 
>if (hasBinding(bindingName))
>{
>int bindingIndex = bindingKeys().indexOfObject(bindingName);
>associationForBinding = (WOAssociation) 
> associations().objectAtIndex(bindingIndex);
>}
> 
>return associationForBinding;
>}
> 
> 
> 
>/**
> * Returns the string for this binding, as represented in the WOD file, 
> rather than the value it is bound to.  For example if the WOD file has 
> value=message; this method returns "message" rather than the value that 
> message returns when used as a key in valueForKey.  
> WARNING: This method is implemented using object rape of 
> WOComponent and may break in the future.
> *
> * @param bindingName the binding name to be evaluated
> * @return the string for this binding
> */
>public String keyPathForBinding(String bindingName)
>{
>/** require
>[valid_param] bindingName != null;
>[has_binding] hasBinding(bindingName);
>[binding_is_settable] 
> associationForBinding(bindingName).isValueSettable(); **/
> 
>WOAssociation association = associationForBinding(bindingName);
>    return association.keyPath();
> 
>/** ensure [valid_result] Result != null; **/
>}
> 
> 
> 
> On 2011-08-21, at 10:57 AM, Matthias Jakob wrote:
> 
>> Hi there,
>> i've got a little problem with some of my bindings - i need to know the 
>> binding value name:
>> 
>> Test : MyGreatComponent {
>>  value1 = eoenterpriseobject.attribute;
>> } 
>> 
>> I need to know what is binded to value1-> eoenterpriseobject.attribute 
>> (exactly this String) not its value! How can i do that in my component?
>> 
>> Thank you all for your great help!
>> 
>> Matthias
>> 
>> __
>> 
>> Dipl.-Inf.(FH) Matthias Jakob
>> Entwickler
>> 
>> Takwa GmbH
>> Friedrich-List-Str. 36
>> 99096 Erfurt
>> 
>> Mobil: +49 170 5438255
>> eMail: matthias.ja...@takwa.de
>> WWW: http://www.takwa.de
>> 
>> Sitz: Erfurt
>> Amtsgericht Erfurt HRB 12964
>> Geschäftsführung: Ingo Buchholz
>> __
>> 
>> ___
>> 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:
>> http://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/products/practical_webobjects
> 
> 
> 
> 
> 
> 
> 

 ___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


get API Binded value name ...

2011-08-21 Thread Matthias Jakob
Hi there,
i've got a little problem with some of my bindings - i need to know the binding 
value name:

Test : MyGreatComponent {
value1 = eoenterpriseobject.attribute;
} 

I need to know what is binded to value1-> eoenterpriseobject.attribute (exactly 
this String) not its value! How can i do that in my component?

Thank you all for your great help!

Matthias

__

Dipl.-Inf.(FH) Matthias Jakob
Entwickler

Takwa GmbH
Friedrich-List-Str. 36
99096 Erfurt

Mobil: +49 170 5438255
eMail: matthias.ja...@takwa.de
WWW: http://www.takwa.de

Sitz: Erfurt
Amtsgericht Erfurt HRB 12964
Geschäftsführung: Ingo Buchholz
__

 ___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: pageConfiguration = 'EditRelationshipEmbedded*'

2011-03-30 Thread Matthias Jakob
Hi David,
thank you, great !!

Matthias


Am 30.03.2011 um 14:56 schrieb David LeBer:

> 
> On 2011-03-30, at 8:19 AM, Matthias Jakob wrote:
> 
>> Hi David,
>> thank you for your help.
> 
> Please keep replies on the list.
> 
>> 
>> No, my application must have c r u d  rights. So i need somthing like 
>> actions = {'inspect','edit'} or actions = {'delete'}.
>> It's a user role thing ... it is configured by the administrator ... so i 
>> need all options, also create and search ...
>> 
>> Is this possible and if how can i do that?
>> 
>> But i don't know how to disable only one button i.e. delete ... and i need 
>> it for all buttons, inspect, edit, delete, search and new - this would be 
>> the best ...
> 
> Action for the list items are controlled by the actions dictionary, this is 
> the rule that sets the default actions:
> 
> 40 : ((task = 'list' and (parentPageConfiguration like '*Edit*' or 
> parentPageConfiguration like '*Create*')) or pageConfiguration like 
> 'EditRelationship*') => actions = {"right" = ("inspectAction", "editAction", 
> "removeRelatedAction"); } [com.webobjects.directtoweb.Assignment]
> 
> You could add similar rules that set the actions dictionary based on user 
> role.
> 
> 100: (pageConfiguration like 'EditRelationship*' and 
> session.currentUser.isAdmin = 0) => actions {"right" = ("inspectAction")}; 
> [com.webobjects.directtoweb.Assignment]
> 
> Search button can be hidden with the 'shouldShowQueryRelatedButton' key. i.e:
> 
> 100 : (pageConfiguration = 'EditRelationshipEmbeddedSong' and 
> parentPageConfiguration like 'Edit*Band') => shouldShowQueryRelatedButton = 
> "false" [com.webobjects.directtoweb.BooleanAssignment]
> 
> New button can be hidden with the 'isEntityCreatable' key. i.e:
> 
> 100 : (pageConfiguration = 'EditRelationshipEmbeddedSong' and 
> parentPageConfiguration like 'Edit*Band') => isEntityCreatable = "false" 
> [com.webobjects.directtoweb.BooleanAssignment]
> 
>> 
>> Thank you,
>> Matthias
>> 
>> 
>> Am 30.03.2011 um 13:51 schrieb David LeBer:
>> 
>>> Matthias,
>>> 
>>> If you don't want any action buttons in the related obj list:
>>> 
>>> 100 : pageConfiguration = 'EditRelationshipEmbeddedENTITY'  => actions = {} 
>>> [com.webobjects.directtoweb.Assignment]
>>> 
>>> But maybe you don't want to actually edit the relationship and an embedded 
>>> list page is what you are looking for instead?
>>> 
>>> On 2011-03-30, at 4:22 AM, Matthias Jakob wrote:
>>> 
>>>> Hi list,
>>>> I'm a bit confused about EditRelationshipEmbeddedENTITY.
>>>> 
>>>> I try to disable Inspect, Edit, Delete Search or New Button.
>>>> 
>>>> 100 : pageConfiguration = 'EditRelationshipEmbeddedENTITY' => 
>>>> isEntityCreatable = "false" [com.webobjects.directtoweb.Assignment]
>>>> 
>>>> does not work, but 
>>>> 
>>>> 100 : pageConfiguration = 'EditRelationshipEmbeddedENTITY' => 
>>>> isEntityEditable = "false" [com.webobjects.directtoweb.Assignment]
>>>> 
>>>> works. The Edit-Button is gone.
>>>> 
>>>> shouldShowQueryRelatedButton works ...
>>>> 
>>>> But Delete i.e. ... i dont know ... ;-( 
>>>> 
>>>> so please can someone post me the right roles or what I'm doing wrong... ?
>>>> 
>>>> Thank you all!
>>>> Matthias
>>> 
>>> ;david
>>> 
>>> --
>>> David LeBer
>>> Codeferous Software
>>> 'co-def-er-ous' adj. Literally 'code-bearing'
>>> site:   http://codeferous.com
>>> blog:   http://davidleber.net
>>> profile:http://www.linkedin.com/in/davidleber
>>> twitter:http://twitter.com/rebeld
>>> --
>>> Toronto Area Cocoa / WebObjects developers group:
>>> http://tacow.org
>>> 
>>> 
>>> 
>>> 
>>> 
>> 
>> 
> 
> ;david
> 
> --
> David LeBer
> Codeferous Software
> 'co-def-er-ous' adj. Literally 'code-bearing'
> site: http://codeferous.com
> blog: http://davidleber.net
> profile:  http://www.linkedin.com/in/davidleber
> twitter:  http://twitter.com/rebeld
> --
> Toronto Area Cocoa / WebObjects developers group:
> http://tacow.org
> 
> 
> 
> 
> 

 ___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


pageConfiguration = 'EditRelationshipEmbedded*'

2011-03-30 Thread Matthias Jakob
Hi list,
I'm a bit confused about EditRelationshipEmbeddedENTITY.

I try to disable Inspect, Edit, Delete Search or New Button.

100 : pageConfiguration = 'EditRelationshipEmbeddedENTITY' => isEntityCreatable 
= "false" [com.webobjects.directtoweb.Assignment]

does not work, but 

100 : pageConfiguration = 'EditRelationshipEmbeddedENTITY' => isEntityEditable 
= "false" [com.webobjects.directtoweb.Assignment]

works. The Edit-Button is gone.

shouldShowQueryRelatedButton works ...

But Delete i.e. ... i dont know ... ;-( 

so please can someone post me the right roles or what I'm doing wrong... ?

Thank you all!
Matthias



______

Dipl.-Inf.(FH) Matthias Jakob
Entwickler

Takwa GmbH
Friedrich-List-Str. 36
99096 Erfurt

Mobil: +49 170 5438255
eMail: matthias.ja...@takwa.de
WWW: http://www.takwa.de

Sitz: Erfurt
Amtsgericht Erfurt HRB 12964
Geschäftsführung: Ingo Buchholz
__

 ___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

ERMODEditRelationshipPage ERMODListPage question

2011-03-29 Thread Matthias Jakob
Hi there,
is it possible to use inline editing in ERMODEditRelationshipPage and 
ERMODListPage?
And how can i use checkboxes for int values ?

Thank you all!
Matthias



 ___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: [Wonder-disc] D2W ERModernLook - login welcome page

2011-03-24 Thread Matthias Jakob
Oh Sry,
yes ...

Now this works fine, thank you ...

two last questions: I've a current logged in user in my app session. now i try 
to make 1. my list pages should show only entities from this user i.e. all 
addresses from the user;  2. my address creation page should have the session 
user by default ...

how can i do that the best ?

Thank you, and sorry for this simple questions but it's my first d2w app  

Matthias  

Am 24.03.2011 um 16:31 schrieb David LeBer:

> 
> On 2011-03-24, at 11:18 AM, Matthias Jakob wrote:
> 
>> Hi David,
>> ok I've done all things in david leber's message but now i get my welcome 
>> page as before - without the d2w stuff - no menu - nothing.
>> 
>> I've checked it again and again ...
>> 
>> Navigation:
>> 
>>  public WOComponent homeAction() {
>>  return D2W.factory().pageForConfigurationNamed("Home", 
>> session());
>>  }
>> 
>> PList:
>>  {
>>  name = "Home";
>>  action = "session.navController.homeAction";
>>  },
>> 
>> Local:
>>  "Nav.Home" = "Home";
>> 
>> Also the entity cannot be a simple string (i'll get an exception) it must be 
>> an entity ...
> 
> Right, I thought I was pretty clear on that, from the notes below: 
> 
> 100: pageConfiguration = 'DoThatFooThatYouDo' => entity = 
> "AValidEntityFromYourModel" [EntityAssignment]
> 
>> 
>> What's wrong?
> 
> Navigation is in the PageWrapper. It needs to (as the name implies) wrap the 
> page.
> 
> 
> Your content goes here
> 
> 
>> 
>> Thank you,
>> Matthias
>> 
>> 
>> 
>> 
>> 
>> 
>> Am 24.03.2011 um 01:27 schrieb David Holt:
>> 
>>> Hi Matthias,
>>> 
>>> I don't have time to expand on this previous message below, but for your 
>>> welcome page you'll want to use a named pageConfiguration with the rules 
>>> like David LeBer outlines in this message from last year. If you're still 
>>> having issues let me/us know and I'll help you more tomorrow.
>>> 
>>> Replace "Foo" with "Welcome" and I think  you should be most of the way 
>>> there :-)
>>> 
>>> David
>>> 
>>> 
>>>> I want to create content (WOComponent) inside of the PageWrapper. The
>>>> PageWrapper requires a bodyClass, d2wContext, etc. My WOComponent is
>>>> not extending D2W, so I was wondering what was the informed opinion on
>>>> how to do this correctly.
>>> 
>>> The current implementation of ERModernMoviesDemo (and the ERModern D2W 
>>> Template) assumes that you are going to have a valid D2WContext for every 
>>> page in the app. Yeah, I know, shoot me.
>>> 
>>> Given that a D2WContext really needs three things to display a page:
>>> 
>>> 1. An Entity.
>>> 2. A task
>>> 3. The template for the task.
>>> 
>>> We can set up some rules to fudge this. Assuming we have a page named 
>>> 'MyFooPage.wo' that inherits from D2WPage (we won't use any of D2WPage's 
>>> features, just it's D2WContext), and we want a Tab named "Foo" to trigger 
>>> it.
>>> 
>>> 1. Add Foo to the NavigationMenu.plist:
>>> { name = "Foo"; action = "session.navController.goToFooPage"; },
>>> 
>>> 2. Add a goToFooPage method in the navigation controller:
>>> 
>>>  public WOComponent goToFooPage() {
>>> return D2W.factory().pageForConfigurationNamed("DoThatFooThatYouDo", 
>>> session());
>>>  }
>>> 
>>> 3. Add Foo to Localizable.strings
>>> 
>>> "Nav.Foo" = "Foo";
>>> 
>>> 4. Add the rules to fudge this page:
>>> 
>>> 100: pageConfiguration = 'DoThatFooThatYouDo' => entity = 
>>> "AValidEntityFromYourModel" [EntityAssignment]*
>>> 100: pageConfiguration = 'DoThatFooThatYouDo' => task = "inspect" 
>>> [Assignment]
>>> 100: pageConfiguration = 'DoThatFooThatYouDo' => 
>>> templateNameForInspectPage = "MyFooPage" [Assignment]
>>> 
>>> 5. Set the navigation state:
>>> 
>>> 100: pageConfiguration = 'DoThatFooThatYouDo' => navigationState = 
>>> "Foo" [Assignment]
>>>

Re: [Wonder-disc] D2W ERModernLook - login welcome page

2011-03-24 Thread Matthias Jakob
Hi David,ok I've done all things in david leber's message but now i get my welcome page as before - without the d2w stuff - no menu - nothing.I've checked it again and again ...Navigation:	public WOComponent homeAction() {		return D2W.factory().pageForConfigurationNamed("Home", session());	}PList:	{		name = "Home";		action = "";	},Local:  "Nav.Home" = "Home"; Also the entity cannot be a simple string (i'll get an exception) it must be an entity ...What's wrong?Thank you,Matthias


user.d2wmodel
Description: Binary data


Home.java
Description: Binary data
Home

Am 24.03.2011 um 01:27 schrieb David Holt:Hi Matthias,I don't have time to expand on this previous message below, but for your welcome page you'll want to use a named pageConfiguration with the rules like David LeBer outlines in this message from last year. If you're still having issues let me/us know and I'll help you more tomorrow.Replace "Foo" with "Welcome" and I think  you should be most of the way there :-)DavidI want to create content (WOComponent) inside of the PageWrapper. ThePageWrapper requires a bodyClass, d2wContext, etc. My WOComponent isnot extending D2W, so I was wondering what was the informed opinion onhow to do this correctly.The current implementation of ERModernMoviesDemo (and the ERModern D2W Template) assumes that you are going to have a valid D2WContext for every page in the app. Yeah, I know, shoot me.Given that a D2WContext really needs three things to display a page:1. An Entity.2. A task3. The template for the task.We can set up some rules to fudge this. Assuming we have a page named 'MyFooPage.wo' that inherits from D2WPage (we won't use any of D2WPage's features, just it's D2WContext), and we want a Tab named "Foo" to trigger it.1. Add Foo to the NavigationMenu.plist:	{ name = "Foo"; action = ""; },2. Add a goToFooPage method in the navigation controller:   public WOComponent goToFooPage() {   	return D2W.factory().pageForConfigurationNamed("DoThatFooThatYouDo", session());   }3. Add Foo to Localizable.strings	"Nav.Foo" = "Foo";4. Add the rules to fudge this page:	100: pageConfiguration = 'DoThatFooThatYouDo' => entity = "AValidEntityFromYourModel" [EntityAssignment]*	100: pageConfiguration = 'DoThatFooThatYouDo' => task = "inspect" [Assignment]	100: pageConfiguration = 'DoThatFooThatYouDo' => templateNameForInspectPage = "MyFooPage" [Assignment]5. Set the navigation state:	100: pageConfiguration = 'DoThatFooThatYouDo' => navigationState = "Foo" [Assignment]* AValidEntityFromYourModel does not have to be an Entity you are going to use on your page, we just need it to make the D2WContext happy.The css class of the body tag on your page will be "DoThatFooThatYouDoBody"On 2011-03-23, at 4:59 PM, Matthias Jakob wrote:Hi David,1 thank you for ERModernLook ;-) !Yes i ve done that but i don't know how to integrate header etc. so that it's an embedded page ... and also the right selected navigation -> homeMatthiasAm 24.03.2011 um 00:34 schrieb David LeBer:On 2011-03-23, at 7:25 PM, Matthias Jakob wrote:Hi list,I've a small problem with ERModernLook and defaultPage.I try to show a Welcome page after a  successfully login. But I don't know exactly how i can do that.I've tryed to overwrite the defaultpage with no success  ;-(I simply need my own small page width an localized welcome message ... thats all ... so how i can do that ... ?Change the loginAction in DirectAction to return your page upon successful login?;david--David LeBerCodeferous Software'co-def-er-ous' adj. Literally 'code-bearing'site: 	http://codeferous.comblog: 	http://davidleber.netprofile:	http://www.linkedin.com/in/davidlebertwitter:	http://twitter.com/rebeld--Toronto Area Cocoa / WebObjects developers group:http://tacow.org--Enable your software for Intel(R) Active Management Technology to meet thegrowing manageability and security demands of your customers. Businessesare taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar___Wonder-disc mailing listwonder-d...@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wonder-disc ___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: D2W ERModernLook - login welcome page

2011-03-23 Thread Matthias Jakob
Hi David,
1 thank you for ERModernLook ;-) !

Yes i ve done that but i don't know how to integrate header etc. so that it's 
an embedded page ... and also the right selected navigation -> home


Matthias



Am 24.03.2011 um 00:34 schrieb David LeBer:

> 
> On 2011-03-23, at 7:25 PM, Matthias Jakob wrote:
> 
>> Hi list,
>> I've a small problem with ERModernLook and defaultPage.
>> 
>> I try to show a Welcome page after a  successfully login. But I don't know 
>> exactly how i can do that.
>> I've tryed to overwrite the defaultpage with no success  ;-(
>> 
>> I simply need my own small page width an localized welcome message ... thats 
>> all ... so how i can do that ... ?
> 
> Change the loginAction in DirectAction to return your page upon successful 
> login?
> 
> ;david
> 
> --
> David LeBer
> Codeferous Software
> 'co-def-er-ous' adj. Literally 'code-bearing'
> site: http://codeferous.com
> blog: http://davidleber.net
> profile:  http://www.linkedin.com/in/davidleber
> twitter:  http://twitter.com/rebeld
> --
> Toronto Area Cocoa / WebObjects developers group:
> http://tacow.org
> 
> 
> 
> 
> 

 ___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


D2W ERModernLook - login welcome page

2011-03-23 Thread Matthias Jakob
Hi list,
I've a small problem with ERModernLook and defaultPage.

I try to show a Welcome page after a  successfully login. But I don't know 
exactly how i can do that.
I've tryed to overwrite the defaultpage with no success  ;-(

I simply need my own small page width an localized welcome message ... thats 
all ... so how i can do that ... ?

Thank you all,
Matthias




 ___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


XServe Petition

2010-11-12 Thread Matthias Jakob
Hi there,
if someone of you uses XServes please help us:

http://www.xserve-petition.com

Thank you!
__

Dipl.-Inf.(FH) Matthias Jakob
Entwickler

Takwa GmbH
Friedrich-List-Str. 36
99096 Erfurt

Tel.: +49 361 6534096
Fax.: +49 361 6534097
eMail: matthias.ja...@takwa.de
WWW: http://www.takwa.de

Sitz: Erfurt
Amtsgericht Erfurt HRB 12964
Geschäftsführung: Ingo Buchholz
__

 ___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Fwd: Oracle and Apple Announce OpenJDK Project for Mac OS X

2010-11-12 Thread Matthias Jakob


Anfang der weitergeleiteten E-Mail:

> Von: Pascal Robert 
> Datum: 12. November 2010 15:23:34 MEZ
> An: macenterpr...@lists.psu.edu
> Betreff: Oracle and Apple Announce OpenJDK Project for Mac OS X
> Antwort an: Mac OS X enterprise deployment project 
> 
> 
> Good news!
> 
> http://www.apple.com/pr/library/2010/11/12openjdk.html
> 
> Oracle and Apple® today announced the OpenJDK project for Mac OS® X. Apple 
> will contribute most of the key components, tools and technology required for 
> a Java SE 7 implementation on Mac OS X, including a 32-bit and 64-bit 
> HotSpot-based Java virtual machine, class libraries, a networking stack and 
> the foundation for a new graphical client. OpenJDK will make Apple’s Java 
> technology available to open source developers so they can access and 
> contribute to the effort.
> 
> Apple also confirmed that Java SE 6 will continue to be available from Apple 
> for Mac OS X Snow Leopard® and the upcoming release of Mac OS X Lion. Java SE 
> 7 and future versions of Java for Mac OS X will be available from Oracle. 
> 
> _
> MacEnterprise, Inc
> http://www.macenterprise.org
> 
> Subscription Options and Archives
> http://lists.psu.edu/archives/macenterprise.html
> 

 ___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Java apps not in new Mac App Store???

2010-10-21 Thread Matthias Jakob

Am 21.10.2010 um 12:36 schrieb David Avendasora:

> Hi Matthias,
> 
> Where did the X11 come from? I don't see that in the emails you are copying 
> below.
The native gui support is an apple addition, if there is no apple vm there is 
no native gui .. right ?
> 
> Also, as Rob Ross pointed out below, this ends up making MacOS X the same as 
> every other OS out there, you will have to download and install a JVM 
> yourself in future versions of OS X. Where to get a third-party JVM for Mac? 
> That's another question. Now that Apple isn't providing their own JVM and 
> they've opened OS X up for others, there should be a third-party, or even a 
> Sun/Oracle VM soon.
Oracle, you said Oracle ? Sry David -1 trust in oracle, they do nothing for 
nothing ..
> 
> There's a _lot_ of Java coders out there using Macs. It's a vacuum that isn't 
> going to last long.
OK, at this time there is only the buggy OpenJDK from 
http://landonf.bikemonkey.org/static/soylatte/ but buggy and -> X11
> 
> It does suck that Apple's own JVM is being deprecated, but it's not like 
> Microsoft has their own JVM either and Java seems to work just fine there.
It's true 
http://developer.apple.com/library/mac/#releasenotes/Java/JavaSnowLeopardUpdate3LeopardUpdate8RN/NewandNoteworthy/NewandNoteworthy.html
I know i can download a win version but there is no native version for osx ...
> 
> Dave
> 
> On Oct 21, 2010, at 6:12 AM, Matthias Jakob wrote:
> 
>> LLLOLOL
>> 
>> and Eclipse with X11?
>> 
>> At this time if there is no native gui java, macosx is dead for me our 
>> company our deployment an ALL our customers!
>> 
>> so apple: think twice!!
>> 
>> 
>> PS: WO Guys, Mike whats the hell is this -> X11 ??
>> __
>> 
>> Dipl.-Inf.(FH) Matthias Jakob
>> Entwickler
>> 
>> Takwa GmbH
>> Friedrich-List-Str. 36
>> 99096 Erfurt
>> 
>> Tel.: +49 361 6534096
>> Fax.: +49 361 6534097
>> eMail: matthias.ja...@takwa.de
>> WWW: http://www.takwa.de
>> 
>> Sitz: Erfurt
>> Amtsgericht Erfurt HRB 12964
>> Geschäftsführung: Ingo Buchholz
>> __
>> 
>> Am 21.10.2010 um 12:03 schrieb Shawn Erickson:
>> 
>>> On Thu, Oct 21, 2010 at 1:12 PM, Rob Ross  wrote:
>>>> It is worse than this. Not only are Java apps not going to be permitted, 
>>>> Apple is actually *removing* Java from future Mac OS versions. So even if 
>>>> you wanted to develop a Java app for the Mac App store, you are prohibited 
>>>> because Java is now deprecated...just in time for the Mac App store 
>>>> announcement.
>>>> 
>>>> That these two announcements happen on the same day is very suspicious, 
>>>> and it is hard not to think they are quite related.
>>> 
>>> If your product needs Java you are now free to bundle/install a JVM
>>> with your product (or point customers at it) and the OS will support
>>> using it. Many folks have been asking for this capability. This is
>>> like most other operating systems. It is also similar to products that
>>> use things like Qt, they bundle it with their application.
>>> 
>>> If you purchased a Mac to do Java development you can continue to use
>>> it for that by using a 3rd party JVM, etc.
>>> 
>>> Apple isn't planning to continue their JVM port essentially but they
>>> aren't preventing others from doing so. It sucks but...
>>> 
>>> -Shawn
>>> ___
>>> Do not post admin requests to the list. They will be ignored.
>>> Java-dev mailing list  (java-...@lists.apple.com)
>>> Help/Unsubscribe/Update your Subscription:
>>> http://lists.apple.com/mailman/options/java-dev/jakob%40takwa.de
>>> 
>>> This email sent to ja...@takwa.de
>>> 
>> 
>> ___
>> 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:
>> http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com
>> 
>> This email sent to webobje...@avendasora.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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Java apps not in new Mac App Store???

2010-10-21 Thread Matthias Jakob
LLLOLOL

and Eclipse with X11?

At this time if there is no native gui java, macosx is dead for me our company 
our deployment an ALL our customers!

so apple: think twice!!


PS: WO Guys, Mike whats the hell is this -> X11 ??
__

Dipl.-Inf.(FH) Matthias Jakob
Entwickler

Takwa GmbH
Friedrich-List-Str. 36
99096 Erfurt

Tel.: +49 361 6534096
Fax.: +49 361 6534097
eMail: matthias.ja...@takwa.de
WWW: http://www.takwa.de

Sitz: Erfurt
Amtsgericht Erfurt HRB 12964
Geschäftsführung: Ingo Buchholz
__

Am 21.10.2010 um 12:03 schrieb Shawn Erickson:

> On Thu, Oct 21, 2010 at 1:12 PM, Rob Ross  wrote:
>> It is worse than this. Not only are Java apps not going to be permitted, 
>> Apple is actually *removing* Java from future Mac OS versions. So even if 
>> you wanted to develop a Java app for the Mac App store, you are prohibited 
>> because Java is now deprecated...just in time for the Mac App store 
>> announcement.
>> 
>> That these two announcements happen on the same day is very suspicious, and 
>> it is hard not to think they are quite related.
> 
> If your product needs Java you are now free to bundle/install a JVM
> with your product (or point customers at it) and the OS will support
> using it. Many folks have been asking for this capability. This is
> like most other operating systems. It is also similar to products that
> use things like Qt, they bundle it with their application.
> 
> If you purchased a Mac to do Java development you can continue to use
> it for that by using a 3rd party JVM, etc.
> 
> Apple isn't planning to continue their JVM port essentially but they
> aren't preventing others from doing so. It sucks but...
> 
> -Shawn
> ___
> Do not post admin requests to the list. They will be ignored.
> Java-dev mailing list  (java-...@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/java-dev/jakob%40takwa.de
> 
> This email sent to ja...@takwa.de
> 

 ___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: announcement

2010-04-23 Thread Matthias Jakob
Hi!

Yes Dave, me to. Mike is one of the best developers here ... itself deeply 
bowing ..

Matthias

Message: 3
Date: Thu, 22 Apr 2010 11:45:31 -0400
From: David Avendasora 
Subject: Re: announcement
To: Alan Ward 
Cc: WO Dev Group 
Message-ID: <53234977-4085-43c2-a4a9-41b1b6789...@avendasora.com>
Content-Type: text/plain; charset=us-ascii

> :-) I think we're all hoping/expecting that that's the case, but there's been 
> others who start working at Apple and then suddenly stop posting, or only 
> post rarely. 

> With someone as high profile and insanely helpful as Mike I think many of us 
> are just a little nervous about it.

>Dave ___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

WOLips and JProfiler 6.0.2

2010-02-13 Thread Matthias Jakob
Hi there,
my JProfiler 6 does not work with WOLips nightly ... whats wrong ?


Matthias
 ___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: Xcode runtime WOComponent editing bug (rapid turnaround)

2007-06-01 Thread Matthias Jakob

Hi Group,
I've found the solution, in the projects Properties file add the  
following lines:


WOMonitorEnabled=false
WOAllowRapidTurnaround=true
NSProjectSearchPath=("Path.to.Project")

And now IT WORKS!

Matthias

__

Dipl.-Inf.(FH) Matthias Jakob
Takwa GmbH
Entwickler
Bodelschwinghstr. 25
99096 Erfurt

Tel.: +49 361 6534096
Fax.: +49 361 6534097
eMail: [EMAIL PROTECTED]
WWW: http://www.takwa.de

Amtsgericht  Erfurt
HRB 12964

__




 ___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Re: Xcode runtime WOComponent editing bug

2007-05-31 Thread Matthias Jakob

Hi Jerry,
thank you for your answer ...

With does not work anymore I mean that changes made with WOBuilder  
(Main.wo) has no results in the running App ...
I must stop the App Rebuild and start it again ... this takes a lot  
of time !


I've tested it with a new App. And it also does not work! (test.woa -  
edited while running - nothing happens while reloading it in the  
browser ...)


G5 and MacBook ... same problem ..

Any ideas? Reinstall Xcode?

Thank you for your help,
Matthias

Am 31.05.2007 um 15:56 schrieb Jerry W. Walker:


Hi, Matthias,

Could you be more specific regarding the failures your seeing? What  
exactly do you mean by "... does not work anymore..."?


In my own case (using Xcode 2.4.1, WOBuilder 5.3.2 and WO 5.3.3 ),  
I have no trouble modifying a WOComponent and refreshing the  
browser to see those changes immediately while in development mode  
throughout the development cycle.


Regards,
Jerry

On May 31, 2007, at 8:18 AM, Matthias Jakob wrote:


Hi there!

I've a problem with Xcode 2.4.1 and WOBuilder 5.3.2. When I  
compile a clean WOApp and edit the Main.wo html I can see my  
changes in the running App.
After some dev steps (adding new Components and so on ...) the  
"live editing WOComponent html feature" does not work anymore ...

What's wrong?

Plz help !

Matthias
__

Dipl.-Inf.(FH) Matthias Jakob
Takwa GmbH
Entwickler
Bodelschwinghstr. 25
99096 Erfurt

Tel.: +49 361 6534096
Fax.: +49 361 6534097
eMail: [EMAIL PROTECTED]
WWW: http://www.takwa.de

Amtsgericht  Erfurt
HRB 12964

__




 ___
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:
http://lists.apple.com/mailman/options/webobjects-dev/jerrywwalker% 
40gmail.com


This email sent to [EMAIL PROTECTED]



--
__ Jerry W. Walker,
   WebObjects Developer/Instructor for High Performance Industrial  
Strength Internet Enabled Systems


[EMAIL PROTECTED]
203 278-4085office





___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]


Xcode runtime WOComponent editing bug

2007-05-31 Thread Matthias Jakob

Hi there!

I've a problem with Xcode 2.4.1 and WOBuilder 5.3.2. When I compile a  
clean WOApp and edit the Main.wo html I can see my changes in the  
running App.
After some dev steps (adding new Components and so on ...) the "live  
editing WOComponent html feature" does not work anymore ...

What's wrong?

Plz help !

Matthias
______

Dipl.-Inf.(FH) Matthias Jakob
Takwa GmbH
Entwickler
Bodelschwinghstr. 25
99096 Erfurt

Tel.: +49 361 6534096
Fax.: +49 361 6534097
eMail: [EMAIL PROTECTED]
WWW: http://www.takwa.de

Amtsgericht  Erfurt
HRB 12964

__




 ___
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:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]