<p>In a flow definition, I am trying to access a bean that has a dot in its ID</p>

<p>(example: <code>&lt;evaluate expression="bus.MyServiceFacade.someAction()" /&gt;</code></p>

<p>However, it does not work. SWF tries to find a bean "bus" instead.</p>

<p>Initially, I got over it by using a helper bean to load the required bean, but the solution is inelegant and uncomfortable. The use of alias'es is also out of the question since the beans are part of a large system and I cannot tamper with them.</p>

<p>In a nutshell, none of the solution allowed me to refernce the bean directly by using its original name. Is that even possible in the current SWF release?</p>

[{'answer_id': 65875, 'author': 'Stevi Deter', 'author_id': 379503, 'author_profile': 'https://Stackoverflow.com/users/379503', 'pm_score': 1, 'selected': False, 'text': '<p>This is a restriction of the EL parser (generally either OGNL or jboss-el for Spring Web Flow). EL uses dot notation for parsing the navigation chain,causing the initial behavior you describe (attempting to find the "bus" bean). </p>\n'}, {'answer_id': 65920, 'author': 'Owen', 'author_id': 2109, 'author_profile': 'https://Stackoverflow.com/users/2109', 'pm_score': -1, 'selected': False, 'text': '<p>In my experience, anything with a getter method can be accessed via dot notation.  In your example, whatever object is being represented by the <code>bus</code> bean needs to have a <code>getServiceFacade</code> method and that the object returned by <code>getServiceFacade</code> would need to have a <code>getSomeAction</code> method.</p>\n'}, {'answer_id': 67178, 'author': 'MetroidFan2002', 'author_id': 8026, 'author_profile': 'https://Stackoverflow.com/users/8026', 'pm_score': 0, 'selected': False, 'text': "<p>Try:</p>\n\n<p>['bus.MyServiceFacade'].someAction()</p>\n\n<p>or</p>\n\n<p>'bus.MyServiceFacade'.someAction()</p>\n\n<p>This may work, or it may not...but similar things are used in the Expression Language for JSPs.</p>\n"}, {'answer_id': 14408583, 'author': 'Ryan Ransford', 'author_id': 12604, 'author_profile': 'https://Stackoverflow.com/users/12604', 'pm_score': 3, 'selected': False, 'text': "<p>I was able to do this by using both the bean accessor (<code>@</code>) symbol and single-quotes around the name of the bean.</p>\n\n<p>Using your example: <code>#{@'bus.MyServiceFacade'.someAction()}</code></p>\n"}]
['https://Stackoverflow.com/questions/62713', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/6871/']