I am setting up Dynamically sized form with scope="request" so my
bean consists of 2 TreeMaps, one to display (fields objects: name,
type,...) and one to receive values from the form(values Strings). The
problem is that when form submitted I can only get one value as a
String and not String[] if i
Hello
If I have an "strut-i-fied" html form that also has
JavaScript event handlers, and onclick function calls,
can I be guaranteed that the js will fully execute
first before the html post in both NS & IE? It has to
right? It would be preposterous otherwise. Just
paranoid about all the adhoc c
FYI, as of JDK 1.4.2 (maybe before, but at least that version at the
latest) you have LinkedHashMap and LinkedHashSet as well. LinkedHashMap
would fit the bill as well I think, without having to create a
dependency on Commons Collections.
Frank
Wendy Smoak wrote:
From: "Oleg" <[EMAIL PROTEC
From: "Oleg" <[EMAIL PROTECTED]>
I have been hours at this, going crazy. I am setting up Dynamicly sized
form.
http://java.sun.com/j2se/1.4.2/docs/api/java/util/HashMap.html
" This class makes no guarantees as to the order of the map; in particular,
it does not guarantee that t
I just responded to this in the commons-user list:
http://www.mail-archive.com/commons-user%40jakarta.apache.org/msg13137.html
Niall
- Original Message -
From: "Stewart Cambridge" <[EMAIL PROTECTED]>
Sent: Friday, October 14, 2005 10:52 AM
I customised the validator just yesterday bec
Ok, this is embarrassing, of course HashMap doesnt guarantee the
order, TreeMap did the trick, sorry :)
Oleg
On 10/14/05, Oleg <[EMAIL PROTECTED]> wrote:
> I have been hours at this, going crazy. I am setting up Dynamicly sized form.
>
> struts-config.xml
> --
As Joe indicated, Validator 1.2.0 which will hopefully be released should
resolve your issue and you should just be able to replace the Commons
Validator jar to fix it. Although validator 1.2.0 has a new version of the
DTD - the old version (1.1.3) should still work correctly.
Unfortunately the bi
I have been hours at this, going crazy. I am setting up Dynamicly sized form.
struts-config.xml
-
My Action, gets the map like so:
DynaValidatorForm df = (DynaValidatorForm) form;
HashMap hm = (HashMap)df.get("fields");
Than I try to populat
Ryan Wynn wrote:
> Gary, I tried this approach in both forms you described and it seems that
> the nested
> Clay component is picking up the managedBeanName from the root Clay
> component instead
> of the one I specify. Which turns out to be the ViewController associated
> with the view id.
[EMAIL PROTECTED] (Gary VanMatre) wrote on 10/14/2005 03:20:37 PM:
> The managedBeanName attribute can only be set at the Clay component.
> The subtree under the Clay component applies token replacement of
> the literal string "managed-bean-name" with the value from the root.
>
> For full html
Dave wrote:
Laurie Harper holoweb.net> writes:
Looks like your mail client munged Brantley's message: his suggestion
was not a bare '&' but the entity character reference '&' (i.e. the
four-character sequence ampersand-a-m-p-semicolon). Try that.
Actually, I understood that, however, any ins
Laurie Harper holoweb.net> writes:
>
>
> Looks like your mail client munged Brantley's message: his suggestion
> was not a bare '&' but the entity character reference '&' (i.e. the
> four-character sequence ampersand-a-m-p-semicolon). Try that.
>
> L.
>
Actually, I understood that, howeve
From: "Malik, Yousuff M" <[EMAIL PROTECTED]>
I just wanted to follow up and see if any of you had seen this exception
before. Basically, how can the servlet context be null??
I don't think the servlet context itself is null. If I'm reading the error
right, it looks like WebLogic has tried to
>Using clay html views I am getting an IndexOutOfBoundsException at line
>106 of org.apache.shale.clay.component.chain.CreateComponentCommand. This
>line does the following:
>
>parent.getChildren().add(clayContext.getChildIndex(), child);
>
>where parent and child are UIComponents.
>
>My except
[EMAIL PROTECTED] wrote on 10/14/2005 02:51:05 PM:
> On 10/14/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> >
> > 3. Next I click on logoff and this is where stuff gets goofy.
> > Logoff link points to "logon.logoff". LogActions.logoff() does some
stuff
> > and then returns "unauthenticated"
Emmanuel.Leguy wrote:
Hello,
I use the following code in a jsp:
If 'person' is not present <%= person.getName() %> is compiled and I get
this error: membreLIFL cannot be resolved
If i use this code:
property="name"/>"/>
No problem.
How can i use the html:text tag?
Dave wrote:
Brantley Hobbs itos.uga.edu> writes:
Try changing your ampersand to "&" or "%26"
Thanks for trying, but, & simply gives me the previous compiler error, and %
26 is not converted to an & at run time.
Looks like your mail client munged Brantley's message: his suggestion
was not
Wendy Smoak <[EMAIL PROTECTED]> wrote on 10/14/2005 03:27:30 PM:
> From: <[EMAIL PROTECTED]>
>
> > Wendy, I am currently using eclipse's built-in debugger to step into
the
> > code. Would you recommend something else?
>
> No... your original message sounded like you were just looking at the
lo
From: <[EMAIL PROTECTED]>
Wendy, I am currently using eclipse's built-in debugger to step into the
code. Would you recommend something else?
No... your original message sounded like you were just looking at the log
file output. Right after I sent that, you posted about setting breakpoints.
Try using the -el taglib:
<%@ taglib uri="/tags/struts-html-el" prefix="html-el" %>
...
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Wendy Smoak <[EMAIL PROTECTED]> wrote on 10/14/2005 03:12:36 PM:
> From: <[EMAIL PROTECTED]>
>
> >I have been trying all day to understand exactly where and when Shale
> > injects into the JSF life cycle and I think i'm almost there..:)
>
> By looking at the log files? Have you stepped through
Hi Ryan,
>I'm having trouble getting Shale clay to substitute a non-ViewController
>bean for the token managed-bean-name. I have looked at the use cases and
>I still feel like I don't understand the syntax to do token replacement.
>Shale continues to reference my ViewController bean in EL expr
From: <[EMAIL PROTECTED]>
I have been trying all day to understand exactly where and when Shale
injects into the JSF life cycle and I think i'm almost there..:)
By looking at the log files? Have you stepped through the code in a
debugger? After you get past the initial setup, it will save y
[EMAIL PROTECTED] wrote on 10/14/2005 02:58:10 PM:
> On 10/14/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> >
> > "David G. Friedman" <[EMAIL PROTECTED]> wrote on 10/14/2005
02:51:13
> > PM:
> >
> > > If you are doing a logout, wouldn't it be quicker to do an
> > immediate="true"
> > > along
[EMAIL PROTECTED] wrote on 10/14/2005 02:51:05 PM:
> >
>
> The implication of this sequence of events is that the navigation
requested
> by "unauthenticated" did not actually happen, so it's redisplaying the
same
> page again. Are you sure you've got the navigation rules set up
correctly,
> so
On 10/14/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> "David G. Friedman" <[EMAIL PROTECTED]> wrote on 10/14/2005 02:51:13
> PM:
>
> > If you are doing a logout, wouldn't it be quicker to do an
> immediate="true"
> > along with your action invocation? Then you could skip the other
> phases.
"David G. Friedman" <[EMAIL PROTECTED]> wrote on 10/14/2005 02:51:13
PM:
> If you are doing a logout, wouldn't it be quicker to do an
immediate="true"
> along with your action invocation? Then you could skip the other
phases.
> It is in your logout/logoff after all, right?
Oh, I guess that is
On 10/14/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> 3. Next I click on logoff and this is where stuff gets goofy.
> Logoff link points to "logon.logoff". LogActions.logoff() does some stuff
> and then returns "unauthenticated" which is mapped in faces-config.xml to
> /failure.jsp which in
If you are doing a logout, wouldn't it be quicker to do an immediate="true"
along with your action invocation? Then you could skip the other phases.
It is in your logout/logoff after all, right?
-David, all talk, just theories.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PR
I have been trying all day to understand exactly where and when Shale
injects into the JSF life cycle and I think i'm almost there..:) But I do
have one question which reads rather long, so please bear with me.
Here's what I do with my Tiles+Shale webapp:
1. Acces it via: http://www.myContext/
I'm having trouble getting Shale clay to substitute a non-ViewController
bean for the token managed-bean-name. I have looked at the use cases and
I still feel like I don't understand the syntax to do token replacement.
Shale continues to reference my ViewController bean in EL expressions,
howe
Using clay html views I am getting an IndexOutOfBoundsException at line
106 of org.apache.shale.clay.component.chain.CreateComponentCommand. This
line does the following:
parent.getChildren().add(clayContext.getChildIndex(), child);
where parent and child are UIComponents.
My exception repor
Hello,
I use the following code in a jsp:
If 'person' is not present <%= person.getName() %> is compiled and I get
this error: membreLIFL cannot be resolved
If i use this code:
property="name"/>"/>
No problem.
How can i use the html:text tag?
Thanx,
Manu.
--
Emman
On 10/14/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
>
> Some nice scripting without Ajax, just Javascript and CSS:
> http://www.themaninblue.com/writing/perspective/2005/10/05/form/form4.htm
> I wish Struts Validator could be that cool :-)
It CAN be. I spent some time last night figuring ou
This isn't really an answer to your question, but if I'm looking at the correct
line of source (see below), it may be that "servlet" is null, hence the NPE:
protected ServletContext getServletContext() {
return (servlet.getServletContext());
}
Jay
| Jay Burgess [Vertical Technolo
Frank W. Zammetti wrote:
People who try to do entire sites in Flash are, IMO, misusing it.
Try http://goowy.com for Flash
or Java http://struts.roomity.com (takes you to this mail list in RiA)
.V
-
To unsubscribe, e-mail:
Brantley Hobbs itos.uga.edu> writes:
>
> Try changing your ampersand to "&" or "%26"
>
> B.
Thanks for trying, but, & simply gives me the previous compiler error, and %
26 is not converted to an & at run time.
-
To unsubsc
I just wanted to follow up and see if any of you had seen this exception
before. Basically, how can the servlet context be null??
-Original Message-
From: Malik, Yousuff M
Sent: Wednesday, October 12, 2005 4:52 PM
To: user@struts.apache.org
Subject: java.lang.NullPointerException at
org.
On Fri, October 14, 2005 8:11 am, Martin Gainty said:
> Frank/Michael
> Personally whenever I see a Flash site I always elect 'html' simply
> because
> I dont have the time to wait for stream to load to
> my browser client..
As do I, and I'm almost never not using a big fat pipe :)
But, this is a
yeap, "ResourceBundle Editor".
Plugin 4 Eclipse
http://sourceforge.net/projects/eclipse-rbe
Cheerz
Danny
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On Fri, October 14, 2005 2:44 am, Michael Jouravlev said:
> On 10/13/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
>> It's not going to kill Flash because, when used properly, Flash is
>> fantastic and different from anything else out there. Just as a silly
>> example: how am I going to a Stron
Hi,
I've used DynaActionForm in websphere portal server while developing
portlets. Strangely, I could not able to display the portlet page even
there was no fault on our application.
When I replaced the DynaActionForm with ActionForm, it worked well. Why
it happened? Cant' I use DynaActionFor
I think having the DAO itself get the connection isn't an optimal
solution, most especially if it's happening in each method. Here's why...
I have one application in particular that is fairly complex and for a
given end-user function, I may have to use a couple of different business
delegates, wh
Try changing your ampersand to "&" or "%26"
B.
> -Original Message-
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Dave
> Sent: Friday, October 14, 2005 9:48 AM
> To: user@struts.apache.org
> Subject: Syntax for multiple parameter with global forward
>
> At first I had my global for
At first I had my global forward defined:
But the compiler complained and I changed it to:
This path doesn't behave correctly. After I click on the link and faulty link
is in the address bar I can change the semi-colon to to ambersand, and then it
works.
Is it possible to define a
> Of the seven releases for 1.2.x
/s/seven/eight
Being geeks, we started with 1.2.0 :)
-T.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On 10/14/05, Paul Benedict <[EMAIL PROTECTED]> wrote:
> Just think of how many releases were for Struts 1.2!
Not every release is a "General Availability" or stable release.
Of the seven releases for 1.2.x, three were marked GA (.2, .4, .7),
and the rest were left at alpha or beta. The first 1.3.
Hi
Is there a good properties file editor as plugin for
eclipse,
This properties file editor must be able edit at the
same time properties files for different locale, for
example
if i add a property to my.properties, then it must be
able to add it my_fr.properties, my_ru.properties etc
Also if poss
Still rockin' the 14.4?
;)
"Martin Gainty" <[EMAIL PROTECTED]>
10/14/2005 08:11 AM
Please respond to
"Struts Users Mailing List"
To
<[EMAIL PROTECTED]>, "Michael Jouravlev" <[EMAIL PROTECTED]>
cc
"Struts Users Mailing List"
Subject
Re: [OT] Struts + AJAX Trumps JSF
Frank/Michael
P
At 9:17 PM -0700 10/13/05, Paul Benedict wrote:
Does anyone ever run any custom versions of Struts or
the Commons library? The reason I ask is because the
bug that I need fix (it is now fixed) in Commons
Validator isn't released for the Struts 1.2.x branch,
but most likely will be released with S
Well, I use iBATIS in my apps, so I don't think about the java.sql
package much - just SQL and POJOs..it's all good. :-D
*However*, for the 1% of the time that I use JDBC, I generally use a
template pattern for dealing with resources. Probably the best
description of that pattern is in the Spring
A minor detail, include the original exception as the root cause for
the new exception so that it will be easier for the poor person doing
implementation support (probably you) to figure out what really
created the problem. For example:
...
catch(SQLException e){
log.error("insert", e);
Frank/Michael
Personally whenever I see a Flash site I always elect 'html' simply because
I dont have the time to wait for stream to load to
my browser client..Its a bandwidth issue..*any* technology which attenuates
the content to minimum bandwidth of the underlying
transport will succeed (viz
I customised the validator just yesterday because it stops at the
first error when using List-backed forms and indexedListProperty and I
wanted it to run all validations down the page.
I tried to extend the relevent class, but found too many methods were
private or package access, rather than prote
I will try to answer for Larry :-)
On 10/14/05, emre akbas <[EMAIL PROTECTED]> wrote:
> Larry, I think you are using DAO. Then, I want to ask you how do you deal
> with the SQLException's and unclosed connections in your DAO classes if you
> are using JDBC as the persistence layer.
>
> Say, you ha
Bib,
I am using that struts version without problems. I first had troubles in the
beginning to but someone got me started. However I have not yet used
tiles...
- Original Message -
From: "bib_lucene bib" <[EMAIL PROTECTED]>
To:
Sent: Friday, October 14, 2005 2:05 AM
Subject: Re: stru
Following is the piece of code i am using to populate action message.
ActionMessages msgs = new ActionMessages();
msgs.add(ActionMessages.GLOBAL_MESSAGE, new ActionMessage("
error.notValidConfName"));
saveMessages(request, msgs);
I am not able to get the message for the key "error.notValidConfNam
Frank W. Zammetti wrote:
> So no, I don't think Ajax is the great savior or anything, nor is it the
> future of web development in and of itself. How I think it will be
> remembered though is in showing that RIAs are viable and that the real
> paradigm shift isn't Ajax itself, but is the underlyi
Kito D. Mann wrote:
>>>At this point, with the clear promise of AJAX, I cannot see
>>
>>any reason
>>
>>>to give up Struts and go to JSF. If I was starting a new web
>>>application today, I would use Struts and AJAX.
>>
>>Not that I going to jump JSF anytime soon, but:
>>http://www.icesoft.co
Larry, I think you are using DAO. Then, I want to ask you how do you deal
with the SQLException's and unclosed connections in your DAO classes if you
are using JDBC as the persistence layer.
Say, you have CustomerDAO and it has a insert method:
public class CustomerDAO {
boolean insert() {
Connec
60 matches
Mail list logo