Re: textfield escapes name attribute

2010-07-24 Thread Michal Ciasnocha
27; in some property names. To set the property in a from we use the textfield tag. Below is a snippet: Straße Problem is the rendered html page escapes the name attribute, which result in a null value for the property straße. Same goes for all properties that use umlauts. ö becomesö

textfield escapes name attribute

2010-07-24 Thread Björn Raupach
Hi group, I am having some trouble with the textfield tag. We have java beans that use german umlauts as well as the letter 'ß' in some property names. To set the property in a from we use the textfield tag. Below is a snippet: Straße Problem is the rendered html page escape

Wildcards and dot in Action name attribute

2009-05-18 Thread M. Tinnemeyer
Hello listmembers, I got two questions concerning struts.xml First: I'd like to name an Action like : 1st try: description The requested resource (/app/package/foo_bar.html) is not available. 2nd try: The documentation states, that the order matters so I tried both variants. a, b :

Re: s:submit name attribute problem

2008-06-23 Thread Lukasz Lenart
Hi, > Just look for source of your page and you will see why. If you want to use either method or action (not both), maybe it will be better to add hidden field? Regards -- Lukasz http://www.lenart.org.pl/ - To unsubscribe,

s:submit name attribute problem

2008-06-23 Thread mjw_85uk
hi, i am having a problem with the name attribute of s:submit tag. I may be using it in the wrong context as i am farily new to Struts 2. My problem is that i want to set a property of a class with the value of the submit button, which i assume would be "submit". The problem i

RE: Question on usage of EL in tiles:put name attribute

2008-02-14 Thread Anup Chatterjee
Hi Antonio, Thanks for the response. My answers are inline. - Anup -Original Message- From: Antonio Petrelli [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 13, 2008 11:56 PM To: Struts Users Mailing List Subject: Re: Question on usage of EL in tiles:put name attribute 2008/2/14

Re: Question on usage of EL in tiles:put name attribute

2008-02-13 Thread Antonio Petrelli
is - the JSR spec says EL can be used on tag attributes but the > tag put's name attribute doesn't seem to allow this, unless I'm missing > something. If it is a bug, it won't be fixed in Struts-Tiles. My suggestion is to try it with Tiles 2: http://tiles.apache.org

Question on usage of EL in tiles:put name attribute

2008-02-13 Thread Anup Chatterjee
Vector(); for (Iterator i=componentContext.getAttributeNames(); i.hasNext();){ tileAttributes.add(((String)i.next())); } ... The above code in JSP doesn't work saying that the attribute I'm passing in the put is not found in the child tile's context. But if I put a static string in

Re: html:form styleId name attribute javascript issue

2007-08-06 Thread Paul Benedict
Use the getElementById scripting method. On 8/6/07, john lee <[EMAIL PROTECTED]> wrote: > > I have two file, and try to test javascript, but javascript can not access > document.form. > > Can one know why? inside , styleId <> Name attribute? if so, > what is the

html:form styleId name attribute javascript issue

2007-08-06 Thread john lee
I have two file, and try to test javascript, but javascript can not access document.form. Can one know why? inside , styleId <> Name attribute? if so, what is the solution for that? i use strusts 1.3 tks in advance john one file is javacript file, called

Re: [s2] What is the name attribute of tag for?

2007-07-11 Thread Gabriel Belingueres
And what about the tag? The DTD admits as valid the following: bbb however, I don't know what would be the semantic here. 2007/7/10, petchia <[EMAIL PROTECTED]>: I've dug into the S2 and XWork code and I can't see anywhere that the "name" at

Re: [s2] What is the name attribute of tag for?

2007-07-10 Thread petchia
I've dug into the S2 and XWork code and I can't see anywhere that the "name" attribute of an exception mapping is used. Anyone have any clue about this? Is it just an used attribute that was intended for something that never got implemented? I'm at a loss here. -Bill p

[s2] What is the name attribute of tag for?

2007-07-09 Thread Bill Johnson
Anyone know what the "name" attribute of tag in the Struts 2 configuration file is used for? The doc at the following page doesn't mention it. http://struts.apache.org/2.0.8/docs/exception-configurat

Re: [tiles] Re: tile problem: how to find the "put" tag name attribute from called jsp/servlet

2006-10-16 Thread Antonio Petrelli
n jsr 168). We envisioned the following. The application would: a) "know about" the various tiles on the page by parsing tiles-definitions.xml (the values of the "name" attribute) b) offer UI to allow administrators to control "what goes where"..."put this pi

RE: [tiles] Re: tile problem: how to find the "put" tag name attribute from called jsp/servlet

2006-10-13 Thread Bill Milbratz
the following. The application would: a) "know about" the various tiles on the page by parsing tiles-definitions.xml (the values of the "name" attribute) b) offer UI to allow administrators to control "what goes where"..."put this piece of content in the left_center&q

[tiles] Re: tile problem: how to find the "put" tag name attribute from called jsp/servlet

2006-10-12 Thread Antonio Petrelli
[EMAIL PROTECTED] ha scritto: Hi, This is a tiles "how can I do this" question. Can a jsp/servlet called via the tiles 'put' tag know it's "region" name? For example, can the 'getcontent' servlet (below) know get the 'na

tile problem: how to find the "put" tag name attribute from called jsp/servlet

2006-10-12 Thread [EMAIL PROTECTED]
Hi, This is a tiles "how can I do this" question. Can a jsp/servlet called via the tiles 'put' tag know it's "region" name? For example, can the 'getcontent' servlet (below) know get the 'name' attribute of the 'put' tag

Re: "name" Attribute in tag

2006-09-06 Thread Michael Rush
Struts uses the "name" attribute to repopulate your form on submit. So if you have an action /someAction mapped to a form bean named "myForm", it should look like , and thus . So in your JavaScript you can refer to document.myForm. unless of course you're using

Re: "name" Attribute in tag

2006-09-06 Thread Ashish Vijaywargiya
Oh Nice Answer. I like it. Thanks for it Scott. Regards Ashish Vijaywargiya Scott Van Wart <[EMAIL PROTECTED]> wrote: Ashish Vijaywargiya wrote: > Hi, > > Anybody of you know the specific reason of "Why the "name" attribute

Re: "name" Attribute in tag

2006-09-06 Thread Scott Van Wart
Ashish Vijaywargiya wrote: Hi, Anybody of you know the specific reason of "Why the "name" attribute is not provided in the tag???". Thanks in advance. Regards Ashish Vijaywargiya Struts uses the "name" attribute to repopulate your form on submit. So if

"name" Attribute in tag

2006-09-06 Thread Ashish Vijaywargiya
Hi, Anybody of you know the specific reason of "Why the "name" attribute is not provided in the tag???". Thanks in advance. Regards Ashish Vijaywargiya - Get your email and more, right on the new Yahoo.com

Re: Struts 1.2.x, How reference form.field if disallows form Name attribute?

2006-06-30 Thread Mississippi John Hurt
Thanks for the help! On 6/30/06, David Durham <[EMAIL PROTECTED]> wrote: Mississippi John Hurt wrote: > Hi, > no longer allows "name" attribute. Problem is I have javascript > that refers to a field on the form by the formName.fieldName. So now I > get a > javas

Re: Struts 1.2.x, How reference form.field if disallows form Name attribute?

2006-06-30 Thread David Durham
Mississippi John Hurt wrote: Hi, no longer allows "name" attribute. Problem is I have javascript that refers to a field on the form by the formName.fieldName. So now I get a javascript error. If I can no longer assign a name to the form, then the big question is how can I refer to

Re: Struts 1.2.x, How reference form.field if disallows form Name attribute?

2006-06-30 Thread Vantuir Muniz
Hi, Try this field document.forms[0].elements[field].value select var codUnidade = document.forms[0].codunidadegestor.options[document.forms[0].codunidadegestor.selectedIndex].value; Vantuir Muniz On 6/30/06, Mississippi John Hurt <[EMAIL PROTECTED]> wrote: Hi, no longer allows

Struts 1.2.x, How reference form.field if disallows form Name attribute?

2006-06-30 Thread Mississippi John Hurt
Hi, no longer allows "name" attribute. Problem is I have javascript that refers to a field on the form by the formName.fieldName. So now I get a javascript error. If I can no longer assign a name to the form, then the big question is how can I refer to a field on that form in javascript?? Help!

Re: html:form not generating name="" attribute

2005-08-22 Thread Haroon Rafique
On Saturday at 9:36am, DB=>Don Brown <[EMAIL PROTECTED]> wrote: DB> Ok, I looked at the 1.2.7 source, and indeed, it doesn't generate an DB> "id" or"name" if xhtml mode is on. You are correct, the styleId is a DB> good workaround, especially if you use the commons-validator checked DB> out fro

Re: html:form not generating name="" attribute

2005-08-20 Thread Don Brown
Ok, I looked at the 1.2.7 source, and indeed, it doesn't generate an "id" or"name" if xhtml mode is on. You are correct, the styleId is a good workaround, especially if you use the commons-validator checked out from trunk. Don On 8/20/05, Morris Jones <[EMAIL PROTECTED]> wrote: > Don Brown wrote

Re: html:form not generating name="" attribute

2005-08-20 Thread Morris Jones
Don Brown wrote: > You probably enabled xhtml output rendering, which renders an "id" > attribute instead. Unfortunately, client-side validation in xhtml is > currently broken in Struts 1.2.7, so you can either checkout and build > commons-validator or wait until the next release. Thanks Don, ye

Re: html:form not generating name="" attribute

2005-08-19 Thread Don Brown
es <[EMAIL PROTECTED]> wrote: > This is an odd problem I haven't run into before ... > > The tags in my HTML are coming out without a name="formName" > attribute. > > I haven't yet looked at the source code for the tag to see > what might cause the na

html:form not generating name="" attribute

2005-08-19 Thread Morris Jones
This is an odd problem I haven't run into before ... The tags in my HTML are coming out without a name="formName" attribute. I haven't yet looked at the source code for the tag to see what might cause the name attribute to be excluded, but I've triple checked my

name attribute

2005-04-28 Thread temp temp
I am using jsp include to include a jsp in a jsp. + I want to pass dynamic value to name attribute is this possible. " value=<%"string from an object"%>/> I want to pass property of a bean for the value of name attribute .How can I ac