The Artima Developer Community
Sponsored Link

Java Buzz Forum
RE: WebWork Fun

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Jason Carreira

Posts: 24
Nickname: jcarreira
Registered: Jul, 2003

Jason Carreira is a Software Architect for Notiva Corp.
RE: WebWork Fun Posted: Sep 2, 2003 12:25 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Jason Carreira.
Original Post: RE: WebWork Fun
Feed Title: Jason Carreira
Feed URL: http://sedoparking.com/search/registrar.php?domain=®istrar=sedopark
Feed Description: Personal Aggrandizement
Latest Java Buzz Posts
Latest Java Buzz Posts by Jason Carreira
Latest Posts From Jason Carreira

Advertisement

Bernard Choi writes:
Been spending the last few days exploring WebWork2... having great fun and deeper apprecation for their work done. And makes my job so much easier. Now, to evangalise the framework to the rest of my team... For those who have not tried it, I say give it a go. It's still a little scratchy now, but do remember it's still a beta. I might come up with a simple example later on, one concern is that I might document some mistakes. But hey, no embarassment, no gain. I've been having some problems, but somehow they ended up being my design problems. So far, I've misused the interceptors, misused the components, did a "dispatcher" when I should have done a "chain"....

Currently facing one killer, apparently errors do not propogate across the action chains.

For example, I have ActionA and ActionB. ActionA returns INPUT which chains to ActionB. From ActionA, the errors are still visible, but when in ActionB, they seem to be cleared, and the result is rendered without displaying the errors. Not sure why... will have to take a deeper look into it. However, anyone who might have a clue to what I've done wrongly, please do help. Thanks in advance.

Thanks for trying out WebWork2!

The errors are not lost, but probably hidden. If the next Action also implements ValidationAware, then it will have its own error properties, so when you check the ValueStack for fieldErrors (using the Ognl expression language), it looks at the ones in your current action. I think what you can / should do is apply the ActionChainInterceptor to the Interceptors for the Action you're chaining to... This will copy all of the properties from the first Action to the next... I need to put this on the Wiki.

Read: RE: WebWork Fun

Topic: Ideas in the night: DevWiki and the Eclipse Web Tools Platform project Previous Topic   Next Topic Topic: Luxilla Site Now Live

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use