Re: struts-tag property in javascript

2025-06-10 Thread Dave Newton
On Tue, Jun 10, 2025 at 13:37 Lukasz Lenart wrote: > Nope, basically ${} means "use JSP EL" which is prohibited "inside" S2 > tags, using %{} means "use OGNL expression" which is fine. Oops, forgot about that smh d

Re: struts-tag property in javascript

2025-06-10 Thread Lukasz Lenart
wt., 10 cze 2025 o 18:23 Ute Kaiser napisał(a): > > Update after more investigating Nate's answer: > > onclick="document.getElementById('deleteid').value='%{id}';"> > > Using ${id} threw an error (I suppose my config not fit for JSP EL) Nope, basically ${} means "use JSP EL" which is prohibited

RE: struts-tag property in javascript

2025-06-10 Thread Ute Kaiser
Update after more investigating Nate's answer: Using ${id} threw an error (I suppose my config not fit for JSP EL) Best regards Ute - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail:

Aw: RE: struts-tag property in javascript

2025-06-06 Thread Ute Kaiser
Hi and thx for your fast answers. I am aware that migration could go much deeper in cleaning up but rewriting the action und jsp files is fissel work enough at the moment. Dave's answer "But you should be able use standard JSP EL iirc." inspired me. First I did not understand (never used EL), th

RE: struts-tag property in javascript

2025-06-06 Thread Nate Kerkhofs
Hi Ute, I would recommend you split up your JavaScript into separate files as well, but if you ABSOLUTELY have to write a property value inside a Struts tag, the best way to do that is probably through an OGNL or JSTL expression. In your case, you can replace the s:property tag inside the

Re: struts-tag property in javascript

2025-06-06 Thread Dave Newton
On Fri, Jun 6, 2025 at 09:14 Ute Kaiser wrote: > Hi, > migrating from Struts1 I encounter in a jsp the error "Equal symbol > expected" at the "onclick" row. > I think my old quotes do not work any more with Struts2. > > Struts1: > > > onclick="javascript:if(confirmDelete()){document.getElemen

struts-tag property in javascript

2025-06-06 Thread Ute Kaiser
Hi, migrating from Struts1 I encounter in a jsp the error "Equal symbol expected" at the "onclick" row. I think my old quotes do not work any more with Struts2. Struts1: ';}"/> Struts2: ';}"/> I tried 'id', \"id\", \'id\' "id" but nothing worked out Any advice appreciated (hopefully not

Re: Issue in Struts 7.0.0 with tag

2025-04-17 Thread Wolfgang Knauf
awateshankar...@gmail.com> wrote: Thank you for your response. I'm using NetBeans 17 as the IDE, with Java 21, and running the application on Tomcat 10.0.20. The issue occurs when I try to run the web application from within the IDE. NetBeans shows the following error when the issue occurs: T

Re: Issue in Struts 7.0.0 with tag

2025-04-17 Thread shankar sawate
t; > > > org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482) > > > at > > > > > > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) > > > at > > > > > > org.apache.cat

Re: Issue in Struts 7.0.0 with tag

2025-04-17 Thread M Huzaifah
na.connector.CoyoteAdapter.service(CoyoteAdapter.java:344) > > at > > > org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:391) > > at > > > org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) > > at > > > or

Re: Issue in Struts 7.0.0 with tag

2025-04-17 Thread shankar sawate
.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) > at > org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) > at java.base/java.lang.Thread.run(Thread.java:1583) > > On Thu, Apr 17, 2025 at 12:04 PM shankar sawate < > sawa

Re: Issue in Struts 7.0.0 with tag

2025-04-17 Thread shankar sawate
ation on Tomcat 10.0.20. > The issue occurs when I try to run the web application from within the IDE. > > NetBeans shows the following error when the issue occurs: > > The s:form tag declares that it accepts dynamic attributes but does not > implement the requ

Re: Issue in Struts 7.0.0 with tag

2025-04-16 Thread shankar sawate
Thank you for your response. I'm using NetBeans 17 as the IDE, with Java 21, and running the application on Tomcat 10.0.20. The issue occurs when I try to run the web application from within the IDE. NetBeans shows the following error when the issue occurs: The s:form tag declares th

Re: Issue in Struts 7.0.0 with tag

2025-04-16 Thread Lukasz Lenart
wt., 15 kwi 2025 o 09:57 shankar sawate napisał(a): > While migrating to Struts 7.0.0, I'm encountering an issue when using the > tag. Even though the tag is present like this > > jsp > <%%> > I’m getting the following warning or error: > > The s:form t

Re: Issue in Struts 7.0.0 with tag

2025-04-16 Thread shankar sawate
> > Wyatt > > From: shankar sawate > Sent: Monday, April 14, 2025 11:39 PM > To: user@struts.apache.org > Subject: Issue in Struts 7.0.0 with tag > > !---| > This Message Is Fr

Re: Issue in Struts 7.0.0 with tag

2025-04-16 Thread Tellis, Wyatt
@struts.apache.org Subject: Issue in Struts 7.0.0 with tag !---| This Message Is From an Untrusted Sender You have not previously corresponded with this sender. |---! Hi

Issue in Struts 7.0.0 with tag

2025-04-15 Thread shankar sawate
Hi, While migrating to Struts 7.0.0, I'm encountering an issue when using the tag. Even though the tag is present like this jsp <%%> I’m getting the following warning or error: The s:form tag declares that it accepts dynamic attributes but does not implement the required interface <%%> <%%> <%%> <%%> <%%> <%-- --%> <%-- --%> <%%> <%%> <%-- --%> <%-- --%> <%%> <%-- --%> <%%> <%-- --%> <%%> <%%> <%%> <%%> <%%> <%%> <%%> <%%> <%%> <%%> <%%> <%%>

Re: Re: Struts7 debug-tag with rendering problem

2025-04-01 Thread Lukasz Lenart
wt., 1 kwi 2025 o 12:09 Ute Kaiser napisał(a): > yes, I use Struts 7.0.3 > I suppose it is just a missing , that browser usually excuses for html > but not for my xml output. I've used the example app but I cannot find the issue, there is opening & closing tag, also I use

Aw: Re: Struts7 debug-tag with rendering problem

2025-04-01 Thread Ute Kaiser
Hi Lukasz, yes, I use Struts 7.0.3 I suppose it is just a missing , that browser usually excuses for html but not for my xml output. Thx and best regards Ute - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For ad

Re: Struts7 debug-tag with rendering problem

2025-04-01 Thread Lukasz Lenart
napisał(a): > > > Hi, > using in jsp causes my XML-Output to crash. > I thought I needed it because my jsp does not display the expected output and > therefore I wanted to inspect the value stack. > Any help appreciated to use this tag. > Best regards Ute > > &g

Struts7 debug-tag with rendering problem

2025-03-27 Thread Ute Kaiser
Hi, using in jsp causes my XML-Output to crash. I thought I needed it because my jsp does not display the expected output and therefore I wanted to inspect the value stack. Any help appreciated to use this tag. Best regards Ute XML-Verarbeitungsfehler: Nicht übereinstimmendes Tag. Erwartet

Re: Understand usage of tag inside

2025-02-20 Thread Lukasz Lenart
> > On Wed, Feb 19, 2025, 5:25 PM Murali Challa wrote: > > > Hi, > > > > Can someone suggest among below which is best/preferred way of using > > tag with in . > > > > > > > > > >//getting value using var.name > >// g

Re: Understand usage of tag inside

2025-02-19 Thread M Huzaifah
Hii, I prefered use the second one. Just use "name" Regards On Wed, Feb 19, 2025, 5:25 PM Murali Challa wrote: > Hi, > > Can someone suggest among below which is best/preferred way of using > tag with in . > > > > >//getting value using var.name >

Understand usage of tag inside

2025-02-19 Thread Murali Challa
Hi, Can someone suggest among below which is best/preferred way of using tag with in . //getting value using var.name // getting value directly using name Both are working but just wanted to know which is more preferred to use.

Re: URL tag question

2024-10-30 Thread Lukasz Lenart
śr., 30 paź 2024 o 16:32 Matt Williams napisał(a): > > Thanks Nate! I overlooked that! > This does work! > > > name="myData" value="%{#myDataList}" /> > Feel free to edit the page and add your example, PRs are welcome :) Cheers Łukasz --

Re: URL tag question

2024-10-30 Thread Matt Williams
Thanks Nate!  I overlooked that! This does work! Matt On Wednesday, October 30, 2024 at 10:01:05 AM CDT, Nate Kerkhofs wrote: Hi Matt, Based on the documentation at https://struts.apache.org/tag-developers/url-tag, you shouldn't add each param as an individual child tag

RE: URL tag question

2024-10-30 Thread Nate Kerkhofs
Hi Matt, Based on the documentation at https://struts.apache.org/tag-developers/url-tag, you shouldn't add each param as an individual child tag, but instead put them all into an Array or Iterable object and add that as the value for a single param child tag. Regards, Nate -Ori

URL tag question

2024-10-30 Thread Matt Williams
I am using Struts 6.6.0, I am needing to generate a URL using the s:url tag that will pass a List of values (example:  myurl.action?myData=1&myData=2&myData=3) I have:     1     2     3 However, the generated URL only includes myData=3. Am I missing something? Thanks! Matt

Re: allowed-methods tag not working

2024-02-08 Thread Lukasz Lenart
czw., 8 lut 2024 o 16:39 apacheStrutsUsers8 napisał(a): > > I have a Struts app which I am upgrading from Struts 2.5 to Struts 6. In my > struts xml file, I currently have actions which have the allowed-methods tag > like this: > > > /done.jsp > start, finish, next &g

allowed-methods tag not working

2024-02-08 Thread apacheStrutsUsers8
I have a Struts app which I am upgrading from Struts 2.5 to Struts 6. In my struts xml file, I currently have actions which have the allowed-methods tag like this: /done.jsp start, finish, next However, when I try to call someAction!start.action, the start method is not called and it looks

Re: [EXTERNAL] Re: Trouble with tag after upgrading from struts v2.5.31 to v6.3.0.2

2024-01-12 Thread Lukasz Lenart
bbf4[war:BBS/BBSWeb.war] > > Can you please assist us. > > Thanks. > > > Noel Deleon > CRIS/ICRIS, 201-828-8524 > > > > > > > > > -Original Message- > From: Lukasz Lenart > Sent: Friday, January 12, 2024 12:40 AM > To: Struts Users M

RE: [EXTERNAL] Re: Trouble with tag after upgrading from struts v2.5.31 to v6.3.0.2

2024-01-12 Thread ndeleon
] Re: Trouble with tag after upgrading from struts v2.5.31 to v6.3.0.2 CAUTION! This email originated outside of the organization. Please do not open attachments or click links from an unknown or suspicious origin. == czw., 11

Re: Trouble with tag after upgrading from struts v2.5.31 to v6.3.0.2

2024-01-11 Thread Lukasz Lenart
> [struts2-core-6.3.0.2.jar]\template\simple\radiomap.ftl and copy it > into your resources directory with the same tree: > resource\\template\simple\radiomap.ftl > > Then towards the end of the ftl file you will see the tag. Just > add "?no_esc" to the ${itemValue}. Like

Re: Trouble with tag after upgrading from struts v2.5.31 to v6.3.0.2

2024-01-11 Thread Burton Rhodes
your resources directory with the same tree: resource\\template\simple\radiomap.ftl Then towards the end of the ftl file you will see the tag. Just add "?no_esc" to the ${itemValue}. Like this... "/${parameters.templateDir}/${parameters.expandTheme}/css.ftl"/>><

Re: Trouble with tag after upgrading from struts v2.5.31 to v6.3.0.2

2024-01-11 Thread Pranish Srigiri
Hi Lukasz, I tried testing with the latest Snapshot generated on the 9th of Jan. Good news is, the issue is resolved in this version. Thank you for all the help. I have an other question related to the same tag. We've used the tag like this in one of our pages. The above tag was rendered

Re: Trouble with tag after upgrading from struts v2.5.31 to v6.3.0.2

2024-01-09 Thread Pranish Srigiri
Thanks for all the information Lukasz. Regards, Pranish Srigiri Sent from Gmail Mobile On Wed, 10 Jan 2024 at 1:29 AM, Lukasz Lenart wrote: > wt., 9 sty 2024 o 20:01 Pranish Srigiri napisał(a): > > Hi Lukasz, > > I'm not sure if the PR is included in the present Snapshot available > here. >

Re: Trouble with tag after upgrading from struts v2.5.31 to v6.3.0.2

2024-01-09 Thread Lukasz Lenart
wt., 9 sty 2024 o 20:04 Pranish Srigiri napisał(a): > I also noticed that 6.4 requires a new dependency called caffein. My server > wasn't starting until I included this dependency, > https://central.sonatype.com/artifact/com.github.ben-manes.caffeine/caffeine Yes, this is something to be address

Re: Trouble with tag after upgrading from struts v2.5.31 to v6.3.0.2

2024-01-09 Thread Lukasz Lenart
wt., 9 sty 2024 o 20:01 Pranish Srigiri napisał(a): > Hi Lukasz, > I'm not sure if the PR is included in the present Snapshot available here. > https://repository.apache.org/content/groups/snapshots/org/apache/struts/struts2-core/6.4.0-SNAPSHOT/ > I tried to test with this version of the Snapshot

Re: Trouble with tag after upgrading from struts v2.5.31 to v6.3.0.2

2024-01-09 Thread Pranish Srigiri
I also noticed that 6.4 requires a new dependency called caffein. My server wasn't starting until I included this dependency, https://central.sonatype.com/artifact/com.github.ben-manes.caffeine/caffeine Thanks and Regards, Pranish Srigiri On Wed, Jan 10, 2024 at 12:31 AM Pranish Srigiri wrote:

Re: Trouble with tag after upgrading from struts v2.5.31 to v6.3.0.2

2024-01-09 Thread Pranish Srigiri
Hi Lukasz, I'm not sure if the PR is included in the present Snapshot available here. https://repository.apache.org/content/groups/snapshots/org/apache/struts/struts2-core/6.4.0-SNAPSHOT/ I tried to test with this version of the Snapshot but unfortunately the issue wasn't resolved, so I guess the P

Re: Trouble with tag after upgrading from struts v2.5.31 to v6.3.0.2

2024-01-09 Thread Lukasz Lenart
pon., 8 sty 2024 o 20:21 Pranish Srigiri napisał(a): > Hi Lukasz, > I think the PR could address the problem. I see that the fix-version of > WW-5365 is 6.4. When do you think v6.4 is going to go 'GA'? Is there a way > to test this PR? Version 6.4.0 will be released once this issue is resolved [1

Re: Trouble with tag after upgrading from struts v2.5.31 to v6.3.0.2

2024-01-08 Thread Pranish Srigiri
Hi Burton, The values are not based off an enum. The radio is linked to a String in the Action. I came across a question posted by Nate Kerkhofs on the 23rd of Nov, 2023. This helped me in resolving the issue by removing the 'value' attribute from the tag. We've used the tag more

Re: Trouble with tag after upgrading from struts v2.5.31 to v6.3.0.2

2024-01-07 Thread Lukasz Lenart
Could this PR [1] address your problem? [1] https://github.com/apache/struts/pull/835 Regards Łukasz - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: Trouble with tag after upgrading from struts v2.5.31 to v6.3.0.2

2024-01-05 Thread Burton Rhodes
Curious... are the values based off an enum (as opposed to a String)? This was an issue for me at one point. -- Original Message -- From "Pranish Srigiri" To user@struts.apache.org Date 1/5/2024 2:46:36 PM Subject Trouble with tag after upgrading from struts v2.5.31 t

Trouble with tag after upgrading from struts v2.5.31 to v6.3.0.2

2024-01-05 Thread Pranish Srigiri
Hi All, I have a situation in my project where the radio buttons are not selected by default. This has only started happening after I upgraded struts to v6.3.0.2 Just a heads up, I've upgraded all the dependencies like OGNL, Freemarker, after I upgraded struts to v6.3.0.2 I have a tag which

RE: Set tag not working in 6.2.0

2023-08-16 Thread Tellis, Wyatt
That's great news. I've opened: https://issues.apache.org/jira/browse/WW-5331 Wyatt -Original Message- From: Lukasz Lenart Sent: Wednesday, August 16, 2023 6:09 AM To: Struts Users Mailing List Subject: Re: Set tag not working in 6.2.0 pon., 14 sie 2023 o 19:52 Tellis, Wyat

Re: Set tag not working in 6.2.0

2023-08-16 Thread Lukasz Lenart
pon., 14 sie 2023 o 19:52 Tellis, Wyatt napisał(a): > Any luck with tracking the cause? Yeah, I finally found the core issue, it's related to https://issues.apache.org/jira/browse/WW-5196 Basically instead of using: public Object get(final String key) { return request.getAttribute(key); }

RE: Set tag not working in 6.2.0

2023-08-14 Thread Tellis, Wyatt
Hi, Any luck with tracking the cause? Wyatt -Original Message- From: Lukasz Lenart Sent: Wednesday, August 2, 2023 11:00 PM To: Struts Users Mailing List Subject: Re: Set tag not working in 6.2.0 Interesting, what's even more interesting this

Re: Set tag not working in 6.2.0

2023-08-02 Thread Lukasz Lenart
; On 6.1.2.1 you get: > > Set attempt #1: success > Set attempt #2: success > > > But on 6.2.0 you only get: > > Set attempt #1: success > Set attempt #2: > > > > Note: the call to returns nothing in > 6.2.0 > > Wyatt > > > -Origina

RE: Set tag not working in 6.2.0

2023-08-02 Thread Tellis, Wyatt
s But on 6.2.0 you only get: Set attempt #1: success Set attempt #2: Note: the call to returns nothing in 6.2.0 Wyatt -Original Message- From: Lukasz Lenart Sent: Saturday, July 29, 2023 10:48 AM To: Struts Users Mailing List Subject: Re: Set tag not working in 6.2.0 sob.,

Re: Set tag not working in 6.2.0

2023-07-29 Thread Lukasz Lenart
sob., 29 lip 2023 o 15:38 Tellis, Wyatt napisał(a): > > No, its just the standard JSTL Core set tag: Just tested the following setup and it just works with Struts 6.2.0 and Java 8/11/17 ${listType} / ${lcType} Regards -- Łukasz + 48 606 323 122 http://www.lenart.

RE: Set tag not working in 6.2.0

2023-07-29 Thread Tellis, Wyatt
No, its just the standard JSTL Core set tag: https://www.w3schools.in/jsp/jstl-core-set-tag Wyatt -Original Message- From: Lukasz Lenart Sent: Friday, July 28, 2023 10:26 PM To: Struts Users Mailing List Subject: Re: Set tag not working in 6.2.0 sob., 29 lip 2023 o 02:32 Tellis

Re: Set tag not working in 6.2.0

2023-07-28 Thread Lukasz Lenart
sob., 29 lip 2023 o 02:32 Tellis, Wyatt napisał(a): > > Because "#request." is about accessing Request attributes > > not parameters. > > Understood, but we're using value="requestAttributeValue" scope="request"/> to update the request > attributes Is this your custom function? Could you share

RE: Set tag not working in 6.2.0

2023-07-28 Thread Tellis, Wyatt
2023 11:50 AM To: Struts Users Mailing List Subject: Re: Set tag not working in 6.2.0 In which version this worked for you? Because "#request." is about accessing Request attributes not parameters. Regards -- Łukasz + 48 606 323 122 https://urldefense.com/v3/__http:/

Re: Set tag not working in 6.2.0

2023-07-27 Thread Lukasz Lenart
In which version this worked for you? Because "#request." is about accessing Request attributes not parameters. Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ - To unsubscribe, e-mail: user-unsubscr...@struts.apac

Re: Set tag not working in 6.2.0

2023-07-21 Thread Lukasz Lenart
czw., 20 lip 2023 o 18:28 Tellis, Wyatt napisał(a): > > It doesn't work. Also I was debugging the set tag and noticed the RequestMap > in the ValueStack that gets passed to the set tag doesn't even contain the > listType attribute. This is different behavior from th

RE: Set tag not working in 6.2.0

2023-07-20 Thread Tellis, Wyatt
It doesn't work. Also I was debugging the set tag and noticed the RequestMap in the ValueStack that gets passed to the set tag doesn't even contain the listType attribute. This is different behavior from the previous versions of Struts. Wyatt -Original Message- From: Luk

Re: Set tag not working in 6.2.0

2023-07-20 Thread Lukasz Lenart
śr., 19 lip 2023 o 20:59 Tellis, Wyatt napisał(a): > We noticed the following snippet of code no longer works in 6.2.0: > > <%@taglib uri="http://java.sun.com/jsp/jstl/core"; prefix="c" %> > <%@taglib uri="/struts-tags" prefix="s"%> > > > Could you try to use to access this value? Regards --

Set tag not working in 6.2.0

2023-07-19 Thread Tellis, Wyatt
ts we would get: TEST / test but with 6.2.0 we get: TEST / It seems like the set tag is not picking up the value for the listType request attribute. Any ideas what could be wrong? Thanks, Wyatt

Re: Issue on sj:datepicker tag on Struts2 6.0.x version

2022-11-11 Thread Lukasz Lenart
pt., 11 lis 2022 o 08:33 K M napisał(a): > > Hi, > > It seems i cannot get /struts/js/calendar.gif image when i use > tag. > Would anyone help on this ? Static content is served from /static path (it has changed some time ago), /struts isn't supported to avoid exposing

Issue on sj:datepicker tag on Struts2 6.0.x version

2022-11-10 Thread K M
Hi, It seems i cannot get /struts/js/calendar.gif image when i use tag. Would anyone help on this ? Regards, TM - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h

Re: From ??? Re: From ??? Re: Checkbox tag new attribute submitUnchecked

2022-11-09 Thread Britta Katzenbach
#if >> parameters.submitUnchecked!false>, so the hidden field is only generate if >> you set the attribute in the tag. > > You are right, previously the hidden input was always there, but I > missed that :\ Feel free to open a ticket in JIRA and we will revert > to the p

Re: From ??? Re: From ??? Re: Checkbox tag new attribute submitUnchecked

2022-11-09 Thread Lukasz Lenart
u added <#if > parameters.submitUnchecked!false>, so the hidden field is only generate if > you set the attribute in the tag. You are right, previously the hidden input was always there, but I missed that :\ Feel free to open a ticket in JIRA and we will revert to the previous behaviour Regards -- Łuka

Re: From ??? Re: From ??? Re: Checkbox tag new attribute submitUnchecked

2022-11-09 Thread Britta Katzenbach
if you set the attribute in the tag. Best regards, Britta Britta Katzenbach _ e-Mail: katzenb...@liwa.de Dr. Lippke & Dr. Wagner GmbH Nassauische Str. 25 10717 Berlin Tel./Fax: +49 30 2147309-0 / 2 Geschäftsführer: Florian Schlittgen Regis

Re: From ??? Re: Checkbox tag new attribute submitUnchecked

2022-11-09 Thread Burton Rhodes
struts/pull/169 -- Original Message -- From "Britta Katzenbach" To "Struts Users Mailing List" Date 11/9/2022 7:10:54 AM Subject Re: From ??? Re: Checkbox tag new attribute submitUnchecked Hi Burton, Thanks for the quick answer and the description! I was hoping for a soluti

Re: From ??? Re: Checkbox tag new attribute submitUnchecked

2022-11-09 Thread Britta Katzenbach
mes > > Thanks, > Burton > > -- Original Message -- > From "Britta Katzenbach" > To user@struts.apache.org > Date 11/9/2022 2:40:19 AM > Subject Checkbox tag new attribute submitUnchecked > >> Hi, >> >> We are migrating fr

Re: Checkbox tag new attribute submitUnchecked

2022-11-09 Thread Burton Rhodes
ks, Burton -- Original Message -- From "Britta Katzenbach" To user@struts.apache.org Date 11/9/2022 2:40:19 AM Subject Checkbox tag new attribute submitUnchecked Hi, We are migrating from struts 2.5 to 6.0.3. You have implemented the new tag attribute submitUnchecked in the chec

Checkbox tag new attribute submitUnchecked

2022-11-09 Thread Britta Katzenbach
Hi, We are migrating from struts 2.5 to 6.0.3. You have implemented the new tag attribute submitUnchecked in the checkbox. The default value is false. Is there any way to set the attribute default value to true? Best regards, Britta Britta Katzenbach

Re: s:url tag using includeParams=all include invalid url

2022-10-12 Thread Łukasz Lenart
tions > are breaking using the standard recommended refresh implementation [1]. > The new tag code appends the "method" to the action file name > making the url invalid. So instead of "actionName.action" the result is > "actionName!methodName.action". I

Re: s:url tag using includeParams=all include invalid url

2022-10-10 Thread Burton Rhodes
After a bit more testing it seems all of my executeAndWait implementations are breaking using the standard recommended refresh implementation [1]. The new tag code appends the "method" to the action file name making the url invalid. So instead of "actionName.action" the r

s:url tag using includeParams=all include invalid url

2022-10-07 Thread Burton Rhodes
). Is this a bug? *Struts.xml Definifation Action* 500 /struts/common/progressMonitorWait_popup.jsp /struts/email/sendEmailResult_popup.jsp /struts/email/sendEmail_popup.jsp /struts/common/error/error_popup.jsp /struts/common/login/login_popup.jsp *Tag A

Re: How to reference the value of a List collection on s:select tag?

2022-02-21 Thread Lukasz Lenart
pon., 21 lut 2022 o 22:09 Burton Rhodes napisał(a): > > Nice - that was it. Thanks! > > Is that in the documentation anywhere? There is some reference here https://struts.apache.org/tag-developers/ognl-basics If you need more info I can try to extend the docs. Regards -- Łukasz

Re: How to reference the value of a List collection on s:select tag?

2022-02-21 Thread Burton Rhodes
Nice - that was it. Thanks! Is that in the documentation anywhere? On Mon, Feb 21, 2022 at 2:27 PM Lukasz Lenart wrote: > pon., 21 lut 2022 o 20:38 Burton Rhodes > napisał(a): > > > > I am using the s:select tag and filling it with a List - pretty > > basic. However

Re: How to reference the value of a List collection on s:select tag?

2022-02-21 Thread Lukasz Lenart
pon., 21 lut 2022 o 20:38 Burton Rhodes napisał(a): > > I am using the s:select tag and filling it with a List - pretty > basic. However, I am wanting to change the value that is displayed by > adding a character before the String, but I can't figure out how to > reference th

How to reference the value of a List collection on s:select tag?

2022-02-21 Thread Burton Rhodes
I am using the s:select tag and filling it with a List - pretty basic. However, I am wanting to change the value that is displayed by adding a character before the String, but I can't figure out how to reference the item itself (since it's not an object with properties). The code bel

Re: OGNL in struts tag

2020-02-23 Thread Lukasz Lenart
As "a" was pushed into to the ValueStack, we must strictly say which scope we are interested in, so we must use "#" to use "a" scope: name="%{#a.formcolumnName}" We can use "a" directly: name="%{a}" but then it will be evaluated as

Re: OGNL in struts tag

2020-02-23 Thread John Bush
common/genericform/genericMain.jsp (line: 165, column: 24) According to TLD or attribute directive in tag file, attribute name does not accept any expressions File: org/apache/jasper/compiler/DefaultErrorHandler.java Line number:41 Yes, this is by design, we didn't want to base on ${} whic

Re: OGNL in struts tag

2020-02-23 Thread Lukasz Lenart
pt., 21 lut 2020 o 04:05 M Huzaifah napisał(a): > > > > the jsp has error: > > Struts Problem Report > > Struts has detected an unhandled exception: > > Messages: > /pages/common/genericform/genericMain.jsp (line: 165, column: 24) According > to TL

Re: OGNL in struts tag

2020-02-20 Thread M Huzaifah
) According to TLD or attribute directive in tag file, attribute name does not accept any expressions File: org/apache/jasper/compiler/DefaultErrorHandler.java Line number:41 cause the error above, then i state attribute name on struts tag does not accept any expressions. if i test to just

Re: OGNL in struts tag

2020-02-20 Thread Lukasz Lenart
wt., 18 lut 2020 o 17:04 M Huzaifah napisał(a): > Thank you Lucas, my goal is render the struts tag based on list of column > name that i've set before. So i have to iterate the list of column using > jstl than put the "name" on attribut name in struts tag. From

Re: OGNL in struts tag

2020-02-18 Thread M Huzaifah
Dear Lucas, Thank you Lucas, my goal is render the struts tag based on list of column name that i've set before. So i have to iterate the list of column using jstl than put the "name" on attribut name in struts tag. From here, i think i miss understanding about struts tag. I use s

Re: OGNL in struts tag

2020-02-18 Thread Prasanth
05:22 M Huzaifah napisał(a): >> I've looking for solution how to create struts2 tag could generate >> dynamically. This is my code: >> >> >> >> > You shouldn't mix Struts and non-Struts tags, this is a bad idea. Why > don't you use h

Re: OGNL in struts tag

2020-02-18 Thread Lukasz Lenart
wt., 18 lut 2020 o 05:22 M Huzaifah napisał(a): > I've looking for solution how to create struts2 tag could generate > dynamically. This is my code: > > > > You shouldn't mix Struts and non-Struts tags, this is a bad idea. Why don't you use here? https:/

OGNL in struts tag

2020-02-17 Thread M Huzaifah
Dear All, I've looking for solution how to create struts2 tag could generate dynamically. This is my code: There is a way we can use ${} ini struts tag?. I found security issue about this evaluation sintaks in here : https://securitylab.github.com/research/apache-struts-d

Re: Not escaping HTML in checkbox Tag

2018-11-17 Thread Yasser Zamani
o list, my problem is that i have a message resource key defined like this: message.privacy=Die Datenschutzerklärung when i use it in text tag like this: all is ok an html is not escaped but when i used it in checkbox tag like this: html is escaped an my link is not working is there a way

Not escaping HTML in checkbox Tag

2018-11-16 Thread Marc Michele
Hello list, my problem is that i have a message resource key defined like this: message.privacy=Die Datenschutzerklärung when i use it in text tag like this: all is ok an html is not escaped but when i used it in checkbox tag like this: html is escaped an my link is not working is there

RE: Struts 2.5 S:Select tag with Multiple True

2018-07-15 Thread Yasser Zamani
I wonder why HTML needs CTRL key when we enable multiple! Anyway, I think it's out of Struts business as an HTML issue. Unfortunately Struts Select tag doesn't provide an optional fix for this HTML issue and you've to fix it manually via some javascript coding e.g. save current

Re: Struts 2.5 S:Select tag with Multiple True

2018-07-14 Thread Arjuna Bandara
is selected. > > Without even realizing that they deselected the other items in the list > they save the page. By mistake they don't want that to happen. > > So they asked is there a way to work with the multi select by > selecting/desecting multiple items in the list withou

Struts 2.5 S:Select tag with Multiple True

2018-07-14 Thread Kiran Kongala
multi select by selecting/desecting multiple items in the list without holding the Ctrl Key or to stop this happening with the Select tag. So we added the below jquery script so that they can select/deselect without holding the Ctrl Key. jQuery('option').mousedown(function(e) { e.preven

Re: Triple select tag

2018-04-16 Thread Yasser Zamani
On 4/15/2018 12:01 AM, albert kao wrote: > My requirement is triple select tag component implemented with Struts 2 > only, without any JS function. > I am still learning how s:doubleselect tag works. > I downloaded the source code from > https://www.mkyong.com/struts2/struts-

Re: Triple select tag

2018-04-14 Thread albert kao
Martin, My requirement is triple select tag component implemented with Struts 2 only, without any JS function. I am still learning how s:doubleselect tag works. I downloaded the source code from https://www.mkyong.com/struts2/struts-2-sdoubleselect-example/, compiled and run it successfully. This

Re: Triple select tag

2018-04-14 Thread Martin Gainty
Hi Albert Thinking you could possibly hook JS function to doubleOnSelect of first component to highlight 3rd but would you have an example of 3 tag-components wired together? Martin __ From: albert kao Sent

Triple select tag

2018-04-14 Thread albert kao
I am looking for a triple select tag component which is similar to the s:doubleselect tag ( https://struts.apache.org/tag-developers/doubleselect-tag.html). It renders three HTML select elements with the third one changing displayed values depending on selected entry of second one, and the second

Re: Converting struts1 tag to struts2 null handling

2017-11-24 Thread Lukasz Lenart
2017-11-24 13:01 GMT+01:00 heberr...@gmail.com : > ? 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...@strut

Re: Converting struts1 tag to struts2 null handling

2017-11-24 Thread Yasser Zamani
On 11/24/2017 3:31 PM, heberr...@gmail.com wrote: > > > How to make this true when #row.type is null. I tested below instead, and works: However, you pointed an important note out. It caused that I think maybe it was better to throw an NPE in such cases. Thanks for your report, Yasser. -

Converting struts1 tag to struts2 null handling

2017-11-24 Thread heberr...@gmail.com
The following struts 1 code evaluates to true when row.type is null. The same I converted into struts2 as below but it evaluates to false when row.type is null. How to make this true when #row.type is null. - To unsubscr

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

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

2017-09-25 Thread Roslyakova, Svetlana
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 si

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

Question about upgrade to struts2 2.3.34 and s:hidden tag

2017-09-25 Thread Roslyakova, Svetlana
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

  1   2   3   4   5   6   7   8   9   10   >