Ajax for username availability

2009-03-03 Thread sajidbigler
Do you have an example of ajax as taking textfield like username and invoking action to check whether the username is available or not and if available ask user to enter another username or make the same filed empty i tried to accomplish this by folowing script type=text/javascript

Re: Struts Ajax Newbie

2009-03-03 Thread konf
BODY { font-family:Arial, Helvetica, sans-serif;font-size:12px; }Hallo, it is not really for this forum, but thread is already here. I have following problem with ajaxtags, described in ajaxtags forum, but maybe it is not visited often. For javascript sources and function - it is the same if it

unable to retrieve key in validation xml

2009-03-03 Thread sajidbigler
how can we retrive key in valication file the key here is arabic which is not being retrieved in proper i18n is there any other alternate to make sure we get right field error with i18n field-validator type=expression password eq password2

Search in Apache mail archives

2009-03-03 Thread Antonio Iglesias
Hi, I was trying to find out how to search in apache mail archives for Struts mailing list, the thing is that I don't want to ask things that for sure have been asked before. It seems that the archive apache mailing list has not a simple tool to search mails right? Thanks in advance.

Re: Search in Apache mail archives

2009-03-03 Thread Nils-Helge Garli Hegvik
Hi! Most of the archives listed at http://struts.apache.org/mail.html are searchable. Nils-H On Tue, Mar 3, 2009 at 10:51 AM, Antonio Iglesias anton...@gmail.com wrote: Hi,  I was trying to find out how to search in apache mail archives for Struts mailing list, the thing is that I don't want

servlet to struts MVC conversion mapping

2009-03-03 Thread kool
Hi all, I have one servlet. now i have to convert the functionality of the servlet to struts mvc (writing an action class and daos). i am able to converted into servlet. now my problem is servlet is mapped in web.xml. now i dont know how to map the action(servlet converted into action) in the

Re: Acegi with Struts 2.

2009-03-03 Thread Mohan Radhakrishnan
I had each filter immediately followed by the mapping but then I changed it to the following. filter filter-namespringSecurityFilterChain/filter-name filter-classorg.springframework.web.filter.DelegatingFilterProxy/filter-class /filter filter

Re: Search in Apache mail archives

2009-03-03 Thread Antonio Iglesias
That's right, somehow I ended up trying to search in http://mail-archives.apache.org/mod_mbox/struts-user/ and I didn't realize that for example http://www.mail-archive.com/user%40struts.apache.org/ is indeed searchable. Thanks On Tue, Mar 3, 2009 at 10:55 AM, Nils-Helge Garli Hegvik

Re: servlet to struts MVC conversion mapping

2009-03-03 Thread kool
kool wrote: Hi all, I have one servlet. now i have to convert the functionality of the servlet to struts mvc (writing an action class and daos). i am able to converted into servlet. now my problem is servlet is mapped in web.xml. now i dont know how to map the action(servlet

Re: Struts Themes Problem - help

2009-03-03 Thread sajidbigler
As said below is that a only solution or can we set theme=xhtml for fielderror tag with in the form which uses theme= simple. but we will be rendering error after the filed not the above as xhtml does.how can we make it to render it above the field instead below the field? s:fielderror

Re: struts2-archetype-starter

2009-03-03 Thread Dave Newton
Wes Wannemacher wrote: On Monday 02 March 2009 14:00:04 ChadDavis wrote: Is there one of these for 2.1 yet? When I follow the links I end up at a 2.0.11 version. I'm just wondering if the docs are behind or this just isn't available yet. As far as I know, Chad, the archetypes aren't up to

Re: Struts Ajax Newbie

2009-03-03 Thread Mileidys Gonzalez Prieto
baseUrl: ${contextPath}/FillCarModels, for me looks like the url is not the real url... can y send the piece of code where u call the ajaxtags? On Tue, 2009-03-03 at 10:37 +0100, k...@chalu.cz wrote: BODY { font-family:Arial, Helvetica, sans-serif;font-size:12px; }Hallo, it is not really for

Re: Struts Themes Problem - help

2009-03-03 Thread Jim Kiley
If I am understanding you correctly, your best bet might be to customize the fielderror.ftl template for a custom theme of your own. If I were going to display errors in a custom way more than once, that's what I would do. Make a template directory in the root of your webapp, then make a new

[OT] POM, licenses and dependency trees

2009-03-03 Thread stanlick
How does a company go about fleshing out the aspects of FOSS without wasting so many people's time? As FOSS gains in popularity, we are sinking in a quagmire of manual research, analysis and legal license inspections. It seems the FOSSology product will unpack compressed files and sniff around

Re: javax.servlet.jsp.JspException: Cannot find bean under name

2009-03-03 Thread hermann . x . lau
I took a look at the jsp that is the result of the submit and I am not seeing any issues with it. Maybe someone here can find something that I am not seeing? noResults.jsp: %...@taglib uri=http://java.sun.com/portlet; prefix=portlet % %@ taglib uri=http://struts.apache.org/tags-html;

Re: Acegi with Struts 2.

2009-03-03 Thread Lukasz Lenart
2009/3/3 Mohan Radhakrishnan radhakrishnan.mo...@gmail.com:    filter-mapping        filter-namestruts2/filter-name        url-pattern/HelloWorld.jsp/url-pattern    /filter-mapping Wrong, has to be filter-mapping filter-namestruts2/filter-name url-pattern/*/url-pattern

Re: javax.servlet.jsp.JspException: Cannot find bean under name

2009-03-03 Thread Nils-Helge Garli Hegvik
Well, it was more like a question really... You say you get the error message in index.jsp. Yet you say that it only occurs when you press the submit button? Are you sure that it's this portlet that is causing the problem? Maybe you're adding something in the request scope in the render phase that

Re: Struts 2 - After validation failure populating the drop downs

2009-03-03 Thread hernan gonzalez
You should tell us how the dropdowns were populated in the first page. If only one Action class is involved, and the dropdowns are populated by reading some attribute of it (eg: getOptionListForDropDown() which looks at the optionListForDropDown list ) you should fill that list, not in the

Struts 2.1 utf-8 validation messages (in Arabic, Chinese etc) displayed in ? when using Ajax validation, a bug or wrong setting?

2009-03-03 Thread Qunhuan Mei
Hi all, I am going to use Struts-blank-2.1.6 to demonstrate a localisation problem when doing Ajax validation in maybe 10 minutes. I am not sure if it is a bug (from dojo-plugin?) or just a wrong setting somewhere. Hope some expert could shed some light here. Much appreciated. Steps to

Re: javax.servlet.jsp.JspException: Cannot find bean under name

2009-03-03 Thread hermann . x . lau
I took a look at an older version of the code (which works perfectly) and noticed something. After clicking the submit button, it executes the /searchInventory action which then forwards to noResults.jsp... but it is not doing that in the newer version of the code. In the newer version of

[OT] Struts/Hibernate Open Session in View

2009-03-03 Thread Burton Rhodes
Has anyone had issues with the scalability of hibernate's recommended OSiV pattern? I am upgrading my struts app from 5 users to handle 1000+ users and I am curious if I should avoid this pattern for the upgrade. I have heard some have had performance issues but I am not sure at what point this

Getting Servlets and Struts 2.1.6 to work together?

2009-03-03 Thread Greg Lindholm
I'm trying to upgrade from Struts 2.0.11 to 2.1.6 and having a problem, struts isn't passing requests thru to my servlets. I have a servlet named 'status' and defined in web.xml like this.     servlet-mapping         servlet-nameStatusServlet/servlet-name         url-pattern/status/url-pattern

Re: doc problem at struts.properites page

2009-03-03 Thread Musachy Barroso
Drop an email to dev, or email Martin. musachy On Tue, Mar 3, 2009 at 2:58 AM, Lukasz Lenart lukasz.len...@googlemail.com wrote: 2009/3/2 Musachy Barroso musa...@gmail.com: You need to file a CLA: http://www.apache.org/licenses/icla.txt and then drop and email to @dev, and someone will grant

Re: [OT] POM, licenses and dependency trees

2009-03-03 Thread Musachy Barroso
All the dependencies that we have, must have a license that is compatible with ASL 2. I don't know of any way to compile a list of licenses used, that would be cool for a maven plugin. musachy On Tue, Mar 3, 2009 at 9:32 AM, stanl...@gmail.com wrote: How does a company go about fleshing out

Re: Getting Servlets and Struts 2.1.6 to work together?

2009-03-03 Thread Nils-Helge Garli Hegvik
You probably want to edit the url pattern of the struts 2 filter mapping. Nils-H On Tue, Mar 3, 2009 at 7:50 PM, Greg Lindholm glindh...@yahoo.com wrote: I'm trying to upgrade from Struts 2.0.11 to 2.1.6 and having a problem, struts isn't passing requests thru to my servlets. I have a

Re: Getting Servlets and Struts 2.1.6 to work together?

2009-03-03 Thread Greg Lindholm
Is this what you mean? filter-mapping filter-namestruts2/filter-name url-pattern*.action/url-pattern /filter-mapping I previously had it as url-pattern/*/url-pattern based on all the books and examples I was able to find. So is there no reason to

Re: [OT] POM, licenses and dependency trees

2009-03-03 Thread stanlick
Well, since necessity is the mother of all invention and I have been asked for a magic bullet that poops out a stack of licenses, I am becoming more creative. Consider the following simple dependency: project ... dependencies dependency groupIdorg.apache.struts/groupId

Re: [OT] POM, licenses and dependency trees

2009-03-03 Thread Musachy Barroso
well, for core, that should be it. On Tue, Mar 3, 2009 at 2:57 PM, stanlick stanl...@gmail.com wrote: Well, since necessity is the mother of all invention and I have been asked for a magic bullet that poops out a stack of licenses, I am becoming more creative.  Consider the following simple

Re: [OT] POM, licenses and dependency trees

2009-03-03 Thread stanlick
If you look at the POM for Struts 2.1.6 there are many more dependencies than what show up running dependency:resolve. I verifies the default for scope because several of the dependencies are test. It appears the default is all scopes, so I am wondering why I don't see them all when I run

Re: Getting Servlets and Struts 2.1.6 to work together?

2009-03-03 Thread Wes Wannemacher
On Tuesday 03 March 2009 14:31:36 Greg Lindholm wrote: Is this what you mean? filter-mapping filter-namestruts2/filter-name url-pattern*.action/url-pattern /filter-mapping I previously had it as url-pattern/*/url-pattern based on all the books and

Re: [OT] POM, licenses and dependency trees

2009-03-03 Thread Wes Wannemacher
On Tuesday 03 March 2009 15:40:43 stanlick wrote: If you look at the POM for Struts 2.1.6 there are many more dependencies than what show up running dependency:resolve. I verifies the default for scope because several of the dependencies are test. It appears the default is all scopes, so I

Participem da minha vaquinha! - Vakinha.com.br

2009-03-03 Thread Ronaldo Rigoni
Vakinha.com.br - vaquinhas online De Ronaldo Rigoni: Acabei de criar uma vaquinha no Vakinha.com.br! Participem! Ronaldo Rigoni (rrig...@gmail.com) acaba de criar uma vaquinha no Vakinha.com.br e quer muito que você participe! Acesse http://www.vakinha.com.br/Vaquinha.aspx?e=1067pwd=%Password%

Re: [OT] POM, licenses and dependency trees

2009-03-03 Thread stanlick
Java != C? I realize the strength and duration of dependencies varies, and I understand the issues concerning use vs. redistribution. This notwithstanding, I am looking to satisfy the legal team and this requires collecting the sum of licenses from all the dependent archives before anything

Re: Acegi with Struts 2.

2009-03-03 Thread Mohan Radhakrishnan
That was an example. Actually the filter order was rearranged a bit. Mohan -- View this message in context: http://www.nabble.com/Acegi-with-Struts-2.-tp22259802p22323437.html Sent from the Struts - User mailing list archive at Nabble.com.

Re: Struts generate code

2009-03-03 Thread Angelo zerr
Hi, If you use Eclipse, you can see Akrogen http://akrogen.sourceforge.net/which is Eclipse plugin to describe your wizard with XML (XUL) and Javascript and link it to a template (XSL, Freemarker, Velocity...) Akrogen works wit catalog (folder which contains, XUL wiizard, templates..). You can