Sv: Re: Re: Why do I get this XHTML validation errors? (second attempt)

2014-03-06 Thread Fredrik Andersson
Hello guys! First of all, thanks for all replies. If I get it right it must be the form-tag that add all the html-table-code? Without trying it yet I guess and hope I can overide this with setting xhtml-theme to s:hidden-tag? Have I understood you correct? I Will try it as soon as I can, before ne

Re: Re: Why do I get this XHTML validation errors? (second attempt)

2014-03-06 Thread Chris Pratt
To elaborate on Dave's point, try: // both hidden fields (*Chris*) On Thu, Mar 6, 2014 at 12:26 PM, Dave Newton wrote: > On Thu, Mar 6, 2014 at 3:01 PM, Fredrik Andersson >wrote: > > > I have tride to put the hidden attributet att: > > 1 first code line after the form-start-tag > >

Re: Re: Why do I get this XHTML validation errors? (second attempt)

2014-03-06 Thread Dave Newton
On Thu, Mar 6, 2014 at 3:01 PM, Fredrik Andersson wrote: > I have tride to put the hidden attributet att: > 1 first code line after the form-start-tag > 2 before the submit-tag > 3 after the submit-tag, before form-end-tag. > None of the attempt validates. > So If you guys got any idea how to solv

Re: Re: Why do I get this XHTML validation errors? (second attempt)

2014-03-06 Thread Paul Benedict
Very interesting. First, the validator is correct. The tag does not accept elements as a child -- obviously an error. This is a problem with the Struts output -- it isn't paying attention that it is rendering a table with its layout and thus emitting bad HTML. This sounds like a ticket. Would yo

Sv: Re: Why do I get this XHTML validation errors? (second attempt)

2014-03-06 Thread Fredrik Andersson
Hello guys! Yes. the textarea validates fine without the wrap attribute. So I guess I have to skip it. I have tride to put the hidden attributet att: 1 first code line after the form-start-tag 2 before the submit-tag 3 after the submit-tag, before form-end-tag. None of the attempt validates. So I

Re: [Full-disclosure] [ANN] Struts 2.3.16.1 GA release available - security fix

2014-03-06 Thread Lukasz Lenart
No, rather no. You gain access to ClassLoader. 2014-03-06 16:43 GMT+01:00 Tim : > >> This release includes important security fixes: >> - S2-020 - ClassLoader manipulation via request parameters > > What is the ultimate impact of this manipulation? Another RCE bug? > > tim --

Re: [Full-disclosure] [ANN] Struts 2.3.16.1 GA release available - security fix

2014-03-06 Thread Tim
> This release includes important security fixes: > - S2-020 - ClassLoader manipulation via request parameters What is the ultimate impact of this manipulation? Another RCE bug? tim - To unsubscribe, e-mail: user-unsubscr...@s

Re: Why do I get this XHTML validation errors? (second attempt)

2014-03-06 Thread Dave Newton
I think the issue with the hidden elements is that they're not rendering in a table row, and I don't think you're supposed to have elements in-between (or before/after) a table's rows. On Thu, Mar 6, 2014 at 11:48 AM, Chris Pratt wrote: > Did you try moving the elements to the top of the form,

Re: Why do I get this XHTML validation errors? (second attempt)

2014-03-06 Thread Paul Benedict
Please note the "wrap" attribute on is new to (X)HTML5. So it definitely won't validate version <= 4. Chris is right, you should remove it unless you want to validate at a higher HTML version. On Thu, Mar 6, 2014 at 10:48 AM, Chris Pratt wrote: > Did you try moving the elements to the top of t

Re: Why do I get this XHTML validation errors? (second attempt)

2014-03-06 Thread Chris Pratt
Did you try moving the elements to the top of the form, or removing the wrap="hard" from your ? (*Chris*) On Thu, Mar 6, 2014 at 5:13 AM, Fredrik Andersson wrote: > Hello guys! > > I trying to produce a app that renders in XHTML. > http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> >

Re: Why do I get this XHTML validation errors? (second attempt)

2014-03-06 Thread Dave Newton
You can always wrap the hidden tags in your own table row/etc. That's probably something that could be corrected in the "xhtml" theme. On Thu, Mar 6, 2014 at 8:13 AM, Fredrik Andersson wrote: > Hello guys! > > I trying to produce a app that renders in XHTML. > http://www.w3.org/TR/xhtml1/DTD/x

Why do I get this XHTML validation errors?‏ (second attempt)

2014-03-06 Thread Fredrik Andersson
Hello guys! I trying to produce a app that renders in XHTML. http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> http://www.w3.org/1999/xhtml";> How ever I got a form looking like this: This gets rendered like: 25 26 27 28 Email address: 29 30 31 33 34 35 36 37 Subject:

Re: Why do I get this XHTML validation errors?

2014-03-06 Thread John Patrick
try pastebin.com or gist.github.com as they do syntax highlighting and saves people having the whole xml blob in an email, also line numbers can be commented upon correctly as it might be different depending what your viewing it in. On 6 March 2014 13:04, Fredrik Andersson wrote: > Yes you are

RE: Why do I get this XHTML validation errors?

2014-03-06 Thread Fredrik Andersson
Yes you are right!I guess this is beacause I use online outlook!I will try to post it again, written in curier new in textpad or something first!Sorry again! > From: lukaszlen...@apache.org > Date: Thu, 6 Mar 2014 14:02:56 +0100 > Subject: Re: Why do I get this XHTML validation errors? > To: user

Re: Why do I get this XHTML validation errors?

2014-03-06 Thread Lukasz Lenart
Unreadable :\ 2014-03-06 13:35 GMT+01:00 Fredrik Andersson : > Hello guys! > I trying to produce a app that renders in XHTML. "-//W3C//DTD XHTML 1.0 Transitional//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> xmlns="http://www.w3.org/1999/xhtml";> > How ever I got a form looki

Why do I get this XHTML validation errors?

2014-03-06 Thread Fredrik Andersson
Hello guys! I trying to produce a app that renders in XHTML.http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>http://www.w3.org/1999/xhtml";> How ever I got a form looking like this: This gets rendered like:25 26 27 28 Email address:29 30 31 33 343536 37 Subject:38

RE: Struts 2: Howto render output as HTML?

2014-03-06 Thread Fredrik Andersson
Hello Ken!Thanks for your reply! I have now playing around with themes.My first approach was to get my app produce html 4.01, but I now think a better approach is to go for valid xhtml. How ever I think I need to create a new issue about this since I lern a bit more. Best regardsFredrik > Date:

[ANN] Struts 2.3.16.1 GA release available - security fix

2014-03-06 Thread Lukasz Lenart
The Apache Struts group is pleased to announce that Struts 2.3.16.1 is available as a "General Availability" release.The GA designation is our highest quality grade. Apache Struts 2 is an elegant, extensible framework for creating enterprise-ready Java web applications. The framework is designed t