java - inject style attribute based on parameter from Action in select item on JSP -
- Get link
- X
- Other Apps
I am trying to find out the solution for hours, but still failed: (
Here's the simple Devel on my JSP:
I Like style:
But this style list is dependent on the object size which is coming from the Straps action, so it results to JSP action success I was just trying to smthg like trial injection value:
<: s: set name = "divStyle" value = "display: none;" /> & lt ; Div class = "message" style = "& lt; s: property value =" county style "/>> Hello user!
and I tried:
<: set name = "divStyle" value = "<: if test =" elementfraction_activation1 gt "and" display: none; & Lt; / S: If & gt; "/> & lt; div class =" message "style =" & lt; S: property value = "divst yale" /> "& gt; hello user!
and:
1" & gt; Display: None; & Lt; / S: if & gt; "/ & gt;" & gt; Hello USER! & Lt; / Div & gt; But it also was not working: (
Can someone give advice on how to inject them
In the & lt; s: set / & gt;
snippet, you get strats tags to nest There is an error, which is an error.
In your final snippet, there is a typo: You are closing an un-opened tag with />
. < / P>
Change it
and From
1 "& gt; Display: none; Hello user!
-
Get link
-
Facebook
-
X
-
Pinterest
-
Email
-
Other Apps
Popular posts from this blog
winforms - C# Form - Property Change -
I have a form that has a property named car A class with many properties. The Properties is being displayed on the current car on the basis of some user actions that are being displayed. So I have to know whether the property has been allocated or set to zero. I'm aware of INotifyPropertyChanged , but in my case I'm not sure that since this change I have changed my car properties car do not want to monitor the property. Any idea how to accomplish this? In advance thank you If you have created a true asset in your class then You should be a great and setter, you can add the code directly to the form property in order to take action on the basis of "form": Public partial category Form 1: form {public form 1 () {InitializeComponent (); } // define car square public class car {public string name = string. Empty; } // private car to keep the value of the current car private variable _car = null; // Property of public form which you can ru...
java - Messages from .properties file do not display UTF-8 characters -
In the form of a title, I can only add that if I enter the html file manually, then it Okay. View Rolver: & lt; Bean id = "templorellolver" class = "org.thymeleaf.templateresolver.ServletContextTemplateResolver" & gt; & Lt; Property name = "prefix" value = "/ web-nf / templates" /> & Lt; Property name = "suffix" value = ". Html" /> & Lt; Property Name = "Template Mode" Value = "HTML5" /> & Lt; Asset name = "cacheable" value = "wrong" /> & Lt; Property Name = "characterEncoding" value = "UTF-8" /> & Lt; / Bean & gt; & Lt; Bean id = "Template Engine" class = "org.thymeleaf.spring3.SpringTemplateEngine" & gt; & Lt; Property Name = "Temploreolar" ref = "Templarolver" /> & Lt; / Bean & gt; & Lt; Bean square = "org.thymeleaf.spring3.view.Thymel...
javascript - amcharts makechart not working -
I am trying to create an amiratars serial chart on my Durandal single page application. This chart was working fine on Chrome browser but it is not working on IE. Can you please help me in this regard. Error while using Amcharts. The Macchart () method does not support the object in this object in IE.
Comments
Post a Comment