"damianharvey" wrote : If you have the noSelection present and nothing is selected the value should be null. Have you tested it? What value are you getting?
If nothing is selected (i.e., the noSelectionLabel is the selected entry) and the entity-field is null, nothing is set.
However, if the field is set (i.e., has a reference to another entity) it cannot be set to null again using the same method.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4102652#4102652
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4102652
Hi,
Im trying to call an action method at startup using the Observer Annotation. The code is:
@Stateless
| @Name("initializator")
| public class InitiatorBean implements InitiatorLocal {
|
| @Logger
| private Log log;
|
| @Observer("org.jboss.seam.postInitialization")
| public void initialize(){
|
| log.info("INITIALIZATION DONE");
| System.out.println("INIT---------------------------------------------------------");
|
|
| }
|
| }
|
|
And its interface is:
|
| @Local
| public interface InitiatorLocal {
|
| void initialize();
|
| }
|
|
|
However I see nothing in the output neither in the log. Can someone help me?
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4102649#4102649
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4102649
The information contained in the endpoint reference is used to identify the partner endpoint to invoke. However, it does not provide enough information to format a message (wsdl:binding) and send it to a given address (wsdl:port). The full WSDL description is still needed even if you set the reference dynamically.
The solution is to register the WSDL documents of all your candidate partner services. jBPM BPEL will select the best match to your endpoint reference among all the services in the catalog.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4102644#4102644
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4102644
Depends on what you mean by loading once. If you mean loading once for the entire application (which I have used in several instances) the following will work:
@Factory(value="myListBox", scope=ScopeType.APPLICATION)
| public Map<String, BigDecimal> getMyListBox()
| {
| // the following log will only occur once since application scoped
| log.info("Loading myListBox...");
|
| // perform loading of Map into myMap
|
| return myMap;
| }
Otherwise simply change the ScopeType accordingly.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4102639#4102639
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4102639