grails, http://grails.codehaus.org might be a better choice as it links
into several standard java projects (specifically spring and hibernate)
w/o you having to learn them up front.
Groovy might be a better conceptual fit if you're coming from a 4gl
background as well.
Ted Husted wrote:
You
If the user has a workflow that involves cycling back, give them a link
or button to cycle back with. If the users need to use the back button
as a regular part of their use of the application the application is
poorly designed.
Chris Pratt wrote:
How about basing the value of the tag on some
. But not accounting for someone using the back button, that
would be poor design.
(*Chris*)
On 10/4/06, Jason King [EMAIL PROTECTED] wrote:
If the user has a workflow that involves cycling back, give them a link
or button to cycle back with. If the users need to use the back button
as a regular part of their use
Daniel Chacón Sánchez wrote:
son = some :P
2006/9/25, Daniel Chacón Sánchez [EMAIL PROTECTED]:
Hi all,
How I can kill son objects and variables in session, without kill
everything in session like with session.invalidate().
I want that some objects always be in session and when I press a
That and JSF in Action by Kito Mann (from Manning) are the best I've read.
I haven't read Jonas Jacobi's book from Apress yet, but I have bought it.
Chris Loschen wrote:
Hi all,
I'd like to start learning more about JSF. I've had a recommendation for _Core
Java Server Faces_ -- do people here
Folks,
Perhaps its time to table all the I apologize, has struts reached its
limits, are the rules for becoming a committer fair etc threads to
bed for while. I honestly suspect most of you have reached the point
where you're yelling at each other not talking to each other, so perhaps
If indeed this is a get like Frank described you can fake out IE by
passing a parameter that changes on every call, e.g.
http:/server/app/yourpage.jsp?now=%=System.currentTimeMillis()%
You don't have to use the argument for anything, it just makes IE
understand that it has to re-fetch the
Have you run an explain plan?
Jonnalagadda, Sumithra wrote:
Here is the query
SELECT PTI.PARTY_ID AS CUSTID,
PTI.CMA_CUSTOMER_NUMBER AS CUSTNUM,
PTI.SOURCE_ID AS CUSTSOURCE,
PTI.PARTY_CLASS_CD AS CLASS,
(SELECT CMAPSV.STATUS_VALUE
FROM type3 CMAPS,
type4 CMAPSV
WHERE
I looked at it also. The idea seems good, but I didn't see any fancy UI
like grids or treeviews. As somebody at a bigger shop the separation of
concerns appeals to me, but if I have to create all the interesting
components myself I think I'll do JSF instead.
This isn't a struts question so much as a persistence layer question.
There are several approaches you can use depending on your data and your
users.
For infrequently updated tables you can hope for the best and probably
be safe.
If you're in an EJB world the EBJ layer takes care of that (I
document.forms[0][mybean.name].value = myname ;
will work
[EMAIL PROTECTED] wrote:
I haven't tried it, however, I would have to see if JavaScript would handle it.
I am updating the hidden field using javascript, so I am not sure if it would
like:
script language=JavaScript
gollinger wrote:
form name=next action=/jsp/awp/awpoutput.jsp target=display /
script language=javascript
document.next.submit();
/script
The problem I have is that the form tag in Struts has no name!
Why?
So how can I execute the java-script? Which name should I use instead?
Regards
form defined for the HTML
document)
Personally I caution against using this convention as the caller does
not properly identify the form (by name)
Anyone else ?
M-
- Original Message - From: Jason King [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Tuesday
We need to agree to disagree on the virtue/detriment of javascript in
web pages. Different applications for different audiences with
different purposes have different solutions.
At my company we've implemented intranet apps where the users do a
significant amount of heads-down data entry.
Woodchuck wrote:
As soon as IE becomes open source we can start that. Until then, or
until IE's market share drops into single digits we're forced to deal
with browsers as a given. Besides, much of the visceral dislike for
javascript is based on older browsers that were not at all consistend.
Now, you raise a good point as to how the Javascript could capitalize
on the presence of the errorStyle attribute, which normally is only
interpreted on page load. That is, if you did any client side
validation, you'd probably like to be able to switch the style of the
invalid field to
Frank,
What do we need extra tags for? We already have hooks to call
javascript functions, whether those functions run 100% client-side or
interact through an xmlhttp object or even through a 1x1 pixel iframe
should be totally unknown to the individual input elements.
Frank W. Zammetti wrote:
Frank W. Zammetti wrote:
You lost me Jason... what extra tags are you referring to? My proposal
specifically didn't require any new tags, only additions to the existing
ones.
You previously said:
why not just modify the existing
Struts tags to have some at least minimal AJAX functionality?
Put the submit button first is the simplest most-straightforward
answer.. If having cancel appear on the page first is a requirement
that can't be worked around, put both buttons in divs and use css to
position the divs so the cancel-div appears first.
The click the first button looks through
Another thing you could do is use a js onclick handler to change the
form element's action.
input type=submit onclick=return edit_onclick(this) // I'm better
at the html/js end so you'll have to figure out how to html:submit this.
function edit_onclick( oBtn ) {
var frm = oBtn.form ; //
;
}
Folashade Adeyosoye wrote:
I think with this, you would have multiple JS functions...
-Original Message-
From: Jason King [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 23, 2005 4:25 PM
To: Struts Users Mailing List
Subject: Re: html: tag four buttons, one action problem
Another
You want to validate your input anyway. If user puts in script tags
then ERASE his input after the validation. Bare ${} is only dangerous
if the items being evaluated are unsafe.
For instance your bean.isIdiot is safe since you control bean. Of
course if you have a big team requiring the use
Save your directories under mywork, delete this install of JDev,
reinstall, put your projects back under mywork.
Slattery, Tim - BLS wrote:
Last night, my (WinXP) computer crashed as I was shutting down JDeveloper.
Today, JDeveloper won't start. I get the splash screen, and just a couple of
bars
In a normal JDev setup all your projects are under the
$JDEV_HOME\jdev\mywork directory, with each application under a
different subdirectory.
If your applications *.jws files aren't under the $JDEV_HOME tree then
you can just delete it and re-install. If your *.jws files are under
Haven't tried this lately but there used to be security restrictions
about reading the filename in input type=file elements or writing
the filename.
Frank W. Zammetti wrote:
Ah, didn't see this until I posted that form code :)
This is what I was talking about with the better ways to present the
I can't guarantee this is ANSI, but I know it works in Oracle.
UPDATE tableA
SET (a,b,c) = ( select a,b,c FROM tableB where tableB.key =
tableA.key )
Just make sure the select returns the same number of columns as in the
set and that the select only returns one row per updated table row.
It caches by default. To test this, put some arbitrary obscure string
like I am not a number, I am a free man inside your js file, clear the
browser cache, load the page once and you should find this in the cache
once. You'll have to use a find utility that searches on strings. Then
load
document.formname[parent.nestedname] will reference an element in the
form formname which has a period in it's name.
Michael Rush wrote:
I've got a form that's using nested forms, with the following type of
layout..
[radio] option 1
[text] value 1
[text] value 2
[radio] option 2
+1 on that solution. It also serves as a work-around in the (unlikely)
event that some property gets added to the standard.
Kichline, Don (EM, PTL) wrote:
Searching on the new groups, that is what I have been hearing... Unfortunately that
is not going to fly in this case. What I am
Ok,
I misunderstood the problem the first time, my bad.
Try opener.document.formBean[moderator.selected_ndx] The arrays are
also hashtables.
Mike Elliott wrote:
On Wed, 06 Oct 2004 14:38:36 -0500, Jason King [EMAIL PROTECTED] wrote:
This is a javascript problem. The DOM-compliant way
Joe,
Please remember this is all volunteer effort. None of us are your paid
support staff so its not your perogative to bad-mouth us.
That having been said, the reason why appservers default to some high
port numbers is because in a unix or unix-like (linux,*BSD) environment
only the root user
What compression do you use to stuff a laywer into a JAR? :)
I've always thought the Dahmer method was best, but there's some things
even HE wouldn't eat!
Greg
(Forgive the Friday-style comment on a Monday...)
-
To
Rick,
I'm new to struts but the environment I'm coming from Oracle Designer
Web PL/SQL generator has a way to deal with this sort of thing that I'm
likely to be using in Struts. Every form has a hidden field in it named
z_action and the buttons all have some js in the onclick that populates
(0,a.lastIndexOf(.)) + else.do ;
// replace something.do with somethingelse.do
Rick Reumann wrote:
Jason King said the following on 9/9/2004 2:42 PM:
I'm new to struts but the environment I'm coming from Oracle Designer
Web PL/SQL generator has a way to deal with this sort of thing that
I'm
Could you point us at some code that does this? Do you customize in the
action, the form or the DTO?
Bryce Fischer wrote:
You can register a different converter that BeanUtils uses to copy
from a string to a date. Write your own converter, using the date
format you need, then use
This is very much a YMMV type question. If your
background/experience/expertise is in database then ibatis (where the
sql is all clearly deliniated) is a fine choice. If you're a java
person, then having a wrapper like Hibernate to shield you from the SQL
may be more to your liking.
Ask
If you can't find the *.class file then likely its not compiling. Take
one of your static pages and rename it from .html to .jsp and see what
happens.
Chuck Chopp wrote:
I was able to find an automatically generated JSP file that seems to
correspond to an action name. The action name is
Comment all those out, and your problem should go away.
Jim Barrows wrote:
-Original Message-
From: struts lover [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 26, 2004 12:47 PM
To: Struts Users Mailing List
Subject: RE: Back Button
Hi,
I have the following settings in my jsp.
The container can manage multiple versions of the classes. Each one is
living in its own environment.
Lykins Don H Contr AFSAC/ITS wrote:
What are you referring to as a classpath loader??
Won't this cause conflicts if each project has their own WAR with struts inside?
What happens if they use
I cheddar at the thought of a pun war.
Sometimes it's a real feta to get to work though
That's cheesy.
Hey, as long is it doesn't make you blue, or throw bricks...
This is an HTML-HTTP thing not a Struts thing. Disabled input elements
aren't included in the get/post, just like unchecked check boxes.
Mike Deegan wrote:
Not sure the exact error you are getting, but I had a similar and going from
memory ...
when using the html:text tag with disable=true for
Jignesh Kapadia wrote:
hi ,
We are designing an application with strtus 1.1. In one of the screen we have to
display multiple records of a list with checkboxes. Then user will select some records
from that list and hit submit button and on next screen I should see only those
records of list
I'm using jstl tags whereever I can. I want to i18n my buttons, and so
I tried this:
%@ taglib uri=/WEB-INF/lib/struts-html-el.tld prefix=html %
html:form action=/details
!-- other fields--
html:submit value=${fmt:message key=todo.editSaveButton
bundle=${loc}/}/
/html:form
I get:
43 matches
Mail list logo