| From | Sent On | Attachments |
|---|---|---|
| Ken nashua | Feb 15, 2007 2:31 pm | |
| Ken nashua | Feb 16, 2007 8:50 am | |
| Ken nashua | Feb 16, 2007 10:12 am | |
| Kalle Korhonen | Feb 16, 2007 11:06 am |
| Subject: | Re: [trails-dev] Create Instance Editor - refresh broken | |
|---|---|---|
| From: | Kalle Korhonen (kall...@gmail.com) | |
| Date: | Feb 16, 2007 11:06:03 am | |
| List: | net.java.dev.trails.dev | |
Ken,
first of all, my name is Kalle. Secondly, I don't think you understand my changes. I only changed the interface of Interceptable entity (and the accompanying Interceptor) to allow additional processing in load, insert and update. If your Entity doesn't implement the interface Interceptable (aspect or not) it wouldn't make a difference. There's no "aspect code". AspectJ compiler works by changing the bytecode, so yes, it's debuggable, but the line numbers wouldn't match with your source that never had the aspect in the first place.
We are running a large number of Spring context aware functional tests, and I don't see any issues. I would assume it's something in your own code, and start debugging by reducing the numbers of factors, and testing if your code works with a simple entity first.
Kalle
On 2/16/07, Ken nashua <nhho...@hotmail.com> wrote:
I am afraid I take that back.
After deleting my trails trunk and performing a clean checkout/clean/eclipse:clean/install
The refresh worked ok when creating an entity that has no collections.
When attempting to create an entity that has collections, the refresh fails.
Kaosko, any ideas? Is aspect code debuggable? I guess the next place to look might be editPage.java:save/remove or collectioncallback.java
Best regards Ken in nashua
----Original Message Follows---- From: "Ken nashua" <nhho...@hotmail.com> Reply-To: de...@trails.dev.java.net To: de...@trails.dev.java.net, use...@trails.dev.java.net Subject: RE: [trails-dev] Create Instance Editor - refresh broken Date: Fri, 16 Feb 2007 11:50:51 -0500
Alright, I have an explanation for this one.
It was my overloaded *Edit.java, *Edit.html and *Edit.page files...
Kaisko's changes appear to be valid and my overloaded versions (which were temporary solution which implemented entity merge) were tripping things up. I deleted them and refresh works great now.
So for those who I recommended custom *Edit.java, *Edit.html and * Edit.page files...
The patch is in place and this solution is no longer needed.
Best regards Ken in nashua
----Original Message Follows---- From: "Ken nashua" <nhho...@hotmail.com> Reply-To: de...@trails.dev.java.net To: de...@trails.dev.java.net, use...@trails.dev.java.net Subject: [trails-dev] Create Instance Editor - refresh broken Date: Thu, 15 Feb 2007 17:32:02 -0500
Hi,
Wanted to see if anyone is seeing this behavior as I have not seens it since kiasko checked in new changes.
1. Create Entity 2. Hit ok
You go back to the list, but new entity is not there
Need to hit refresh button in order to get the new entity to display.
Any ideas?
Best regards Ken in nashua
_________________________________________________________________ FREE online classifieds from Windows Live Expo – buy and sell with people you know http://clk.atdmt.com/MSN/go/msnnkwex0010000001msn/direct/01/?href=http://expo.live.com?s_cid=Hotmail_tagline_12/06
--------------------------------------------------------------------- To unsubscribe, e-mail: dev-...@trails.dev.java.net For additional commands, e-mail: dev-...@trails.dev.java.net
_________________________________________________________________ Find a local pizza place, movie theater, and more….then map the best route! http://maps.live.com/?icid=hmtag1&FORM=MGAC01
--------------------------------------------------------------------- To unsubscribe, e-mail: dev-...@trails.dev.java.net For additional commands, e-mail: dev-...@trails.dev.java.net
_________________________________________________________________ http://homepage.msn.com/zune?icid=hmetagline





