Hi there,
Is it possible to pre-select a value from a dropdownlist htm:option
tag?
Thanks
Iván Corvillo
Iconic, SL
Molinot 53
Pol.Ind.El Camí Ral
08860 Castelldefels
Tel: 902 195 962 / 93 419 54 45
Fax: 93 636 21 42
[EMAIL PROTECTED]
-
Apparently the Exception you encountered is thrown when this method
returns null:
/**
* Return the current ModuleConfig object stored in request, if it exists,
* null otherwise.
* This method can be used by plugin to retrieve the current module config
* object. If no moduleConfig is found, this m
What are you talking about Axel?
On 4/20/05, Axel Sachmann <[EMAIL PROTECTED]> wrote:
> Hey - please write to the Mailing List and no CC please.
>
> Thx Axel
>
> Frank W. Zammetti wrote:
>
> > I apologize... I was not paying attention and didn't realize this was
> > on the users list. There ha
Hey - please write to the Mailing List and no CC please.
Thx Axel
Frank W. Zammetti wrote:
I apologize... I was not paying attention and didn't realize this was
on the users list. There has simultaneously been a thread about this
on the user list and the dev list (we were told it was appropriate
I noticed that the last few days there were four and five posts to
this list, so the damage should be minimal. I am not going to state
the obvious I noticed the following Shale thread here as well.
http://marc.theaimsgroup.com/?l=struts-user&m=111272767800458&w=2
Let's keep a clean ship, shipm
I apologize... I was not paying attention and didn't realize this was on
the users list. There has simultaneously been a thread about this on
the user list and the dev list (we were told it was appropriate for the
dev list by the way), and I didn't notice. My bad.
Frank
Craig McClanahan wrote
On 4/20/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
>
> I'll be doing sf.net... Once I have a complete codebase (not final, just
> more complete than what I posted previously) I'll see about getting it
> set up as a project on struts.sf.net. I think that's the right place
> for it.
>
In th
Vic Cekvenich (netsql) wrote:
Frank W. Zammetti wrote:I do think there is more
that can be done, and I still think the tags are the best way to
present it.
Maybe tags that leverage dojo.js?
Today I did some refactoring of the whole thing, and the important point
of it all is that a developer wil
Frank W. Zammetti wrote:I do think there is more
that can be done, and I still think the tags are the best way to present
it.
Maybe tags that leverage dojo.js?
Hey, if you'd like to be involved with my efforts, I could certainly use
the help in ...
Do you sf.net or wiki type resources?
.V
--
On 4/20/05, Michael J. <[EMAIL PROTECTED]> wrote:
> I looked in the Apache mailig list rules and found no restrictions on
> posting announcements, so I hope this message would not be considered
> unappropriate.
Thanks, Michael. You might also want to add an entry to the wiki page:
* http://wiki.
Isn't this about the umpteenth announcement? I don't mind, Michael,
and am just letting you know that we heard about this a few times the
last few days. Good work!
On 4/20/05, Michael J. <[EMAIL PROTECTED]> wrote:
> Hello guys,
>
> I looked in the Apache mailig list rules and found no restricti
The fact that words have multiple meanings/uses does not mean the
meanings are private. If the meanings are private, they have
absolutely no use whatsoever. That is a DOH!
On 4/20/05, Dave Newton <[EMAIL PROTECTED]> wrote:
> That's swell, from an academic point of view, but the fact is that
>
I changed this, but am still getting the same behavior.
It looks as if the digester has validation set to false, but thanks anyways.
-Ben
-Original Message-
From: Niall Pemberton [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 20, 2005 3:17 PM
To: Struts Users Mailing List
Subject: Re:
Looks like you have a mistakes in your DTD declaration in the
struts-config.xml. Should be
http://struts.apache.org/dtds/struts-config_1_2.dtd";>
Niall
- Original Message -
From: "Liu, Benson" <[EMAIL PROTECTED]>
Sent: Wednesday, April 20, 2005 11:03 PM
I'm working on a Struts/Til
Hi,
I'm working on a Struts/Tiles web app with Websphere 5.1.2 and Struts 1.2.4
I'm getting exceptions when trying to use the Validator framework.
After debugging, it almost seems as if the strut-config.xml is not being
properly digested.
The property maps of the Plug-Ins are always null.
Thu
David Suarez wrote:
Saw the flood of these AJAX messages and was interested so I did a quick
test using a plain html page to see how easy it is to create a generic
javascript to handle the ajax call-back pieces in question. My test
showed it is easily possible so I'm not sure how much value you'll
Hello guys,
I looked in the Apache mailig list rules and found no restrictions on
posting announcements, so I hope this message would not be considered
unappropriate.
I would like to announce a project, which helps to create robust and
controlled flow of application pages. Easy Wizard is primaril
Oops! Changed the name of the function when writing the email and
didn't update the name of the caller. The example would be like so:
//In generic javascript include
//updates the inner html of the passed object
updateInnerHtml(theobj, theurl)
{
dojo.io.bind({
url: theurl,
Saw the flood of these AJAX messages and was interested so I did a quick
test using a plain html page to see how easy it is to create a generic
javascript to handle the ajax call-back pieces in question. My test
showed it is easily possible so I'm not sure how much value you'll get
from creating a
T. B. wrote:
Good to know there is no difference to set up Struts
in Resin vs Tomcat.
Be aware that Resin introduces some custom features that other
containers don't have, including their own version of JSTL, laxer
parsing of config files, a job scheduler, etc. If you use them moving
from Res
Hi all,
I am new to Struts and tried out some exercise but got
this error. Any ideas why?
Thanks,
Thong Bui
=
Here is the error I got:
type Exception report
message
description The server encountered an internal error
() that prevente
Good to know there is no difference to set up Struts
in Resin vs Tomcat.
Thanks Dave!
Thong Bui
--- Dave Newton <[EMAIL PROTECTED]> wrote:
> T. B. wrote:
>
> >I am new to Struts and need to learn how to set up
> >struts application running on resin. Any
> >recommendations on such doc to set it
I agree. Although essentially using the js is doing the same thing there
is still "logic" in there which may or may not be considered model info.
I offered it as a way. Albeit I do agree the "right" way is to use a
form and submit the deletes to an action :)
-Original Message-
From: Mich
T. B. wrote:
I am new to Struts and need to learn how to set up
struts application running on resin. Any
recommendations on such doc to set it up?
No different than tomcat, IIRC: configure the struts controller servlet
in web.xml, put the jars in WEB-INF/lib, blah blah blah. We've been
run
If the issue is dynamically adding fields to a form, take a look at Lazy Forms:
http://www.niallp.pwp.blueyonder.co.uk/lazyactionform.html
If the issue is dynamically sized form fields, take a look at the
links I just sent a minute ago:
http://marc.theaimsgroup.com/?l=struts-user&m=111402299804677
Hi all,
I am new to Struts and need to learn how to set up
struts application running on resin. Any
recommendations on such doc to set it up?
Thanks,
Thong Bui
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comman
Take a look at
http://struts.apache.org/faqs/indexedprops.html
http://www.developer.com/java/other/article.php/2233591
http://wiki.apache.org/struts/StrutsCatalogLazyList
Also, search the archives (like
http://marc.theaimsgroup.com/?l=struts-user ) for "lazylist" to get
ideas on approaches to dea
I was [virtually] beaten up for updating domain model in GET request
;) And I agree, this is not a good practice. I personally tolerate
deleting an item from a table using link, because having table with
links saying "Delete" is nicer, than having table with bunch of
buttons. But in this particular
Ahh now I understand better.
Well unfortunately the easiest way to get the checkboxes submitted is to
have them inside of a form. That doesn't necessarily mean an
but they must be in a form of some type to get them submitted.
Now with that said I am going to say there is a way to do it without
Thanks everyone for all these responses. They have helped me tremendously.
Erik
Fogleson, Allen wrote:
Erik,
I also live in the Atlanta area. The going rate seems to be around 45-50
per hour for most of the "consulting firms" (body shops) assuming most
of those do W2 instead of 1099 then you can pr
If these are input pages, then who cares how many of them and what are
they. All they send to the server is an HTTP request. It is up to you
to build search expression out of it. That is the power of Struts
comparing to page-oriented event-driven frameworks ;) If you want to
accept input from these
Will do, I'm back at home now, so I'll email them out tomorrow morning.
Tonight I am going to to attempt the whole thing from scratch with a new
project and 1.2, see if that gives me the answer.
Cheers
Christopher Marsh-Bourdon
www.marsh-bourdon.com
> From: "Fogleson, Allen" <[EMAIL PROTECTED]>
yeap but. does it haes to be inside to html:form? Because i have a
button(image) which has the link to call the delete action.
in the action class, do i have to call the array of user ids with getParameter?
i'm confused in what to do in action class.
--
Rafael Taboada
---
Hi,
I have a situation where I need to create a form fields based on the user
selection in the previous form.
For example, in the first form user selects the Departments from multi
selection box and when this form is submitted, I have to show some x number of
form fields for every department select
Christopher,
It might help if you include portions of the offending code,
struts-config and such. I have seen this before but usually it is the
result of a bad config or such.
Al
-Original Message-
From: Marsh-Bourdon, Christopher
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 20, 20
Rafael,
I am confused by what you mean. But yes you can have a checkbox and use
it for deletion of objects. Presuming you have something like this:
xxx
xxx
xxx
You would get an array of user ids in the request that you can iterate
through and delete.
Note I just used the html markup there is no
Yes. :)
Ok that is the short answer. The longer answer is that yes you can do
it but it could be almost as easy to have separate actions depending on
how you are handling the actionForm(s). There is nothing in the
framework however that disallows the use of a single action for multiple
forms. Con
Matt,
Yup :) The only thing I miss about independent consulting is the $$. Of
course once I average in the taxes, health insurance, disability, not
having to do my own marketing, etc. I figure I came out about even, in
fact in my case a little above even as I moved from the DC area to
Atlanta.
In
Erik,
I also live in the Atlanta area. The going rate seems to be around 45-50
per hour for most of the "consulting firms" (body shops) assuming most
of those do W2 instead of 1099 then you can probably get about 10-15
more per hour 1099.
HTH,
Al
-Original Message-
From: [EMAIL PROTECT
Are you tied to doing this real time? As in by keystroke? I would think you
could do this with the validator framework in almost real time (well ok at
submit)
Al
-Original Message-
From: Paul McCulloch [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 20, 2005 11:21 AM
To: 'Struts User
I'm browsing thru the source code... any help would be extremely welcomed
!
In addition this is the dump:
[20/04/05 13:10:31:116 EDT] 67e967e9 WebGroup E SRVE0026E: [Servlet
Error]-[BeanUtils.populate]: java.lang.ArrayIndexOutOfBoundsException
at java.lang.Throwable.(Throwable.java
Hi folks.
I have a list of customers and i want to delete customers if its
checkbox has been checked, like mailbox(gmail,hotmail).
Please, do u know some place where i can find out information about it?
I can do this adding a delete link next to each customer. But is it
possible to do that but u
Hello David,
I had some display that could use a bit of logic. So instead of creating a jsp
page with a lot of logic, I thought it would e cleaner to create a class that
extends Tag, and use this for my logic, and of course for reuse.
Here is a pieceof the code from a method inside a Tag class.
Can you elaborate a bit on this? I couldn't get this to work when I was
trying it, but maybe I didn't do what you are doing.
It would be great to get this to work - I have a need to do this in our
project.
Thanks,
Dave
Dakota Jack wrote:
According to the linguists, the "beauty" of language is just the
opposite, viz. its public nature, so that private meanings are not
only allowed, they categorically make no sense.
That's swell, from an academic point of view, but the fact is that
people mean different things wit
I have three search pages (jsp) with different levels
of search .
All the three search pages use the same search engine
to get search results.
Can I use a single action for all these search pages.
thanks & regards
__
Do You Yahoo!?
Tired of spam
I am running into this now myself with an application that worked fine
on Tomcat 4, but now throws these exact same exceptions on Tomcat 5.
Did anyone figure it out?
Michael Oliver
CTO
Alarius Systems LLC
3325 N. Nellis Blvd, #1
Las Vegas, NV 89115
Phone:(702)643-7425
Fax:(702)974-0341
*Note new e
In Denver, the full-time rates vary from around $60K year to $100K.
It's pretty tough to find the $100/year jobs, and most average in the
80s-90s for senior developers. For Contractors, the sky's the limit,
but most range from $45/hour (junior developers) to $90/hour. Again,
senior developer
Paul
I am not redirecting. I am wondering whether it is the version of Struts I
am on. I think tomorrow I will upgrade to 1.2. However, if anyone has any
suggestions (polite), please let me know?
Christopher Marsh-Bourdon
www.marsh-bourdon.com
-Original Message-
From: Benedict, Paul
Watch out for users pasting in text that exceeds the allowed limit!
Paul
> -Original Message-
> From: Mike Darretta [mailto:[EMAIL PROTECTED]
> Sent: 2005/20/04 17:03
> To: Struts Users Mailing List
> Subject: Re: html:text area
>
>
> I had the same issue, and resolved it by executing a
Sure.
(Ack, sorry, mark, for replying directly to you.)
Five years professional programming (at 34 -- had two other short careers
as a journalist and graphic artist/designer), *very* strong Swing/Threads,
good Struts/JSTL, good JDBC/SQL, decent EJB, JMS, strong XML, strong HTTP,
good Linux, novic
I had the same issue, and resolved it by executing a simple javascript
upon each keystroke. If the user exceeded the max, the keystroke would
be rejected (that is, no more text could be entered without deleting
previous text)
In my JSP...
onkeydown="re
Good idea. There is an incipient similar thing going on with the
image package in the commons sandbox. Abey Mullasery's work there is
interesting. I think it needs a bit more practical grounding, but
that will come. These two projects do not overlap, but the point
does.
On 4/20/05, Frank W. Za
Here you go...
http://www.informationweek.com/advisor/
- Original Message -
From: <[EMAIL PROTECTED]>
To:
Sent: Wednesday, April 20, 2005 8:54 AM
Subject: [OT] looking for salary surveys
I am wrapping up a project and have put myself on the market. Recruiters
are contacting me, and I am
Erik,
I think it would help if you started by telling readers where you live
(Country and Region). I assume my current rates, paid in Albanian Leke will
be of little use to you.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 20 April 2005 16:55
To: user@strut
Chris,
At first, make sure you are not redirecting. Error messages are request
based, and redirection equals two requests and thus the messages are not
persisted.
-Original Message-
From: Marsh-Bourdon, Christopher [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 20, 2005 11:52 AM
To: 'S
I am wrapping up a project and have put myself on the market. Recruiters
are contacting me, and I am trying to refine my rate schedule, as I haven't
been on the market in more than two years. I would appreciate it if any of
you have any good references (salary surveys in particular) concerning
sala
Afternoon all
Under Struts 1.1 (previously I have been using 1.0), I have validation on a
form (it extends ValidatorActionForm) but after validation has failed and I
have (within the validate method) logged the number of errors, I can not for
the life of me get them to show within the JSP. I have
Hello,
We're looking at unifying three existing standalone struts applications
into one core struts application with two modules. We'd like the modules
to remain as autonomous as possible so that we could replace or make one
of them stand on it's own again in the future.
My question is how to la
I achieve this by having my tag include (pageContext.include() ) a JSP page
which has the other custom tags I want to use.
Paul
> -Original Message-
> From: Scott Purcell [mailto:[EMAIL PROTECTED]
> Sent: 2005/20/04 16:21
> To: user@struts.apache.org
> Subject: HTML:tags in a Tag
>
>
>
Scott,
The short answer is you can't use a "tag" in a taglib class.. however
there are ways "around" that. You could subclass the tag so that the
processing can still occur. You could (though this would likely be
messy) call the taglibs classes yourself. But you would basically then
have to manage
Hello,
I have a DynaActionForm such as:
If I assign a size to the array such as:
It works fine.
My problem is two fold:
1. The HistoryVO[] can be of any size... therefore I cannot assgin a size
to the
2. The user can add rows dynamically to DOM usi
Hello,
While finishing up a project, I found the need to create a Tag to use in my JSP
file.
Problem is, I have created all view using the HTML:tags. Can the HTML:tags be
used in a Tag file? In my tag, I have access to a JspWriter, but I am not sure
how to use the tags in the class, since it i
Frank W. Zammetti wrote:
someone mentioned the idea of having custom tags
that generate the underlying code... this is an intersting idea to me
because you get the whole Swing-ish code-centric approach underlying it
all, but with custom tags so you don't have to do all the code if you
don't want t
Also, the items attribute should be enclosed in ${} as:
-Original Message-
From: Oscar [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 20, 2005 5:23 AM
To: user@struts.apache.org
Subject: logic:iterate, with offset and length parameters, lose
that html:input is a mistake, it should be html:text
-Original Message-
From: Oscar [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 20, 2005 5:23 AM
To: user@struts.apache.org
Subject: logic:iterate, with offset and length parameters, lose data
Hi, I am using a logic:iterate tag throw a
You know, if what you want is Swing on the client, i.e., you write code to
do everything, then my VisML project that I mentioned yesterday is one
such option.
But you start to see in a pretty big hurry that it isn't a good idea...
One of the most powerful aspects of web development is the way you
Suggestions:
1- Use c:forEach instead of logic:iterate
2- Use a seperate property in your form to store the viewable/changeable stuff,
for example if you have a collection of strings, you can have an array
of strings be
your viewable/editable property. This will cut down on networ
There are lots of issues besides just wanting this to happen. All
serious attempts so far have pretty much failed. Have you looked at
Flash, if this is your big interest? Flash ActionScript pretty much
does what you want. But, I don't think it is a good idea. I think
you have to keep some thing
Erik Weber wrote:
SwingWorker worker = new CustomSwingWorker("GET_XML_RPC_DATA") {
I guess I'm in the wrong forum.
:)
Erik
Ahh it's the right forum ;-).
My code is VERY similar to above.
.V
-
To unsubscribe, e-ma
I'm currently using WebSphere Studio Application Developer v5.1.2.
Struts v1.1 is already included in this release.
What I'd like to do is to update the IDE to Struts v1.2.4. This way any
new projects will include the latest version of Struts.
I do know that I can add the jars and taglibs to the
Hi, I am using a logic:iterate tag throw a Collection. This collection is a
property of my ActionForm.
I set also an offset and length.
So, shown elements work fine, but not shown elements are just null. I would not
like to lose data of the "not shown elements" of the collection.
I dont know ho
Frank W. Zammetti wrote:
On Tue, April 19, 2005 10:47 am, Erik Weber said:
I, with respect for the author, disagree with this entirely.
I am people, and this is not what I expect or desire at all. As a user,
I expect and desire 1) A fast download 2) my bookmarks to work/easy to
remember URLs 3)
Not sure if this already has been said but when you are working with
text files, it can be easier to use Readers and Writers rather than
streams -- check out the API to see if the methods suit you better. Java
IO gives you ways to convert between Readers and Writers and streams,
for example:
n
tarek.nabil wrote:
Thanks Erik.
I like the idea of using the same action with different URLs but how do
you do that? The only way I can think of is changing the action of the
form when clicking any of the buttons using JavaScript, is that what you
meant?
Well that is a common way to do it. I wa
Thanks Erik.
I like the idea of using the same action with different URLs but how do
you do that? The only way I can think of is changing the action of the
form when clicking any of the buttons using JavaScript, is that what you
meant?
Actually, for our client, clientside validations are more imp
thanks to all. i tried using commons IO component. Unfortunately I got an error
accessing the file so I have used the java samples on the tutorial.
thanks anyway
On 4/16/05, Craig McClanahan <[EMAIL PROTECTED]> wrote:
> On 4/15/05, edward griebel <[EMAIL PROTECTED]> wrote:
> > Were you intending
Hi,
why don't you just iterate over your list and write it into a HashMap -
something like:
HashMap mp = new HashMap();
for(int i=0; i
This isn't very sophisticated, but it should work.
Regards,
Tom
senthil Kumar wrote:
Hi all.,
Could you please help me.
I have one ArrayList called dataList.
it
Hi all.,
Could you please help me.
I have one ArrayList called dataList.
it contains{ 20,10,20,20,10,15,15,15,15} as a String.
Now i need the result of each element appears in how many times like
20==>3
10==>2
15==>4
as a arrayList or Hash Map.
Please help me.
Thanks in advance.
re
I haven't tried it yet, but Validator has support for
internationalization. Also, you can take a look at the i18n support
in FormDef, which can help you in both formatting and parsing. One of
the sample apps demonstrate this by allowing EN, DE, and IT formats in
its form (which has both dates and
80 matches
Mail list logo