Couldn't you use a small bit of Javascript to implement this?
For example:
<script type="text/javascript">
function clickSquare(whichSquare) {
...
Type: Posts; User: Tom Hicks; Keyword(s):
Couldn't you use a small bit of Javascript to implement this?
For example:
<script type="text/javascript">
function clickSquare(whichSquare) {
...
In pattern-matching and backtracking languages (which implemented
flow-like control of execution) these states used to be called "fences";
once you went over/past the fence you couldn't go back.
...
Sure, but that pain could be/have been ameliorated by better documentation... something like the Upgrade document that you created previously for PR4.
Or a page on the SWF Wiki where users could...
Thanks for pointing me in the right direction Ross!
Comparing the source code shows that setupForm now does about what
exposeFormObject used to do. This looks like an overall simplification
and...
I'm in the middle of upgrading an application from SWF PR5 to 1.0.1,
which is proving very difficult, mostly due to a lack of documentation
on this process.
What happened to the exposeFormObject...
Just a thought.....
The transition keys sure look like Strings. Have you tried altering
the method to return Strings instead of the actual enum value?
public String...
Thanks Erwin!
That's exactly what I was looking for.
-tom
OK, but I think there's a good question here.
How does one end a flow (so that it cleans up) and
leave for another page?
What I need to do is to terminate the flow and
jump out to a more...
Thanks guys!
I had not seen the updated documents and I think I'm on the right track now.
regards,
-tom
Thanks for the quick response.
Your definitions are a good starting point but a little vague.
For instance what does 'clicking a button and
receiving a response' mean? Any HTTP response...
Where can we get a clear definition of Request Scope vs. Flow Scope?
I can't find one in any of the documentation that says how these
relate to each other, how they relate to Servlet scoping,...
As you are cutting PR5 it would be nice to have the Javadoc for the API
again; it seems to have been omitted from PR4 (and I can't find
anywhere to download it on the website). Thanks.
You would use Bean creation via static factory method Here is an example:
....
Calling the bean
String args[3] = { "prop1 value", "prop2 value", "prop3 value" };
MyObject obj =...
Thank-you...I think this is the correct solution to my
specific architectural problem.
Of course I would still like to know the answer to the general question
"How can I pass parameters into the...
I appreciate your thoughts but I think perhaps we are getting sidetracked.
My basic question relates to the BeanFactory. The BeanFactory allows us
to statically specify dependencies for our...
Ah Gustavo, I must apologize for omitting to tell you that I was, indeed,
talking about domain objects, not service objects.
My question is general but imagine, as an example, that we have many...
I'm sorry to be slow but I don't understand your answer.
OK, but I was planning to provide these arguments at runtime,
as I created the bean. That's why I wanted to provide them
directly to...
Jing Xue,
Thanks for the reply. This sounds very good but
how is it done?
The only example I have of using a factory bean
comes from the book ProSpring. It shows how
to create a factory for...
Gustavo,
Thanks for the reply and the interesting suggestion.
If I understand your answer, it would seem to incur
a lot of overhead: two beans for every one I really
want. I've always been...
Am I correct in assuming that Spring does not allow a bean to be
partially configured using dependency injection and then completed
by construction? That is, can one specify some dependencies for...
Interesting...I didn't make any mods to JdbcTemplate, so I wonder
if I missed something that I should have changed. I'll have to look
at 1.1.5 but I just can't get to it for awhile
My changes...
I've just made some modifications to the Spring 1.1.4 code to allow the
setting of maxRows within the MappingSql hierarchy of classes.
(since it's absolutely crucial for my application). It...
Great suggestion, thanks.
I hope that others who are using displayTag will see your post
because displayTag is doing a lot of useful work with very little
effort on my part. Thanks again,
...
Thanks for thinking about this with me Chris! It really
helped me to proceed in the right direction.
Your suggestion seems so obvious (in 20-20 hindsight!) that I was
chagrined that I hadn't...
I've been looking at the Controller hierarchy for days, trying to figure
out how to retain the query form onscreen while also displaying the
results of that query.
Which controller has the...