Re: Extending StrutsTypeConverter :: How to detect specific type of "Class toClass"?

2017-09-25 Thread Lukasz Lenart
2017-09-25 5:04 GMT+02:00 Burton Rhodes :
> When extending the StrutsTypeConverter, is there anyway to figure out if
> the "toClass" is a List or a List?  I have found that when
> converting data from a submitted webpage that has a value of a List in a
> single variable, the standard struts conversion fails.  For example:
>  display as  name="integerList" value="[1,2,3,4,5]" />.  When the form submits, this
> value will not convert properly back into the List.  In addition, the
> conversion fails if you have a list of checkboxes and the user only checks
> one -  hence only a single variable being converted to a List.
>
> I have solved this issue by creating a MyListConverter, but I have to
> declare the converter on each action in a [-conversion.properties] file
> which is now becoming a bit cumbersome since this is such a common
> occurrence. I have also declared some on my model/entity beans, but
> still I would love to have a more global "List" converter, such as:
>
> [xwork-conversion.properties]
> java.util.List=com.afs.web.converter.MyListConverter
>
> Thus any List that is encountered, I could attempt "my conversion" and send
> up the chain of command if the resulting List is not of List or
> List.
>
> [Psuedo_Code]
> public class MyListConverter extends StrutsTypeConverter {
> public Object convertFromString(Map context, String[] values, Class
> toClass) {
> // Is toClass List, then try "my" conversion
>
> // Else is toClass List
> // Else return performFallbackConversion(context, o, toClass);
> }
> }
>
> Any ideas?  Or am I going about this incorrectly?

What version of Struts do you use? I think this was resolved in 2.5.13
or 2.5.12 - I meant conversion of list of built-in types (ints,
doubles, etc), to convert your own type just register it (as for the
List above).


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Issues in Struts Migration from v2.2.1.1 to v2.3.34

2017-09-25 Thread Palani, Sambasivam
Hi Team,

We are migrating our application from Struts v2.2.1.1 to Struts v2.3.34 to fix 
the vulnerability issues.

We followed below steps,

1.   Replaced

o   struts2-core-2.3.34.jar

o   struts2-tiles-plugin-2.3.34

o   xwork-core-2.3.34

o   all tiles-- 2.2.2

o   Updated dependent jar.

2.   Updated struts.xml with 2.3 dtds, and tiles.xml with 2.1 dtds

We are facing an issue with UI, the application is not properly aligned as 
expected.

Eg: 
   
  header
   
   
  menu 
  content  
   


Issue: td1 and td2 should display in a same row (horizontally), but it is 
displaying one another(vertically).

Could you please help us?

Thanks in advance.


Thanks & Regards,
Sambasivam P
Mobile: +91 98840 36088
VoIP: +16153812839


**
This message and any files or attachments sent with this message contain 
confidential information and is intended only for the individual named.  If you 
are not the named addressee, you should not disseminate, distribute, copy or 
use any part of this email.  If you have received this message in error, please 
delete it and all copies from your system and notify the sender immediately by 
return Email.

Email transmission cannot be guaranteed to be secure or error-free as 
information can be intercepted, corrupted, lost, destroyed, late, incomplete or 
may contain viruses.  The sender, therefore, does not accept liability for any 
errors or omissions in the contents of this message, which arise as a result of 
email transmission.
**

Re: Question about com.opensymphony.xwork2.util.LocalizedTextUtil

2017-09-25 Thread Lukasz Lenart
2017-09-22 21:01 GMT+02:00 Klaus Tachtler :
> Hi,
>
> thank you once again for your support, Łukasz and Adam!
>
> @Łukasz: you're absolutly right to say:
> "I would rather pass a localised string to the bean (if possible), this
> creates a dependency on Struts in non-Struts related bean"
>
> Depending on that I ONLY want to use the same resource bundle as struts, so
> i decided to do it that way...
>
> public class FileReader {
>
> private static Locale locale = null;
> private static ResourceBundle resourceBundle = null;
>
> public static BrowscapBean determineBrowscapFileReader(String
> userAgentString) {
>
> locale = ActionContext.getContext().getLocale();
> resourceBundle =
> ResourceBundle.getBundle(Globals.RESOURCE_BUNDLE_GLOBAL, locale);
>
> /*
>  * Get the i18n text for "string" from ActionContext.
>  */
> String i18nString =
> resourceBundle.getString("global.unknown");
>
> myBean.setPropertyName(i18nString);
>
> ...
>
> }
> }

You can always use container to fetch the current instance of
LocalizedTextProvider (ancesor of the LocalizedTextUtil):

LocalizedTextProvider ltp =
ActionContext.getContext().getInstance(LocalizedTextProvider.class);
String i18nstring = ltp.findDefaultText("global.unknown",
ActionContext.getContext().getLocale());


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



About Oracle Security Alert Advisory - CVE-2017-9805

2017-09-25 Thread Emi

Hello,

Just want to double check, for struts2.5.13 and 2.3.34, the following 
issue has been covered and resolved, right?


http://www.oracle.com/technetwork/security-advisory/alert-cve-2017-9805-3889403.html

Thanks a lot.



-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: About Oracle Security Alert Advisory - CVE-2017-9805

2017-09-25 Thread Yasser Zamani
Hello Emi,

According to [1] and [2], yes. It's code is S2-052 and resolved in 
2.3.34 and 2.5.13.

[1] 
http://mail-archives.apache.org/mod_mbox/www-announce/201709.mbox/%3CCAMopvkNPG--EVqRtg4rO0G1bYrJ0cgYiBh=P=o2poezq8kv...@mail.gmail.com%3E
[2] 
http://mail-archives.us.apache.org/mod_mbox/www-announce/201709.mbox/%3CCAMopvkOyO1_KUpjHXO0EjVDDrs6tYRW=x9b8lpekg1ykvov...@mail.gmail.com%3E

On 9/25/2017 6:01 PM, Emi wrote:
> Hello,
> 
> Just want to double check, for struts2.5.13 and 2.3.34, the following 
> issue has been covered and resolved, right?
> 
> http://www.oracle.com/technetwork/security-advisory/alert-cve-2017-9805-3889403.html
>  
> 
> 
> Thanks a lot.
> 
> 
> 
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
> 


Re: Issues in Struts Migration from v2.2.1.1 to v2.3.34

2017-09-25 Thread Yasser Zamani
Hello Palani,

I could not guess how that issue is related to Struts? Is that table or 
it's parent or parents generated by Struts?

On 9/25/2017 1:29 PM, Palani, Sambasivam wrote:
> Hi Team,
> 
> We are migrating our application from Struts v2.2.1.1 to Struts v2.3.34 to 
> fix the vulnerability issues.
> 
> We followed below steps,
> 
> 1.   Replaced
> 
> o   struts2-core-2.3.34.jar
> 
> o   struts2-tiles-plugin-2.3.34
> 
> o   xwork-core-2.3.34
> 
> o   all tiles-- 2.2.2
> 
> o   Updated dependent jar.
> 
> 2.   Updated struts.xml with 2.3 dtds, and tiles.xml with 2.1 dtds
> 
> We are facing an issue with UI, the application is not properly aligned as 
> expected.
> 
> Eg: 
> 
>header
> 
> 
>menu 
>content  
> 
> 
> 
> Issue: td1 and td2 should display in a same row (horizontally), but it is 
> displaying one another(vertically).
> 
> Could you please help us?
> 
> Thanks in advance.
> 
> 
> Thanks & Regards,
> Sambasivam P
> Mobile: +91 98840 36088
> VoIP: +16153812839
> 
> 
> **
> This message and any files or attachments sent with this message contain 
> confidential information and is intended only for the individual named.  If 
> you are not the named addressee, you should not disseminate, distribute, copy 
> or use any part of this email.  If you have received this message in error, 
> please delete it and all copies from your system and notify the sender 
> immediately by return Email.
> 
> Email transmission cannot be guaranteed to be secure or error-free as 
> information can be intercepted, corrupted, lost, destroyed, late, incomplete 
> or may contain viruses.  The sender, therefore, does not accept liability for 
> any errors or omissions in the contents of this message, which arise as a 
> result of email transmission.
> **
> 

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: Issues in Struts Migration from v2.2.1.1 to v2.3.34

2017-09-25 Thread Michael Smith
You are have a  instead of  on row 1

On 25 Sep 2017 11:39, "Palani, Sambasivam"  wrote:

> Hi Team,
>
> We are migrating our application from Struts v2.2.1.1 to Struts v2.3.34 to
> fix the vulnerability issues.
>
> We followed below steps,
>
> 1.   Replaced
>
> o   struts2-core-2.3.34.jar
>
> o   struts2-tiles-plugin-2.3.34
>
> o   xwork-core-2.3.34
>
> o   all tiles-- 2.2.2
>
> o   Updated dependent jar.
>
> 2.   Updated struts.xml with 2.3 dtds, and tiles.xml with 2.1 dtds
>
> We are facing an issue with UI, the application is not properly aligned as
> expected.
>
> Eg: 
>
>   header
>
>
>   menu 
>   content  
>
> 
>
> Issue: td1 and td2 should display in a same row (horizontally), but it is
> displaying one another(vertically).
>
> Could you please help us?
>
> Thanks in advance.
>
>
> Thanks & Regards,
> Sambasivam P
> Mobile: +91 98840 36088
> VoIP: +16153812839
>
>
> **
> This message and any files or attachments sent with this message contain
> confidential information and is intended only for the individual named.  If
> you are not the named addressee, you should not disseminate, distribute,
> copy or use any part of this email.  If you have received this message in
> error, please delete it and all copies from your system and notify the
> sender immediately by return Email.
>
> Email transmission cannot be guaranteed to be secure or error-free as
> information can be intercepted, corrupted, lost, destroyed, late,
> incomplete or may contain viruses.  The sender, therefore, does not accept
> liability for any errors or omissions in the contents of this message,
> which arise as a result of email transmission.
> **


RE: Question about com.opensymphony.xwork2.util.LocalizedTextUtil

2017-09-25 Thread Roslyakova, Svetlana
Hi,

We have upgraded to struts2 version 2.3.34.

After the upgrade s:hidden field stopped working.  If I remove s:hidden tag 
from the jsp page, the page is displayed correctly, with the mailto:kl...@tachtler.net] 
Sent: Friday, September 22, 2017 9:40 AM
To: user@struts.apache.org
Subject: Question about com.opensymphony.xwork2.util.LocalizedTextUtil

Hi,

The
  - com.opensymphony.xwork2.util.LocalizedTextUtil
was deleted with struts2 2.5.13.

But I use following code in my small project and I'm not sure, how to replace 
it:


...
import com.opensymphony.xwork2.util.LocalizedTextUtil;
...
/*
  * Get the i18n text for "string" from ActionContext.
  */
String i18nString =
LocalizedTextUtil.findDefaultText("global.unknown",
ActionContext.getContext().getLocale());
...


Please can someone give an advise to solve my problem?

Thank you!
Klaus.



-- 

--
e-Mail  : kl...@tachtler.net
Homepage: http://www.tachtler.net
DokuWiki: http://www.dokuwiki.tachtler.net
--

The information contained in this e-mail, and any attachment, is confidential 
and is intended solely for the use of the intended recipient. Access, copying 
or re-use of the e-mail or any attachment, or any information contained 
therein, by any other person is not authorized. If you are not the intended 
recipient please return the e-mail to the sender and delete it from your 
computer. Although we attempt to sweep e-mail and attachments for viruses, we 
do not guarantee that either are virus-free and accept no liability for any 
damage sustained as a result of viruses. 

Please refer to http://disclaimer.bnymellon.com/eu.htm for certain disclosures 
relating to European legal entities.


Re: Question about com.opensymphony.xwork2.util.LocalizedTextUtil

2017-09-25 Thread Lukasz Lenart
2017-09-25 20:05 GMT+02:00 Roslyakova, Svetlana
:
> Hi,
>
> We have upgraded to struts2 version 2.3.34.
>
> After the upgrade s:hidden field stopped working.  If I remove s:hidden tag 
> from the jsp page, the page is displayed correctly, with the  the screen, css stop working.
>
> Any advice?

Do you see any exception in the logs?

And please do not mix two different questions, this thread is about
Struts 2.5.13 and your question is not related to it. It would be
better start a new thread.


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Question about upgrade to struts2 2.3.34 and s:hidden tag

2017-09-25 Thread Roslyakova, Svetlana
The only error is in Chrome:



[cid:image001.png@01D3361F.31808A30]

Not sure what resource it’s looking for in localhost/



Thanks,



Lana.



-Original Message-
From: Lukasz Lenart [mailto:lukaszlen...@apache.org]
Sent: Monday, September 25, 2017 2:11 PM
To: Struts Users Mailing List 
Subject: Re: Question about com.opensymphony.xwork2.util.LocalizedTextUtil



2017-09-25 20:05 GMT+02:00 Roslyakova, Svetlana

mailto:svetlana.roslyak...@bnymellon.com>>:

> Hi,

>

> We have upgraded to struts2 version 2.3.34.

>

> After the upgrade s:hidden field stopped working.  If I remove s:hidden tag 
> from the jsp page, the page is displayed correctly, with the  the screen, css stop working.

>

> Any advice?



Do you see any exception in the logs?



And please do not mix two different questions, this thread is about Struts 
2.5.13 and your question is not related to it. It would be better start a new 
thread.





Regards

--

Łukasz

+ 48 606 323 122

+ https://clicktime.symantec.com/a/1/9huMiFXcu3yYqczNjqF-DUHGUqqtgMvPHBV

+ UY2TKy8c=?d=h0wfo3Srn4eySKlXwne7XZ1zQ72d0asSi5JUojjPdCvATGoFO0A5vBtYd7

+ 0Rnvjkgzjux8Cg-I5ZN1ReVHJ6sTd5UklTWhfugCEC62GiPYYfeWEfwYlsIbPgHWaS3sZq

+ YYKRJ5Da0DyXGFKg2sHXO6DiNHTo1V4d_B83Mk2Gc5U5grzxiXgrDXfqwg6v6kn0eZAcEM

+ Q_c9rS89zhhKGAjdffweZ3CIrruRyPbheRXCN9puvrqnWtW7fEjkb1VnLl_nJ0D9Prl37L

+ i7LPQVUaFvJj7gG7lCX1t3vV2R7a52CTOAjgy7P8f1adON5r3YKWPjE_triyVnraN11lLJ

+ LvBQdVAWOO84U9aN3GoJbqc5Ky_kw-SCPQyz8MiRYmLhBGf60H9bHwBA-ehWHGy3glRiq9

+ PfFuCT0nlAr5mVqB-lpjX3uDy-bCGqsKJqIkXCbr6YXgYXwo053uJxZKbuwVEI_mQ9xyb7

+ RYrrziYok2TOmWmaKI2BfcAGQX1KBq9Q%3D%3D&u=http%3A%2F%2Fwww.lenart.org.p

+ l%2F



-

To unsubscribe, e-mail: 
user-unsubscr...@struts.apache.org

For additional commands, e-mail: 
user-h...@struts.apache.org

The information contained in this e-mail, and any attachment, is confidential 
and is intended solely for the use of the intended recipient. Access, copying 
or re-use of the e-mail or any attachment, or any information contained 
therein, by any other person is not authorized. If you are not the intended 
recipient please return the e-mail to the sender and delete it from your 
computer. Although we attempt to sweep e-mail and attachments for viruses, we 
do not guarantee that either are virus-free and accept no liability for any 
damage sustained as a result of viruses. 

Please refer to http://disclaimer.bnymellon.com/eu.htm for certain disclosures 
relating to European legal entities.


RE: Question about upgrade to struts2 2.3.34 and s:hidden tag

2017-09-25 Thread Roslyakova, Svetlana
A little more information.

I have the following form:






 
  
  
   
   
   
   
   

  
  

If I use  tag in one of my jsp pages that are used as tiles in the 
above form, the pages are displayed one after another on the screen, instead of 
being displayed side by side.
If I change  to  the jsp pages are displayed side by 
side, as they did before the upgrade.

Please disregard below errors.  They’ve existed before the upgrade.

Thanks,

Lana.

From: Roslyakova, Svetlana
Sent: Monday, September 25, 2017 4:56 PM
To: Struts Users Mailing List 
Subject: Question about upgrade to struts2 2.3.34 and s:hidden tag


The only error is in Chrome:



[cid:image001.png@01D33624.CB63E340]

Not sure what resource it’s looking for in localhost/



Thanks,



Lana.



-Original Message-
From: Lukasz Lenart [mailto:lukaszlen...@apache.org]
Sent: Monday, September 25, 2017 2:11 PM
To: Struts Users Mailing List 
mailto:user@struts.apache.org>>
Subject: Re: Question about com.opensymphony.xwork2.util.LocalizedTextUtil



2017-09-25 20:05 GMT+02:00 Roslyakova, Svetlana

mailto:svetlana.roslyak...@bnymellon.com>>:

> Hi,

>

> We have upgraded to struts2 version 2.3.34.

>

> After the upgrade s:hidden field stopped working.  If I remove s:hidden tag 
> from the jsp page, the page is displayed correctly, with the  the screen, css stop working.

>

> Any advice?



Do you see any exception in the logs?



And please do not mix two different questions, this thread is about Struts 
2.5.13 and your question is not related to it. It would be better start a new 
thread.





Regards

--

Łukasz

+ 48 606 323 122

+ https://clicktime.symantec.com/a/1/9huMiFXcu3yYqczNjqF-DUHGUqqtgMvPHBV

+ UY2TKy8c=?d=h0wfo3Srn4eySKlXwne7XZ1zQ72d0asSi5JUojjPdCvATGoFO0A5vBtYd7

+ 0Rnvjkgzjux8Cg-I5ZN1ReVHJ6sTd5UklTWhfugCEC62GiPYYfeWEfwYlsIbPgHWaS3sZq

+ YYKRJ5Da0DyXGFKg2sHXO6DiNHTo1V4d_B83Mk2Gc5U5grzxiXgrDXfqwg6v6kn0eZAcEM

+ Q_c9rS89zhhKGAjdffweZ3CIrruRyPbheRXCN9puvrqnWtW7fEjkb1VnLl_nJ0D9Prl37L

+ i7LPQVUaFvJj7gG7lCX1t3vV2R7a52CTOAjgy7P8f1adON5r3YKWPjE_triyVnraN11lLJ

+ LvBQdVAWOO84U9aN3GoJbqc5Ky_kw-SCPQyz8MiRYmLhBGf60H9bHwBA-ehWHGy3glRiq9

+ PfFuCT0nlAr5mVqB-lpjX3uDy-bCGqsKJqIkXCbr6YXgYXwo053uJxZKbuwVEI_mQ9xyb7

+ RYrrziYok2TOmWmaKI2BfcAGQX1KBq9Q%3D%3D&u=http%3A%2F%2Fwww.lenart.org.p

+ l%2F



-

To unsubscribe, e-mail: 
user-unsubscr...@struts.apache.org

For additional commands, e-mail: 
user-h...@struts.apache.org

The information contained in this e-mail, and any attachment, is confidential 
and is intended solely for the use of the intended recipient. Access, copying 
or re-use of the e-mail or any attachment, or any information contained 
therein, by any other person is not authorized. If you are not the intended 
recipient please return the e-mail to the sender and delete it from your 
computer. Although we attempt to sweep e-mail and attachments for viruses, we 
do not guarantee that either are virus-free and accept no liability for any 
damage sustained as a result of viruses. 

Please refer to http://disclaimer.bnymellon.com/eu.htm for certain disclosures 
relating to European legal entities.


RE: Question about upgrade to struts2 2.3.34 and s:hidden tag

2017-09-25 Thread Roslyakova, Svetlana
I was able to resolve the issue.  We didn’t have ‘theme=”simple”’ on the 
 tags.
Once I’ve added it to the tags, the issue went away.

From: Roslyakova, Svetlana
Sent: Monday, September 25, 2017 5:39 PM
To: 'Struts Users Mailing List' 
Subject: RE: Question about upgrade to struts2 2.3.34 and s:hidden tag

A little more information.

I have the following form:






 
  
  
   
   
   
   
   

  
  

If I use  tag in one of my jsp pages that are used as tiles in the 
above form, the pages are displayed one after another on the screen, instead of 
being displayed side by side.
If I change  to  the jsp pages are displayed side by 
side, as they did before the upgrade.

Please disregard below errors.  They’ve existed before the upgrade.

Thanks,

Lana.

From: Roslyakova, Svetlana
Sent: Monday, September 25, 2017 4:56 PM
To: Struts Users Mailing List 
mailto:user@struts.apache.org>>
Subject: Question about upgrade to struts2 2.3.34 and s:hidden tag


The only error is in Chrome:



[cid:image001.png@01D33647.C72624A0]

Not sure what resource it’s looking for in localhost/



Thanks,



Lana.



-Original Message-
From: Lukasz Lenart [mailto:lukaszlen...@apache.org]
Sent: Monday, September 25, 2017 2:11 PM
To: Struts Users Mailing List 
mailto:user@struts.apache.org>>
Subject: Re: Question about com.opensymphony.xwork2.util.LocalizedTextUtil



2017-09-25 20:05 GMT+02:00 Roslyakova, Svetlana

mailto:svetlana.roslyak...@bnymellon.com>>:

> Hi,

>

> We have upgraded to struts2 version 2.3.34.

>

> After the upgrade s:hidden field stopped working.  If I remove s:hidden tag 
> from the jsp page, the page is displayed correctly, with the  the screen, css stop working.

>

> Any advice?



Do you see any exception in the logs?



And please do not mix two different questions, this thread is about Struts 
2.5.13 and your question is not related to it. It would be better start a new 
thread.





Regards

--

Łukasz

+ 48 606 323 122

+ https://clicktime.symantec.com/a/1/9huMiFXcu3yYqczNjqF-DUHGUqqtgMvPHBV

+ UY2TKy8c=?d=h0wfo3Srn4eySKlXwne7XZ1zQ72d0asSi5JUojjPdCvATGoFO0A5vBtYd7

+ 0Rnvjkgzjux8Cg-I5ZN1ReVHJ6sTd5UklTWhfugCEC62GiPYYfeWEfwYlsIbPgHWaS3sZq

+ YYKRJ5Da0DyXGFKg2sHXO6DiNHTo1V4d_B83Mk2Gc5U5grzxiXgrDXfqwg6v6kn0eZAcEM

+ Q_c9rS89zhhKGAjdffweZ3CIrruRyPbheRXCN9puvrqnWtW7fEjkb1VnLl_nJ0D9Prl37L

+ i7LPQVUaFvJj7gG7lCX1t3vV2R7a52CTOAjgy7P8f1adON5r3YKWPjE_triyVnraN11lLJ

+ LvBQdVAWOO84U9aN3GoJbqc5Ky_kw-SCPQyz8MiRYmLhBGf60H9bHwBA-ehWHGy3glRiq9

+ PfFuCT0nlAr5mVqB-lpjX3uDy-bCGqsKJqIkXCbr6YXgYXwo053uJxZKbuwVEI_mQ9xyb7

+ RYrrziYok2TOmWmaKI2BfcAGQX1KBq9Q%3D%3D&u=http%3A%2F%2Fwww.lenart.org.p

+ l%2F



-

To unsubscribe, e-mail: 
user-unsubscr...@struts.apache.org

For additional commands, e-mail: 
user-h...@struts.apache.org

The information contained in this e-mail, and any attachment, is confidential 
and is intended solely for the use of the intended recipient. Access, copying 
or re-use of the e-mail or any attachment, or any information contained 
therein, by any other person is not authorized. If you are not the intended 
recipient please return the e-mail to the sender and delete it from your 
computer. Although we attempt to sweep e-mail and attachments for viruses, we 
do not guarantee that either are virus-free and accept no liability for any 
damage sustained as a result of viruses. 

Please refer to http://disclaimer.bnymellon.com/eu.htm for certain disclosures 
relating to European legal entities.


Re: Question about upgrade to struts2 2.3.34 and s:hidden tag

2017-09-25 Thread Lukasz Lenart
Hi

I was just want to point to you to this [1] and especially to this issue
[2] as now  tag follows xhtml theme specification.

[1] https://cwiki.apache.org/confluence/display/WW/Version+Notes+2.3.20
[2] https://issues.apache.org/jira/browse/WW-4297


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

2017-09-26 3:46 GMT+02:00 Roslyakova, Svetlana <
svetlana.roslyak...@bnymellon.com>:

> I was able to resolve the issue.  We didn’t have ‘theme=”simple”’ on the
>  tags.
>
> Once I’ve added it to the tags, the issue went away.
>
>
>
> *From:* Roslyakova, Svetlana
> *Sent:* Monday, September 25, 2017 5:39 PM
> *To:* 'Struts Users Mailing List' 
> *Subject:* RE: Question about upgrade to struts2 2.3.34 and s:hidden tag
>
>
>
> A little more information.
>
>
>
> I have the following form:
>
>
>
> 
>
> 
>
> 
>
> 
>
> 
>
>  
>
>   
>
>   
>
> name="menu" />
>
>
>
>
>
>
>
>
>
>
>
>   
>
>   
>
>
>
> If I use  tag in one of my jsp pages that are used as tiles in
> the above form, the pages are displayed one after another on the screen,
> instead of being displayed side by side.
>
> If I change  to  the jsp pages are displayed side
> by side, as they did before the upgrade.
>
>
>
> Please disregard below errors.  They’ve existed before the upgrade.
>
>
>
> Thanks,
>
>
>
> Lana.
>
>
>
> *From:* Roslyakova, Svetlana
> *Sent:* Monday, September 25, 2017 4:56 PM
> *To:* Struts Users Mailing List 
> *Subject:* Question about upgrade to struts2 2.3.34 and s:hidden tag
>
>
>
> The only error is in Chrome:
>
>
>
> Not sure what resource it’s looking for in localhost/
>
>
>
> Thanks,
>
>
>
> Lana.
>
>
>
> -Original Message-
> From: Lukasz Lenart [mailto:lukaszlen...@apache.org
> ]
> Sent: Monday, September 25, 2017 2:11 PM
> To: Struts Users Mailing List 
> Subject: Re: Question about com.opensymphony.xwork2.util.LocalizedTextUtil
>
>
>
> 2017-09-25 20:05 GMT+02:00 Roslyakova, Svetlana
>
> :
>
> > Hi,
>
> >
>
> > We have upgraded to struts2 version 2.3.34.
>
> >
>
> > After the upgrade s:hidden field stopped working.  If I remove s:hidden
> tag from the jsp page, the page is displayed correctly, with the  tag on the screen, css stop working.
>
> >
>
> > Any advice?
>
>
>
> Do you see any exception in the logs?
>
>
>
> And please do not mix two different questions, this thread is about Struts
> 2.5.13 and your question is not related to it. It would be better start a
> new thread.
>
>
>
>
>
> Regards
>
> --
>
> Łukasz
>
> + 48 606 323 122 <606%20323%20122>
>
> + https://clicktime.symantec.com/a/1/9huMiFXcu3yYqczNjqF-DUHGUqqtgMvPHBV
>
> + UY2TKy8c=?d=h0wfo3Srn4eySKlXwne7XZ1zQ72d0asSi5JUojjPdCvATGoFO0A5vBtYd7
>
> + 0Rnvjkgzjux8Cg-I5ZN1ReVHJ6sTd5UklTWhfugCEC62GiPYYfeWEfwYlsIbPgHWaS3sZq
>
> + YYKRJ5Da0DyXGFKg2sHXO6DiNHTo1V4d_B83Mk2Gc5U5grzxiXgrDXfqwg6v6kn0eZAcEM
>
> + Q_c9rS89zhhKGAjdffweZ3CIrruRyPbheRXCN9puvrqnWtW7fEjkb1VnLl_nJ0D9Prl37L
>
> + i7LPQVUaFvJj7gG7lCX1t3vV2R7a52CTOAjgy7P8f1adON5r3YKWPjE_triyVnraN11lLJ
>
> + LvBQdVAWOO84U9aN3GoJbqc5Ky_kw-SCPQyz8MiRYmLhBGf60H9bHwBA-ehWHGy3glRiq9
>
> + PfFuCT0nlAr5mVqB-lpjX3uDy-bCGqsKJqIkXCbr6YXgYXwo053uJxZKbuwVEI_mQ9xyb7
>
> + RYrrziYok2TOmWmaKI2BfcAGQX1KBq9Q%3D%3D&u=http%3A%2F%2Fwww.lenart.org.p
>
> + l%2F
>
>
>
> -
>
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>
> For additional commands, e-mail: user-h...@struts.apache.org
>
> The information contained in this e-mail, and any attachment, is
> confidential and is intended solely for the use of the intended recipient.
> Access, copying or re-use of the e-mail or any attachment, or any
> information contained therein, by any other person is not authorized. If
> you are not the intended recipient please return the e-mail to the sender
> and delete it from your computer. Although we attempt to sweep e-mail and
> attachments for viruses, we do not guarantee that either are virus-free and
> accept no liability for any damage sustained as a result of viruses.
>
> Please refer to http://disclaimer.bnymellon.com/eu.htm for certain
> disclosures relating to European legal entities.
>