Dear all,
There are probably not many who might encounter this as a problem as the
combination of D2W and IE and javascript is less likely. However, I can see it
might appear if you use ERModernLook’s ERMODTabInspectPage as it looks as if it
would be subject to the same problem.
Essentially, I
Hello, guys...
Sorry for the noise on the list.
I was right-clicking on the project name and choosing Run As -> WOApplication.
I should be right clicking on Application.java...
Dude, how embarrassing...
Best regards,
Flavio
On 31/10/2014, at 16:28, Flavio Donadio wrote:
> Ramsey,
>
>
>
Ramsey,
I think the problem might be in a different place.
Some projects that were running OK before just stopped working. New projects
don't work at all.
And now Eclipse went berserk, trying to run a different project than the one I
am trying to run.
I tried deleting this workspace and crea
Try removing JavaXML framework. You won’t miss it until you try to deploy with
monitor/wotaskd.
On Oct 31, 2014, at 10:11 AM, Flavio Donadio wrote:
> Theodore,
>
>
> Yes, the Build Path are more or less the same. Since I don't have a model
> (nor a framework), two items are not on the Libra
Theodore,
Yes, the Build Path are more or less the same. Since I don't have a model (nor
a framework), two items are not on the Library pane: H2Plugin and BlogModel.
Here's the console output when I run the app:
> [2014-10-31 15:1:55 BRST] Principal class '' not found in bundle
> ERModernLoo
So, class paths. you created a new D2W app. did you compare the “Build Path” of
your app to the screen shot of the Build Path on the tutorial page?
Ted
On Oct 31, 2014, at 10:05 AM, Flavio Donadio wrote:
> Fabian,
>
>
> I just noticed something really strange in the error message. I just cre
Fabian,
I just noticed something really strange in the error message. I just created a
dummy D2W app (no model, as suggested by Theodore) and ran it as a
WOApplication.
Here's the full error message, as shown in the browser:
> Application: DummyTest
> Error: java.lang.IllegalStateException ex
Fabian,
I just did and the file seems to be OK:
/Users/fdonadio/Projects/WonderSource/Frameworks/D2W/ERModernLook/build/ERModernLook.framework/Resources/d2w.d2wmodel
... opens in RuleModeler perfectly.
Cheers,
Flavio
On 30/10/2014, at 14:24, Fabian Peters wrote:
> Hi Flavio,
>
> It looks
Theodore,
Got the same problem: Class 'Session' exists.
I tried some old projects that used to work and they are also showing the same
problem.
Cheers,
Flavio
On 30/10/2014, at 13:46, Theodore Petrosky wrote:
> D2W’s magic is that it uses the model for everything. That’s a bit of
> overst
Hi Flavio,
It looks like your classpath isn't as it should be. Instead of a WOSession you
get a org.apache.axis.session.Session. And the d2wmodel files don't seem to get
referenced correctly either. You could open one of them, e.g.
/Users/fdonadio/Projects/WonderSource/Frameworks/D2W/ERModernLo
D2W’s magic is that it uses the model for everything. That’s a bit of
overstatement.
Seriously, what do you get if you:
1. create a new Wonder D2W application (defaults for everything, do not refer
to any other projects)
2. run it.
that’s right. No model. just a dummy D2W app. you should get th
David,
I didn't modify this file, it's the default:
{
"rules" = (
{
"author" = "20";
"class" = "com.webobjects.directtoweb.Rule";
"rhs" = {
"class" = "com.webobjects.directtoweb.Assignment";
"keyPath" = "appScreenStylesheet";
"value" = {
"file
Fabian,
I see these on the console with no debugging enabled:
[2014-10-30 12:45:55 BRST] ** DirectToWeb could not merge d2wmodel from
file:/Users/fdonadio/Projects/WonderSource/Frameworks/D2W/ERModernLook/build/ERModernLook.framework/Resources/d2w.d2wmodel
for reason: ** DirectToWeb exception
Theodore,
I followed the steps from the REST Tutorial to create a model, but I am
creating a D2W application instead. I didn't create a framework. I've done this
before and it worked.
But this error message is a little more "enlightening":
java.lang.IllegalArgumentException:
Class 'Session'
Hi Flavio,
Assuming you're starting out with an empty rule file, you're probably missing
one or more d2w.d2wmodel files from ERDirectToWeb or JavaDirectToWeb. If you
enable debug logging on er.directtoweb.ERD2WModel, you'll see which files get
loaded.
Fabian
Am 29.10.2014 um 20:46 schrieb Fla
d2w.d2wmodel is empty when you create a new d2w app. the action happens in
user.d2wmodel
This is odd that I see entity=Product. Where is that coming from?
basically if you create a new d2w app with NO model. it should start. you just
can’t do anything.
according to the docs, you are supposed t
what is in your user.d2wmodel file?
On Oct 29, 2014, at 12:46 PM, Flavio Donadio wrote:
> Hello, all!
>
>
> I am getting this error when I run the app for the first time:
>
> [2014-10-29 17:37:34 BRST]
> : Exception in performActionNamed() on
> the action "login" with the message:
> com.
Hello, all!
I am getting this error when I run the app for the first time:
[2014-10-29 17:37:34 BRST]
: Exception in performActionNamed() on
the action "login" with the message:
com.webobjects.directtoweb.D2WModelException: Error - could not find any rule
that returns a pageName using the c
On 10/10/2012, at 13:59, programming...@mac.com wrote:
> The problem is that you are setting up conditionally displaying different
> sets of tabs, but then not providing the method in the session class to do
> so. Since you are only using one set of tabs, you really don't need that line.
>
> If
On 2012-10-10, at 7:48 AM, Flavio Donadio wrote:
> On 10/10/2012, at 10:17, Theodore Petrosky wrote:
>
>> so it was not a 'virgin' new D2W app.
>
> Well... Depends on what you mean by "virgin"... :) I made just a couple
> changes that shouldn't create serious problems, IMO.
>
>
>> i would tr
On 2012-10-10, at 7:48 AM, Flavio Donadio wrote:On 10/10/2012, at 10:17, Theodore Petrosky wrote:so it was not a 'virgin' new D2W app.Well... Depends on what you mean by "virgin"... :) I made just a couple changes that shouldn't create serious problems, IMO.i would try that. select new D2W wonder a
. I didn't modify the Session
>>>> class and I am simply returning ((Session)
>>>> session()).navController().homeAction() from DirectAction.loginAction(),
>>>> as this is what is returned on success in the sample code.
>>>>
>>>> S
Session
>>> class and I am simply returning ((Session)
>>> session()).navController().homeAction() from DirectAction.loginAction(), as
>>> this is what is returned on success in the sample code.
>>>
>>> So, pretty much it's a new, almost unmodified
returned on success in the sample code.
>>
>> So, pretty much it's a new, almost unmodified Wonder D2W app.
>>
>>
>> Cheers,
>> Flavio
>>
>> On 10/10/2012, at 08:59, Theodore Petrosky wrote:
>>
>>> do I understand you created
On 10/10/2012, at 10:17, Theodore Petrosky wrote:
> so it was not a 'virgin' new D2W app.
Well... Depends on what you mean by "virgin"... :) I made just a couple changes
that shouldn't create serious problems, IMO.
> i would try that. select new D2W wonder app. then run. do nothing else. do
>
(), as
>> this is what is returned on success in the sample code.
>>
>> So, pretty much it's a new, almost unmodified Wonder D2W app.
>>
>>
>> Cheers,
>> Flavio
>>
>> On 10/10/2012, at 08:59, Theodore Petrosky wrote:
>>
>>&
ic
> generation of your model.
>
> Ted
>
>
>
> --- On Wed, 10/10/12, Flavio Donadio wrote:
>
>> From: Flavio Donadio
>> Subject: Re: D2W - Problem with navigation
>> To: "Theodore Petrosky"
>> Cc: Webobjects-dev@lists.apple.com
>>
BTW,
Eclipse => Preferences => WOLips => Build
should have a check in Automatically run EOGenerator if you want automatic
generation of your model.
Ted
--- On Wed, 10/10/12, Flavio Donadio wrote:
> From: Flavio Donadio
> Subject: Re: D2W - Problem with navigation
> To:
in the sample code.
>
> So, pretty much it's a new, almost unmodified Wonder D2W app.
>
>
> Cheers,
> Flavio
>
> On 10/10/2012, at 08:59, Theodore Petrosky wrote:
>
>> do I understand you created a NEW wonder D2W app, did no editing and when
>> you ran
rned on success in the sample code.
>
> So, pretty much it's a new, almost unmodified Wonder D2W app.
>
>
> Cheers,
> Flavio
>
> On 10/10/2012, at 08:59, Theodore Petrosky wrote:
>
>> do I understand you created a NEW wonder D2W app, did no editing and when
>
also, did you view the d2w podcasts? those tutorials are great.
--- On Wed, 10/10/12, Flavio Donadio wrote:
> From: Flavio Donadio
> Subject: Re: D2W - Problem with navigation
> To: "Theodore Petrosky"
> Cc: Webobjects-dev@lists.apple.com
> Date: Wednesday,
so it was not a 'virgin' new D2W app.
i would try that. select new D2W wonder app. then run. do nothing else. do not
add any other frameworks, nor models.
it should work.
--- On Wed, 10/10/12, Flavio Donadio wrote:
> From: Flavio Donadio
> Subject: Re: D2W - Problem with
code.
So, pretty much it's a new, almost unmodified Wonder D2W app.
Cheers,
Flavio
On 10/10/2012, at 08:59, Theodore Petrosky wrote:
> do I understand you created a NEW wonder D2W app, did no editing and when you
> ran the app you received these errors?
>
> --- On Tue
do I understand you created a NEW wonder D2W app, did no editing and when you
ran the app you received these errors?
--- On Tue, 10/9/12, Flavio Donadio wrote:
> From: Flavio Donadio
> Subject: D2W - Problem with navigation
> To: Webobjects-dev@lists.apple.com
> Date: Tuesday, Oct
It would need to be in your Session class.
David
On 2012-10-09, at 6:31 PM, Flavio Donadio wrote:
> Hello, folks!
>
>
> I am trying to create a simple app to practice with D2W, but I'm getting an
> error with NavigationMenu.plist. The relevant part of the file is:
>
>> {
>>
Just to add some info...
I can say for sure that the culprit is the line:
children = "session.navigationRootChoice";
I am looking at the ERXSession class reference and can't find any member or
method called navigationRootChoice.
Is the tutorial wrong or am I missing something? My insta
Hello, folks!
I am trying to create a simple app to practice with D2W, but I'm getting an
error with NavigationMenu.plist. The relevant part of the file is:
> {
> name = Root;
> directActionClass = DirectAction;
> directActionName = default;
>
Robert, Woops! That did it (the diamond right). I guess that generates classes for each attribute?Thanks,-dustinOn Aug 18, 2006, at 3:40 PM, Robert Walker wrote:Dustin,You aren't using inheritance by chance are you?From:http://developer.apple.com/documentation/WebObjects/UsingEOModeler/4WorkingWi
Dustin,You aren't using inheritance by chance are you?From:http://developer.apple.com/documentation/WebObjects/UsingEOModeler/4WorkingWithAttributes/chapter_4_section_3.html#//apple_ref/doc/uid/TP30001018-CH204-BABBEBAIAllows NullBy default, attributes you add to entities allow null values, except
Hello All,
So I have a foreign key that does not allow nulls and the
relationship to the primary is Mandatory. When I run the direct to
web app and create a new record D2W comes back telling me that the
foreign key does not allow nulls and will not save the record. If I
allow nulls on
40 matches
Mail list logo