Re: Register plugin in "Tiles plugin configuration"

2006-12-17 Thread Matthias Stoll
You are my master :-) It works. Great. THX Mit freundlichen Grüßen / With best regards Matthias Stoll IT & Processing HPI - procurement unlimited __ HPI GmbH Am Limespark 2 D-65843 Sulzbach (Taunus) Office: +49(69)305-83249 Fax:+49(69)305-80409 Mobile: +

Re: Register plugin in "Tiles plugin configuration"

2006-12-17 Thread Antonio Petrelli
Matthias Stoll ha scritto: Thx Antonio extending and overriding nop, but how to register in "Tiles plugin configuration". Do you mean chain-config.xml? How to do that? You have to modify the plugin configuration, in struts-config.xml. Ahhh lazyness :-P HTH Antonio --

Register plugin in "Tiles plugin configuration"

2006-12-17 Thread Matthias Stoll
Thx Antonio extending and overriding nop, but how to register in "Tiles plugin configuration". Do you mean chain-config.xml? How to do that? TXH Matthias Stoll ha scritto: > Hi there. > > I have a Tiles / Struts application. When using i18n in Struts (property > files) everything works fine,

RE: Struts2, DisplayTags OGNL-error

2006-12-17 Thread Sakari.Isoniemi
OK, I'll try that (quite complicated solution). Or would be better for whole community that DisplayTag-organisation gives opportunity for programmer to define what the parameters syntax is ? Or OpenSymphony / OGNL "fix" OGNL ? /Sakari -Original Message- From: Martin Gainty [mailto:[E

[s2] CheckBox issues

2006-12-17 Thread vivek mannur
Hi, I've just started working on struts 2. I have a table with check boxes in a matrix kind of a view. Here depending on the database values some checkboxes are initially checked and the remaining are unchecked. When I check an unchecked box then I get a 'failed to load remote content

RE: DynaValidatorForm - cannot find bean

2006-12-17 Thread mano dasanayake
Hi, Use PropertyUtils.setSimpleProperty(yourForm,"proptyName",object); And PropertyUtils.getsimplePropert(yourform,"proprtyname") --> cast it to the required type.. Have a look http://www.ingrid.org/jajakarta/struts/struts1.0/en/target/documentation/api /org/apache/struts/util/PropertyUtils.htm

in struts2

2006-12-17 Thread red phoenix
I want to realize in Struts2,when session attribute is exist,it show "login",if it is not exist,it shows "not login",like follows: login not login I don't know how to use in struts2,because I don't find in struts2,anyone could tell me how to do it and give me some examples? Thanks.

Global Exception not working for me

2006-12-17 Thread Prakash Inuganti -X \(pinugant - Digital-X, Inc. at Cisco\)
Hi, The issue I have might be due to something very basic I am missing but for me I can't make this work. I am trying to capture any errors that happen in my application and show them in an error page. In my LookupDispatchAction class I have public ActionForward save(ActionMapping mapping, Actio

Re: DynaValidatorForm - cannot find bean

2006-12-17 Thread Pille
how can i access the getters and setters in of a DynaValidatorForm from within an action method? when i had a own form class i could do the following in a action method: productForm = (MyOwnForm)form; productForm.setComboArrayList(comboArrayListWithBeans); with a dynamic form i cannot cast anym

Re: DynaValidatorForm - cannot find bean

2006-12-17 Thread Pille
Christopher Schultz wrote: > Philippe, > > Pille wrote: >> but after submitting the form with wrong input and returning >> to the jsp-page i get the following exception: >> javax.servlet.jsp.JspException: Cannot find bean under name countries at >> org.apache.struts.taglib.html.OptionsTag.getIte

Re: DynaValidatorForm - cannot find bean

2006-12-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Philippe, Pille wrote: > but after submitting the form with wrong input and returning > to the jsp-page i get the following exception: > javax.servlet.jsp.JspException: Cannot find bean under name countries at > org.apache.struts.taglib.html.OptionsTa

Re: [S2] autocompleter, predefining initial value

2006-12-17 Thread Dariusz Wojtas
I would leave the current behaviour as the default. When there is small amount of data (up to hundreds of entries) it may give the end user feeling of a faster response. If there is more data then the developer should make use the the new feature. The info about reloading is a great news :) Thank

DynaValidatorForm - cannot find bean

2006-12-17 Thread Pille
hi, i have a DynaValidatorForm and a jsp-page to display the form data. in the jsp page i´m using some combo boxes too. i have one action class for all actions. this action class does all the actions for this single jsp page and it extends MappingDispatchAction class. to initialize my combo boxes w

Re: [S2] autocompleter, predefining initial value

2006-12-17 Thread Musachy Barroso
Making the autocompleter reload its content while typing was easier than expected :). Do you think it would be better to have that behavior , or the current one, by default? musachy Dariusz Wojtas wrote: Hi, I am using Struts 2.0.2, trunk. I have an action (/listy/kodyPocztowe) that returns

Re: [S2] loading another configuration file

2006-12-17 Thread Sébastien LABEY
Hi Don, Until now, I configured the datasource through the tag in the context.xml file (in the META-INF directory of my app) and through the web.xml with the tag like this : context.xml : web.xml : jdbc/myDatabase javax.sql.DataSource Con

Re: Struts2, DisplayTags OGNL-error

2006-12-17 Thread Martin Gainty
Mark/Sakari I would use the div tag javascript function to construct the href (with ajax control ability to dynamically populate your href based on occurence of JS event).. http://cwiki.apache.org/confluence/display/WW/ajax+div+template function updateReports(id) {

VS: Struts2, DisplayTags OGNL-error

2006-12-17 Thread Sakari.Isoniemi
Hai, Mark Shifman wrote: Are you using jsp, freemarker or velocity? Where is displaytags getting its table from? Here are a couple of pages that may help. http://struts.apache.org/2.x/docs/application-session-request-objects-in-jsp.html