Re: Struts2 Plugins inside IoC

2011-05-27 Thread Jeff Black
Hi Frans.    I found your question a little vague.  Would you mind adding some more detail?   jb /   From: Frans Thamura To: Struts Users Mailing List Sent: Friday, May 27, 2011 7:34 AM Subject: Struts2 Plugins inside IoC hi all i found that springmvc register all their bean in the appcontex.

Re: Hash tags

2011-06-01 Thread Jeff Black
I would be happy to take on this task.  I recently was "upgraded" and looking for opportunties to dive in. From: "struts@spamgourmet.com" To: user@struts.apache.org Sent: Wednesday, June 1, 2011 12:45 PM Subject: Re: Hash tags Yes, I believe the document should be updated to add an anchor

Re: Call execAndWait but got NullPointerException ?

2011-06-03 Thread Jeff Black
Hi Emi -- Like Dale said your interceptor stack doesn't appear to be complete.   Below is a code-frag from the following link: http://struts.apache.org/2.2.1/docs/execute-and-wait-interceptor.html   1000 50 longRunningAction-wait.jsp longRunningAction-succes

Re: Call execAndWait but got NullPointerException ?

2011-06-03 Thread Jeff Black
Hi Emi -- Like Dale said your interceptor stack doesn't appear to be complete.   Below is a code-frag from the following link: http://struts.apache.org/2.2.1/docs/execute-and-wait-interceptor.html               1000     50         longRunningAction-wait.jsp     longRunningAction-succes

Re: Validate method not working in Action after using Interceptor

2011-06-08 Thread Jeff Black
Hey Nikul. Double-check your interceptor stack. It is only composed of your session interceptor. Jb Nikul Suthar wrote: >Hi There, > >I'm pretty new to using Struts 2 for developing a web application. So I >would be very thankful if someone can clear out this roadblock for me. > >I'm trying

Re: struts.custom.properties not working

2011-06-11 Thread Jeff Black
Hey Mitch. FWIW I tried to access the properties file from a sample without success. I found the following in my copy of WebWork In Action: The webwork.custom.properties file is intended for the following: Other properties files to load in addition to webwork.properties. Useful if you’re mak

Re: About StrutsTypeConverter

2011-07-06 Thread Jeff Black
> I am confused that why the signature of convertFromString is > public Object convertFromString(Map context, String[] values, Class toClass) > instead of public Object convertFromString(Map context, String value, > Class toClass). > > What's the point to pass a String array instead of a String ar

Re: On applying action-validation.xml action is not executing.

2011-07-06 Thread Jeff Black
I'm with Dave: I think you should try using the "defaultStack" or at a minimum the "validationWorkflowStack" of Interceptors to begin eliminating a possible misconfiguration. It's probably nothing, but I thought I would mention it -- Did you double-check your Tiles configuration? jb / _

Re: About StrutsTypeConverter

2011-07-06 Thread Jeff Black
> Whereas I am confused why the signature is not public T >convertFromString(Map context, String[] values, Class toClass). Is this in >scope of the effort someone described recently to Java5-ify the code base? What is the best way to organize such an effort? jb / __

Re: Doc for Struts2

2011-07-19 Thread Jeff Black
Ankit -- In addition to the following documentation? http://struts.apache.org/2.2.3/docs/validation.html jb / From: Ankit Jain To: Struts Users Mailing List Sent: Tue, July 19, 2011 7:27:44 AM Subject: Doc for Struts2 Hi, If anybody can let me know some go

Re: Access to Resource Bundle when there is no action

2011-07-21 Thread Jeff Black
Hi Jose, I have the following entry in my struts.properties file:     struts.custom.i18n.resources=globalmessages My globalmessage.properties file is sitting alongside my struts.properties file on the Classpath. I am using, for example,  tags to hit the resource bundle via my Class-less JSP's

Re: I'm trying to unsuscribe from the struts-user mailing list

2011-07-21 Thread Jeff Black
I had my original "registration" email and it mentions sending an email using the following format: user-unsubscribe-c.dias=ivstel@struts.apache.org jb / From: Croydon Dias To: Struts Users Mailing List Sent: Wed, July 20, 2011 5:49:31 PM Subject: RE:

Re: Where's ideal for this logic?

2011-08-11 Thread Jeff Black
Hey Chris -- Can you utilize an interceptor(s) for any of your biz-logic?   jb / From: "CRANFORD, CHRIS" To: user@struts.apache.org Sent: Tuesday, August 9, 2011 8:51 AM Subject: Where's ideal for this logic? I have several actions that instantiate a business service to query KPI statistics fro

Re: Struts2 dispatch request to another application

2011-08-30 Thread Jeff Black
JL, Have a look at the tag: http://struts.apache.org/2.2.3/docs/include.html From your post it sounds to me like it might do what you're looking for.  The following is an excerpt from Struts 2 In Action: The include tag > Whereas JSP has its own include tag, , Struts 2 provides a version

Re: adding style for the message in properties file.

2011-10-20 Thread Jeff Black
FWIW -- You could dress up with css. http://struts.apache.org/2.x/docs/actionmessage.html jb @jeffblack360 From: Maurizio Cucchiara To: Struts Users Mailing List Sent: Thursday, October 20, 2011 9:29 AM Subject: Re: adding style for the message in properties

Re: adding style for the message in properties file.

2011-10-21 Thread Jeff Black
FWIW -- You can also craft your own UI Components using Freemarker by extending the Struts 2 Components to achieve what you're after. This is a pretty good example. From: Arpan To: Struts Users Mailing List Sent: Thursday, October 20, 2011 9:21 AM Subject: Re

Re: utf8 problems...

2011-11-14 Thread Jeff Black
FWIW -- I know Matt Raible's AppFuse [1] uses Spring's CharacterEncodingFilter. The blog-post [3] is just lagniappe. Best, jb [1] http://appfuse.org/display/APF/Web+Filters [2] http://static.springsource.org/spring/docs/2.5.x/api/org/springframework/web/filter/CharacterEncodingFilter.html [

Re: Maven archetype struts2-archetype-blank

2011-11-23 Thread Jeff Black
Lukasz -- I'm not a Maven guru but I found this blog post that "may" be helpful: http://intellectualcramps.wordpress.com/2011/04/15/maven-archetype-creation-tips/ Best, jb From: Łukasz Lenart To: Struts Users Mailing List Sent: Wednesday, November 23, 20

Struts 2 Twitter Bootstrap Plugin

2012-02-29 Thread Jeff Black
All: I hear tell of a "Twitter Bootstrap" plug-in for Struts 2. Does anyone know where it lives -- if it lives? jb

Re: Struts 2 on top of roo

2012-05-03 Thread Jeff Black
I haven't looked at Roo in some time; however the last time I did, Struts 2 wasn't integrated. http://www.springsource.org/spring-roo#integrations jb From: Aravind Kumar To: Struts Users Mailing List Sent: Tuesday, May 1, 2012 9:03 PM Subject: Re: Struts 2

Re: [Struts 2] How do I migrate an action with no result name to an annotation?

2012-11-02 Thread Jeff Black
Double-check your namespace.  What is the class-name of your action and the package? Jeff From: John Boyer To: Struts Users Mailing List Sent: Friday, November 2, 2012 10:53 AM Subject: [Struts 2] How do I migrate an action with no result name to an annota

Re: [Struts 2] How do I migrate an action with no result name to an annotation?

2012-11-02 Thread Jeff Black
de it. On Fri, Nov 2, 2012 at 1:55 PM, John Boyer wrote: > Hi Jeff: > > In the struts.xml, the namespace is "/" and the package is "default". > > > ... > > Do I need add this info as annotations to all my action classes? > > Thanks, > > J

Re: [Struts 2] How do I migrate an action with no result name to an annotation?

2012-11-02 Thread Jeff Black
Hey there John. Are you using the Convention plugin? What is the classname of your action (e.g., org.blackj.common.action.TestAction.java)? Jeff From: John Boyer To: Struts Users Mailing List ; Jeff Black Sent: Friday, November 2, 2012 2:55 PM Subject

Re: [Struts 2] How do I migrate an action with no result name to an annotation?

2012-11-02 Thread Jeff Black
s.apache.org/2.3.1/docs/result-configuration.html From: John Boyer To: Struts Users Mailing List ; Jeff Black Sent: Friday, November 2, 2012 4:27 PM Subject: Re: [Struts 2] How do I migrate an action with no result name to an annotation? Hi Jeff: Yes, I'm u

Re: [Struts 2] How do I migrate an action with no result name to an annotation?

2012-11-02 Thread Jeff Black
: Ken McWilliams To: Struts Users Mailing List ; Jeff Black Sent: Friday, November 2, 2012 5:38 PM Subject: Re: [Struts 2] How do I migrate an action with no result name to an annotation? Oh! With conventions you don't write any annotations! Simply create /WEB-INF/content/my-action.js

Re: quick WebApp start

2012-11-13 Thread Jeff Black
+1 for AppFuse.  Matt Raible & company really did a good job with it. From: J. Garcia To: Struts Users Mailing List Sent: Sunday, November 11, 2012 12:24 PM Subject: Re: quick WebApp start +1 for AppFuse. Try the SNAPSHOT version. It features bootstrap-s

Re: struts2+hiberate org.hibernate.cfg.Configuration

2012-12-15 Thread Jeff Black
John, Are you behind a proxy? Double-check that you can access the DTD from your system. You might consider changing your DOCTYPE to reference the DTD contained in your Hibernate.jar (i.e. from PUBLIC to SYSTEM) so it won't try to look things up remotely. Best, Jeff