Error message's is not XHTML valid

2014-03-10 Thread Fredrik Andersson
Hello guys! I might need to bother you about this presumptive bug also. Since you know I'm 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";> (I use struts 2.3.15.3) I got struts-user-input-validations in a form

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

2014-03-10 Thread Fredrik Andersson
dation errors? (second attempt) >> To: user@struts.apache.org >> >> Yes, that would be the best solution. >> >> 2014-03-07 22:02 GMT+01:00 Paul Benedict : >>> We need a JIRA ticket to solve this permanently. >>> >>> >>> On Fri, Mar

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

2014-03-09 Thread Fredrik Andersson
et to solve this permanently. >> >> >> On Fri, Mar 7, 2014 at 2:37 PM, Lukasz Lenart wrote: >> >>> YooHoo! That's suppose to work template inheritance! >>> >>> 2014-03-07 21:03 GMT+01:00 Fredrik Andersson : >>>> Hello guys! >>&g

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

2014-03-07 Thread Fredrik Andersson
> > 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 tr

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

2014-03-06 Thread Fredrik Andersson
den 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 > > 2 before the submit

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

2014-03-06 Thread Fredrik Andersson
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/

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 Fredrik Andersson
ors? > To: user@struts.apache.org > > 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/DT

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
> > > > > Since you mentioned a single page, you can do that too, you can even have a > single struts2 UI tag render under a different theme, these various options > are listed here: > http://struts.apache.org/release/2.3.x/docs/selecting-themes.html > > >

Struts 2: Howto render output as HTML?

2014-03-02 Thread Fredrik Andersson
Hello guys! I use struts 2.3.15.3. I have created a form with code like: ... I would like the output to be rendered as HTML and not XHTML. I found this tag for struts 1.x:

Struts 2: How to render as HTML and not XHTML?

2014-03-02 Thread Fredrik Andersson
Hello guys! I use struts 2.3.15.3. I have created a form with code like: ... I would like the output to be rendered as HTML and not XHTML. I found this tag for struts 1.x:

RE: Will I get sideeffects with: OgnlRuntime.setSecurityManager(null);

2013-11-27 Thread Fredrik Andersson
; https://confluence.atlassian.com/display/CONF29/Java+Policy+Security+with+Confluence > > > Regards > > -- > Łukasz > + 48 606 323 122 http://www.lenart.org.pl/ > > > 2013/11/26 Fredrik Andersson : > > Hello! > > > > (Hope this is the correct foru

Will I get sideeffects with: OgnlRuntime.setSecurityManager(null);

2013-11-26 Thread Fredrik Andersson
Hello! (Hope this is the correct forum for this question) I get this error in my hello-world-struts2-webapp when I run it in my tomcat with the catalina.policy. (Btw my catalina.policy is edited a bit to match my production env: http://pastie.org/8510824) /-- Encapsulated exception ---

RE: Is this a createclassloader issue - HTTP Status 404 - result 'null' not found

2013-11-03 Thread Fredrik Andersson
ot allow creating a classloader then the problem with hosting > service provider. > > *Thanks and Regards,* > Muralidhar Yaragalla. > *http://yaragalla.blogspot.in/ > * > > > On Sat, Nov 2, 2013 at 2:32 AM, Fredrik Andersson > wrote: > > > Hello guys! >

Is this a createclassloader issue - HTTP Status 404 - result 'null' not found

2013-11-01 Thread Fredrik Andersson
Hello guys! I have bought some space at a webhotel saying that it supports application that uses struts. But when I enter a link like Log in from my index.jsp I just get: HTTP Status 404 - result 'null' not found type Status report message result 'null' not found description

RE: java.lang.IllegalArgumentException: can't parse argument numb er

2006-07-03 Thread Fredrik Andersson
operty value of {common.a} is causing the problem b/c the >java.text.MessageFormat class >is used to to parameter replacements in the message. Are you trying to use >the literal string >'{common.a}' as the value of the key? If so, you need to escape the '{' and >&#

java.lang.IllegalArgumentException: can't parse argument number

2006-07-03 Thread Fredrik Andersson
Hi all I get this message when tomcat is trying to parse my struts tag. In my resource file I have a key called a.key={common.a} and this seems to break. Anyone that knows why this occures and what I can do to fix it? - To uns

Re: Quick question about the Resources.properties files.

2006-07-02 Thread Fredrik Andersson
Using still gives me the same result :( Den 6/30/2006, skrev "Emmanouil Batsis" <[EMAIL PROTECTED]>: >Fredrik Andersson wrote: > >>ohh ok, didn't think of that. >> >>however, when I tried it the text fell out of the button (it says Submit

Re: Quick question about the Resources.properties files.

2006-06-30 Thread Fredrik Andersson
do > which >make sense in a JSP, or did you do > which is a non >sense as a you can't put a jsp tag inside a parameter of a jsp tag. > >if you use , use this way > > >Fredrik Andersson wrote: >> Hi all >> >> I'm still implementing the i18n i

Quick question about the Resources.properties files.

2006-06-30 Thread Fredrik Andersson
Hi all I'm still implementing the i18n internationalization on the page and now I have noticed that my buttons don't behave as expected. When I change my values of buttons to value="" I get the bean:message tag as the text on the button. How is this supposed to be solved? I coud make an ugly solu

Quick question about the Resources.properties files.

2006-06-30 Thread Fredrik Andersson
Hi all just a quick question: Can I in somehow reuse previously stated keys in the files on other keys? Let's say that I have stated the key error.notAuthorized now I edit my webpages and add a key for all text messages naming them depending on where they resides in my folder for example the keys

Reloading certain things in cahce

2006-06-29 Thread Fredrik Andersson
Hi all I'm using getRequest().getSession().setAttribute(org.apache.struts.Globals.LOCALE_KEY, new java.util.Locale("sv","SV") ); To change the language on my page (using struts i18n internationalization). Now my page is storing the pages inside it's cache and I was woundering if I somehow can cle

IllegalArgumentException: no bean specefied

2006-06-29 Thread Fredrik Andersson
Hi all I'm trying to pass a piece of data into a bean. I have a html form where the important data is called Language with different values. I send this to a struts action togheter with a form bean wich I specify in the struts conf. Anyone that has had this problem? Important part from struts-c

Re: Setting Language through the browser?

2006-06-27 Thread Fredrik Andersson
Could you point me to a usage example? =) Den 6/27/2006, skrev "Antonio Petrelli" <[EMAIL PROTECTED]>: >Fredrik Andersson ha scritto: >> Hi all >> >> I have manage to get the i18n internalization to work using the >> properties files. now I would want t

RE: Setting Language through the browser?

2006-06-27 Thread Fredrik Andersson
Could I get an example on how it is used? I don't get it ^^ Den 6/27/2006, skrev "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>: >Hi > >This is the one that I am using, and it works great. > >Hermod > >-Original Message- >From: C. Grobmeier [mailto:[EMAIL PROTECTED] >Sent: Tuesday, June 27, 2006

Re: Setting Language through the browser?

2006-06-27 Thread Fredrik Andersson
A great :) Will run and test that =) thanks a bunch :) Den 6/27/2006, skrev "C. Grobmeier" <[EMAIL PROTECTED]>: >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA1 > >> That is kinda what I would like to do. I want to have 3 images on the >> page and when you click on one of them the language change

Re: Setting Language through the browser?

2006-06-27 Thread Fredrik Andersson
do it in jsp? Den 6/27/2006, skrev "C. Grobmeier" <[EMAIL PROTECTED]>: >-BEGIN PGP SIGNED MESSAGE----- >Hash: SHA1 > >Fredrik Andersson wrote: >> Hi all >> >> I have manage to get the i18n internalization to work using the >> propert

Re: key not found using internationalization

2006-06-27 Thread Fredrik Andersson
I manage to get it working, thanks :) Den 6/27/2006, skrev "Fredrik Andersson" <[EMAIL PROTECTED]>: >Ok, so after deployment tomcat will look for the files inside my class >dir? > >It have tried it that way and still get Null returned from the >bean:message tag.

Setting Language through the browser?

2006-06-27 Thread Fredrik Andersson
Hi all I have manage to get the i18n internalization to work using the properties files. now I would want to be able to change the language through the browser (by clicking on a flag). How can I do this? Tips and pointers is appreciated =)

Re: key not found using internationalization

2006-06-27 Thread Fredrik Andersson
ava files, called for example "i18n". You can define the language you want to use in the application code like this (this example set the language to english): session.setAttribute(Globals.LOCALE_KEY,new java.util.Locale("en","US")); Eider On 6/27/06, Fredrik Anders

Fwd: Re: key not found using internationalization

2006-06-27 Thread Fredrik Andersson
Hi again I put everything under WEB-INF/i18n and updated my xml files accordingly. now all I get when I look at the page is "???en_US.app.name???" Why is that? Den 6/27/2006, skrev "Fredrik Andersson" <[EMAIL PROTECTED]>: >Hi > >Yeah they files all cont

Re: key not found using internationalization

2006-06-27 Thread Fredrik Andersson
Hi again I put everything under WEB-INF/i18n and updated my xml files accordingly. now all I get when I look at the page is "???en_US.app.name???" Why is that? Den 6/27/2006, skrev "Fredrik Andersson" <[EMAIL PROTECTED]>: >Hi > >Yeah they files all cont

Re: key not found using internationalization

2006-06-27 Thread Fredrik Andersson
icationResource.properties file??? -- Eider On 6/27/06, Fredrik Andersson <[EMAIL PROTECTED]> wrote: > > Hi all > > I'm quite new to struts and is trying to implement an Language > internalization on some jsp pages. > > I have my ApplicationResources.properties fi

key not found using internationalization

2006-06-27 Thread Fredrik Andersson
Hi all I'm quite new to struts and is trying to implement an Language internalization on some jsp pages. I have my ApplicationResources.properties files inside my WEB-INF folder and in all my struts-config files I have added the tag. The web.xml was extended with the following. /WEB-I