Re: localization

2007-12-03 Thread Kropp, Henning
This would be the place to look for: http://struts.apache.org/2.x/docs/i18n-interceptor.html btw... There are some broken links at http://struts.apache.org/2.x/docs/localization.html Especially the link to sitemesh plugin ought to be: http://struts.apache.org/2.x/docs/sitemesh-plugin.html

about struts, xml and xslt

2007-12-03 Thread logancillo
Good days people, I need your help and experience. Could you recommend me some way to do some xslt work? Something as the tag xmlTemplate that has MyFaces in which you can provide the xml in brute and the xsl in brute and the result is html, xhtml, etc... I could use any thing, but but if they

Re: localization

2007-12-03 Thread giglian
I tried using the example application (struts2-blank-2.0.11.war) and it working fine using package_es.properties and package.properties, that is I getting the messages in the right language. I get the same result using package_fr.properties rather than package_es.properties. But if I rename the

localization issue for it extension

2007-12-03 Thread giglian
I tried using the example application (struts2-blank-2.0.11.war) and it working fine using package_es.properties and package.properties, that is I getting the messages in the right language. I got the same result using package_fr.properties rather than package_es.properties, they working fine!

best choice for this use case ... ?

2007-12-03 Thread Giovanni Azua
hi, I have the following use-case -I think should be pretty common- and would like to know what would be the best design choice: - There is a form that contains an autocompleter field filled with all stock indexes. - In the same form there are other dependent input values displayed e.g.

Re: best choice for this use case ... ?

2007-12-03 Thread Giovanni Azua
hi, I found a post from Musachy that resolves the a) problem of submitting the selected index as part of the ajax action request: http://www.mail-archive.com/user@struts.apache.org/msg69361.html I changed the JSP to what's below. Now I'm trying to resolve problem b) that e.g. the autocompleter

Struts 2 Dependencies

2007-12-03 Thread stanlick
I have been reviewing the Reactor Dependency Convergencehttp://struts.apache.org/2.x/dependency-convergence.html document, and would like to know if there is a companion document that identifies required vs. optional products. It appears that anything touched by Struts 2 is considered a

autocompleter reload from json action ...

2007-12-03 Thread Giovanni Azua
hi, This is a follow up to my posts before best choice for this use case ... ? Now it works: I get the two autocompleters connected and the JSON action generating the JSON result list properly that also gets populated in the right autocompleter. So far so good BUT the only single value is then

Re: about struts, xml and xslt

2007-12-03 Thread Laurie Harper
logancillo wrote: Good days people, I need your help and experience. Could you recommend me some way to do some xslt work? Something as the tag xmlTemplate that has MyFaces in which you can provide the xml in brute and the xsl in brute and the result is html, xhtml, etc... I could use any

[BeanUtils]howwhere to use ConvertUtils.register

2007-12-03 Thread horri khalid
Hi everyone, First excuse me for my english. So i have the following situation : In one hand i have an actionForm (beoForm) with String fields, wich one of them is dateOfCreation its type is string. and the other hand i create a mapping class (beo) has the same fields of actionForm class,

Re: Struts 2 Dependencies

2007-12-03 Thread Laurie Harper
[EMAIL PROTECTED] wrote: I have been reviewing the Reactor Dependency Convergencehttp://struts.apache.org/2.x/dependency-convergence.html document, and would like to know if there is a companion document that identifies required vs. optional products. It appears that anything touched by Struts

Re: Struts 2 Dependencies

2007-12-03 Thread Tom Schneider
Sounds like an enhancement to the dependency convergence report plugin for maven. All the metadata about which libraries are options is in the pom(s), so it would just be a matter of having a plugin that looked at that additional metadata. I think it would be redundant to try to maintain a

Message Store + ExecAndWait Problem

2007-12-03 Thread Shahak Nagiel
I seem unable to persist messages to session using the Message Store interceptor (store) in conjunction with the Execute and Wait interceptor. Here's what the configuration looks like: action name=UploadPackage class=... interceptor-ref name=store param name=operationModeSTORE/param

Problem developing a tag using Struts 2 Arch for Tags

2007-12-03 Thread victor sosa
I am developing a tag, see tag example below. This tag should produce a json object using the elements into the value stack. I need to know how to repeat the execution of the content in this case jsongl:jsonproperty/ , also every execution need to push a new item into the valuestack. So I

RE: [S2] Checkboxes

2007-12-03 Thread Hoying, Ken
Thanks, Dave! This got me moving in the right direction. For future reference, I ended using the checkboxlist tag inside of my loop and set the list attribute to a single value so I would only get the one option. This seems to have solved my issue. Thanks, Ken -Original Message- From:

Re: FreeMarker Question

2007-12-03 Thread MassimoH
Thanks for the replies, everyone, but I found a solution. If anyone else is facing the same issue and finds this thread, here is how I resolved: public class CustomFreemarkerManager extends FreemarkerManager { @Override protected ScopesHashModel

RE: [S2] Checkboxes

2007-12-03 Thread Dave Newton
Oh, that's clever, I don't think I would have thought of that, and it's a lot quicker than my ideas ;) d. --- Hoying, Ken [EMAIL PROTECTED] wrote: Thanks, Dave! This got me moving in the right direction. For future reference, I ended using the checkboxlist tag inside of my loop and set

Re: Problem developing a tag using Struts 2 Arch for Tags

2007-12-03 Thread Dave Newton
Well, you call iterateOverItems which has the following code: while (iterator.hasNext()){ Object currentItem = iterator.next(); valueStack.push(currentItem); LOG.debug(item: + currentItem); } That just loops over the collection and pushes each onto the stack; I guess I'm not

startup action in struts2

2007-12-03 Thread Christopher Cheng
In struts1, I have a few plugin to preconfigure some services such as QuartzPlugIn during startup public void init(ActionServlet actionServlet, ModuleConfig moduleConfig) { try { SchedulerFactory sf = new StdSchedulerFactory(); Scheduler

Re: startup action in struts2

2007-12-03 Thread Tom Schneider
In struts 2, the plugin architecture works differently. Off the top of my head, I can't think of similar functionality in s2. An alternative option would be to write a standard J2EE ContextListener and use that. This is how Spring gets loaded in newer versions of J2EE. Tom Christopher