OJB all the way, you would be surprised at what it can do for complex
queries and caching (ex, give me the five most recent forums ordered by
their posts' time stamp: Criteria.addOrderBy(posts.created, true)). I
can't say enough. Hibernate is on its way to OJB, but OJB just gets better
and
Thanks. I have been able to do it.
-Original Message-
From: Dan Tran [mailto:[EMAIL PROTECTED]
Sent: Sunday, March 30, 2003 11:32 AM
To: Struts Users Mailing List
Subject: Re: how to logic:iterate throu serveral collections at once ?
A clean solution is to put your label, value, and
I took the lead of Cedric when he made his SimpleMenuItem and I
extended it to make a SimpleMenuActionItem with the following
layout:
item text=Home action=/Home
classtype=net.creativerge.bean.SimpleMenuActionItem/
However, now I am getting DTD parse errors all over the place. It
seems sort of
Dan thank you for your help. The first snippet worked greately.
Marco
-Original Message-
From: Dan Tran [mailto:[EMAIL PROTECTED]
Sent: Sunday, March 30, 2003 3:38 AM
To: Struts Users Mailing List
Subject: Re: Setting externally JNDI properties
The following snippets may help
On 03/29/03 23:42:04 -0700 Sterin, Ilya wrote:
In the reset method of the ActionForm.
I am using DynaValidatorForms, guess I should have mentioned that.
Thanks,
A.
--
Adam Sherman
Tritus CG Inc.
http://www.tritus.ca/
+1 (613) 797-6819
I was wondering if I missed something in the documentation pertaining to
displaying lists of includes without using scriptlets.
The tiles example war uses putLists to describe menus, but then uses a
scriptlet with an Iterator to actually display them. Why doesn't the
tiles:insert tag know if
I have made some needed changes and updates to the
ValidatorLookupDispatchAction (scheduled for 1.2). But, I cannot decide on
whether I should change the name from ValidatorLookupDispatchAction (which
is a mouthful) or VLDAction (tight! baby!). What do you all think?
P.S. Each method in the
Another day, and I start it out much more alert and perceptive.
Unfortunately I'm still not seeing the solution. (Undoubtedly I am ignorant
of some key piece of struts knowledge that is holding me back. :-)
I see how struts-el would allow me to reference ${foo} values within the
html-el:link tag,
From http://jakarta.apache.org/struts/userGuide/struts-bean.html#define
The bean:define tag differs from jsp:useBean in several ways,
including:
* Unconditionally creates (or replaces) a bean under the specified
identifier.
* Can create a bean with the value returned by a property
I still think it's the same, it inherits from ActionForm I believe, so reset
should still be there.
Ilya
-Original Message-
From: Adam Sherman
To: Struts Users Mailing List
Sent: 3/30/03 7:57 AM
Subject: RE: Populating a Form
On 03/29/03 23:42:04 -0700 Sterin, Ilya wrote:
In the reset
Jeff, I tried to look at your original post and I dont really understand the
exact problem.
You post your minimal code and see if I can help.
-Dan
- Original Message -
From: Jeff Smith [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Sunday, March 30, 2003 8:42 AM
On 03/30/03 09:59:54 -0700 Sterin, Ilya wrote:
I still think it's the same, it inherits from ActionForm I believe, so
reset should still be there.
I think we aren't on the same page.
Given some JSP:
html:form action=/sender/update focus=name
html:text property=name
Thanks very much James.
Thanks also for resisting the urge to put a giant RTFM in your response. :-)
Jefficus
- Original Message -
From: James Mitchell [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Sunday, March 30, 2003 9:57 AM
Subject: Re: It's late and I'm
Jeff == Jeff Smith [EMAIL PROTECTED] writes:
Jeff I have some data in an XML file.
Jeff I read it in from JSP using x:set (the JSTL X tags)
Jeff I then transfered it to a variable like so:
Jeff c:set var=somevarname
Jeff x:out ... /
Jeff /c:set
Jeff I can now
What is up with the MyCart application that is supposed to be a Struts
example but seems only to lead to Microsoft's bCentral?
LEGAL NOTICE
This electronic mail transmission and any accompanying documents contain
information belonging to the sender which may be confidential and legally
Yes Jeff / David this works for me
David Try using c:url and c:param to build up a url with
parameters, then
David reference the ${url} variable from the href attribute of
html:link.
c:url value=userPg var=url
c:param name=ID value=${item['id']}/
c:param name=Dispatch value=Zoom/
Hi everybody!
Is there any book that explain in detail struts-el and JSTL? I'm searching in Struts
in action by ted husted, Programming Jakarta Struts by chuck cavaness, and Mastering
Jakarta struts by james goodwill, but I don't find anything.
Any suggestion?
That will work, but it has a built-in weakness. It side-steps the struts
action mappings by hard-coding the destination URL in the JSP.
The approach that I was using last night (which James helped me solve this
morning) was to go this way:
bean:define id=myBeanName
c:out value=${myXMLValue}/
It's not about struts-el. But it is about jstl which is what you really need
to know. The struts-el is just struts tags that are enhanced with jstl-el.
So if you already know the struts tags then all you need to know is the el
portion of the struts-el. Otherwise, buy Struts in Action to go with
Hi,
Is there anything available like server side web components for table
organized data? I mean something that can be used to add/delete/modify
(e.g. database) table rows implemented using struts,servlets,jsps or
whatever and what then can be easily integrated in a J2EE environment
using
Something like this?
http://jdbforms.sourceforge.net/
Brandon Goodin
-Original Message-
From: news [mailto:[EMAIL PROTECTED] Behalf Of Carsten Hammer
Sent: Sunday, March 30, 2003 12:38 PM
To: [EMAIL PROTECTED]
Subject: server side components for table editing
Hi,
Is there anything
We are all used to writing output to make html tables and with little effort
we can fool our browser into treating these as excel (mime type
application/vnd.ms-excel) but I now want to embed formulae into my response.
Does anyone know of generic taglibs that will enable me to write execl
You might try the O'Reilly JavaServer Pages - reasonably good treatment of
JSTL (not struts-el) - if you are already familiar with struts taglibs this
book should give you the extra knowledge you need.
db
-Original Message-
From: Ruben Pardo [mailto:[EMAIL PROTECTED]
Sent: 30 March 2003
POI might help.
http://jakarta.apache.org/poi/
Brandon Goodin
-Original Message-
From: David Bolsover [mailto:[EMAIL PROTECTED]
Sent: Sunday, March 30, 2003 12:48 PM
To: Struts User
Subject: Writing excel compatible output
We are all used to writing output to make html tables and with
Brandon Goodin schrieb:
Something like this?
http://jdbforms.sourceforge.net/
Brandon Goodin
Yes, nearly!
But I would like it to be a bit less database centric.
I want to use it for a three thier approach using J2EE and therefore
have to work not on jdbc drivers but on my own methods. I guess
Greetings all:
How do you validate a html:select or html:radio for required using the
validator plugin.
All the doco deals with html:text. I found some old postings but they
didn't really explain how to do this.
I tried it out and it doesn't seem to work. I want the form to return an
error if
I have never used a Singleton before.
My understanding is that it is just a static class memeber.
There will be only one person trying to load this form at a time since it is
for management purposes only.
Maybe I am going about this all the wrong way.
Here is what I am doing.
When the xml file is
I have never used a Singleton before.
My understanding is that it is just a static class memeber.
There will be only one person trying to load this form at a time since it is
for management purposes only.
Maybe I am going about this all the wrong way.
Here is what I am doing.
When the xml file is
Ruben == Ruben Pardo [EMAIL PROTECTED] writes:
Ruben Hi everybody!
Ruben Is there any book that explain in detail struts-el and JSTL? I'm searching
in Struts in action by ted husted, Programming Jakarta Struts by chuck cavaness, and
Mastering Jakarta struts by james goodwill, but I
Required select works for me! do you have the normal text file validation
working ?
-Dan
- Original Message -
From: Steven Citron-Pousty [EMAIL PROTECTED]
To: struts Users Mailing List [EMAIL PROTECTED]
Sent: Sunday, March 30, 2003 1:43 PM
Subject: Validation for anything other than
These days Job Applications without degrees tend to get stamped [FRIDAY] and
filed appropriately...
A degree can help you get a chance at being evaluated as a candidate, though
curiously , having a degree that is relevant often seems less important than
having a degree.
Mine for example is in a
snip
quite frankly, there are more interesting things in the
world than just computers and web apps :-)
/snip
Beer?
-Original Message-
From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]
Sent: Sunday, 30 March 2003 13:45
To: Struts Users Mailing List
Subject: Re: Does a degree matter?
Just curious but did you find the transition from Econs to comp sc
difficult ? Cause I might do the reverse, comp science to Econs !
Mine for example is in a different discipline completely (Economics) though
having graduated from that I went straight on to do a grad diploma in
computing so I
Well computings always been a hobby of mine since I was knee high to a
grasshopper, so it was actually quite easy - I already knew C , so C++ wasnt
difficult to pick up. The main thing that I found difficult understanding
first time were relational database concepts.
-Original Message-
Alright, Following is what exactly am I trying to achieve:
In our application we have to develop number of screens (more than 200)
which have a table listing with 10 rows shown at a time and facility for
next and previous page being given in the form of buttons.
I wish to write a generic TILE
Hi Max
Sorry for writing the wrong code.
In my code :
---
Hashtable hash=new Hashtable();
hash.put(page 1,new ArrayList());
hash.put(page 2,new ArrayList());
hash.put(page 3,new ArrayList());
the code i am using in java is
if(hash.containsKey(new String(page 2))
ArrayList
Does anyone else ever wake up going Man, I feel overwhelmed. Too much
too learn, not enough time. I started this computer stuff rather late
in life and find it very difficult trying to pick out what to try
concentrate my learning in. Bottom line is I have to put food on the
table for the family so
snip
Wish I
could just start over and be a farmer in some little rural ho-dunk town
where my greatest concerns would be whether God was going to provide
enough rain for the crops.
/snip
My old man was a farm labourer. Its no walk in the park, and (in Australia
at least) God has been decidedly
Hello Brandon,
I agree with Jeff and Craig. I think its the can do attitude that should
matter, and not just the has done facts :p
I never touched or learned programming until I graduated in Commerce.
Simultaneously pursued my hobby in Japanese and then landed in job as a
language
On Mon, Mar 31,'03 (12:56 PM GMT+0800), Andrew wrote:
My old man was a farm labourer. Its no walk in the park,
Well, I certainly didn't mean to imply that it would be and of course I
really wasn't serious about wanting to be a farmer (I'm way too lazy
for that job:). I just meant it from
Yep. I understand what you mean.
Ive often wondered if there is any job out there like that, but I have not
been able to think of one :-(
I certainly understand the know what you need to do wish! One often spends
more time working out what to do than one does doing it... sigh/
master: We need
Hi Brandon,
Just thought I'd give you my 2 cents from the position you may find yourself
in the 6 months.
I gave up a reasonably promising career in electronics to go back to
school to study Real-time systems (v.low level programming) at age 31. And
although I think all of the advice you have
If this hacking scenario makes you nervous, you can set an acceptable max index value :
private static final int MAX_INDEX = 100;
public void setItem(int index, Object obj) {
if (index MAX_INDEX) {
throw new IndexOutOfBoundsException();
}
Nico.
Nicolas,
Your great
Hi
This article http://www.well.com/user/jaron/general.html ends with
these words Lanier has no academic degrees. If this doesn't inspire
software programmers all over the world then nothing will.
I've been collecting such details over the past few years. Take the
case of Jeff de
Hi,
I have downloaded jakarta-taglibs-20030316.zip. I have
unzipped and installed it to my tomcat 4.1.18.
Here is my test web-app's web.xml (is it wrong?) :
!--
?xml version=1.0 encoding=ISO-8859-1?
!DOCTYPE web-app
PUBLIC -//Sun Microsystems, Inc.//DTD Web Application
2.2//EN
suggestion!! download Struts-el example, load and run it.
And use it as template for your new jstl work.
-Dan
- Original Message -
From: joni santoso [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Sunday, March 30, 2003 11:15 PM
Subject: Setting up JSTL---How?
Of course, your newest solution is better, but it still does not feel right
regarding the MAX_INDEX allowed ;-)
-D
- Original Message -
From: Nicolas De Loof [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Sunday, March 30, 2003 10:44 PM
Subject: Re: Too many
where can i get that struts-el?
still i am curious why the jstl didn't work :(.
On Sun, 30 Mar 2003 23:20:03 -0800
Dan Tran [EMAIL PROTECTED] wrote:
suggestion!! download Struts-el example, load and run it.
And use it as template for your new jstl work.
-Dan
- Original Message -
From:
struts-el uses JSTL. So if you follow the template of struts-el example
app, your JSTL will work.
struts-el is under struts distribution in contrib directory.
- Original Message -
From: joni santoso [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Sunday, March
That is just an example, I don't know what MAX value can be used for the datas you
want the user to submit.
Another solution would be to put form-bean into session scope and add a
to-be-removed mecanism :
When an action puts some form-bean on session scope for editing, it can set a
50 matches
Mail list logo