domain name used soehow as "namespace"

2007-11-20 Thread Ivan Žučenko
obvious purpose... easily defined by namespace AND THEN I would like to map myDomain.mobi to completly different package. I run Apache + tomcat5 + S2 PLS ADVICE for best practise? Thanks Ivan - To unsubscribe, e-mail: [EMAIL

Re: changing template for s:text

2007-10-30 Thread Ivan Žučenko
... also since I am quite new to the s2.. I am afraid of itroducing ineficiency into the code... ..anyway I will try to solve it and then come back with proposal on this improvement... and... may be you or someone else may help me out to convert it into "patch" Ivan On 10/30/07, Tom Schne

changing template for s:text

2007-10-30 Thread Ivan Žučenko
go? Thanks Ivan

how Action Tag may access actionContext of the surrounding Action?

2007-10-30 Thread Ivan Žučenko
mewhere in ValueStack (THIS IS I DO NOT KNOW HOW) and injects it into actionTag's Action.. I hope I have explained this right... I really tryed several hours google around for solution... so sorry for bothering BR Ivan

Re: Help posting a form with an anchor and targets

2007-08-29 Thread Ivan Fontanals
et div, because it removes the form elements when setting this text inside the div. Bests regards, Ivan Fontanals

Help posting a form with an anchor and targets

2007-08-29 Thread Ivan Fontanals
irected. My code is: <%-- BUTTONS --%> SAVE Please, could you give me any ida about what is happening? Thank you very much for your time! Ivan Fontanals

Help posting a form with an anchor and targets

2007-08-29 Thread Ivan Fontanals
irected. My code is: <%-- BUTTONS --%> SAVE Please, could you give me any ida about what is happening? Thank you very much for your time! Ivan Fontanals

Redirect by button

2007-03-26 Thread Ivan Babanin
Hi All! I have a simple button. It may be or . If user click this button it will redirect to page /add.jsp. So how can i do this? At this time i know only one way.. 1) Create Action 2) Create ActionBean 3) Write in struct-config.xml such thing:

Problem with Action

2007-03-26 Thread Ivan Babanin
I have such struts-config.xml: http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd";> ... File DeleteActionBean.java: package ru.delete; import javax.

render output

2007-02-04 Thread Ivan
Hi all, is there a way to avoid that the action property is rendered with the application name (e.g --> ) ? What i need for a special case is that the output is . If this is not possible , is it possible to use the normal html-form () tag and bind it to an actionForm ? regards i

Re: i18n recommendation

2005-09-15 Thread Ivan Rodriguez
What I use: First I store the ArrayList in the application context, with the locale identifies concatenated. And other useful localized strings that are constants. context.setAttribute(lang + "_" + Constants.YEAR_MONTHS, ym); And in the action where there is a forward that will display that

Re: Struts and DisplayTag CSS?

2005-09-15 Thread Ivan Rodriguez
OOps, i didn t checked the welcome-file directive. I didn t found a situation where you want to access your forward jsp directly. :-[ Holshausen, Ron escribió: Hi, You're using an relative path to your css file (css/screen.css), so the user page with path /user/... does it find it as it expe

Re: Struts and DisplayTag CSS?

2005-09-15 Thread Ivan Rodriguez
You have distinct code in both url's. It is imposible that one work and the other doesnt work if you have the *same* displaytag configuration and css and other needed files declared in both jsp. Because they are at same url level ( /erp/ ) 梁炳場 escribió: For this link, http://localhost:8080/

Re: Some i18n issues

2005-09-15 Thread Ivan Rodriguez
I think the *cleanest* way is to format data at presentation layer (jsp). Last example from Laurie is quite correct and clean, if it is too long code let get a try with JSTL and Struts-EL taglibs () Michael Ewers escribió: Hi, To avoid misunderstandings: My goal is to have a DynaActionForm

Re: JavascriptValidatorTag.doStartTag(JavascriptValidatorTag.java:309) ( URGENT !! )

2005-09-15 Thread Ivan Rodriguez
application works fine in local app server (oracle 10g ias). Ivan, we dont use tomcat server for development. We use same server oracle 10g ias. Also this app works fine in my OC4J of JDeveloper 10g . In where automatic string-number castin Any suggestion? Erol Ivan Rodriguez <[EM

Re: Some i18n issues

2005-09-14 Thread Ivan Rodriguez
"> Michael Ewers escribió: The problem is that the tag doesn't have a formatKey-attribute and I want the initial value to be displayed in a text-field, not as a pure html-output. In other words: I need struts to make a "" out of a "...initial="1000" with German locale set in browser. Thans,

Re: JavascriptValidatorTag.doStartTag(JavascriptValidatorTag.java:309) ( URGENT !! )

2005-09-14 Thread Ivan Rodriguez
Martin, Oracle ADF Runtime needs to be installed...but if it is used ;) I think Erol is not using ADF. Erol, keep in mind that tomcat and IAS are *different*. I saw a similar error with tomcat doing automatic string-number cast, and IAS not. Martin Gainty escribió: Be mindful that Oracle AD

Re: Some i18n issues

2005-09-14 Thread Ivan Rodriguez
You have to use an initial value of "1000". Then where you print this initial value, at your jsp, use formatting options: formatKey="format.number" /> format.number is an entry in you MessageResources.properties For german MessageResources_de.properties: format.number=#0.

Re: AW: Problem with characters

2005-09-07 Thread Ivan Rodriguez
I think you are right. I use too a filter from springframework to force UTF-8 encoding: encodingFilter org.springframework.web.filter.CharacterEncodingFilter encoding UTF-8 forceEncoding true And th

Re: Problem with characters

2005-09-07 Thread Ivan Rodriguez
Check your production default table charset. It must be latin1 or similar. lk escribió: Hi, I have a problem with some characters. My application reads some forms and writes them in a db. On my test and developing environment everything works well. The problem comes out when I deploy the ap

Re: CSS not working with JSF

2005-08-26 Thread Ivan Rodriguez
[EMAIL PROTECTED] escribió: Rick, classes seem to work. Thank You. But the requirement is to use ID. May be I can convince my team. I will go try Geeta's idea now to see how fun that is...:=) Keep in mind that ID must be unique in the same HTML page. You can`t write for example, 2 link

Re: Struts 1.2 v 1.3

2005-07-14 Thread Ivan Rodriguez
Maven is for building projects, like Ant does. Access Denied escribió: I've seen Maven listed amongst the Apache projects and read a little. Is it supposed to replace CVS and SVN? Is this something we should be using routinely? tia, buddy ---

Re: and Struts 1.2.7 possible bug?

2005-07-08 Thread Ivan Rodriguez
I have the same situation that yours. My solution is to save the static part of validator in an static .js file ...and replace all ocurrences of var formName = form.getAttributeNode("name"); with var formName = form.getAttributeNode("id"); My previous setup was "> Inside validator.

Re: swith to struts-el

2005-07-04 Thread Ivan Rodriguez
So if it doesnt work for you, try - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: swith to struts-el

2005-07-04 Thread Ivan Rodriguez
Dewitte Rémi escribió: I'd like to switch all my callic struts tags to struts-el in order to not mix all tags. How do you switch logic.equal to c:if ? For example : Thanks again... - To unsubscribe, e-mail: [EMAIL PROTECTE

html:option tag

2005-04-20 Thread IVAN CORVILLO
Hi there, Is it possible to pre-select a value from a dropdownlist htm:option tag? Thanks Iván Corvillo Iconic, SL Molinot 53 Pol.Ind.El Camí Ral 08860 Castelldefels Tel: 902 195 962 / 93 419 54 45 Fax: 93 636 21 42 [EMAIL PROTECTED] -

RE: Collections in ActionForm

2004-10-18 Thread Ivan Vasquez
Subject: Re: Collections in ActionForm Ivan Vasquez wrote: >Is is OK to use Collections (or sets, lists, maps for that matter) >inside an ActionForm? We are trying to represent fairly complex >multiple-choice items in our forms

Collections in ActionForm

2004-10-18 Thread Ivan Vasquez
Is is OK to use Collections (or sets, lists, maps for that matter) inside an ActionForm? We are trying to represent fairly complex multiple-choice items in our forms. Ivan - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Dissapearing items in cluster

2004-10-14 Thread Ivan Vasquez
replication in the cluster is working properly. When either server is put down, the application works normally. Is it OK to use Lists in ActionForms as described? Has anybody seen this behavior in a cluster? Environment: Tomcat 5.0.28 (cluster) Struts 1.2.4 Ivan

RE: Where Is the Best Place To Store Files?

2004-10-13 Thread Ivan Vasquez
Unless the tomcat server(s) has fileserver capabilities, you can create an NFS mount to a fileserver share and have your code create Files there. Better yet (IMO), store them in the database as BLOBs so all your data lives at a single location. The decision depends on what use is given to those fi

Repost: File upload but outside session

2004-10-04 Thread Ivan Vasquez
org.apache.commons.fileupload.DeferredFileOutputStream Any ideas are welcome. Thanks in advance, Ivan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

File upload but outside session

2004-10-01 Thread Ivan Vasquez
Hi, Our users need to upload a file as part of a form submission. First we used struts-upload FormFile as one of the fields of the ActionForm. It worked well until we tested it in a Tomcat cluster. Since the form is session-scoped, the FormFile has to be serialized for sessions to be replicated.

RE: xml as a datasource?

2004-10-01 Thread Ivan Vasquez
always comparatively slower to the performance any rdbms can offer. Ivan. -Original Message- From: joe a. [mailto:[EMAIL PROTECTED] Sent: Friday, October 01, 2004 2:04 PM To: [EMAIL PROTECTED] Subject: xml as a datasource? I am in need of a document covering how to use xml as a data source with

Re: [OT] GMail invites

2004-09-21 Thread Ivan Pechorin
I have 5 invites available. Please, send me requests off list. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: How to prevent directory listing?

2004-09-02 Thread Ivan Vasquez
Thanks Jason, I already did, but it seems to override ActionServlet and none of my pages work. I also tried by changing the startup order to 3 (after ActionServlet), but still no luck! Ivan. -Original Message- From: Jason Lea [mailto:[EMAIL PROTECTED] Sent: Thursday, September 02, 2004

How to prevent directory listing?

2004-09-02 Thread Ivan Vasquez
local web.xml? Thank you. Ivan. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Classloading problem

2004-08-31 Thread Ivan Vasquez
: Struts Users Mailing List Subject: Re: Classloading problem [eweber]$ jar tf $TOMCAT_HOME/webapps/Foo.war . . . META-INF/context.xml META-INF/MANIFEST.MF . . . Right? Erik Ivan Vasquez wrote: >Erik, here goes my context.xml, Tomcat renames it the same as the app's >directory. I

RE: Classloading problem

2004-08-31 Thread Ivan Vasquez
/Foo.war . . . META-INF/context.xml META-INF/MANIFEST.MF . . . Right? Erik Ivan Vasquez wrote: >Erik, here goes my context.xml, Tomcat renames it the same as the app's >directory. I assume your Tomcat has autodeploy enabled. > > > >reloadable="true" crossCont

RE: Classloading problem

2004-08-31 Thread Ivan Vasquez
nager web app as well. I basically observed the same behavior that Ivan described. I would love to see that example if you can find it. Erik Kris Schneider wrote: >Hang on, my bad - it should be /META-INF/context.xml. So, rename Foo.xml to be >context.xml and place it in *META-INF*

RE: Classloading problem

2004-08-31 Thread Ivan Vasquez
ature). Hope that helps, let me know if that doesn't work for you. Thanks! Ivan. -Original Message- From: Erik Weber [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 31, 2004 3:10 PM To: Struts Users Mailing List Subject: Re: Classloading problem Also, since you appear to be trying

RE: Classloading problem

2004-08-31 Thread Ivan Vasquez
common to all applications, but none of them are required by Tomcat. Ivan. -Original Message- From: Erik Weber [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 31, 2004 12:52 PM To: Struts Users Mailing List Subject: Re: Classloading problem I have been using 5.0.27, putting my JDBC

Classloading problem

2004-08-31 Thread Ivan Vasquez
;t in Tomcat's classpath anymore. Apps and Tomcat restarts have been done several times. Is there anything in web.xml, server.xml, etc that needs to be set? What are we possibly missing? Tomcat docs are pretty straightforward about it and everything seems right. Once again, thanks in adv

RE: [OT] Clustering

2004-08-27 Thread Ivan Vasquez
er cluster node. The data files can be in a clustered file system (like OCFS), in raw partitions or even in NFS mounts. There are a few guidelines to develop apps meant to run in a clustered database: http://www.cise.ufl.edu/help/database/oracle-docs/rac.920/a96598/design. htm Ivan. -Origin

Uploading files to a database

2004-08-20 Thread Ivan Vasquez
Hi, What's the preferred way to upload files into a database in a J2EE Web application? Is there any way to stream the file straight from the HttpServletRequest to the database without staging it in the server's filesystem? Thank

RE: Not Logged in with the same loggin-password if it is already registered.

2004-07-28 Thread Ivan Vasquez
ActiveSessions. Ivan Vasquez (Compatriota :-) -Original Message- From: Geeta Ramani [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 28, 2004 4:05 PM To: Struts Users Mailing List Subject: RE: Not Logged in with the same loggin-password if it is already registered. Ricardo: Not sure where you are

RE: How to read from web.xml?

2004-07-16 Thread Ivan Vasquez
Thanks Craig & Jason, Yes, the string in can be queried via this.getServlet().getServletContext().getServletContextName() from any Struts Action. Thanks very much. Ivan. -Original Message- From: Craig McClanahan [mailto:[EMAIL PROTECTED] Sent: Monday, July 12, 2004 5:09 P

How to read from web.xml?

2004-07-12 Thread Ivan Vasquez
Hi, How can I read from web.xml, say, the application's display name? I've tried several things, but no luck. This isn't really Struts-specific, but I'm sure this is an easy one for many of you. Thanks, Ivan.

RE: Strange double-submissions

2004-07-07 Thread Ivan Vasquez
a default value of "submit" in the hidden field that onchange updates. That way submit does not have to call any js, and the action is still able to determine what to do. Thanks again. Ivan -Original Message- From: Jim Barrows [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 07,

Strange double-submissions

2004-07-07 Thread Ivan Vasquez
IE6.0! Besides the js for submitting the form onchange, there's no client-side code. Any clues? Thanks in advance. Ivan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Validator - not passing params to message

2004-05-18 Thread Ivan
correction :^) 2) ---> Password ---> 6 minlength 6 ... > - Original Message - > From: "Henrique VIECILI" <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > Sent: Tuesday, May 18,

Re: Validator - not passing params to message

2004-05-18 Thread Ivan
1) 2) minlength 6 ... - Original Message - From: "Henrique VIECILI" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, May 18, 2004 3:24 PM Subject: Validator - not passing pa

Re: Date Time field validation

2004-05-17 Thread Ivan
well (you have to > do this when constructing a RE in C: > > ^\\d{2}\\/\\d{2}\\/\\d{4} \\d{2}:\\d{2}$ > > don't know about javascript... just a thought. > > Dean Hoover > > > Ivan wrote: > > >Hi, > > > >I have a form field representing a date i

Date Time field validation

2004-05-17 Thread Ivan
javascript error (!) date doens t work mask doesn t work any viable solution? regards, ivan

Re: Accessing ResourceBundle items from Action class

2004-05-13 Thread Ivan
I want to share mine :^) [...] /* Guardo los mensajes */ PropertyMessageResources messages = (PropertyMessageResources)request.getAttribute("org.apache.struts.action.MES SAGE"); Locale locale = (Locale)session.getAttribute(Globals.LOCALE_KEY); [...] this.seleccio = messages.getMessage(loca

Re: Validation - can i use multiple properties ?

2004-05-04 Thread Ivan
Take a look at JSTL format with multiple Resource Bundles http://www.cheblogs.com/roller/page/princeamin/20031104 - Original Message - From: "johannes Schwarz" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Tuesday, May 04, 2004 3:54 PM Subject:

nested tags and java.util.List

2004-04-23 Thread Ivan De La Pena
i have extended DynaValidatorForm and created form bean that holds a List. It looks like this : beans is a List of type Bean which has only two variables name , age and the getter/setters for these two variables. I am using lazy list to populate this List. The business re

Re: in <%include> not working

2004-04-21 Thread Ivan
if you can use tiles, usend the TileControllerClass you can include-on-the-fly any file specified in a variable. - Original Message - From: "Pani R" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, April 21, 2004 5:05 PM Subject: in <%include> not