  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Tomcat - JSP/Servlet container | | Struts - A MVC web framework | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | JSP - A mailing list about Java Server Pages specification and reference | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | |
Struts & Hibernate
|
|
|
  | | | Struts | Hi
I was able to get the selected item from a s select element which can be accessed from the property variable that is associated with it. Now I 'm trying to do the same with the s tree element. Hi
I know that I 've sent many questions today so please bear with me once more. I 'd like to have my action popup a message to the user if a submit button is pressed and the entered data is incorreI 'm running into trouble migrating my existing web application from
WebWork 2.2.2 to Struts 2.0.9. We are using JSE6 (AKA JDK 1.6) and
Tomcat 5.5.17. I did everything mentioned on the wiki plus a buncHi
I 've posted a number of times regarding this subject but have not gotten a reply. I would think that others have used s select before and know how to obtain a user 's selection in data. Please We 've been on Struts 2.0.6 and a Tiles 2.0 pre-release
(2.0-20070207.130156-4) for a while now in the Roller trunk. After
seeing the recent news about XSS dangers we decided to upgrade to
2.0.9. beforHi
Could someone tell me how in my action code I could get the item that was selected by a user in a s select list?
Thanks
Session
With Struts 2 how would I go about doing the following
1. Replace the i18n resolution logic to load key/value pairs from a database
instead of properties files?
2. Add an extra processing step to Hi
Forgive the flurry of posts. I 'd like to be able to do two things with tree nodes
- determine which one was clicked from my action code (getting the corresponding id is enough)
- display the noHi again
How should I go about obtaining a user 's selection in an s select element from my action 's code?
Thanks
Session
Hi
Is it possible to have an action process a page and launch an alert dialog box if it encounters an issue that the user should be made aware of? Additionally how would I launch a confirmation diHow I get with dojo (Struts 2) the properties of div or some another
element I 'm running this code
function updateDiv( url ) {
var reportDiv window[ 'info ']
reportDiv.href Hi
I have a select list in my form and when I submit the form the
javascript client validation passes but the server validation failed. It
comes back to my JSP with the "required field " error mHi
When I submit a numeric in a form the validation accepts only dotted
numbers (12 34) (I 'm with a French locale). If a set 12.34 the validation
failed and I have the message "Invalid field v
Hi all
http //struts.apache.org/2.x/docs/jfreechart-plugin.html
In this page it just gives an example to make the action return a chart. My
question is how can I display it on a part of a jsp?
A
Hi all
I am trying to put a JFreeChart in a <s div > tag
---jsp file---
...
<s url id "testChart " value "/TestChart.html " / >
<s div
id "once "
theme "ajax "
cssStyle "border
Hello experts
I have following code...
JAVA class
public class Support extends ActionSupport implements SessionAware
{
protected Map <String Object > session
public Map <String Object > geOK I think I found the problem. So if someone can
come up with a feasible workaround please! Its
nothing struts related btw. Javascript.
I have a form onSubmit function which disabled all the
inpu
Hi
I have 3 projects (web project EJB and Java Client) which I have deployed using a single EAR. The EJB and the client reference the web project (will there be a problem with a reference in this
I 'm not so sure if this is some bug but I noticed an odd behaviour with my
AJAX forms in IE.
For Firefox if I hit the submit button for my form my output is displayed
in my DIV area as exepcted. I have the following situation
a searchfield is on top of a table presenting results. if there is only one
result the user should be redirected without the need of clicking on the
list..
now my p
The first page of my app is a Login page. Every other page is correctly
localized because the app gets the user 's preferred locale from a DB and
Struts handles it but until they have logged in thHi
[I 'm using struts 1.2.7 (with EL from contrib) on Tomcat 5.5.9].
I 'm attempting to submit variable amounts of form data in a table following
the model of James Turner
http //www.developer.comThe following jsp is a Result in an action called 'listTypes '.
<%@ include file "/includes/header.jsp "% >
<h1 > <s property value "pageTitle "/ > </h1 >
<br/ >
<s action name "getTypeParamTree " executeResu
Hi
How I show the erros(validation) when using simple theme ?
Herrera
--
View this message in context http //www.nabble.com/display-validation-error-to-simple-theme-tf4208443.html#a11971725
SHi
I have two frames and would like to have the submit button from one frame be handled by that frame 's action and do the following
1. capture values from the frame and put them in the session objeSome Knows how to build my own layout in Struts 2 ??
I want to use Ajax and the UI Tags and make my own layout.
Thanks
Manuel
Is there away to stop the label of a checkbox from being escaped?
<s checkbox
key "legal "
label "I have read the <a href '/about/legal/ ' >legal stuff </a > "/ >
results in
<label for "_legal " classHi
I 've got this tag
<html cancel styleId "cancelButton "
styleClass "submitbutton " / >
But the isCancelled() in the action then always return
false even if I hit the cancel button.
If I replace
Hey guys
I need some help using nested tag library and javascript. I have an
actionForm named RegistrationForm that has two AddressForm mailing and
billing addresses. I need to implement a requirSame with int validation.
<field name "familleProduit.chargeTravail " >
<field-validator type "int " >
<message key "errors.int "/ >
</field-validator >
</field >
gen |
|
 |