Hi
Can anybody succeed to retrieve all commands available in commands-context.xml ?
Type: Posts; User: l_richy007; Keyword(s):
Hi
Can anybody succeed to retrieve all commands available in commands-context.xml ?
I have something strange
In commands-context.xml I have
<bean id="reportCommand" class="com.MyBeanCommand">
<property name="securityControllerId" value="adminController"/>
</bean>
In...
I have something strange
In commands-context.xml I have
<bean id="reportCommand" class="com.MyBeanCommand">
<property name="securityControllerId" value="adminController"/>
</bean>
In...
I found a solution
I rewrite the code bellow
package org.springframework.richclient.application.support;
import java.util.Set;
import javax.swing.JComponent;
I do not want to use Docking
I'm using Frame method
Regards
The link is fine but does not fit the pb I have
I want to be able to open multiple instances of a view.
REgards
Hi
I have in my richclient-application-context.xml
<property name="applicationPageFactory" >
<bean class="org.springframework.richclient.application.mdi.DesktopApplicationPageFactory"...
I fixed the pb
I can access values store in security using
SecurityContextHolder.getContext().getAuthentication().getPrincipal();
Hi
I store info in the "SecurityContextHolder"
i need these info in my View
Does Anyone know how to retrieve user info in the view ?
I have
<bean id="securityAwareConfigurer"...
I have
<bean id="securityAwareConfigurer" class="org.springframework.richclient.security.SecurityAwareConfigurer" lazy-init="false"/>
I have
public class MyView extends AbstractView...
Yes but you can access SecurityContextHolder only if you extends "ApplicationWindowAwareCommand", but I'm in a view wich extends "AbstractView"
I cannot access "SecurityContextHolder " in the view
I forgot to say that I'm using spring-rcp
Hi
I store info in the "SecurityContextHolder"
i need these info in my View
Does Anyone know how to retrieve user info in the view ?
Thanks for your help
richy007
It is nearly working
I use Abeille to build my Form and I try DateChooser and JXDatePicker
so I use
@Override
protected JComponent createFormControl() {
FormPanel formPanel = new FormPanel(...
I add
<bean id="binderSelectionStrategy"
class="org.springframework.richclient.form.binding.swing.SwingBinderSelectionStrategy">
<property name="bindersForPropertyTypes">
...
Hi
Which release do you mean ?
Do you have the link to that jars containing the class, I cannot find it on google
Thanks
Does anyone succeed to bind a JDateChooser or JXDatePicker
Trying binding it I always have an error
I'm using abeille forms and bindings from spring-richclient-suuport to make a form
I have a form with three radiobuttons in a single radio group button
("BLUE","RED", GREEN") I have to choose one...
I miss to add
<bean id="securityAwareConfigurer"
class="org.springframework.richclient.security.Sec urityAwareConfigurer"
lazy-init="false"/>
Now, it is working, thanks for you jelp
I'm using spring-security for allowing access to my application with a login Form
In command-context.xml
I add
<bean id="myCreateCommand" class="com.xxx.MyCommand">
<property...
I would like after the login form to be able to "greyed" or to hide some menuitems in the menubar.
Is there any possiblities to disable or hide menuitems in the menuBar ?
Example
if you log as...
In doExecuteCommand of you Command file
protected void doExecuteCommand() {
---------------------
MyCommand e = (MyCommand...
In your view
you display the view
Application.instance().getActiveWindow().getPage().showView("myview");
You add a oublish event to the view...
Hello Everybody
I'm working with spring-rcp 2.5.5
Does anybody know how to pass parameters
- from one view to another view- from on command to a view
Thanks for your help
Hello Everybody
I'm working with spring-rcp 2.5.5
Does anybody know how to pass parameters
- from one view to another view with spring-rcp
- from on command to a view
Thanks for your help