Re: [S2] the autocompleter tag - TLD out of sync

2006-12-14 Thread Musachy Barroso
Dojo is "eating up" the key events, and notifyTopics is only published when a value is selected from the dropdown, so, the way it is right now I think it cannot be done. I will try to add it, not sure if it will be on 2.0.2 (I've broken enough things for this version already :) ) musachy Musa

struts.i18n.encoding

2006-12-14 Thread red phoenix
I want to set other country language character set,I know I should set web.xml with struts.i18n.encoding=... but I don't know the value which struts.i18n.encoding permited,anyone could give me a character list of struts.i18n.encoding? Thanks

Re: Application Modules

2006-12-14 Thread Jon Wynacht
Ah...that's it...thanks! Jon On Dec 13, 2006, at 5:06 PM, Jerome Gagner wrote: Don't need to include the .do in html:link On 12/13/06, Jon Wynacht <[EMAIL PROTECTED]> wrote: Hi, I am implementing modules in my application and I want to know the best way to do that in terms of how I want the

Re: [S2] the autocompleter tag - the href value

2006-12-14 Thread Dariusz Wojtas
I have the latest sources. And I am sure I placed the JAR file build an hour ago in my app. But it is possible that something is wrong with the way it produces the JAR file for me. I have sources of struts2 and xwork in one parent dir, I execute ant as described by the struts2 maven build page, b

Re: [S2] the autocompleter tag - the href value

2006-12-14 Thread Musachy Barroso
Showcase is working and it has this: Are you working with head svn? Because it was behaving as you say(wrong) a few days ago. musachy Dariusz Wojtas wrote: I tried the 'url' way first, but it did not work for me. 'url' but it creates links with double application context in front for autoc

Re: [S2] the autocompleter tag - the href value

2006-12-14 Thread Dariusz Wojtas
This is the result of autocomplete for b) and c) the dataUrl is wrong, one '/esu' too much. At the same time A which uses the same 'url' identifier produces correct link A Dariusz Wojtas On 12/14/06, Dariusz Wojtas <[EMAIL PROTECTED]> wrote: I tried the 'url' way first, but it did not wo

Re: [S2] the autocompleter tag - the href value

2006-12-14 Thread Dariusz Wojtas
I tried the 'url' way first, but it did not work for me. 'url' but it creates links with double application context in front for autocompletes. samples b) and c) show this. Dariusz Wojtas On 12/14/06, Musachy Barroso <[EMAIL PROTECTED]> wrote: You need to use the "url" tag to construct the "hre

Re: [S2] the autocompleter tag - the href value

2006-12-14 Thread Musachy Barroso
You need to use the "url" tag to construct the "href" for all the ajaxtags. musachy Dariusz Wojtas wrote: I have found possible other problem: To show it I have created 3 similar autocompletes, differing only in href. They all should load data from action '/listy/kontrahenci.action' and the '

Re: [S2] the autocompleter tag - the href value

2006-12-14 Thread Dariusz Wojtas
I have found possible other problem: To show it I have created 3 similar autocompletes, differing only in href. They all should load data from action '/listy/kontrahenci.action' and the '/esu' application prefix. That should result in link to: '/esu/listy/kontrahenci.action' sample a) works this

Re: [S2] the autocompleter tag - TLD out of sync

2006-12-14 Thread Dariusz Wojtas
You answer at the speed of light ;) Thanks a lot. Dariusz Wojtas On 12/14/06, Musachy Barroso <[EMAIL PROTECTED]> wrote: The autocompleter is like 2 weeks old, be patient with it :). The attribute is "delay", and the units are milliseconds. About typing...that is a little bit tricky and I want

Re: [S2] the autocompleter tag - TLD out of sync

2006-12-14 Thread Musachy Barroso
The autocompleter is like 2 weeks old, be patient with it :). The attribute is "delay", and the units are milliseconds. About typing...that is a little bit tricky and I want to provide an easier way of doing it in the future, the way Dojo's autocompleter works is that it loads its content once,

[S2] the autocompleter tag - TLD out of sync

2006-12-14 Thread Dariusz Wojtas
Hello, I am using the latest Struts 2.0.2 build from repository. This time I am trying to use the autocompleter tag. The showcase example shows it's basic usage, looks promising. But there are some issues. *) how to reload the contents of the tag while the user is typing? is it possible? *) some

Re: Dynamic form field

2006-12-14 Thread Martin Gainty
Roshini-http://struts.apache.org/WW/tag-syntax.htmlshows how you can dynamically construct your textfield as inThe best example is to use org.apache.struts2.showcase.model.Employee which implements IDEntity with the individual attributes you desireand then reference the employee from your Actio

Struts2 and JSF

2006-12-14 Thread Thai Dang Vu
Hello everybody, I use Struts 1.2.x only and never use new features in 1.3.5. I read JSF, wrote some basic examples and ... that's it. So, do you know anywhere that can tell what benefits we get when we use Struts2 with JSF. If we use Struts2 with JSF, can we apply the AJAX things to that JSF? R

Re: S2 - customize tabs

2006-12-14 Thread Don Brown
You should be able to just provide your own css styling for the tags in your usual css file. Don On 12/14/06, walidito <[EMAIL PROTECTED]> wrote: Does anyone know what is the simplest way to customize the tabpanel and tab. I think this is related to some css but but I'm not sure about the exac

S2 - customize tabs

2006-12-14 Thread walidito
Does anyone know what is the simplest way to customize the tabpanel and tab. I think this is related to some css but but I'm not sure about the exact path of those css. thanks -- View this message in context: http://www.nabble.com/S2---customize-tabs-tf2823006.html#a7879655 Sent from the Struts

Re: S2 - Ajax Tabbed Panel pb

2006-12-14 Thread walidito
That's ok I have solved the problem. For those interested by putting many ajax widgets, use the showcase example 1 that uses many widgets on the same page. walidito wrote: > > I have checked thanks, but i dont have two same div ids. > > > Musachy Barroso-2 wrote: >> >> Check that you are no

Re: [S2] loading another configuration file

2006-12-14 Thread Don Brown
One word, eh? ServletContextListener. Use a ServletContextListener to load your properties files and pass the name to it via servlet context parameter. There are ways to use Struts classes to initialize and load the data, but I wouldn't recommend it when there are solutions that are just as effe

Dynamic form field

2006-12-14 Thread rapsy
Hi I have a requirement to generate dynamic fields on form page depending on a value that user has entered. If user has entered value = 3, I have to generate 3 check boxes and 3 text boxes on a form page. I am able to do this but the problem is if I enter something on that page and navigate to

Re: struts 2 compatible with JBoss Portal 2.6

2006-12-14 Thread Martin Gainty
I agree that the lack of documentation from JBOSS Portal on implement Struts 2.x wars makes the implementation quite difficult You will note Struts supports JBOSS/Tomcat Good Luck, M --- This e-mail message (including attac

Re: Preprocessing of request

2006-12-14 Thread Frank W. Zammetti
I'm glad Ed replied because I missed your reply Anil... I wasn't ignoring you :) Ed covered it well... when I do this, I tend to do it slightly different... I write an Action that has an extra empty method, realExecute()... execute() calls realExecute(), and any "common" code, like your transforma

Re: Help for Struts2 with JSTL

2006-12-14 Thread Martin Gainty
Hello Nagraj If the variable is not on the ValueStack (an example of items stored in ValueStack would include the Action instance) then use the # so assuming StateList.id is set in Session use Anyone else? M --- This e-ma

Re: Preprocessing of request

2006-12-14 Thread Ed Griebel
You would define a base action that extends org.apache.struts.action.Action and includes a method execute() or maybe a helper method doSetup(). Your action classes would then extend this BaseAction class and then one of the first things you would do in execute() would be to call super.execute() o

RE: Hot deploying struts application

2006-12-14 Thread George.Dinwiddie
Yes, I'm using Tiles. I've just got the Auto Update Interval set for 3000 milliseconds ("Configuration | Applications" on the WL console) and I drop the war file into the incoming directory. The appserver explodes them and restarts the application. Over time, it loses memory and I have to restar

Re: struts 2 compatible with JBoss Portal 2.6

2006-12-14 Thread walidito
Thank you, but please re-read my question... Martin Gainty wrote: > > Hello Walid > > I would Start here > http://wiki.opensymphony.com/display/WW/Portlet+Tutorial > > Martin-- > --- > This e-mail message (including atta

Help for Struts2 with JSTL

2006-12-14 Thread Nagraj Rao
Hi Needed some help on struts2 for getting the id of a list i have in my sessionScope (say StateList). This individual object in this list is State which has fields "id" and "name". I'm using the following code to get a checkbox rendered with its id being the id of the state

RE: to list contents repertoire

2006-12-14 Thread Inandjo Taurel
Hi Ali, I have a function that does just that: public static String[] retrouverListeRepertoire(String racine) throws TechnicalException { File repertoirePrincipal = new File(racine); if (!repertoirePrincipal.exists()) { log.info("le repertoire n'existe pas!");

to list contents repertoire

2006-12-14 Thread Nabil ALI-MOUSSA
Hi, I would like to reach a repertory and to list his contents. how can I make. Thank you. Nam. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: log4j configurations?

2006-12-14 Thread Urso Wieske
Just put log4j.properties into your JavaSource directory and Exadel put it automatically after a compile/build session. It will be put into the WEB-INF/classes, which means that it will be found on your classpath. Cheers Urso -Oorspronkelijk bericht- Van: Mallik [mailto:[EMAIL PROTECTED

Re: ActionMessages

2006-12-14 Thread Niall Pemberton
If you use the saveMessages() method in your Action (rather than saveErrors() method) then you need to use the message="true" attribute in the jsp tags: Niall On 12/14/06, Kranti <[EMAIL PROTECTED]> wrote: thanks for the info i am trying the following In Action Class: ActionM