Does anyone know what I need to do in Struts to display a String with preserved layout (paragraphs, numbering, spaces, etc.)? The String itself is correct in terms of formatting, but the displayed text (using bean:write, for example) is displayed without any extra spaces, new line characters...
Hi,
I need to display a page with multiple text sections (each one is in the database), with each section having an "I agree" and a "I disgree" radio button group.
The problem is that the number of sections displayed depends on the type of the user.
How can I adjust the action form to...
I got it.
Had to add a couple of lines to my JS script:
event.returnValue=false;
event.cancel = true;
function doClick(buttonName,e)
{
var key;
if (window.event) key = window.event.keyCode;
else key = e.which;
if (key == 13)
{
var btn =...
Hi,
Why is it that ASP.NET panels and text boxes submit twice on enter, while dropdown lists don't?
I have a panel with contols mentioned above and a javascript attached to the panel, designed to execute an imagebutton event when a user presses 'Enter'.
If a user presses enter while the focus...
Hi,
I have a form that has several controls in a panel including several text boxes. The form is used to perform searches and then display results on the same page. In order to catch the Enter key being pressed, I've added a javascript onKeyDown() event to the panel. This event then executes...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.