AW: Can I have more than one properties file and retrieve from them based on the context

2003-05-29 Thread Mouratidis, Georg
YES, you can. you have to define them in struts-config: in your jsp you can access to them like: '; the link is between the key attribute in strurs-config and the bundle attribute in the . but keep i mine: you can have only ONE message-ressorces without a key attribute in struts-confi

Netscape and struts-html.tld-Eventhandler

2003-04-04 Thread Mouratidis, Georg
Hi @ all, I have aproblem with Netscape 4.7, 6.0 and 6.1 and the eventhandler. according to the W3C an eventhandler schould start with lowercase characters. The next character should be capitalized. e.g. onClick, onBlur. But Struts allows only lowercase characters. . If i use "onClick" an error

store an entry from application.resources...

2003-03-05 Thread Mouratidis, Georg
into a variable. Hi @ all, how can i store an entry from application.resources ( message resource bundle ) into a variable to pass it to as a parameter in my jsp. if there is any other approach please tell me. if i use this i get an error. i need this: thx in advance m

RE: How to Show gif image instead of html "button" in the forms for tag ?

2003-02-24 Thread Mouratidis, Georg
hi nico, i didnt feel it as an agression. but my english is not that best so i wanted do prevent any discussion that would request a better english. so sorry if i hurt you. -Original Message- From: Nicolas De Loof [mailto:[EMAIL PROTECTED] Sent: Montag, 24. Februar 2003 11:58 To: Struts

RE: How to Show gif image instead of html "button" in the forms for tag ?

2003-02-24 Thread Mouratidis, Georg
hi guido, you can do whatever you want. but i will avaoid using scriptlets in my code. i think thats the reason why struts came into life. and now i wnat to stop further discussions about this theme. -Original Message- From: Guido [mailto:[EMAIL PROTECTED] Sent: Montag, 24. Februar 2003

RE: How to Show gif image instead of html "button" in the forms for tag ?

2003-02-24 Thread Mouratidis, Georg
-Original Message- From: Nicolas De Loof [mailto:[EMAIL PROTECTED] Sent: Montag, 24. Februar 2003 10:07 To: Struts Users Mailing List Subject: Re: How to Show gif image instead of html "button" in the forms for tag ? This should work too : 1. Might be. dont know. but you sh

RE: How to Show gif image instead of html "button" in the forms for tag ?

2003-02-24 Thread Mouratidis, Georg
if you want to use localizable buttons this is not a good approach. because you are not able to nested tags in tags. you are not able to do this: /Apply.gif"/> property="submit" value="Enter"/> so i use this: and this is browser-indepentend. as far as i know mailto:[EMAIL PROTECTED] S

RE: value="" question

2003-02-06 Thread Mouratidis, Georg
You are not allowed to nest tags. so i suppose you have to define a scripting variable with and use this instead in your value attribute. -Original Message- From: Vijay Balakrishnan [mailto:[EMAIL PROTECTED]] Sent: Mittwoch, 8. Januar 2003 02:15 To: 'Struts Users Mailing List' Subject: v

locale-sensitive tag: how can I show an image-path out of a property-file

2003-02-06 Thread Mouratidis, Georg
Hi, I have a property-file including urls of my images. I have a tag inside a JSP as follows: And now I want to replace "images/buttons" inside the HTML with the appropriate value out of my property-file because I'm not allowed to place a tag inside another tag like this: "". Is there a poss

Problem with i18n

2003-02-04 Thread Mouratidis, Georg
Hi at all, i have a problem with my Resourcebundles. When the user logged in he/she should see the login page with his/her appropriate language values. the problem is, i can change the language into a language other than german (Locale=de) but struts is still displaying the values from the germ

RE: JSP under WEB-INF

2003-01-28 Thread Mouratidis, Georg
Hi Quinn, how about path="WEB-INF/jsp/catalogue/maincatalogue.jsp" -Original Message- From: Pat Quinn [mailto:[EMAIL PROTECTED]] Sent: Dienstag, 28. Januar 2003 13:09 To: [EMAIL PROTECTED] Subject: JSP under WEB-INF Hi Guys, I've just moved all my JSP's into a folder under

RE: Separating settings from texts in Ressources

2003-01-21 Thread Mouratidis, Georg
Im using the following approach in my struts-config.xml Because you can have only _ONE_ default Resources-bundle you have to use the key attribute for all the other bundles. e.g. key="ASSISTENT_RESOURCE_KEY" in my example. in your .JSP you have to use the bundle at

RE: JSTL in Struts

2003-01-13 Thread Mouratidis, Georg
>I'd bet you forgot to add the <%@ taglib %> declaration for the XML >library at the top of your page. JSTL is made up of several tag >libraries, not just one. > <%@ taglib prefix="x" uri="http://java.sun.com/jstl/xml"; %> Hi Craig, how much you will bet. i have this declaration. and i still

JSTL in Struts

2003-01-10 Thread Mouratidis, Georg
Hi, im using JSTL with Struts. And some tags are working and some do not. i have no idea. works the following error appears: org.apache.jasper.JasperException: /web/views/shared/Organization/OrganizationData.jsp(241,0) Unable to load class import or org.apache.jasper.JasperException: /we

RE: first action

2003-01-10 Thread Mouratidis, Georg
to extend the RequestProcessor class something like this: public class PcxRequestProcessor extends RequestProcessor { protected void processLocale(HttpServletRequest request, HttpServletResponse response) you have to have processLocale method. i use this way

RE: value="" question

2003-01-10 Thread Mouratidis, Georg
>property="section.name"/>. >But this code doesn't work: > > >property="section.name"/>" /> of course not. writes an output in the http-stream. but you want to give the attribute value a value. so you can define with a variable and use this variable to assign to the value-attribut. i dont kn

RE: Struts and TagLibrary Xtags

2003-01-09 Thread Mouratidis, Georg
the dis is that it does not work with struts 1.1.2!?! this is my experience. i have been trying since two days but i have no results only errors. And nobody could help in this list. BTW: What is Stxx? Where can i download this? thanks george -Original Message- From: Rajshree Vivekanandan

RE: JSPWriter prints ???

2003-01-09 Thread Mouratidis, Georg
te.io", e.toString())); } } the text in "writer.print(text);" looks fine before print is called but in the html I get instead for the records Thanks (Geia sou kai esena) - Original Message ----- From: "Mouratidis, Georg" <[EMAIL PROTECTED]> To: "Str

RE: JSTL-XML does not work

2003-01-08 Thread Mouratidis, Georg
-Original Message- From: V. Cekvenich [mailto:[EMAIL PROTECTED]] Sent: Mittwoch, 8. Januar 2003 14:19 To: [EMAIL PROTECTED] Subject: Re: JSTL-XML does not work >Test out your XML with outside with a XSLT, easy via browser (all new >browser will do XSLT). This way it works. But i dont

RE: JSTL-XML does not work

2003-01-08 Thread Mouratidis, Georg
-Original Message- From: V. Cekvenich [mailto:[EMAIL PROTECTED]] Sent: Dienstag, 7. Januar 2003 21:31 To: [EMAIL PROTECTED] Subject: Re: JSTL-XML does not work >http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/basicportal/basicportal_07/portlets/cms/ContentZoomPortlet.jsp?rev=1.7&content-ty

RE: JSPWriter prints ???

2003-01-08 Thread Mouratidis, Georg
I guess that you use ApplicationResources.properties to display your options-values. If so, there is in struts-config.xml an attribute in the -tag. With this attribute ( sorry, i dont know the name ) you can tell struts what to do if it can nout find the appropriate resource key. If you get ??? t

RE: JSTL-XML does not work

2003-01-07 Thread Mouratidis, Georg
from JSTL examples also declare them. > -Message d'origine- > De: Mouratidis, Georg [mailto:[EMAIL PROTECTED]] > Date: mardi 7 janvier 2003 12:08 > À: Struts Users Mailing List > Objet: RE: JSTL-XML does not work > > > how can i do this. there is nothing in the doc. >

RE: JSTL-XML does not work

2003-01-07 Thread Mouratidis, Georg
t' Subject: RE: JSTL-XML does not work Did you add, at the top of your JSP, the declaration of the namespaces "x" and "c" ? > -Message d'origine- > De: Mouratidis, Georg [mailto:[EMAIL PROTECTED]] > Date: mardi 7 janvier 2003 12:02 > À: [EMAIL PROTE

JSTL-XML does not work

2003-01-07 Thread Mouratidis, Georg
Hi all, i have the following code in my .jsp This is an example in JavaServer Pages Standard Tag Library Doc but it does not work. further more. i can see these lines on the client when i view the source. this should meen that it wouldnt be parsed by the engine. Can somebody help plea

RE: error reloading the jsp

2002-12-12 Thread Mouratidis, Georg
do you have stored your former listbox-collection in the session? if not, so your failure jsp do not know about your collection. -Original Message- From: Dinesh Samson J [mailto:[EMAIL PROTECTED]] Sent: Donnerstag, 12. Dezember 2002 11:15 To: [EMAIL PROTECTED] Subject: error reloading t

RE: how to submit a form using html:link

2002-12-11 Thread Mouratidis, Georg
-Original Message- From: Gemes Tibor [mailto:[EMAIL PROTECTED]] Sent: Mittwoch, 11. Dezember 2002 09:58 To: Struts Users Mailing List Subject: Re: how to submit a form using html:link >You are not forced to use html:link. It is useful for url rewriting, which is >not needed by you. So

RE: Struts Child Windows

2002-12-10 Thread Mouratidis, Georg
-Original Message- From: Cook, Graham [mailto:[EMAIL PROTECTED]] Sent: Donnerstag, 5. Dezember 2002 14:00 To: [EMAIL PROTECTED] Subject: Struts Child Windows What is the correct way in Struts to open a child window (from a JSP), which calls an Action, retrieves a input field value from

RE: dynamically disable a input field.

2002-12-10 Thread Mouratidis, Georg
hi, now i can answer my own question. i did it using javascript in onload(); thx to all for helping -Original Message- From: Mouratidis, Georg Sent: Dienstag, 10. Dezember 2002 14:31 To: Struts Users Mailing List Subject: RE: dynamically disable a input field. hi, i did it your

RE: dynamically disable a input field.

2002-12-10 Thread Mouratidis, Georg
hi, i did it your way but now i have problems with the focus attribut in the tag. if the element is disable i cant set the focus. of course not. i try so many things to set the attribute dynamically but i didn't solve it. can you help again please? thx in advance -Original Message-

RE: dynamically disable a input field.

2002-12-10 Thread Mouratidis, Georg
hi shirishchandra ( i hope this is your forename ) thx alot. i think i will go this way. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Dienstag, 10. Dezember 2002 13:05 To: [EMAIL PROTECTED] Subject: RE: dynamically disable a input field. If u dont want t

RE: dynamically disable a input field.

2002-12-10 Thread Mouratidis, Georg
ubject: RE: dynamically disable a input field. A couple of choices: Actually put the inside the logic and use an else clause. Use struts-EL for the disabled attribute calculation ${OrganizationSession.isProvider==0?"disabled":"enabled"} Edgar -----Original

RE: dynamically disable a input field.

2002-12-10 Thread Mouratidis, Georg
the disadvange is that i have to do it for 25 inputfields. 25x ... 25x ... is this the only way you know? thx georg -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Dienstag, 10. Dezember 2002 12:51 To: [EMAIL PROTECTED] Subject: RE: dynamically disable a inpu

RE: Problems

2002-12-10 Thread Mouratidis, Georg
Mailing List Subject: RE: Problems what happens when you click on submit and there is no file? i am having trouble with validating this via the struts validator plugin.. --- "Mouratidis, Georg" <[EMAIL PROTECTED]> wrote: > No i have String. > > i chan

dynamically disable a input field.

2002-12-10 Thread Mouratidis, Georg
Greetings i want to disable some input elements but only if a bean property is not set: e.g. here i want to set a variable to be used than in each input element. e.g. something like disabled="disabled" in the inputs than i would like to use the above setted varia

RE: Problems

2002-12-09 Thread Mouratidis, Georg
Problems 2002. december 9. 12:51 dátummal Mouratidis, Georg ezt írtad: > Greetings, > > i have a tag. When i cklick to submit the form the following > error appears: What do you have in the ActionForm? Is the corresponding property's type FormFile? Hth, Tib -- To unsubscrib

Problems

2002-12-09 Thread Mouratidis, Georg
Greetings, i have a tag. When i cklick to submit the form the following error appears: type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: BeanUtils.populate

RE: dynamically display buttons-footer

2002-11-29 Thread Mouratidis, Georg
Roles are something the servlet container should provide - e.g. see tomcat-users.xml. You wrote about "logging in" - how do you currently manage user authentication? i have a flag in the application-db that indicates if provider, buyer or supplier. Depending on the entry values on logging i eval

RE: ActionError order

2002-11-28 Thread Mouratidis, Georg
: Donnerstag, 28. November 2002 09:52 To: Struts Users Mailing List Subject: Re: ActionError order 2002. november 28. 09:36 dátummal Mouratidis, Georg ezt írtad: > Hi, > > how can i determine the order of the error appeareance. > i want to determine what error index schould come in which or

ActionError order

2002-11-28 Thread Mouratidis, Georg
Hi, how can i determine the order of the error appeareance. i want to determine what error index schould come in which order. is it possible? mit freundlichen Grüßen Georg XL. Mouratidis Web Application Developer Heiler|Software AG Mittlerer Pfad 9 D-70499 Stuttgart Tel: 0711-139 84-2

RE: dynamically display buttons-footer

2002-11-28 Thread Mouratidis, Georg
-Original Message- From: gus [mailto:[EMAIL PROTECTED]] Sent: Donnerstag, 28. November 2002 08:19 To: Struts Users Mailing List Subject: Re: dynamically display buttons-footer Hi Georg! Try this: Hi gus, I never

RE: not working

2002-11-27 Thread Mouratidis, Georg
and what is what you get instead? -Original Message- From: Sarath Chandra M [mailto:[EMAIL PROTECTED]] Sent: Mittwoch, 27. November 2002 11:11 To: [EMAIL PROTECTED] Subject: not working Dear group, I have jsp code like this :

dynamically display buttons-footer

2002-11-27 Thread Mouratidis, Georg
Hi, I have a form that can bu used either if a provider or a buyer or a supplier is logged on. I have two buttons named delete and save. I want know display the buttons dynamically under different conditions. is there something like if (provider loggedin AND user has clickt the buyer tab)

RE: set a html:checkbox checked

2002-11-26 Thread Mouratidis, Georg
Best regards Patrice - Original Message ----- From: "Mouratidis, Georg" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, November 26, 2002 1:28 PM Subject: RE: set a html:checkbox checked > Hallo Patrice, > > thank yo

RE: set a html:checkbox checked

2002-11-26 Thread Mouratidis, Georg
the values that corresponds to the checked select boxes. Best regards Patrice ----- Original Message - From: "Mouratidis, Georg" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, November 26, 2002 12:00 PM Subject: RE: set

RE: set a html:checkbox checked

2002-11-26 Thread Mouratidis, Georg
ou wish to utilize String value other than "true", "yes", or "on"..., you can use the tag. Best regards Patrice - Original Message - From: "Mouratidis, Georg" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTE

RE: set a html:checkbox checked

2002-11-26 Thread Mouratidis, Georg
orm myForm = (MyForm) form; if (tablecolumn.value == 1) { myForm.setCheckboxProperty = true; } Then, the check box corresponding to CheckBoxProperty will be checked on the JSP. Hope it helps Patrice - Original Message - From: "Mouratidis, Georg" <[EMAIL PROTECTED]> To:

RE: set a html:checkbox checked

2002-11-25 Thread Mouratidis, Georg
sumes all checkboxes are off. Use something like As long as you use the name which corresponds to the form bean property struts will correctly link the data back to your form. Hope this helps. Edgar -Original Message- From: Mouratidis, Georg [mailto:[EMAIL PROTECTED]] Sent: M

RE: set a html:checkbox checked

2002-11-25 Thread Mouratidis, Georg
have to have code which sets the property associated with the checkbox to either "true", "yes", "on", or the value set in the "value" attribute. > -----Original Message- > From: Mouratidis, Georg [mailto:[EMAIL PROTECTED]] > > Hi, Oliver >

RE: set a html:checkbox checked

2002-11-25 Thread Mouratidis, Georg
Hi, Oliver did you get any response. i'm looking for the same. could you send me your solution please? thx Georg M. -Original Message- From: Oliver Kersten [mailto:[EMAIL PROTECTED]] Sent: Donnerstag, 21. November 2002 17:34 To: [EMAIL PROTECTED] Subject: set a html:checkbox checked H

RE: Application Resources problems

2002-11-22 Thread Mouratidis, Georg
hi jim, i think this is not a problem of your resourcefile. i think you try to access to a bean, either in an action or in jsp, that does not exist. -Original Message- From: Jim Collins [mailto:[EMAIL PROTECTED]] Sent: Freitag, 22. November 2002 13:54 To: Struts Users Mailing List Subjec

future of struts

2002-11-20 Thread Mouratidis, Georg
the following article i found at TheServerSide.com >The tag libraries bundled with Struts provide access to simple and indexed >properties; the >org.apache.struts.taglib.nested package contains tags that access simple and indexed >properties in a >nested combination. For a complete list of all

RE: Struts with frames problem

2002-11-20 Thread Mouratidis, Georg
HI Kanal, if you want do call an action from your frameset you have to use the following syntax: Please pay attention to the src-Attribut. You can ommit the ApplicationName in the src attribut only the in action attribute in the . You also have to be aware of the scope attribut in the approp

RE: NEWBIE-Quesion? add a querystring to

2002-11-14 Thread Mouratidis, Georg
thanx a lot. thats it! -Original Message- From: Gemes Tibor [mailto:gemes@;regens.hu] Sent: Donnerstag, 14. November 2002 14:34 To: Struts Users Mailing List Subject: Re: NEWBIE-Quesion? add a querystring to 2002. november 14. 13:54 dátummal Mouratidis, Georg ezt írtad: > if i do th

NEWBIE-Quesion? add a querystring to

2002-11-14 Thread Mouratidis, Georg
Hi, How can i add a received querystring - not through STRUTS action - to the attribut action. like this if i do thhis in the source i see: what do i do wrong. I do not want to create for each paramter an hidden input field. can somebody help? thanks mit freundlichen Grüßen Georg XL.

RE: about html:error ( error handling )

2002-11-12 Thread Mouratidis, Georg
hi wolfgang, you do not have to go this way. 1. in the struts-config.xml add in your appropriate the attribute validate="true". 2. in your actionformbean there is (has to be ) a method called validate(). inside this method you only add your ActionsErrors object. If there is not