lol sorry...yes its exactly like that. Basically my setup is that I have a base Action class which has that service lookup method. Then I spawn off a bunch of Action classes which extend that base...
Type: Posts; User: raydawg; Keyword(s):
lol sorry...yes its exactly like that. Basically my setup is that I have a base Action class which has that service lookup method. Then I spawn off a bunch of Action classes which extend that base...
well i have the above code inside a method....and when I call it I used something like this
FacultyService facultyService = (FacultyService)getService("facultyService");
which part of the...
for some reason I am able to retrieve single objects just fine and use them in my code....but when I retrieve an Iterator then I get that problem. And by looking at the single object in my debugger...
Man i cannot figure this out....here is my configuration for a service and TX manager...can you please take a look.
<bean id="txManager" ...
This isn't a OpenInViewSession issue, my query ResultSet is being closed right after I retrieve the data and I cannot access it. Currently I am injenct DAO's into services, then calling the service...
I was wondering if there was a way to use multiple validators on a single form? The reason is that I like the ability to in inject service layer beans into my FormAction for database access, but...
how did you define your global transition?
yea so you can get the flowscope object out of the requestContext
are you sure that the library was included in your classpath when you compiled your app? as far as i know even if you have the jar file in the lib folder, if it wasn't included in the compile then...
do you mean global to your flow, or global to your whole system? if its a global flow variable you should be able to access it by grabbing the flowScope object from the RequestContext
Ok im having a problem with state transitions. In my view page I have a link defined as this
<a href="/gradrsvp/rsvp/k/${flowExecutionKey}?_eventId=update">Update</a>
so that works fine and...
what kinda of stuff are you trying to retrieve?
you can do stuff like
<% request.getContextPath(); %> and retreive session/request information. you can probably get scope information as well...
thats probably why, initialize a flowscope variable and set it to NULL.....see if that works.
was param2 even initialized to be null? does it actually exist in the flow scope?
since MyFaces is your actual application framework maybe this would help
http://wiki.apache.org/myfaces/Handling_Server_Errors
what does your refresh button do exactly? meaning like does it call a state in your flow, does it just reload the page, etc....
I think you might have better luck trying to do it yourself and then asking for help when you get stuck. when you do get stuck post any related code and exceptions/problems you are recieving
is the style sheet even being loaded? can you use other things from the style sheet on your pages or is it just images?
hmmm....yea can't help you there. but the logic should be the same. override the existing existing exception handler and in that code, find a way to redirect the user view after throwing the...
exceptions or any other infromation that might help with troubleshooting? just saying it doesnt work doesn't help much....
((ServletExternalContext)context.getExternalContext()).getResponse()
is value1 definied in your flow somewhere? are you getting any kind of exceptions or what happens?
I made a custom exception hanlder by extending SimpleMappingExceptionResolver and overriding the resolveException method. Then by looking for and catching the NoSuchConversationException I used the...
nevermind i figured it out :)
how would this work if I DONT want restart the flow over again, and I just want to redirect to a specified flow.
For instace a user logs in, and the session times out. Currently if they try...