Hi Matt,
I'm developing an web application using appfuse 2.0 struts, in that one i
observed the UserService web service class, How to call the web service in
other application to get the data ( where to configure the web service
calling url ).
can you please suggest me to solve the problem
Hi All,
I tried to implement database driven menu in StartupListener.
But unfortunately, I can't get defaultMenuDisplayerMapping in
StartupListener.updateContext.
Is there any advice for this issue? Thanks.
Regards
Tony Luo
-
To
You might try doing it in a filter. Either that or specify servlet 2.4 in
your web.xml and order your listeners.
On Tue, May 4, 2010 at 9:10 AM, Tony Luo wrote:
> Hi All,
>
> I tried to implement database driven menu in StartupListener.
> But unfortunately, I can't get defaultMenuDisplayerMappin
Hi Matt,
I still implmented it in StartupListener with the following code.
MenuRepository repository = new MenuRepository();
repository.setServletContext(context);
MenuDisplayerMapping displayerMapping = new MenuDisplayerMapping();
displayerMapping.setName("Velocity");
Appfuse 2.0 has intergrated with CXF. You can take a look.
2010/5/4 sudhakargupta_somu :
>
> Hi Matt,
>
> I'm developing an web application using appfuse 2.0 struts, in that one i
> observed the UserService web service class, How to call the web service in
> other application to get the data ( wh
What's not working then?
On Tue, May 4, 2010 at 9:45 AM, Tony Luo wrote:
> Hi Matt,
>
> I still implmented it in StartupListener with the following code.
>
> MenuRepository repository = new MenuRepository();
>repository.setServletContext(context);
>MenuDisplayerMapping displayerM
Just curious whether there is a better entry to support it. -,-b
2010/5/4 Matt Raible :
> What's not working then?
>
> On Tue, May 4, 2010 at 9:45 AM, Tony Luo wrote:
>>
>> Hi Matt,
>>
>> I still implmented it in StartupListener with the following code.
>>
>> MenuRepository repository = new MenuR
The listener is a good place if it only needs to be initialized once for the
application. If you need to initialize it differently for each user, I'd
suggest putting it in a filter and caching the results.
On Tue, May 4, 2010 at 9:54 AM, Tony Luo wrote:
> Just curious whether there is a better e
Thanks for your sugguestion. It's really helpful to me.
2010/5/5 Matt Raible :
> The listener is a good place if it only needs to be initialized once for the
> application. If you need to initialize it differently for each user, I'd
> suggest putting it in a filter and caching the results.
>
> On
I have found this old thread, and i have a little doubt.
if I didn't use the GenericManager, Should i inject the manager using
applicationContext.xml, or there is another way to do it?
Example:
public class MyAction extends BaseAction {
private MyManager myManager;
pu
Yes, this will work. What tutorial are you speaking of? A link would be
great.
On Tue, May 4, 2010 at 12:07 PM, Juan Antonio wrote:
>
> I have found this old thread, and i have a little doubt.
>
> if I didn't use the GenericManager, Should i inject the manager using
> applicationContext.xml, or t
Sorry, i forgot.
http://appfuse.org/display/APF/Using+Struts+2
--
View this message in context:
http://appfuse.547863.n4.nabble.com/Extending-GenericManager-Spring-MVC-tp562233p2126234.html
Sent from the AppFuse - User mailing list archive at Nabble.com.
---
Another little question. :D
if the action is label is defined in the form, and in the action bean in
struts.xml, the method propertie is defined, it's necessary to declare it
also in the submit method?
Something like this:
...
I believe i could use only:
is this wrong? or the me
public class StartupListenerTest extends TestCase {
private MockServletContext sc = null;
private ServletContextListener listener = null;
private ContextLoaderListener springListener = null;
protected void setUp() throws Exception {
super.setUp();
sc = new MockServl
Hi All,
I need to put a list of object in memory when application start.
The object is quite simple so I generate the service by Generic
Manager and configured it in applicationContext.xml
The cod in StartupListener is like the following code
GenericMa
Hi Matt,
I noticed that StartupListenerTest doesn' load applicationContext.xml.
But even I put the configuration in applicationContext-dao.xml, the
StartupListenerTest also failed to get the manager bean.
2010/5/5 Matt Raible :
> public class StartupListener
16 matches
Mail list logo