AW: Integrating cocoon with Struts

2003-10-16 Thread Juraj . Lenharcik
Hello Ravi, I had the same situation in my scenario. My workflow was the following one: 1. Submit JSP 2. Call Action 3. Get Data from eJB 4. Transform Data to XML 5. Serialize XML to Webapp directory 6. Forward the request to the serialized XML. But manipulate the

MessageRessources

2003-07-15 Thread Juraj . Lenharcik
Hello, I have the following scenario. I want to configure the count of items and the values of these in a drop down list. These entries should be shown in the language dependency of the browser. So I created some values like: val.1=house val.2=dog and so on. Unfortunately there is no

JavaScript and text field

2003-06-04 Thread Juraj . Lenharcik
Hi, I have some problems to access a text field. I have this JSP code: html:form action=criteria.do method=post onsubmit=javascript:check() html:text property=item size=40 / And want to access the value of the item field: function check(){ var inputvalue =

AW: JavaScript and text field

2003-06-04 Thread Juraj . Lenharcik
It is: item html:text property=item size=40 / is: input type=text name=item size=40 value= -Ursprüngliche Nachricht- Von: Mike Jasnowski [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 3. Juni 2003 14:56 An: Struts Users Mailing List Betreff: RE: JavaScript and text field I would

AW: Using Struts with Cocoon?

2003-02-26 Thread Juraj . Lenharcik
Hi, I use struts cocoon together. I have an area in my webapp which has some reports. These reports are in xml and generated either by an EJB or an Action. After the generation of such a XML this is saved in this area which is controlled by cocoon. If a request (directly or as redirect from

AW: Reporting an Exception message in a JSP.

2003-02-25 Thread Juraj . Lenharcik
Hi Oliver, whats with this constructor: ActionError(java.lang.String key, java.lang.Object value0) Construct an action error with the specified replacement values. ? Juraj -Ursprungliche Nachricht- Von: ROSSEL Olivier [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 25.

AW: Struts and Portlets

2003-02-25 Thread Juraj . Lenharcik
Hi Mitchell, I dont have it. I expect that some features are included. Juraj -Ursprüngliche Nachricht- Von: Mitchell Morris [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 25. Februar 2003 17:12 An: 'Struts Users Mailing List' Betreff: RE: Struts and Portlets Ummm ... JSR-168 is still

Struts and Portlets

2003-02-24 Thread Juraj . Lenharcik
Hi, is there an intention to implement the JSR-168 (Portlet API) into struts? In my opinion three important features like multiple output formats with XSLT, workflows and the support of portlets would be very important for the future. The ability to create standardised portlets with struts

AW: struts log4j

2003-02-13 Thread Juraj . Lenharcik
Hi, I am not sure did you tried to create the logger without final? I use it only as statis. Juraj -Ursprüngliche Nachricht- Von: Dinesh Sampangi [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 13. Februar 2003 09:05 An: Struts Users Mailing List Betreff: struts log4j Hi! All,

AW: struts log4j

2003-02-13 Thread Juraj . Lenharcik
Hi, you have also to use the .getName() method! private static Logger log = Logger.getLogger(BanfCreateAction.class.getName()); Juraj -Ursprüngliche Nachricht- Von: Dinesh Sampangi [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 13. Februar 2003 09:05 An: Struts Users Mailing List

logic - dynamic - equal, lessThan, ...

2003-02-04 Thread Juraj . Lenharcik
Hi, I have an iteration with an object which has two values. I want to compare these values and create an output on their depedency. That means if the value1 is equal value2 then write it yellow. If value1 greater than value2 write it red and so on. I tried the logic tags, but I am not sure if

AW: logic - dynamic - equal, lessThan, ...

2003-02-04 Thread Juraj . Lenharcik
Ok I have it; bean:define has to be used to set up the value. after this it has to be done like this: bean:define id=val2 name=beanname property=propertyname/ logic:lessThan name=id property=value1 value=%= (String)val2 % LESS /logic... juraj -Ursprüngliche Nachricht- Von:

AW: [Announce] [New Extension] ApplicationResources.properties fr om Database

2002-09-11 Thread Juraj Lenharcik
I would be interessted; Whats about XMLRessources? ;-) -Ursprüngliche Nachricht- Von: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 11. September 2002 14:07 An: 'Struts Users Mailing List' Betreff: RE: [Announce] [New Extension] ApplicationResources.properties fr om

AW: [Announce] [New Extension] ApplicationResources.properties fr om Database

2002-09-11 Thread Juraj Lenharcik
Okay, I put the source in www.dirtroad.net/computer-programmer. Open source - hope you find it useful. Mark -Original Message- From: Juraj Lenharcik [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 11, 2002 8:16 AM To: 'Struts Users Mailing List' Subject: AW: [Announce] [New

AW: [Announce] [New Extension] ApplicationResources.properties fr om Database

2002-09-11 Thread Juraj Lenharcik
with this link: http://www.open-tools.org/struts-atlanta/downloads/DBMessageResources -Ursprüngliche Nachricht- Von: Juraj Lenharcik [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 11. September 2002 14:34 An: 'Struts Users Mailing List' Betreff: AW: [Announce] [New Extension

AW: sites powered by struts

2002-09-11 Thread Juraj Lenharcik
try this: https://egovernment.100world.com/ewodemo-lhh/viewMrIndex.do https://egovernment.100world.com/ewodemo-erl/viewMrIndex.do -Ursprüngliche Nachricht- Von: Jefferson R. de O. e Silva [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 11. September 2002 15:37 An: [EMAIL PROTECTED]

AW: sites powered by struts

2002-09-11 Thread Juraj Lenharcik
wow Resin/1.2.7 :-) -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 11. September 2002 15:56 An: Struts Users Mailing List; [EMAIL PROTECTED] Betreff: Re: sites powered by struts The site www.britannia-music.co.uk is running

AW: Struts vs Jade

2002-09-10 Thread Juraj Lenharcik
Hi, in my opinion Jade is really something for webdesigners. I think struts has a handicap on the view development. There should be a more intensive cooperation to include the struts taglibt into products like Dreamweaver. There is a smart support yet, but it doesn't work really. I think the

AW: WYSIWYG for Struts?

2002-09-10 Thread Juraj Lenharcik
Dreamweaver provides a support -Ursprüngliche Nachricht- Von: Dan Walker [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 10. September 2002 14:32 An: [EMAIL PROTECTED] Betreff: WYSIWYG for Struts? What page design tools are you using with Struts (Frontpage, etc.)? Does any product

AW: Handling runtime exceptions in Struts?

2002-09-09 Thread Juraj Lenharcik
Hi Declan, there are some new tags (since servlet api 2.3): error-page exception-typejava.sql.SQLException/exception-type location/ausnahmen/sqlException.jsp/location /error-page error-page exception-typejava.io.IOException/exception-type

AW: ApplicationResources.properties to DB?

2002-08-29 Thread Juraj Lenharcik
Hi, is this feature provided for the next releases? I mean this feature should be supported. There should be at least connectors for databases and xml-application ressources (like in ant, the xml property files). Juraj -Ursprüngliche Nachricht- Von: Tero P Paananen [mailto:[EMAIL

iterate - create - html:text not bean:write

2002-05-24 Thread Juraj Lenharcik
Hi, I have a bean with an ArrayList. These entries should be presented on the jsp as input fields. What is the best way? logic:iterate id=groups name=adminloginmodules property=groups bean:write name=groups /br == Not bean:write something like html:text name=adminloginmodules property=group/

WG: iterate - create - html:text not bean:write

2002-05-24 Thread Juraj Lenharcik
Hi, I have a bean with an ArrayList. These entries should be presented on the jsp as input fields. What is the best way? logic:iterate id=groups name=adminloginmodules property=groups bean:write name=groups /br == Not bean:write something like html:text name=adminloginmodules

AW: apache + tomcat + *.do mapping problem

2002-04-24 Thread juraj Lenharcik
Hi, perhaps it is a configuration error. Your provider has to pass the *.do to tomcat. I think your provider pass only *.jsp to tomcat juraj -Ursprüngliche Nachricht- Von: Oliver Kiessler [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 24. April 2002 10:46 An: Struts Users Mailing

Question to Sessions in Struts Framework

2002-04-18 Thread juraj Lenharcik
Hi, can someone tell me, if there is a automatically session creating after calling mapping.findForward? The problem is that I use a session.invalidate in an ActionServlet. My SessionListener create an output, that this session was destroyed, but after this, the Listener signaled, that a new

can not access a member of class ... with modifiers - Error

2002-04-10 Thread juraj Lenharcik
Hi, can someone tell me what this error has to say? org.apache.struts.action.ActionServlet: Error creating Act ion instance for path '/login', class name 'com.di.security.auth.authentication. LoginAction'^M java.lang.IllegalAccessException: Class org.apache.struts.action.ActionServlet c an not

AW: can not access a member of class ... with modifiers - Error

2002-04-10 Thread juraj Lenharcik
hi, ok i have it; my generated action-class wasn't ''public'' -Ursprüngliche Nachricht- Von: juraj Lenharcik [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 10. April 2002 16:14 An: Struts-User@Jakarta. Apache. Org (E-Mail) Betreff: can not access a member of class

AW: [ANN] Routines to validate Date in Struts

2001-11-29 Thread juraj Lenharcik
Hello, is there not already a validator present in the commons? /1 can yo explain what the essentials differences are? perhaps a documentation of the abilities. your side is not so meaningful for a non spanish speaker. ;-) thanks 1- http://home.earthlink.net/~dwinterfeldt/

AW: Log4J and Struts

2001-11-22 Thread juraj Lenharcik
i have it in web-inf/classes and will be invoced by a startup servlet. -Ursprüngliche Nachricht- Von: Tom Klaasen (TeleRelay) [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 22. November 2001 10:30 An: Struts Users Mailing List Betreff: RE: Log4J and Struts Somewhere in the classpath.

AW: Log4J and Struts

2001-11-22 Thread juraj Lenharcik
Category logcat = Category.getInstance(MyClass.class);. This is precisely what makes log4j superior to all other logging mechanisms I've yet seen (though I have to admit I don't study them all, because I'm more than content with log4j). tomK -Original Message- From: juraj Lenharcik

access a error with logic (error added in form not action)

2001-10-26 Thread juraj Lenharcik
hello, i have a input field and i check it in the FORM-bean (Not action!), if it is ok; when not i put it to the errors (errors.add(count, new ActionError(error.count)); ) and return to the input jsp. Now i want to output a error message. i did it with html:errors property=count / but now i

Application Ressources from database?

2001-10-25 Thread juraj Lenharcik
hi all, want to ask how i can use the tags with a source like a database intead of ApplicationRessources.properties. a example is to use error messages from database. when it is not possible, how can i check with the iterate tag if a error id is there? example: logic:present name=errors

AW: Struts Reference Site

2001-10-18 Thread juraj Lenharcik
we do something in struts, too for daimler chrysler. greetings juraj -Ursprüngliche Nachricht- Von: Bernhard J. Hirschmann [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 18. Oktober 2001 16:02 An: [EMAIL PROTECTED] Betreff: AW: Struts Reference Site Alan, I could show you some

AW: AW: Bug in Struts validator !

2001-09-14 Thread juraj Lenharcik
no problem ;-) -Ursprüngliche Nachricht- Von: David Winterfeldt [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 13. September 2001 17:58 An: [EMAIL PROTECTED] Betreff: Re: AW: Bug in Struts validator ! My bad. I'm blind. I'll fix it and check it into CVS. David --- juraj Lenharcik

AW: Implement menu into Struts ( Newbie question )

2001-09-14 Thread juraj Lenharcik
hi claudio, i think it is of course the best way to do it with your ActionBean. it exists a struts based taglib collection named struts light http://struts.application-servers.com/ . theres a menu implemented in struts and jsp. i think it is exactly tat, what you need. i tried the menu some time

AW: Bug in Struts validator !

2001-09-13 Thread juraj Lenharcik
the if statement. It already checks if the locale is null and uses the default locale if it is null. Am I missing what you changed? David --- juraj Lenharcik [EMAIL PROTECTED] wrote: hi all, In the class GenericValidator, when you use an another locale than the default you get a null pointer

AW: Bug in Struts validator !

2001-09-13 Thread juraj Lenharcik
the if statement. It already checks if the locale is null and uses the default locale if it is null. Am I missing what you changed? David --- juraj Lenharcik [EMAIL PROTECTED] wrote: hi all, In the class GenericValidator, when you use an another locale than the default you get a null pointer

Bug in Struts validator !

2001-09-11 Thread juraj Lenharcik
hi all, In the class GenericValidator, when you use an another locale than the default you get a null pointer exception. i tried it with the german locale settings. i fixed the bug in this lines: DateFormat formatter = null; if (locale != null){ ==

AW: Unit Testing Actions

2001-09-11 Thread juraj Lenharcik
yes i had user httunit too. it used not only xml as input, but also a xml file as output for reports. ths xml reports were transformed with xsl to html for nightly reports like gump (apache). juraj -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Gesendet:

AW: Does html:errors not work proper?

2001-09-10 Thread juraj Lenharcik
hi marcel, did you have registered an error in your actionServlet? you have to put something like : errors.add(test, new ActionError(test.error)); your Application Ressource describes the key: test.error=This is an error in your jsp you can then output the error with: html:errors property=test

AW: Does struts validate input field in JSP type by itself ?

2001-09-10 Thread juraj Lenharcik
hi julia, you get, as far as I know, only strings for settings. you can validate the string in your ActionForm within the validate method. you have to look if the string can be transfered to a integer; when no you can add an error and redirect back to the jsp. public void

AW: Does html:errors not work proper?

2001-09-10 Thread juraj Lenharcik
dont know, never used -Ursprüngliche Nachricht- Von: Marcel Andres [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 10. September 2001 17:44 An: struts-user Betreff: RE: Does html:errors not work proper? hi juraj thanks for your responde. yes, in my action I have the following code:

How to iterate without trouble

2001-09-10 Thread juraj Lenharcik
Cause of the lots of Questions about the ITERATE Tag, here is a simple example how to iterate over a Hastable (using the Interface java.util.Map.Entry): Juraj Michael from Germany Struts Oldbiez (over 1.5 month of experience) ;-) Action: Hashtable values = new

AW: Example to use javascript to validate field input in JSP not null and be integer ?

2001-09-10 Thread juraj Lenharcik
why not server side? with ActionForm and validate? jsp: = form:form action=chart.do method=get tr td colspan=2font color=redhtml:errors property=datumFrom //font/td /tr tr tdDatum von: /td tdform:text property=from size=15//td tr ... the form bean: = public ActionErrors

fasthashmap for validator

2001-09-10 Thread juraj Lenharcik
hi, can some one tell me where to download the struts.util.fasthasmap? i need it for the struts validator; thanks juraj

WG: struts or tomcat 3.2.1 bug?

2001-09-07 Thread juraj Lenharcik
the bean writes and then the scope of the bean is suddenly lost. then i get my meaningful jsp - exception. what could be the problem??? there should be no startup mistake. thanks juraj -Ursprüngliche Nachricht- Von:juraj Lenharcik Gesendet: Donnerstag, 6. September 2001 17:37

AW: Cannot find bean element in scope null - Error in action forwar d page - but the next page works !

2001-09-04 Thread juraj Lenharcik
put scope=request to your write tag -Ursprüngliche Nachricht- Von: Hamelmann Stefan [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 4. September 2001 10:30 An: '[EMAIL PROTECTED]' Betreff: Cannot find bean element in scope null - Error in action forwar d page - but the next page works !

AW: Help: Cannot find bean BEAN in scope null

2001-08-30 Thread juraj Lenharcik
put scope=request to your tag -Ursprüngliche Nachricht- Von: Gary Kephart [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 29. August 2001 20:32 An: Struts User Betreff: Help: Cannot find bean BEAN in scope null I get this message in the log file: Cannot find bean

AW: Logic Tags

2001-08-29 Thread juraj Lenharcik
did you have: String message = blabla; request.setAttribute(success, message); in your actionBean? -juraj -Ursprüngliche Nachricht- Von: Mike Bungay [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 29. August 2001 17:17 An: '[EMAIL PROTECTED]' Betreff: RE: Logic Tags I am passing the

AW: Logic Tags

2001-08-29 Thread juraj Lenharcik
not a variable because I don't really care what the value is I just want to check that it's present -Original Message- From: juraj Lenharcik [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 29, 2001 11:32 AM To: '[EMAIL PROTECTED]' Subject: AW: Logic Tags did you have: String message

digister formbean forward

2001-08-28 Thread juraj Lenharcik
hi, i have implemented an actionservlet which reads out a xml config file for a database configuration. i can add the required values to a session and the forward jsp can access them. but when i construkt a formbean for these values, then i can`t access the values. i become allway only null

AW: digister formbean forward

2001-08-28 Thread juraj Lenharcik
sorry i have solved the problem (too tired now...) until later, with the next digister problem ;-) -Ursprüngliche Nachricht- Von: juraj Lenharcik [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 28. August 2001 18:59 An: '[EMAIL PROTECTED]' Betreff: digister formbean forward hi, i

AW: Struts and HttpUnit

2001-08-24 Thread juraj Lenharcik
download httpunit; try the examples; there is no difference between struts generated frontend or not struts generated. you will need the jtidy too, to parse the html files (response). with httpunit you can test the functionality from websites -named black box tests. the interessting thing with

struts light bug ?

2001-08-20 Thread juraj Lenharcik
hi all, does anyone have experience with struts light from jean noel ribette ? i have a problem with his menu tag. i have implemented a wonderfull deep search and want to create a tree-menu with the results now. i have created the necessary code, but this could not be correctly realized. the