Hi Guys,
I have an action form with a get method (i.e. getValue(String)) which takes
a string value, its working fine when i render the data in a text field.
E.g.
c:set var=uniqueKey
c:out value=${CustomerTO.id}/-c:out value=${CustomerTO.orderNo}/
/c:set
html-el:text name=myForm
/
c:set var=hello
c:out value=${testVar} /-c:out value=${testVar1} /
/c:set
c:out value=${hello} /
Thanks
-- pady
[EMAIL PROTECTED]
-Original Message-
From: Pat Quinn [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 24, 2004 7:11 AM
To: [EMAIL PROTECTED]
Subject: EL Tag Libraries
Hi Guys,
I
You should place it in the request scope if the data is required for the
next view only You should avoid placing such objects in the session as
this will remain in memory until the users HttpSession expires.
-Original Message-
From: Pradeep, PK [mailto:[EMAIL PROTECTED]
Sent: 25
I currently have an action (Action A) which is associated with Action_Form_A
( i.e. org.apache.struts.validator.DynaValidatorForm) i want to forward to
another tile definition which requires Action_Form_B. I want to initialise a
List in Action_Form_B how can i do this as the action i'm
that on success must forward to
another action mapping with a completely different form, I use a re-direct.
Of course it drops all the data in-between but you're better off in the
long run.
Adam
On 10/06/2003 06:09 PM Pat Quinn wrote:
I currently have an action (Action A) which is associated
I have an Action to prepare a JSP view which uses a DynaValidatorActionForm.
When i try to set a Form property i get a NullPointerException my source is
as follows:
-
Struts-Config.xml
-
form-bean name=MyForm
type=org.apache.struts.action.DynaValidatorActionForm
could try naming your
class with an initial capitalized letter. Secondly, does the exception from
the inbound form have a message?
Regards
Adam
On 09/29/2003 01:35 PM Pat Quinn wrote:
I have an Action to prepare a JSP view which uses a
DynaValidatorActionForm. When i try to set a Form property i get
Hi,
I have JSPs in seperate folders with the same name and when i try to
precompile them (Using ANT) i get a duplicate class name error... as you'd
expect when i pass in one class package name e.g.
jasper package=com.mycompany.servlets
uriroot=jsps
Users Mailing List [EMAIL PROTECTED]
Subject: Re: Jasper Pre-Compiling JSPs with the same name
Date: Fri, 26 Sep 2003 12:08:35 -0400
Pat Quinn wrote:
Hi,
I have JSPs in seperate folders with the same name and when i try to
precompile them (Using ANT) i get a duplicate class name error... as you'd
Take a look at Chapter 10 - Exception Handling in Programming Jakarta Struts
by chuck cavaness.. i think you'll find this very helpful.
I've implement this with Action but ill soon need to do the same for
Dispatch Action too... has anyone done likewise for Dispatch and other such
actions?
I have a struts action which sets a String value as an attribute in the
request scope i then redirect to a global forward. But the value never
appears in my jsp i'm using the c:out/ tag lib.
Any ideas what i could be doing wrong here or do global forwards support
request attribute population??
Hi Guys,
I trying to use the html:link/ tag library with dynamic url parameters e.g
(which doesn't work).
html:link action=/viewOrder.do?orderNo=c:out
value=${order.ponum}/View Order/html:link
How should i do this with out using the standard HTML Href tag?
sophisticated.
hth,
.V
Pat Quinn wrote:
Hi Guys,
I trying to use the html:link/ tag library with dynamic url parameters
e.g (which doesn't work).
html:link action=/viewOrder.do?orderNo=c:out
value=${order.ponum}/View Order/html:link
How should i do this with out using the standard HTML Href tag
I'm using tiles and i know i can't set the welcomefile/ attribute in
web.xml to a tile definition or a struts action url. I'm also precompiling
all my JSP's so i can't assign it to a JSP... i was thinking about assign it
to a html file and then onLoad i could redirect to my logon action url...
where do you keep the initial resultset? Or do you execute the query each
time the user requests to page?
What would be nice if i could execute an sql statement which would give me a
sub set of the results as contolled by a start and end position i specify
e.g.
Select code, desc from products
I have a requirement to cater for a large number of results returned to the
presentation tier. I've taken a quick look into the Value List Handler
Design pattern
(http://java.sun.com/blueprints/corej2eepatterns/Patterns/ValueListHandler.html).
I do agree it offers some advantages but in my
ResultSet - Value List Handler Design
Pattern
Date: Tue, 12 Aug 2003 13:06:59 -0400
Pat Quinn wrote:
where do you keep the initial resultset? Or do you execute the query each
time the user requests to page?
What would be nice if i could execute an sql statement which would give me
a sub set
-menu.jar
or build struts-menu from CVS.
HTH,
Matt
-Original Message-
From: Pat Quinn [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 9:47 AM
To: [EMAIL PROTECTED]
Subject: RE: Dynamic Tree Menus --- HELP!!!
I appreciate your kind offer my details are as follows:
I've broken it down
I'm looking for a tag library to aid the rendering of a Tree Menu using
session/request stored objects.
I want to included the menu data as a Java Bean in HttpSession for each user
and then use tag libs in my JSP's. I've looked into the StrutsMenu Offering
for Dynamic Menus but it loads menu
it with my own custom tag library
From: Pat Quinn [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Dynamic Html Tree Menus - Java Beans.
Date: Thu, 31 Jul 2003 10:22:51 +0100
I'm looking for a tag library to aid the rendering of a Tree Menu
-Original Message-
From: Pat Quinn [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 9:20 AM
To: [EMAIL PROTECTED]
Subject: Re: Dynamic Tree Menus --- HELP!!!
Is anyone out there working with dynamic HTML trees at the moment (i.e.
displaying data loaded from a data base) as i'm pulling my
-Original Message-
From: Pat Quinn [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 9:20 AM
To: [EMAIL PROTECTED]
Subject: Re: Dynamic Tree Menus --- HELP!!!
Is anyone out there working with dynamic HTML trees at the moment (i.e.
displaying data loaded from a data base) as i'm pulling my
I'm looking for a good example of HTML manipulation of dynamic tree menus
i.e. adding nodes dynamically, reshuffling of nodes, deletion of nodes etc.
_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
I'm currently developing a prototype using struts tiles for my layout
definition. I want to have a dynamic html tree (i.e.
http://raibledesigns.com/struts-menu/dhtmlExpandable.jsp) on the left hand
side, this menu will control the body content.
I'm trying to avoid using frames as i understand
I'm currently developing a prototype using struts tiles for my layout
definition. I want to have a dynamic html tree (i.e.
http://raibledesigns.com/struts-menu/dhtmlExpandable.jsp) on the left hand
side, this menu will control the body content.
I'm trying to avoid using frames and javascript
, Pat Quinn wrote:
Date: Fri, 18 Jul 2003 16:41:33 +0100
From: Pat Quinn [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: [OT] Precompiling JSP with JSTL tag Libs
Sorry guys this is not a struts question but i'm hoping someone on here
Sorry guys this is not a struts question but i'm hoping someone on here has
had this problem before ive got an ANT task to precompile my jsp's
everything worked fine until i decided to upgrade to use JSTL tag libs not i
get the following error,
[echo] Precompiling JSPS
2003-07-18 04:27:26
Hi Guys,
I'm sorry if this question has been asked hundreds of times before but as
things are changing all the time i wondering if anyone has come across a
good menu/tree tab library that i could use with java beans CSS to aid the
rendering of the menu items?
Its doesn't necessary have to be
I have extended the org.apache.struts.action.RequestProcessor (i.e.
processPreprocess() method) then i continued to implement tiles i.e.
defining the plugin in my struts-config.xml.
Now on startup i get the following error:
TilesPlugin : Specified RequestProcessor not compatible with
Hey Guys,
I'm about to embark on my first every attempt at deploying a struts website.
I've just signed up http://www.cqhost.com as my ISP. They currently deploy
on resin 2.1.4 and JDK 1.3 but i've developed using Tomcat 4.0.3 and JDK 1.4
and Struts 1.1RC1.
My account is not active at the
Hey guys, I know its not really a struts question but is anyone out there
using Jakarta Lucene with struts. I've started looking into it to enable
full text searching of product catalogues rather than screwing around with
SQL Like statements.
Any Comments??
Anyone know where i might find some
!
Brandon Goodin
-Original Message-
From: Pat Quinn [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 12, 2003 6:11 PM
To: [EMAIL PROTECTED]
Subject: [OT] - Lucene Intergration with Struts/Struts Jobs
Hey guys, I know its not really a struts question but is anyone out there
using Jakarta Lucene
I've successfully got tiles up and running... I do understand how i can use
a tile definition as a struts forward for my actions but i'm looking to
redirect to a tile definition using a href link. E.g.
I have the following tile definition:
definition name=my.home extends=default
Has anyone tried using log4j-1.2.7.jar with Struts
_
Help STOP SPAM with the new MSN 8 and get 2 months FREE*
http://join.msn.com/?page=features/junkmail
-
To
Hi Guys,
I have a paging catalogue of items which all works fine but i'm
wondering how do i store selected items across multiple pages??
As i move to another page should i store the select item keys in my session
before displaying the next page???
Any ideas??
I have a LookupDispatchAction as follows:
protected Map getKeyMethodMap() {
Map map = new HashMap();
map.put(label.catalogue.find, doFind);
map.put(label.catalogue.addtoCart, doAddToCart);
map.put(label.paging, doPaging);
return map;
}
I display my paging
Hi Guys,
I have a requirement as follows:
I want each user within my web app to be able to customise their views for
individual screens independently, I want users to be able to customise
attributes such as:
· Turn on/off certain columns when displaying tabular data.
· Customise
, such as colours, you could handle
it by generating on the fly (and caching) a css style sheet customised for
that particular user.)
-Original Message-
From: Pat Quinn [mailto:[EMAIL PROTECTED]
Sent: Monday, 24 March 2003 17:21
To: [EMAIL PROTECTED]
Subject: [Design] User Customisable Views
Hi
Hi Guys,
I've got an action which pops a java bean into the request... the action
redirects to a jsp which in turn contains an Iframe...
How do get a handle on the java bean from within the jsp which is the src
for my iframe i don't want to send all the parameters in
the url to the iFrame
Hi Guys,
I've got a java bean stored in the application context. This java bean
stores UI color details for the entire website. I've tried doing something
as follows in my jsp but it doesn't work:
table width=100% border=0 bgColor='bean:write name=appConfigBean
scope=application
? It should end up something
like:
table width=100% border=0 bgColor='#F0'
or:
table width=100% border=0 bgColor='azure'
Quoting du Plessis, Corneil C [EMAIL PROTECTED]:
Place the bean in the session as well.
-Original Message-
From: Pat Quinn [mailto:[EMAIL PROTECTED]
Sent: 18 March
Hi Guys,
Sorry to ask such a basic question but i've searched the archive and failed
to find a suitable answer to my question so heres my problem:
I'm having some trouble getting logic:iterate/ to work with a 2D String
array when using it without a form bean. Heres what i'm trying to do:
I
Sorry Guys,
Please ignore this email i used nested logic tags to do what i wanted to do
From: Pat Quinn [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: logic:iterate/ 2D String Array without a Form Bean
Date: Fri, 14 Mar 2003 14:06:36
I spent some time thinking over this very topic. I finally went with the
following approach:
* I used JDBC (NO Entity Beans got bitten bably there in the past) to query
the data base and then created value objects which i then inserted into Form
beans.
* For read only data access i used an
List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: Re: Data driven struts application
Date: Fri, 14 Mar 2003 08:24:58 -0800 (PST)
On Fri, 14 Mar 2003, Pat Quinn wrote:
Date: Fri, 14 Mar 2003 16:05:34 +
From: Pat Quinn [EMAIL PROTECTED]
Reply-To: Struts Users
Hi Guys,
I have a jsp which contains two frames and each frame refers to its own
action. I want to forward from the bottom frame
to another jsp which contains no frames. How can i set the target for the
next view... at the moment when i forward to a global forward it appear in
the bottom
,
In bottom frame form tag place target=_top.
Thanks Regards,
Ashok.D
- Original Message -
From: Pat Quinn [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, February 05, 2003 6:43 PM
Subject: Action Forwarding within Frames
Hi Guys,
I have a jsp which contains two frames
I need to do something like this very soon... but haven't given it much
thought I'm using Oracle 8i is there a way i query the RDMS for the
datestamp when the record was last updated rather than storing it as an
extra column in every table
From: Anil Amarakoon [EMAIL PROTECTED]
hi guys,
Anyone know how i can access the message resource bundle from an action
class??
Cheers
Pat
_
Tired of spam? Get advanced junk mail protection with MSN 8.
http://join.msn.com/?page=features/junkmail
not read good books has no advantage over the man who
cannot read them.
- Mark Twain (1835-1910)
-Original Message-
From: Pat Quinn [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 03, 2003 9:50 AM
To: [EMAIL PROTECTED]
Subject: Message Resource Bundle from an action
hi guys
I was taking a quick read through the xdoclet documentation and noted it
offers some support for struts. Is anyone out there using xdoclet with
struts and if so what are the benefits and typical usages???
Cheers
Pat
_
The new
Hi guys,
I have a href link which submits back to a LookupDispatchAction. When i
submit the form using this approach my formBean doesn't contain client
changes.
What the best way to use a href but yet submit the form with client changes
using Struts.
Cheers,
Pat
Hi Guys,
I've just moved all my JSP's into a folder under WEB-INF so i have something
like this:
WEB-INF\jsp\catalogue
I've got some global forward defined as follows:
global-forwards
forward name=viewcatalogue
path=WEB-INF\jsp\catalogue\maincatalogue.jsp
redirect=true/
/catalogue/maincatalogue.jsp
redirect=false/
/global-forwards
-emmanuel
--- Pat Quinn [EMAIL PROTECTED] a écrit : Hi Guys,
I've just moved all my JSP's into a folder under WEB-INF so i have
something
like this:
WEB-INF\jsp\catalogue
I've got some global forward defined as follows
Hi Guys,
Any one know of some design patterns or examples i could use with struts. I
want to access a database(Value Objects) allow the user to change the VO
data, perform some business validation and update the database. Id like
some pointers also when working with form beans and vo object
Hi guys,
I have a form with three submit buttons using the lookupDispatchAction
approach. I want to add some href's for paging... so whats the best way to
submit the paging request.. i will need all the form data on paging... in
order to force an update in the event that the user has entered
I'm also using the lookupDispatch action... is it possible to use HREF to
submit a form using this approach... if so whats the cleanest way to do it
please personally i try to avoid javascript and scriptlet code in my
jsp's
Any ideas guys
From: Alvarado, Juan (c) [EMAIL
: Pat Quinn [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 15, 2003 2:32 PM
To: [EMAIL PROTECTED]
Subject: RE: LookupDispatchAction
I'm also using the lookupDispatch action... is it possible to use HREF to
submit a form using this approach... if so whats the cleanest way to do it
please
Does anyone have a good example of Paging using struts??
_
The new MSN 8 is here: Try it free* for 2 months
http://join.msn.com/?page=dept/dialup
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands,
Hi Guys,
Can i submit a page using a html HREF (i.e. myLookupAction.do?offset=10)
when using a LookupDispatchAction. Up until now i submitted the page using
the following format:
html:submit property=actionbean:message
key='label.update'//html:submit
Cheers
Pat
.
-Original Message-
From: Pat Quinn [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 14, 2003 3:42 PM
To: [EMAIL PROTECTED]
Subject: LookupDispatchAction
Hi Guys,
Can i submit a page using a html HREF (i.e. myLookupAction.do?offset=10)
when using a LookupDispatchAction. Up until now i
I have a form with three submit buttons using the lookupDispatchAction
approach. I want to add some href's for paging... so whats the best way to
submit the paging request.. i will need all the form data too... in order to
force an update in the event that the user has entered some data.
Hi Guys,
Has anyone ever extended the functionality as offered by the
org.apache.struts.util.RequestUtils? I want to be able to substituted
keywords in my messages as loaded from my properties file with values from
the database. I got this up an running by extending the MessageReources and
so time to go home me thinks
From: Pat Quinn [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Custom Message Resources
Date: Mon, 13 Jan 2003 19:52:23 +
Hi Guys,
Has anyone ever extended the functionality as offered
I've done something like this. i.e. i have extended the
PropertyMessageResources etc. and add extra stuff to fetch data in the
relevant locale depending on the browsers locale. It works a really well for
me.
From: Joe Barefoot [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List
I'm using the Map-Backed action form approach as detailed here:
http://jakarta.apache.org/struts/userGuide/building_controller.html#map_action_form_classes
I have a form bean with a one instance of a Value Object(i.e.customersVO),
this value object contain an ArrayList(i.e. CustomerDetails) of
If you look at my last posting i've detailed how i'm using a List-Backed
action form... mapped-backed is very similar.
From: Mark [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: DynaForm example
Date: Wed, 11 Dec 2002 15:06:53 +0100
FormBean in my action class
usually:
MyForm theForm = (MyForm) form;
But when i try to compile javac says 'no', is there something i'm missing
or
does javac hate me :)?
On 11-12-2002 14:49, Pat Quinn [EMAIL PROTECTED] wrote:
I'm using the Map-Backed action form approach as detailed here:
http
Hi guys,
Does any one know where I might find the complete or partial UML diagrams of
struts??
_
Protect your PC - get McAfee.com VirusScan Online
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
--
To unsubscribe,
2002 13:37:11 -0800 (PST)
http://jakarta.apache.org/struts/resources/index.html
--- Pat Quinn [EMAIL PROTECTED] wrote:
Hi guys,
Does any one know where I might find the complete or
partial UML diagrams of
struts??
_
Protect
dig a little...there's probably more than
that...
-james
--- Pat Quinn [EMAIL PROTECTED] wrote:
I've looked on there James but failed to find any...
can you point me in the
right direction please
From: James Holmes [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List
Date: Wed, 11 Dec 2002 13:46:25 -0800 (PST)
http://jakarta.apache.org/struts/resources/tutorials.html
http://jakarta.apache.org/struts/resources/articles.html
Gotta dig a little...there's probably more than
that...
-james
--- Pat Quinn [EMAIL PROTECTED] wrote:
I've looked on there James
I have a form bean with an List(i.e. Lines) of Value Objects with the normal
get/set method for the List only. Every thing works
fine when i display the data to the client. I have some thing like this:
-
Form Bean
-
public class myForm extends ActionForm {
private List lines =
Multiple Submit Buttons + Internationalisation
I have a jsp with three submit buttons (update, delete etc..) each with a
value as loaded from the resource bundle:
input type=submit name=Submit value=bean:message key='label.update'/
In my action class i do the following to identify which
Cheers guys for all the feedback I used the LookupDispatchAction
approach. Personally i don't like using JavaScript so i try to stay well
clear of it as much as i can.
Cheers,
Pat
From: Gemes Tibor [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts
Check out the Admin Module of Tomcat 4.1 download the src version. Its
developed using Struts. I found it a good reference to work from when i
started out.
From: David Rothschadl [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: Struts User Mailing List [EMAIL PROTECTED]
Subject: begginer
a property header that contains your HeaderVO:
html:text property=header.myProperty/
After submission, the VO in the form bean will contain the data entered by
the user, without additional code.
Hope it helps
Patrice
- Original Message -
From: Pat Quinn [EMAIL PROTECTED]
To: [EMAIL PROTECTED
Hi all,
I have a java value object (i.e. MyVo) which i add the DynaAction Form
Below. When i display my jsp it works fine using headerVO.firstName but when
i submit the page to save user changes i get the following error:
java.lang.IllegalArgumentException: No bean specified
at
I have an EJB which returns me a HeaderVO (Value Object) inside this VO I
have an Array List of LineVO's. As you'd except all my Value objects are
Serializable. Ok now i want to display this data to my client so I will have
a header html table and a lines html table. My header and lines both
hi Guys
I'm very new to the world of struts so please excuse me if this seems like a
really stupid question. Ok my situation is as follows:
I have an action to display some application information, I also have a form
bean which fetches the data I want to display.
The action takes a user name
Struts
Good stuff.
BTW ... do you coach the Toronto Maple Leafs.
-Original Message-
From: Pat Quinn [mailto:[EMAIL PROTECTED]]
Sent: September 11, 2002 2:25 PM
To: [EMAIL PROTECTED]
Subject: General Struts Question
Does any know of any good books on struts that are available at the
moment
)
Subject: RE: General Struts Question
STFW, dude. Don't expect us to do your homework for you.
-Original Message-
From: Pat Quinn [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 11, 2002 2:25 PM
Does any know of any good books on struts that are available at the
moment... or websites
-
From: Galbreath, Mark [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 11, 2002 1:33 PM
To: 'Struts Users Mailing List'
Subject: RE: General Struts Question
STFW, dude. Don't expect us to do your homework for you.
-Original Message-
From: Pat Quinn [mailto:[EMAIL
Date: Wed, 11 Sep 2002 15:03:54 -0400
That does not mean you can't (at least) go to amazon.com and search for
books on Java Struts. You were smart enough to subscribe to this list,
after all.
http://www.tuxedo.org/~esr/faqs/smart-questions.html
-Original Message-
From: Pat Quinn [mailto
I know how to search in google and I have ordered a book (Mastering Struts
by James Goodwill) on this topic
but I just wanted to make sure it was a
decent book as Im living on a student allowance
From: Eddie Bush [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To:
-Original Message-
From: Pat Quinn [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 11, 2002 2:52 PM
To: [EMAIL PROTECTED]
Subject: RE: General Struts Question
i'm a first year uni student actually and i've only been working with
java
for six weeks actually
From: [EMAIL
86 matches
Mail list logo