I understand the FFIW part, but yes I believe programmatic log4j appenders are better suited for my scenario.
Thanks for all the answers :)
Type: Posts; User: hakimm; Keyword(s):
I understand the FFIW part, but yes I believe programmatic log4j appenders are better suited for my scenario.
Thanks for all the answers :)
Hi
I'm reading/processing entries from a flat csv file, and I need to write skipped entries and their corresponding exceptions to a specific file : something like...
Hi
I have a session-scoped bean named "foo", defined using <... scope="session"/> (not using spring2.5 @Scope annotations)
Whenever a new session is created, and the bean is used, I would like...
Hi
I am using the JaxRpcPortProxyFactoryBean to setup a client bean for an Axis2 web service. The JaxRpcPortProxyFactoryBean is currently using a setMaintainSession(true) to reuse cookies emitted...
Hi
I'm storing beans classes and applicationContext files in multiple jar files (all under app/WEB-INF/lib).
I need to be able to do a live refresh of beans/contexts, after overwriting one of...
Hello
Using Spring 2.5.3, if I define a httpInvokerRequestExecutor bean (for later use in a HttpInvokerProxyFactoryBean), with a HttpClient constructor-arg which has timeout values set for...
thank you !
I saw http://jira.springframework.org/browse/SPR-4175 , indeed ;)
Hi
I have a request scoped bean defined like this : <bean id="foo" class="xxx" scope="request" init-method="init"/>.
I'd like to set various properties of the bean inside the init() code, given...
Yea, super.equals(obj) was the root problem, I still don't really understand why, given that UITheme does not extend another class, it only implements Serializable.
The appenderSuper from...
Hi
You are missing spring-webmvc.jar, located in dist/modules of spring distribution.
The distribution readme.txt lists the available modules, MVC is one of them.
Jörg, my mistake... even if I still don't understand why, there is something insanely wrong with my :
UiTheme rhs = (UiTheme) object;
return new...
Well, my equals() is based on the theme "id" property, which is a Long, I'm not sure my equals is correct... is theme equality the trigger of selected="selected" attribute ? I don't understand how......
Hi Jörg.
You were right, removing itemValue changes getAsText getValue() behaviour, now the value is always a theme class instance, and not an id (id was a java.lang.Long, btw, not a String). My...
Ok, I've changed my select path, written a ThemePropertyEditor, registered it, and now the backingObject is populated correctly (I can see setAsText loads an UiTheme according to the id), however,...
well, I did not change initBinder, mine is :
@Override
protected void initBinder(HttpServletRequest request, ServletRequestDataBinder binder) throws Exception {...
krancour, pmularien, thanks, your solutions look much cleaner than my validator hack (I'm hiding the so-called error with white text on white background...) !
And yes krancour, this same issue...
Hi
I'm struggling with a fairly basic problem involving <form:select> tags within a <c:forEach> loop : the initial form display has the correct paths binding, but when I hit submit, the...
Yes, I wanted to avoid calling onSubmit on the first POST, otherwise it would return my successView url, which is not what I wanted to display, I wanted to display the form.
I solved this by...
Hi
I have a special usecase, where all my form controllers are currently called using a POST method, not a GET one : I'm building a Facebook application, and since by design it's called thru a...
Hello
I've managed to build a simple jsp application using spring mvc forms taglib, it works but some things are not entirely clear to me :
- is it ok to populate the formBackingObject with...
Yeah, it was quite confusing, sorry. I rewrote my whole initBinder code, introducing a dao and now having persisted albums in base, this was the intended goal anyway.
My binder now looks like :
...
Hi kajh,
Could you post your implementations of :
- dao.string2Id(idAsText)
- dao.getIdentifier(databaseObject) ?
Because I don't understand how you used T and PK generics !
thanks if...
Hi
I'm having troubles understanding the initBinder() usage, when trying to bind Lists to checkboxes and options.
My usecase : a list of albums, a list of themes. The albums should be displayed...
Hi
I'm having troubles defining url mappings, hope someone can help me :
I'm trying to match /callback/ to a bean named callbackController
I'm trying to match /callback/generate/ to a bean...
Hi
This may be a dumb question, but I'm not finding the answer in the documentation nor google :l
I have a user preferences bean with its scope set to "session", because I want it to be created...