To everyone in the Spring Rich community:
I want to apologize for my lack of participation lately. On top of moving from New York to Austin, and taking a new job, the universe decided that I...
Type: Posts; User: lstreepy; Keyword(s):
To everyone in the Spring Rich community:
I want to apologize for my lack of participation lately. On top of moving from New York to Austin, and taking a new job, the universe decided that I...
The issue is not as simple as making the AWA interface work in the entire context. The reason is that command instances are unique to a window (and thus can have a specific application window...
Here's an example that makes a field read-only:
FieldMetadata md = getFormModel().getFieldMetadata( "propertyName" );
md.setReadOnly( true );
Now, the binding will properly set the UI...
Instead of directly manipulating the created component, you should look at setting the field metadata to mark the field as read-only. When that is done, any bound control will disallow editing.
...
This is an important topic. I ran into some serious limitations with the current event dispatch mechanism when working with non-singleton components defined in the application context.
I would...
The main reasons stem from the number of objects that would need to have services injected into them. In a complex UI, it could literally be hundreds of objects - it's not reasonable to require DI...
There's no way to determine runtime size from the size of the jar files. Depending on the features you use, your runtime size will vary a great deal.
I haven't taken a look, but you could...
Sorry, look at org.springframework.richclient.image.Handler
Larry.
Maybe I'm missing something in your question, but since this is a rich client you hold objects by just referencing them. The whole session model of a servlet is to allow it to support multiple client...
Agreed, the JLabel solution isn't terrific, but works well for simple derived values.
Larry.
Currently, there is no builtin support for "synthized" fields. It's something that I've been wanting to add to Spring Rich for some time, but it has never made it to the top of my list.
The...
It's in ImageHandler
Larry.
Although it's not already done, you should be able to roll your own by implementing a specific PropertyAccessStrategy and having the form models use it instead of the default...
Ok, so after you do a "mvn install" take a look in your local repository. Do you see this directory:
org/springframework/richclient/spring-richclient-archetype/0.2.0-SNAPSHOT
If not, then...
I don't know why you are messing around with setReadOnly on the property metadata, but that seems odd.
It does look like you are committing the form model in the search action handler, which...
Most of this work is basic swing. In your command executor you'll need to get the form control and then place it somewhere in the layout of your view. Look at the getControl method on the form...
Unfortunately, the major components are not independent of each other. We have a goal of making them as independent as possible over time, but as of right now, there is no easy way to do this.
...
Yuor best approach is to study the two sample applications. They provide good examples of how to perform almost all basic operations in Spring Rich.
Larry.
The Wizard interface defines the method canFinish(). The WizardDialog tests this method to enable/disable the finish button.
Take a look at WizardDialog.updateButtons for the details.
Larry.
Have you done a "mvn install" in the top level project? This is required to build the archetype and install it for use.
Larry.
It's the incantation needed to get the application context reference from within the lifecycle listener.
Larry.
Sorry, but there are no released samples that include the master/detail forms since they are not in the core yet. I have not had the time to generate the unit tests required before I can promote...
The archetype is synched with the latest development code. The application services definition generated should look like this:
<bean id="applicationServices"...
Hi Alex,
You forgot to include the platform messages.properties file. Here's the messageSource configuration from the simple sample:
<bean id="messageSource"...
Unless you've done something odd, those messages should come from the messages.properties file that is part of the Spring Rich distribution.
How did you configure your message source in the...