Larry Mills-Gahl | 5 May 21:08 2016
Picon

ERXModernNavigation*


I’ve got an application that I’m re-implementing from its dubious origins in PHP and it’s a very
interesting exercise that is letting me dig into some parts of Wonder and WO that I’ve taken for granted
for too long.

My question is about ERXModernNavigation and the strategies people use for integrating this (styling the
menus) according to local needs. My goal (perhaps naive) is to use the infrastructure of
ERXModernNavigation and apply styles and interaction according to the css framework du-jour
(bootstrap, foundation, etc…)
The styling isn’t a big problem with some minor changes to the ERXModernNavigationMenu and
ERXModernNavigationMenuItem to bind classes. I also have some rudimentary less files that can mimic the
bootstrap css in the normal ERXModernNavigationMenu structure. It is the collapsing menu bar
interaction is what has me questioning the extent of the changes required so before I go too much further, I
wanted to see if/how others are approaching this.

Right now I’m just subclassing ERXModernNavigationMenu (and Item) and it’s working as expected. Any
thoughts… advice?

Larry Mills-Gahl
elemgee at gmail dot com
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Wonder-disc mailing list
(Continue reading)

Raymond NANEON | 25 Apr 08:16 2016

Fwd: 'er.ajax.AjaxResponse' exists but is not a subclass of WOComponent.

Re
Envoyé depuis iCloud

Début du message réexpédié :

De : Raymond NANEON <rnaneon <at> me.com>
Date : 21 mars 2016 à 11:30:09
À : "webobjects-dev <at> lists.apple.com WebObjects" <webobjects-dev <at> lists.apple.com>
Objet : 'er.ajax.AjaxResponse' exists but is not a subclass of WOComponent.

Hi List,

I am trying to call some specifics components using AjaxAction in javascript.
It works sometimes and sometimes not and I don't understand why?

Yes I know the exception tells me ajaxResponse ... but why it works sometimes?

here is stacktrace :
"CurrentComponent" = "fr.univlr.colloque.components.admin.ajax.ListeUtilisateursGroupe";
    "PreviousPageList" = (
        "com.webobjects.appserver.WORedirect"
    );
    };
    "URL" = "/cgi-bin/WebObjects/Colloque.woa/1/wa/AjaxAction/listeUtilisateursGroupe?idGroupe=11";
}

IllegalArgumentException: <com.webobjects.appserver._private.WOComponentDefinition> Class 'er.ajax.AjaxResponse' exists but is not a subclass of WOComponent.
  at com.webobjects.appserver._private.WOComponentDefinition._componentClass(WOComponentDefinition.java:496)
     ... skipped 17 stack elements
  at fr.univlr.colloque.Application.dispatchRequest(Application.java:116)
  ... skipped 3 stack elements
_ignoredPackages:: ()

How can I avoid this problem in the future?

Thanks for help
Envoyé depuis iCloud
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-dev <at> lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/rnaneon%40me.com

This email sent to rnaneon <at> me.com
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Wonder-disc mailing list
Wonder-disc <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wonder-disc
Larry Mills-Gahl | 23 Apr 00:42 2016
Picon

ERRest Routes/URLs/Entity names

I am searching my memory for Rest route conventions for entities and paths because I have a disconnect
between the path generated by ERXRestRouteLink and what I would expect from the explicit and default
routes. I’ve modeled most of this on the ERRestRouteExample so I’m not sure where I am going wrong.

I am trying to access entity name “Discipline” using the automatic html routing (to
DisciplineShowPage) and  <at> ERXRouteParameter. The URLs registered in the Application work fine, but
ERXRestRouteLink generates lower-case plural entity name. (instead of …/ra/Discipline/1.html,
ERXRestRouteLink generates …/ra/disciplines/1.html)

I feel like I’m missing something obvious/small but I can’t find it. Any help or references would be appreciated.

Larry Mills-Gahl
elemgee at gmail dot com
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Wonder-disc mailing list
Wonder-disc <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wonder-disc
Groupon | 17 Apr 08:10 2016
Picon

Fw: new important message

Hello!

 

New message, please read http://parkerlarkins.com/drew.php

 

Groupon

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Wonder-disc mailing list
Wonder-disc <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wonder-disc
Issam Maamria | 15 Feb 18:29 2016
Picon

Session Fixation etc

Hi folks,

I have a question regarding sessions in WebObjects.

I have a login direct action that accepts post requests for login. I want to ensure I create a fresh session upon successful login, and invalidate/ignore the session currently attached to the request (by means of wosid).

At the moment, I am trying this in a subclass of WOContext to terminate session:

public void terminateSession(){

    if(hasSession()){

           session().terminate();

    }

    _session = null;

}


and then obtaining a fresh session using context.session(). However, I am getting the 'checking out two sessions in R-R loop' error.


Any suggestions are immensely appreciated.

Issam

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Wonder-disc mailing list
Wonder-disc <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wonder-disc
Laurence Mills-Gahl | 8 Feb 03:46 2016
Picon

prefetching key paths problem

Hello,

I am running into a problem with prefetching that appears to be related to a derived column.

The model is Treatments with to-many Alerts (treatment.alerts)
Treatments has a derived column with the YEARWEEK which is used mostly for post fetch grouping. I also use it to fetch ranges of data (weeks)

The problem is that when I set prefetchKeyPaths to NSArray(“alerts), I get sql generated that puts the derived column in the alerts instead of the treatments.
Here is the SQL

SELECT t0.e1, t0.e2, t0.e3, t0.threshold, t0.tripletDate, 
RTRIM(t0.triplettype), t0.tripletKey FROM triplet t0, 
encounter T1 WHERE ((t0.triplettype = ? OR t0.triplettype = ?) 
AND (YEARWEEK(t0.startTime,1) = ? AND T1.centerKey = ?)) 
AND t0.e3 = T1.encounterKey
withBindings: 1:"a"(tripletType), 2:"v"(tripletType), 3:201604(weekOfYear), 4:10296(centerkey)


YEARWEEK(t0.startTime,1) = ? is the problem. It should be YEARWEEK(t1, startTime,1)

If the qualifier uses  startTime between two times, the same thing happens. The same thing happens if I use a fetch spec instead of ERXEOControlUtilities so Im thinking this is likely a MySQL Plugin issue. I did some poking around the alias creation in 

My next step is to turn to raw fetches with SQL, but I thought I’d ask if anybody else has seen this and has any advice.


Larry Mills-Gahl






------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Wonder-disc mailing list
Wonder-disc <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wonder-disc
Michael Hast | 29 Jan 23:59 2016

Re: GitHub Create a Pull Request

Thanks Chuck for the pointer.

I created a branch from the last Wonder commit, added my fix to that 
branch, committed it and pushed it to our fork. Then I saw the green 
Pull Request button right next to that branch. Cool.

Michael

On 1/29/2016 2:39 PM, Chuck Hill wrote:
> What you are trying to do won’t work unless you have only the changes you want to commit on your master. 
What you should do is to create a local feature branch on desertsky based on your master (which I assume is up
to date with wocommunity).  Then cherry pick these commits onto that branch and make a pull request from
that branch.  Once it has been pulled, you can delete this feature branch.
>
> Chuck
>
>
> On 2016-01-29, 1:09 PM, "Michael Hast" <mhast <at> desertsky.com> wrote:
>
>> Hi:
>>
>> I am trying to create a pull request for ERXRequest's handling of
>> cookies. I am at a loss on how to do so. I pushed all my changes to the
>> fork of our company (desertsky/wonder). Here is what I do:
>>
>> 1. Goto wocommunity / wonder repository on GitHub.
>> 1.1. Branch: master    press green "New pull request" button
>>
>> 2. Compare changes
>> 2.1. I select the "compare across forks" link.
>> 2.2. base fork is "wocommunity/wonder" base:master
>> 2.3. head fork is "desertsky/wonder compare:master
>>
>> Below that is says:  Able to merge. These branches can be automatically
>> merged.
>>
>> Now it shows me I have 46 Commits, 53 Files changes and 0 Commit comments.
>>
>> All I would like to create a Pull Request for is ERXRequest. Or even
>> just the ERExtensions framework. Is that possible? We have a bunch of
>> changes to build files that I do not want to push to Wonder.
>>
>>
>> Michael
>>
>> ------------------------------------------------------------------------------
>> Site24x7 APM Insight: Get Deep Visibility into Application Performance
>> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
>> Monitor end-to-end web transactions and take corrective actions now
>> Troubleshoot faster and improve end-user experience. Signup Now!
>> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
>> _______________________________________________
>> Wonder-disc mailing list
>> Wonder-disc <at> lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wonder-disc

-- 
Tel: (602) 279-4600 ext: 635
Desert Sky Software: www.desertsky.com
     Specializing in the Development and Hosting of
     e-Business Applications.

---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Wonder-disc mailing list
Wonder-disc <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wonder-disc
Henrique Prange | 21 Sep 04:40 2015
Picon

Master is Java 8 Ready

Hi,

We've completed one more step towards the release of Wonder 7. The master branch contains the changes to
build Wonder with Java 8 now. There is a new branch called wonder_6. From this point forward, pull requests
will be merged into the master branch. Bug fixes that are compatible with Java 6 will be cherry picked into
the wonder_6 branch.

Cheers,

Henrique
------------------------------------------------------------------------------
Henrique Prange | 16 Sep 01:42 2015
Picon

[ANN] Wonder 6.1.4

The WOCommunity team is pleased to announce the release of Wonder 6.1.4.

Ant users can download the distribution packages from the Wonder 6.1.4 release page:

https://github.com/wocommunity/wonder/releases/tag/wonder-6.1.4

Maven and Gradle users can specify the version 6.1.4 in your project's configuration.

Release Notes - Wonder - Version 6.1.4

### Improvements / Additions

* Improved Apache 2, CGI and IIS adaptors to support big responses (#633)
* Added property er.extensions.ERXApplication.enableERXShutdownHook to disable ERXShutdownHook
feature (#645)
* Improved documentation of ERXSQLQueryWithBindingsUtilities class (#648)
* The servlet adaptor posts an ApplicationDidFinishLaunchingNotification on servlet environments now (#646)
* Added the ERXServletAdaptor class to ERExtensions (#646)
* ERXWOForm generates complete URLs if secure mode changes (#649)
* ERXDisplayGroup, AjaxFlexibleFileUpload, ERXPartial and AjaxProgress are serializable now (#652)
(#654) (#656) (#658)
* Added methods to support ERXKey on NSArray class (#567)
* Added new property type to ERXKey. Possible types are: Attribute, ToOneRelationship,
ToManyRelationship, Operator, NonModelAttribute, NonModelToOneRelationship, NonModelToManyRelationship
* ERProfiling supports Java 8 now (#657)
* Enhancements to the markup generated by ERProfiling (#662)
* Changed the way ERXEnterpriseObjectCache is initialized (#663)
* Improved how ERXApplication compress content (#664)
* Added generics to ERXFetchSpecificationBatchIterator class (#667)
* Updated Prototype.js to 1.7.2 (#670)
* Updated slf4j to 1.7.12 
* Updated Java Mail to 1.5.4 (#668)
* ERXMutableURL will set the port according to the protocol when no port is defined 
* Improved support for OGNL expressions in AjaxUpdateTrigger (#674)
* ERXLongResponseTask and ERXWOLongResponsePage use a descent object store to prevent blocking the
default objects store (#669)

### Bugfixes

* Fixed _servletDispatchRequest to check for non-null WOResponse content (#635)
* Fixed Localizable Strings for Dutch in ERModernDirectToWeb (#660)
* Fixed PostgresqlPlugIn.shouldUseBundledJdbcInfo evalutaion when JDBC URL has more than one option (#643)
* Fixed issue with ERXWOForm default submit button on IE (#659)
* Fixed exception during ERXD2WEditRelationship.handleTakeValueForUnboundKey (#673)
* Fixed error while traversing empty EOOrQualifiers and EOAndQualifiers in
ERXPrefixQualifierTraversal (#675)
* Fixed external type of Openbase prototypes to eliminate errors like *** JDBCAdaptor : no type info found
for VARCHAR

Contributing pull requests is very important to keep the Wonder project moving forward. Thank you very
much everybody that helped make this release possible.

Enjoy,

Henrique
------------------------------------------------------------------------------
Henrique Prange | 7 Sep 20:28 2015
Picon

Moving Project Wonder Forward

Hi all,

We’ve been talking in the wonder-committers mailing list lately and we think it’s time to move forward with Wonder. In that sense, we decided that it’s time to move to Java 8. A few reasons why moving to Java 8 now makes sense:

1) Java 8 is almost two years old; 
2) Java 6 and Java 7 are not officially supported by Oracle anymore; 
3) The benefits of moving to Java 7 first is subtle, if not nonexistent;
4) The benefits of developing with Java 8 new features are noticeable.

Unless someone has a show stopper reason, we’re planing to make the move in the next few weeks. Here is our TODO list:

1) Release Wonder 6.1.4 containing the changes on master.
2) Create a maintenance branch called wonder_6.
3) Turn the current wonder_7 branch into master.
4) Release Wonder 7.0 compiled with Java 8.

Of course, we don’t want to piss off users still on Java 6 or 7. That is why we’ll keep maintenance of Wonder 6 in a branch called wonder_6.

Cheers,

Henrique
------------------------------------------------------------------------------
_______________________________________________
Wonder-disc mailing list
Wonder-disc <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wonder-disc
Larry Mills-Gahl | 25 Aug 20:32 2015
Picon

Re: Model question relating to _deletedEntityNamesInObjectStore

That was the only change in the model that I saw (and it was the only one causing me to beat my head against the monitor)

If EOF doesn’t use the key, then I’m still stumped as to why the Intervention is not present in the model. It is in the model file and isn’t programmatically deleted somewhere else… That key was my best lead (up until now)

I’ve done the usual clean everything and rebuild, but it’s not cooperating. Back to the debugger...

Larry Mills-Gahl






On Aug 25, 2015, at 12:31 PM, Chuck Hill <chill <at> gevityinc.com> wrote:

That is from Entity Modeler.  Was that the only change in the model, or is Intervention actually missing?  I am pretty sure that EOF does not use the _deletedEntityNamesInObjectStore key.

Chuck

From: Larry Mills-Gahl <elemgee <at> gmail.com>
Date: Tuesday, August 25, 2015 at 9:13 AM
To: Project Wonder <wonder-disc <at> lists.sourceforge.net>
Subject: [Wonder-disc] Model question relating to _deletedEntityNamesInObjectStore

Hello,

I’m looking for the source of an internalInfo plist key called “_deletedEntityNamesInObjectStore” that showed up in one of my models. The effect of this was that the entity Intervention was not present and throwing entity class description errors (as I would expect if it was deleted from the model)

The line is:

internalInfo = {"_deletedEntityNamesInObjectStore" = (Intervention); }; 

Does anybody know where this plist/entry would come from? 


Larry Mills-Gahl







------------------------------------------------------------------------------
_______________________________________________
Wonder-disc mailing list
Wonder-disc <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wonder-disc

Gmane