Re: Antwort: Re: Problems with type conversion and special characters

2013-10-15 Thread Alessio Matteo
Really I was using a custom type converter (with annotations on getters & setters) but I had the problem that when typeconversionexception was thrown the dynamic contents on my web page (objects retrieved from db or from actions) didn't display. Really I don

Antwort: Re: Problems with type conversion and special characters

2013-10-15 Thread Christoph Nenning
> > Thank you so much, I solved the special characters problems by setting > the struts i18n constant to ISO-8859-1! > About the conversion error, I know it was a dev mode warning, but when > the exception was thrown every dynamic content in my page disappeard... > Anyway I solved the issue by

Re: Problems with type conversion and special characters

2013-10-14 Thread Alessio Matteo
Thank you so much, I solved the special characters problems by setting the struts i18n constant to ISO-8859-1! About the conversion error, I know it was a dev mode warning, but when the exception was thrown every dynamic content in my page disappeard... Anyway I solved the issue by declaring eve

Re: problems with the locale

2010-09-16 Thread Daniel Rindt
Am Donnerstag, den 16.09.2010, 12:06 +0200 schrieb Daniel Rindt: > the interceptor for i18n in struts should switch the locale after a > request with parameter ?request_locale=en. The property files are used > properly with the right translation, but when i ask in the action for > the language getL

Re: problems with struts2 and session

2010-01-08 Thread Paweł Wielgus
Hi Sergio, this time late answear, when You have session field in action and also setter and getter for it then You can access session map as any other field from action in jsp, so < s:property value="session.get('variable')" > should work, because it is accessing normal getter in stack. Maybe try

Re: problems with struts2 and session

2010-01-06 Thread Sergio
Paweł Wielgus escribió: Hi, sorry for too fast response, i see that it is implementing it, another thing to notice is that in action You have access to session field which is a map constructed by struts, not real session object - as far as i remember. In jsp you can do < s:property value="session

Re: problems with struts2 and session

2010-01-06 Thread Paweł Wielgus
Hi, sorry for too fast response, i see that it is implementing it, another thing to notice is that in action You have access to session field which is a map constructed by struts, not real session object - as far as i remember. In jsp you can do < s:property value="session.get('variable')" > to sho

Re: problems with struts2 and session

2010-01-06 Thread Sergio
Paweł Wielgus escribió: Hi Sergio, add SessionAware interface to your action. Best greetings, Pawel Wielgus. 2010/1/5, Sergio : Sergio escribió: Hi people, i'm a newbie to struts2. I'm having too many problems modifing session parameters. I use <%= session.getAttribute( "variable" )

Re: problems with struts2 and session

2010-01-06 Thread Paweł Wielgus
Hi Sergio, add SessionAware interface to your action. Best greetings, Pawel Wielgus. 2010/1/5, Sergio : > Sergio escribió: >> Hi people, >> >> i'm a newbie to struts2. I'm having too many problems modifing session >> parameters. I use <%= session.getAttribute( "variable" ) %> to gain >> access to

Re: problems with struts2 and session

2010-01-05 Thread Sergio
Sergio escribió: Hi people, i'm a newbie to struts2. I'm having too many problems modifing session parameters. I use <%= session.getAttribute( "variable" ) %> to gain access to "variable" and that works when i modify "variable" into a jsp page, but not inside a struts action. struts.xml:

Re: Problems with tokenSession interceptor

2009-11-30 Thread Diego Manilla Suárez
I found the problem. I was mapping the FilterDispatcher servlet for all dispatchers, like this: struts2 /* REQUEST INCLUDE FORWARD ERROR So the FilterDispatcher servlet was creating new ActionContexts for each JSP being forwarded (I'm using

Re: problems with struts and dojo

2009-03-30 Thread Tedy Marcos Colombini
Hi, I changed the dojo.xhrGet call for a dojo.io.bind call as suggested by Andras and now it works. Please find the corrected code below. <%@ page contentType="text/html; charset=UTF-8" %> <%@ taglib prefix="s" uri="/struts-tags" %> function submitForm(formId, divId) {

Re: problems with struts and dojo

2009-03-27 Thread Andras Balogh
Hi, The problem is most probably that dojo.xhrGet is not available in the dojo version that comes with Struts 2.0.x ( dojo 0.4) You must make sure to use only dojo functions that are avail. in ver. 0.4. See here more details: http://dojotoolkit.org/forum/dojo-0-4-x-legacy/dojo-0-4-x-support/w

Re: Problems with javascript files in Struts-based webapp

2009-02-24 Thread Dale Newfield
Emmanuele Sordini wrote: http://www.nabble.com/Loading-and-Calling-Java-Script-in-Struts-td20623678.html None of those suggestions help you? What is the jsp code you're writing? What is the path that the browser receives? I'm willing to bet that either you're not using the jstl version you

Re: Problems with javascript files in Struts-based webapp

2009-02-24 Thread Emmanuele Sordini
DNewfield wrote: > Many browsers have issues with this--you'll have better luck if you > convert this to an (empty) container tag: Thanks but unfortunately that was already the case, and it doesn't work. DNewfield wrote: > The server doesn't control how the browser interprets the code it > pr

Re: Problems with javascript files in Struts-based webapp

2009-02-23 Thread Dale Newfield
Emmanuele Sordini wrote: In a "normal" JSP page I just included the script file, e.g.: Many browsers have issues with this--you'll have better luck if you convert this to an (empty) container tag: src="/scripts/OpenLayers/OpenLayers.js"> The server doesn't control how the browser inter

Re: Problems with Indexed Properties, Hidden Values and Logic Iterate Tag

Anyone can help me, please? Thanks. cacodemon79 wrote: > > Hi to all. > I'm using Struts 1.3, Tomcat 6.0 and Eclipse. > > I have a problem with Indexed Properties. > I have a jsp that should save hidden values and pass it to the linked > Action. > > I show you my code. > > > JSP PA

Re: Problems with sx tags

oscar perez wrote: One of the problems is that if in the returned AJAX content is included any sx tag then if there is any javascript in the returned content this simply dissappears. I tried all the combinations with executeScripts separateScripts with no success however.. I've created sever

Re: Problems with action-redirect

go away if you turn devMode off; I don't recall what the > >> current status of this issue is. > >> > >> Dave > >> > >> --- On Wed, 6/11/08, Felipe Lorenz <[EMAIL PROTECTED]> wrote: > >> > >> > Fro

Re: Problems with action-redirect

on <[EMAIL PROTECTED]> wrote: > >> That's a warning issued because params may be set either the action or on a >> result. It may go away if you turn devMode off; I don't recall what the >> current status of this issue is. >> >> Dave >> >>

Re: Problems with action-redirect

params may be set either the action or on a > result. It may go away if you turn devMode off; I don't recall what the > current status of this issue is. > > Dave > > --- On Wed, 6/11/08, Felipe Lorenz <[EMAIL PROTECTED]> wrote: > > > From: Felipe Lorenz <[

Re: Problems with action-redirect

z <[EMAIL PROTECTED]> > Subject: Re: Problems with action-redirect > To: "Struts Users Mailing List" , [EMAIL PROTECTED] > Date: Wednesday, June 11, 2008, 4:03 PM > oooppps.. my bad > > And i use struts 2.0.11 > > WARNING: Caught OgnlException

Re: Problems with action-redirect

oooppps.. my bad And i use struts 2.0.11 WARNING: Caught OgnlException while setting property 'candidatoExt.codIdFeder' on type 'org.apache.struts2.dispatcher.ServletActionRedirectResult'. ognl.NoSuchPropertyException: org.apache.struts2.dispatcher.ServletActionRedirectResult.candidatoExt

Re: Problems with action-redirect

--- On Wed, 6/11/08, Felipe Lorenz <[EMAIL PROTECTED]> wrote: > Im did try a action-redirect, but it throw a exception. > And i dont know why, cause i use it in other action-redirect > and work. What can be? > You didn't even say what the exception was or provide any information about under what

Re: Problems with forms field

Do you mean adding the getter fixed the problem? The reason I believe you need it is that for Struts to set, for example, dadosPessoais.nome it needs to call getDadosPessoais().setNome(value). If you omit the getter for dadosPessoais, Struts is not able to determine a value for that property an

Re: Problems with forms field

hummm this is not necessary.. i just want do send, not retrieve... but i fix the problem... i dont know whats happen, i did create a new project in NetBeans... maybe it lost something... i dont know... But thanks folks... On Tue, May 20, 2008 at 2:59 AM, Laurie Harper <[EMAIL PROTECTED]> wrote:

Re: Problems with forms field

Looks like you're missing a getter for dadosPessoais in your action class... L. Felipe Lorenz wrote: Ok.. i did it... its all right.. but i dont know... i will print my code: JSP: <[EMAIL PROTECTED] contentType="text/html" pageEncoding="UTF-8"%> <%@ taglib prefix="s" uri="/struts-tags" %> htt

Re: Problems with forms field

Ok.. i did it... its all right.. but i dont know... i will print my code: JSP: <[EMAIL PROTECTED] contentType="text/html" pageEncoding="UTF-8"%> <%@ taglib prefix="s" uri="/struts-tags" %> http://www.w3.org/TR/html4/loose.dtd";> JSP Page

Re: Problems with forms field

Check the names of the fields, they must mach with attributes names in action class, and also check that you have correct get/set methods for them in your action class. -- Milan Jim Kiley <[EMAIL PROTECTED]> wrote: Felipe, It would be much easier for others to help you if you would include rel

Re: Problems with forms field

Felipe, It would be much easier for others to help you if you would include relevant parts of your code, as well as let us know what version of Struts you are using. jk On Mon, May 19, 2008 at 2:15 PM, Felipe Lorenz <[EMAIL PROTECTED]> wrote: > Hi, > > i did work with struts, and im work with i

Re: Problems with default-action-ref (I was sent this message before with wrong subject...)

> the s2.1 version is only avaiable from subversion? If you using Maven, you can Apache Snapshot repo http://people.apache.org/repo/m2-snapshot-repository/ or download struts2-blank.war from here http://people.apache.org/repo/m2-snapshot-repository/org/apache/struts/struts2-blank/2.1.1-SNAPSHOT/

Re: Problems with default-action-ref (I was sent this message before with wrong subject...)

Ok, thanks for all. the s2.1 version is only avaiable from subversion? the major version that i see in the site is Struts 2.0.11.1 2008/4/13, Dave Newton <[EMAIL PROTECTED]>: > > --- Lukasz Lenart <[EMAIL PROTECTED]> wrote: > > > That's why I re-opened the bug for S2.0. > > As I understood, onl

Re: Problems with default-action-ref (I was sent this message before with wrong subject...)

--- Lukasz Lenart <[EMAIL PROTECTED]> wrote: > > That's why I re-opened the bug for S2.0. > As I understood, only for S2.0, because for 2.1 the tag > is working fine (I already test it)? That's why I re-opened the bug for S2.0. Dave -

Re: Problems with default-action-ref (I was sent this message before with wrong subject...)

> That's why I re-opened the bug for S2.0. As I understood, only for S2.0, because for 2.1 the tag is working fine (I already test it)? Regards -- Lukasz http://www.linkedin.com/in/lukaszlenart - To unsubscribe, e-mail: [EMA

Re: Problems with default-action-ref (I was sent this message before with wrong subject...)

That's why I re-opened the bug for S2.0. --- Lukasz Lenart <[EMAIL PROTECTED]> wrote: > Hi once again and to clarify > > > > > is used when you did not specified the class for you action like below: > > > /index.jsp > > > > and > > > > is used when Struts could not find the action n

Re: Problems with default-action-ref (I was sent this message before with wrong subject...)

Hi once again and to clarify > is used when you did not specified the class for you action like below: /index.jsp > and > is used when Struts could not find the action name for given http request, e.g http://localhost/struts2/ Regards -- Lukasz http://www.linkedin.com/in/lukaszle

Re: Problems with default-action-ref (I was sent this message before with wrong subject...)

--- Décio Heinzelmann Luckow <[EMAIL PROTECTED]> wrote: > I was testing the tag to configure the default action > mapping for a package, without success, then I search Struts Jira for > something about this and find the WW2525. > > The WW2525 is closed with the argument that this tag is used to c

Re: Problems with default-action-ref (I was sent this message before with wrong subject...)

> This ocurred with someone too? No, for me works like charm, maybe because I'm using 2.1.1-SNAPSHOT ;-) ${redirectName} Regards -- Lukasz http://www.linkedin.com/in/lukaszlenart ---

Re: Problems with Number Format

Hi everyone, I've found the source off my problem. It seams that if you want to format a value in s:textfield tag you have to: value="myFieldValue" /> value="%{myFieldValueID}"/> The magic trick is the id attribute of s:text tag. But will have some problems if I don't initialize myFieldValue i

RE: Problems with Struts 1.3.8

> > I'm *not* using the filter attribute! The message is issued and > > processing is halted as soon as the taglib statement is > > encountered, regardless of what's being used from it. You cannot > > use the html-el tags in 1.3.8 at all. > Now I know how useful is the tag library validati

Re: Problems with Struts 1.3.8

2007/9/5, Slattery, Tim - BLS <[EMAIL PROTECTED]>: > > > > Anyway that problem is fixed. > > Tim, you may have two options: use 1.3.9 or wait until > > 1.3.10 (or 1.4?) is released. > > Or don't use the "filter" attribute :-) > > I'm *not* using the filter attribute! The message is issued and > pro

RE: Problems with Struts 1.3.8

> Anyway that problem is fixed. > Tim, you may have two options: use 1.3.9 or wait until > 1.3.10 (or 1.4?) is released. > Or don't use the "filter" attribute :-) I'm *not* using the filter attribute! The message is issued and processing is halted as soon as the taglib statement is encountered,

Re: Problems with Struts 1.3.8

The only reason why 1.3.9 is beta was because of a file upload issue using Dyna forms. Otherwise, I think it's okay to use. 1.3.10 should hopefully be GA :) Paul On 9/5/07, Antonio Petrelli <[EMAIL PROTECTED]> wrote: > > 2007/9/4, Dave Newton <[EMAIL PROTECTED]>: > > > > --- "Slattery, Tim - BLS"

Re: Problems with Struts 1.3.8

2007/9/4, Dave Newton <[EMAIL PROTECTED]>: > > --- "Slattery, Tim - BLS" wrote: > > But isn't 1.3.9 still beta? > > Looks that way. Anyway that problem is fixed. Tim, you may have two options: use 1.3.9 or wait untile 1.3.10 (or 1.4?) is released. Or don't use the "filter" attribute :-) Antonio

RE: Problems with Struts 1.3.8

--- "Slattery, Tim - BLS" wrote: > But isn't 1.3.9 still beta? Looks that way. d. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Problems with Struts 1.3.8

> 2007/9/4, Slattery, Tim - BLS <[EMAIL PROTECTED]>: > > /index.jsp(3): Error in using tag library > > uri='http://struts.apache.org/tags-html-el' prefix='html-el': type > > mismatch for property 'filter', for Tag class > > 'org.apache.strutsel.taglib.html.ELOptionTag': tld says boolean, > > imp

Re: Problems with Struts 1.3.8

2007/9/4, Slattery, Tim - BLS <[EMAIL PROTECTED]>: > /index.jsp(3): Error in using tag library > uri='http://struts.apache.org/tags-html-el' prefix='html-el': type > mismatch for property 'filter', for Tag class > 'org.apache.strutsel.taglib.html.ELOptionTag': tld says boolean, > implementation typ

Re: Problems with my struts_config.xml?

> To: "Struts Users Mailing List" Sent: Thursday, June 28, 2007 3:31 AM Subject: Re: Problems with my struts_config.xml? On 6/27/07, Søren Blidorf <[EMAIL PROTECTED]> wrote: > Can anybody see if something is wrong with this struts-config.xml. I have just upgraded struts to 1

Re: Problems with my struts_config.xml?

I upgraded from STRUTS 1.0 and I also upgraded to tomcat 6.0 from a 4.xx Soren - Original Message - From: "Niall Pemberton" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Thursday, June 28, 2007 3:31 AM Subject: Re: Problems with my struts_confi

Re: Problems with my struts_config.xml?

On 6/27/07, Søren Blidorf <[EMAIL PROTECTED]> wrote: Can anybody see if something is wrong with this struts-config.xml. I have just upgraded struts to 1.2.9. And a simple .do call does not work. Nothing happends. I get a blank screen and no errors is reported i the logs Just out of interest

Re: Problems with my struts_config.xml?

ROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 27, 2007 3:52 PM Subject: Re: Problems with my struts_config.xml? > Goddag Soren- > > //web.xml you'll need > > > action > *.do > > > //web.xml your servlet-name 'action&

Re: Problems with an applet inside a struts + tiles jsp

notify the sender immediately by telephone or email and destroy the original message without making a copy. Thank you. - Original Message - From: "Oren Livne" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Monday, May 21, 2007 6:44 PM Subject: Re: Proble

Re: Problems with an applet inside a struts + tiles jsp

Dear Martin, Thanks so much for your kind reply, but unfortunately I didn't understand it and I don't think it answers my question. You might be referring to Struts 2, but I am still using Struts 1.3.8 so my action servlet is declared as follows: action org.a

Re: Problems with an applet inside a struts + tiles jsp

Dear Martin, Thanks so much for your kind reply, but unfortunately I didn't understand it and I don't think it answers my question. You might be referring to Struts 2, but I am still using Struts 1.3.8 so my action servlet is declared as follows: action org.a

Re: Problems with an applet inside a struts + tiles jsp

Good Evening Mr Levine I wanted to address your question If we look at the action servlet declaration in /WEB-INF/web.xml we are displayed action com.opensymphony.webwork.dispatcher.ServletDispatcher action *.action Any files with extension of 'acti

Re: Problems with number convertion on s:input

I resolved that from this way: value="%{getText('format.number',{cliente.salario})}"/> Thank's André Faria André Faria escreveu: The problem occurs from the action to view. from the view to action its ok Please I anyone can help... Thank's a lot André Faria escreveu: Hi All, I

Re: Problems with number convertion on s:input

The problem occurs from the action to view. from the view to action its ok Please I anyone can help... Thank's a lot André Faria escreveu: Hi All, I have the follow problem: I am using the Portuguese Brazil Localization on Struts 2, so the format to decimal numbers is (1.000.00

Re: Problems with Maven

On 2/6/07, Manos Batsis <[EMAIL PROTECTED]> wrote: Quoting Christopher Loschen <[EMAIL PROTECTED]>: > We had a report at my office that some downloads of > the 1.5.0_10 JDK were missing that jar file Right, i think OSX doesn't have a separate jar for that. In that case the OP should probably a

RE: Problems with Maven

Quoting Christopher Loschen <[EMAIL PROTECTED]>: > We had a report at my office that some downloads of > the 1.5.0_10 JDK were missing that jar file Right, i think OSX doesn't have a separate jar for that. In that case the OP should probably add an exclusion element within the POM dependency that

RE: Problems with Maven

download ended up with a missing tools.jar. Hope that helps! Good luck. Chris Loschen [EMAIL PROTECTED] From: Carlos Curotto [mailto:[EMAIL PROTECTED] Sent: Tue 2/6/2007 8:41 AM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: Problems with Maven Did

Re: Problems with Maven

Although i'm not sure, i think the OP just needs to install an 1.5 JDK then set it as $JAVA_HOME. hth, Manos Quoting Carlos Curotto <[EMAIL PROTECTED]>: > Did you try to do this? > > Then, install it using the command: > mvn install:install-file -DgroupId=com.sun -DartifactId=tools \ >

Re: Problems with Maven

Did you try to do this? Then, install it using the command: mvn install:install-file -DgroupId=com.sun -DartifactId=tools \ -Dversion=1.5.0 -Dpackaging=jar -Dfile=/path/to/file where the path/to/file is the path to the file that maven cannot find, in your case, ${java.home}/../lib/to

Re: Problems with special characters in an ActionForm

Dariusz, Thanks for your help - this works. The filter approach is very convenient (you don't even need to cast the request to a HttpServletRequest) and now all special characters are submitted correctly! Cheers, Thorsten - To

Re: Problems with special characters in an ActionForm

It is not problem of Struts or form properties but the encoding of the parameters. You may check what is the encoding used to get params from request: request.getCharacterEncoding() and chect if it matches your needs and/or the way that characters are coded by the browser. If you want to have

Re: problems with tag

HI Rick make sure that doesn't close with in start tag like this: (i got the same problem beacuse of this silly mistake) ur's Mallik Rick Schumeyer wrote: > > Never mind...it turns out that I added a non-default constructor to the > ActionForm bean without also adding a default constructor.

Re: problems with tag

Never mind...it turns out that I added a non-default constructor to the ActionForm bean without also adding a default constructor. Rick Schumeyer wrote: I'm using struts 1.3.5. I have a jsp that displays a . If I surround the table with: ... then nothing in the page renders. The Employee

Re: Problems with validator

Sorry, my question already was answered in another thread. The next time, I will search for before to ask. 2006/11/15, Juanjo Cuadrado <[EMAIL PROTECTED]>: Hi, Can I use the forms of kinds "ValidatorActionForm" and "ValidatorForm" with the feature validator? I'm using this feature but it o

Re: problems with request.getRequestURL() after migrating to Tomcat 5.5

In Resin (and I think the spec), request.getRequestURL() should give you back the URL (minus the query arguments) that was used. You can build the query String using request.getParameterNames() & getParameterValues() and rebuild it yourself, but since HttpUtils.getRequestURL has been deprecated,

RE: Problems with validator framework

what I would do is: 1. keep form properties as String (and consider using DynaValidatorForm) 2. use the "required,float" or "required,int" validation 3. use BeanUtils.populate method to map the form onto a typed object (property names must match) From: Heidy Guti

Re: problems with switching from 1.4 to 1.5 -> org/apache/crimson/parser/XMLReaderImpl

On 3/29/06, Stéphane Chapeau <[EMAIL PROTECTED]> wrote: > Hello, > > Try to remove your xerce jar, or related xml jar that are now included by > default on JDK 1.5. We had similar problem with an old gnujaxp.jar not needed > anymore. Thanx, but it seems to be exact the opposite. If I have no xerce

Re: problems with switching from 1.4 to 1.5 -> org/apache/crimson/parser/XMLReaderImpl

Hello, Try to remove your xerce jar, or related xml jar that are now included by default on JDK 1.5. We had similar problem with an old gnujaxp.jar not needed anymore. Good luck, Nuscly - To unsubscribe, e-mail: [EMAIL PROTEC

RE: problems with enclosed by a

Check out the api here: http://struts.apache.org//struts-doc-1.2.8/userGuide/struts-html.html html:image is a submit button on a form with an image instead of a button. html:img is your standard image that is not a button 1) you can use html:link with html:img or 2) you could just use html:image i

Re: problems with enclosed by a

I think the proper way is to have a regular link and to make it look like an image with CSS. This way a link will stay a legible link in text-only mode. Same works with a button. Image button is an atavism. On 3/13/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > per http://struts.apache.org/st

RE: problems with enclosed by a

per http://struts.apache.org/struts-taglib/tagreference-struts-html.html # Render an input tag of type "image" Renders an HTML tag of type "image" # Render an HTML img tag Renders an HTML element with the image at the specified URL > -Original Message- > From: Markus Demetz [mailto:[E

Re: problems with enclosed by a

What does the raw html look like? >>> [EMAIL PROTECTED] 3/13/2006 9:38:48 AM >>> Hi, I'm trying to do a link over an image like this: But it doesn't work. It leads to a strange behaviour in Internet Explorer... The browser shows the link (in the statusbar) when the mouse is over the

Re: Problems with logic:iterate

Next time check documentation for this kind of questions. Farm Number ${oneFarm.number} Name is - ${oneFarm.name} Cheers, Danny Eider Iturbe schrieb: I don't know how to implement in jsp the code to read all the values of the arraylist, Eider -

Re: Problems with logic:iterate

I don't know how to implement in jsp the code to read all the values of the arraylist, Eider - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Problems with logic:iterate

On 11/28/05, Eider Iturbe <[EMAIL PROTECTED]> wrote: > Hi, > > I've defined in a formBean called "adminFormBean" this: > > private List anulFarms = new ArrayList(); > > public void setAnulFarms(int key, long anulFarm) { > this.anulFarms.add((long) anulFarm); > } > > public

Re: Problems with a bundle when using the Validator in Struts

starki78 wrote: Hi, perhaps someone faces the same problem: I would like to specify a bundle for example in this way: but it is never recognized only when the default message-ressources in struts-config without any key are defined Because of that I'would like to test validator 1.2 and I'

Re: Problems with "validwhen"

Neat... Thanks Paul. I didn't realize that it was possible to nest multiple conditional statements (I read: "Only two items may be joined with and or or" in the documentation - which I am now assuming means only two items in any set of parens). --- Paul Benedict <[EMAIL PROTECTED]> wrote:

Re: Problems with "validwhen"

Nice one. Thanks Lorie. It works now. --- Laurie Harper <[EMAIL PROTECTED]> wrote: > Mon Cab wrote: > > I am trying to use validwhen to make sure that > > validator only requires a valid State and Zip if > the > > country selected is "United States". > > > > But I am getting required error me

Re: Problems with "validwhen"

Mon, There's two conditions here. The State and Zip are valid (not required) when... Always look at this as "valid" not "required"; you need to list out the conditions which will make the validation pass. [1] the country is "United States" and *this* is not null [2] the country is not "United S

Re: Problems with "validwhen"

Mon Cab wrote: I am trying to use validwhen to make sure that validator only requires a valid State and Zip if the country selected is "United States". But I am getting required error messages from both state and zip when the form is submitted without these values. I am using the following con

Re: problems with struts html tag lib

Troy Bull wrote: I am trying to include a <%= variable %> type thing in an html:submit tag and it doesn't evaluate the <%= variable %> is there a way to make it evaluate this? Or is there a way to include dynamic contect in this tag. In this case it is inside a loop and "variable" changes eac

Re: Problems with custom taglibs

From: "Eric Plante" <[EMAIL PROTECTED]> I have the one that comes with Exadel studio 3.0 (or eclipse3.1). it is named jstl.jar but I don'T know which version I have. Unzip/unjar it (jar -xvf fileame.jar) or open it with WinZip and look in the META-INF directory for the manifest.mf file. It s

Re: Problems with custom taglibs

I have the one that comes with Exadel studio 3.0 (or eclipse3.1). it is named jstl.jar but I don'T know which version I have. All standard taglibs(bean, html and logic) works fine and core tags are recognized but the variables are seens as common strings and my personnal taglibs don't compile but

Re: Problems with custom taglibs

From: "Eric Plante" <[EMAIL PROTECTED]> Well, I do have a jstl.jar in the lib of my project already. Do you also have standard.jar? (Both are in contrib/struts-el/lib of the Struts 1.2.7 distribution.) -- Wendy - To

Re: Problems with custom taglibs

Well, I do have a jstl.jar in the lib of my project already. > From: "Laurie Harper" <[EMAIL PROTECTED]> > > > Yes, you need to add the implementation jars to your application > > classpath. Which version you need to install will depend on your servlet > > container. > > This might help you sort

Re: Problems with custom taglibs

From: "Laurie Harper" <[EMAIL PROTECTED]> Yes, you need to add the implementation jars to your application classpath. Which version you need to install will depend on your servlet container. This might help you sort out which one you need: http://wiki.wsmoak.net/cgi-bin/wiki.pl?StrutsAndJST

Re: Problems with custom taglibs

> > Eric Plante wrote: > > Is there more to add than <%@ taglib uri="http://java.sun.com/jsp/jstl/core"; > > prefix="c" %> > > in my jsp page? > > > > Eric > > Eric - Since the URI you're using belongs to JSTL 1.1, cross-check that you are: 1) using a Servlet 2.4 container 2) using a Servlet 2

Re: Problems with custom taglibs

Can it explain why custom taglibs I made don'T work too? Thanks > Yes, you need to add the implementation jars to your application > classpath. Which version you need to install will depend on your servlet > container. > > L. > > Eric Plante wrote: > > Is there more to add than <%@ taglib uri="htt

Re: Problems with custom taglibs

Yes, you need to add the implementation jars to your application classpath. Which version you need to install will depend on your servlet container. L. Eric Plante wrote: Is there more to add than <%@ taglib uri="http://java.sun.com/jsp/jstl/core"; prefix="c" %> in my jsp page? Eric Sou

Re: Problems with custom taglibs

Is there more to add than <%@ taglib uri="http://java.sun.com/jsp/jstl/core"; prefix="c" %> in my jsp page? Eric > Sounds like you didn't add JSTL to your application (that's why the JSTL > expression isn't being evaluated). > > L. > > Eric Plante wrote: > > Hi, > > > > Wendy, I tried: > > > >

Re: Problems with custom taglibs

Sounds like you didn't add JSTL to your application (that's why the JSTL expression isn't being evaluated). L. Eric Plante wrote: Hi, Wendy, I tried: That's a test to output every key in the Map which contain 10 items. the tags are recognized but what's output is ${mot.key} once lit

Re: Problems with custom taglibs

Hi, Wendy, I tried: That's a test to output every key in the Map which contain 10 items. the tags are recognized but what's output is ${mot.key} once litteraly, the strings aren't recognized as data. I tried without the c:out but the reszult is the same. > So your form has two Maps th

Re: Problems with script in JSP

PROTECTED] [mailto:[EMAIL PROTECTED] Enviado el: lunes, 24 de octubre de 2005 9:49 Para: Struts Users Mailing List Asunto: Re: Problems with script in JSP Hi, I think the problem is to use a scriptlet like this "<%= %>" into a tag. I don'

RE: Problems with script in JSP

I have this key="<%= elemento %>" and is OK -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Enviado el: lunes, 24 de octubre de 2005 9:49 Para: Struts Users Mailing List Asunto: Re: Problems with script in JSP Hi, I thin

Re: Problems with script in JSP

Hi, I think the problem is to use a scriptlet like this "<%= %>" into a tag. I don't know if exist a way to do this, but this is not the way.

RE: Problems with script in JSP

When I have problems with this I do The new text is in UPPERCASE. -Mensaje original- De: Eider Iturbe [mailto:[EMAIL PROTECTED] Enviado el: lunes, 24 de octubre de 2005 9:19 Para: Struts Users Mailing List Asunto: Problems with script in JSP Hi all! I have a problem: Tomcat can't

RE: Problems with script in JSP

Cual es el mensaje de error ? -Mensaje original- De: Eider Iturbe [mailto:[EMAIL PROTECTED] Enviado el: lunes, 24 de octubre de 2005 9:19 Para: Struts Users Mailing List Asunto: Problems with script in JSP Hi all! I have a problem: Tomcat can't compile next code of a JSP: The probl

  1   2   >