American Stock Market - Press Release...
True Health - TRHL - Retains Sky Investor Relations
BECKENHAM, England---PRNewswire---True Health, Inc, (OTC Bulletin Board: TRHL) an
emerging leader in healthcare recruitment and pressure relieving systems, announces
that it has retained the investor an
I've just checked in the code for PreResultListener to XW/WW2... No
changes to Interceptor base classes, etc... You guys try this out and
see how you like it and how you're using it.
PreResultListener is an Interface, with one method:
void beforeResult(ActionInvocation invocation, String resultC
Scratch my last comment; your example is exactly what I had in mind as a new
superclass to use for this kind of functionality. I think such a superclass
would be a great addition to the framework, though it would have to be
documented very well so that the difference between before, beforeResult,
a
This would explain why I wasn't able to reset the object at the top of the
stack in an "after" call and see the results. +1 from me for this
functionality. Though perhaps the "AroundInterceptor" should be modified or
extended so that there's something as simple to use as it is now, with
specific "b
That's consistent with numbers I've found in migrating one app from 1.3 to
2.0. I've always held out hope that this was just something that
optimization could take care of. In the meantime, my performance isn't
terrible, but it doesn't fly like it did in 1.3, either. Here's hoping the
optimization
I've finished the backwards support for the 1.3 EL and have migrated the
first mini-app over from 1.3 to 2.0 with almost zero effort: the
monthlist test.
I wanted to share the performance numbers:
* WebWork 1.3 scored 80ms
* WebWork 2.0 w/ old EL support scored 550ms
* WebWork 2.0 w/ new EL sc
No, it would be like this:
Public class MyInterceptor implements Interceptor, PreResultListener {
Public String intercept(ActionInvocation invocation) {
invocation.addPreResultListener(this);
String result;
before();
result = invocation.invoke();
after();
return result;
}
Pub
Does anyone mind if I modify the XWorkBasicConverter to allow nulls for
empty string Booleans (not booleans)
Since if you have a Boolean action property.. you really have a tri
state representation
If you want a two state, use the primitive boolean, and nulls will
become false.
How does that so
+10 for me for implemeting PreResultListeners.
It is something that I asked for a long while ago.
I think that xwork interceptors are a little strange since they don't
intercept JUST the execute method call. because the result is executed
before the interceptor finishes.
Cameron.
Francisco He
so let me get this straight with PreResultListener would be able to have
interceptors work before/after execute before the Result gets called?
that way we can have a flow like this using regular interceptors and
also PreResultInterceptors:
before0
PreResultbefore1
PreResultbefore2
execute
PreRe
Title: Message
If
anyone has any _javascript_ validation libraries, it should be pretty easy to find
out what the field validations are for each field...
-Original Message-From: John Patterson
[mailto:[EMAIL PROTECTED] Sent: Thursday, November 13,
2003 5:45 PMTo: WebworkSub
I recall something about an extension to the
validation framework that would generate client side _javascript_. Does
anybody else? I am wanting to generate html forms dynamically that
integrate with WW2's validation framework (server and client side). I
would interested in seeing how othe
Just set your property type to String[] instead of String and it will
set it automatically...
> -Original Message-
> From: Morten [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 13, 2003 1:46 PM
> To: [EMAIL PROTECTED]
> Subject: [OS-webwork] WW 1.3, setting multiple values for
> sa
Hi,
Given the URL hello.action?key=aa&key=bb&key=cc is it possible
to retrieve the array {"aa", "bb", "cc"} somehow in the action
bean without resorting to manually working with the request object?
Is there support for arrays during the introspection?
Thanks,
Morten
---
If others don't have a problem with it, I can implement this tonight...
> -Original Message-
> From: Daniel Pfeifer [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 13, 2003 11:50 AM
> To: '[EMAIL PROTECTED]'
> Cc: Jason Carreira
> Subject: RE: [OS-webwork] Problems with code after
>
Well, in our environment we encountered several cases where we would need to
set specific values. As we have deadlines for our current project such a
solution would be needed soon. I would even contribute to the project with
such a PreResultListener but need some hints how I could accomplish this.
Well, the problem is as following.
The Component Interceptor looks up if an instance of a certain class is in
the session. As it doesn't find an instance it will create an instance of it
and put it to the session.
As the flow continues he finally arrives at his action class. In this action
he ret
Yes, this is the intended behavior.
The issue is that Interceptors are stateless, so you can't do:
Intercept() -> before -> execute -> after
Dispose()
Because your Interceptor can't keep request specific state to be
disposed in another call...
I'm wondering if it would be a good idea to have an
I didn't understand all of that, but yes, your object will need to go
into the HttpSession if you want to reuse it...
> -Original Message-
> From: Mathias Berg [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 13, 2003 11:13 AM
> To: WebWork (E-mail)
> Subject: [OS-webwork] Component
Since your objects (demo.countries) are ones that have a getKey() and
getValue() method pair, you should be all set. What are you getting
instead?
-Pat
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Mathias Berg
Sent: Thursday, November 13, 2003 12:16 AM
Hi, We have some problem with our component settings. It seems that our
component object that is loaded from our Database is replaced by another
object when we submit our form.
This how it goes.
1. We access the action and the action load a transport (Session Aware
object )object from the database
I am currently having trouble with a custom interceptor. The Interceptor is
supposed to determine which values to set on the ValueStack by the
resultstring it receives from actionInvocation.invoke(). The problem is:
Once actionInvocation.invoke() is executed the whole flow is executed, even
the Ser
I checked again and in fact the messages of the FIRST action in the chain
which implements
public void setActionMessages(Collection messages)
{
m_actionMessages = messages;
}
public Collection getActionMessages()
{
return m_a
The first action SHOULD be on the stack and be available for the view
page... If it's not, please log a bug in Jira.
> -Original Message-
> From: Olaf Bergner [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 13, 2003 7:40 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [OS-webwork] [WW2] Ho
Parent would be a tough keyword to lose... You could never have a
"parent" property with getParent...
> -Original Message-
> From: Francisco Hernandez [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 13, 2003 4:40 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [OS-webwork] Conversion, UI t
No, I think it's really a case of chained actions. I have one action that
get's called every time the "user form" is displayed in order to populate it
with the pertinent information, i.e. the list of all users. I have got some
other actions that handle deleting, creating and editing users. So if a
you need to specify a value attribute, with a list of keys that are to
be selected
Mathias Berg wrote:
Hello all! I got a problem with webworks select tag. I cant figure out how
you can make a multiple select box with values that are...multiple selected
when you load it on load of the view.
This
I'm not sure I follow this. The update I made was yesterday off of a CVS
update from the day before. If the render stuff isn't called, how do the
custom velocity directives work? This is a question based on some ignorace
about how velocity itself works in conjunction with webwork.
Couldn't the jsp
having a .. would be great, but how about calling it parent instead of prev?
Patrick Lightbody wrote:
1) Yes, the "new" form (actually old) is here to stay.
2) This is a known issue and has been logged against XWork and will be
fixed ASAP.
3) use fieldValue -- except I recall that's not checked in
Ah, now I see. Most of my data access methods take the existing object and
save it via hibernate, which means that the saved or added object would be
the same object instance as the model object. In that case, the object ref
on the stack is the same as the one handed back via the data access method
Presumably there are two working ways. The first is by placing a vm file in
/template/xhtml, the second is by pointing out an own template via the
template parameter.
/Daniel
-Original Message-
From: Mathias Berg [mailto:[EMAIL PROTECTED]
Sent: den 13 november 2003 09:35
To: '[EMAIL PROTE
Don't you override ww template by placing your own vm file in your webapp
catalog. Like [webapp]/template/xhtml/select.vm
/Mathias.
-Original Message-
From: Patrick Lightbody [mailto:[EMAIL PROTECTED]
Sent: den 13 november 2003 04:46
To: [EMAIL PROTECTED]
Subject: RE: [OS-webwork] overrid
Hello all! I got a problem with webworks select tag. I cant figure out how
you can make a multiple select box with values that are...multiple selected
when you load it on load of the view.
This it how it looks.
demo.countries returns a list containing objects which have a key and value
methods.
33 matches
Mail list logo