Hi
Checkout the documentation, it even includes an example...
http://struts.apache.org/struts-taglib/tagreference-struts-logic.html#iterate
Kind regards
mc
On 31 Oct 2005 at 19:35, sma3har wrote:
> Hi,
>
> I want to iterate through my arraylist of objects and
> display the values using bean:w
Hi,
I want to iterate through my arraylist of objects and
display the values using bean:write and submit them
with form.
My strut config has :
feild4 is an arraylist of javabean class mybean.
class mybean{
String new1;
String new2;
String new3;
public String g
Actually, the more I think about this, I think it may be easier to use the
attribute set to accomplish this instead of changing the dtd. Maybe there
could be a new bindingType value (Symbol) to identify this type of
attribute. Or maybe an existing bindingType could be used somehow? Either
way these
The same problem occurs when I deploy the struts-examples.war, make a
change to a JSP page, repack the war and redeploy.
-Original Message-
From: Mark Rehbein [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 1 November 2005 10:56 AM
To: user@struts.apache.org
Subject: missing application web
Hi,
I'm sure I've done something silly
I have a very simple war file that includes struts and I can deploy it
only once. If I make a change to a JSP and repack the war and copy it to
the webapps directory I get a "missing application web.xml" error as
below:
1/11/2005 10:26:50 org.apache.
Otmar - Please see reply below.
On 10/31/05, Michael Rasmussen <[EMAIL PROTECTED]> wrote:
> You could try putting all of your collections into a collection and
> accessing them by the index that way, or you could use a:
>
> style approach combined with your current tag and use index
> in a series
Gary, one more thing that would be nice would be if the parser allowed
symbols and there values to be specified on the component and element xml
elements.
Would this be a difficult fix?
For example,
I noticed that the Builder adds symbols to target ComponentBeans based on
whether or not th
Hi Otmar
I'm not certain but stuff inside the ${...} is already assumed to be variable
names. What
is the type of 'myCollection', is actually a collection? I would assume it is
some sort of
array and then you can use:
Else you should be iterating through the collection to identify individ
On 10/31/05, Jim Reynolds <[EMAIL PROTECTED]> wrote:
> Hello,
> I have an odd page, which requires some non-normal validation. I would like
> to be able to write my own validator, to handle this. I am having trouble
> finding examples, references on how to do this.
> Does anyone have any links, o
Hi David,
I know that extension although I hadn't installed it. It's getting
better and better.
Thanks for the tip.
Adam
David G. Friedman on 31/10/05 21:30, wrote:
Adam,
I have a CSS editor in FireFox that seems to allow live editing and work
with the @imports URLs on the new Maven-ized
On 10/31/05, Ashish Kulkarni <[EMAIL PROTECTED]> wrote:
> Hi
> I want to validate 1 field from jsp, if other field
> value is '3'.
> so i added the following validation in validation.xml
>
>
>
>
> ttype
> 2
>
>
>
> but it seems it is not working,
The "validw
Jim Reynolds wrote:
Does anyone have any links, on how, to, or configure a custom validator
http://struts.apache.org/struts-doc-1.2.x/userGuide/dev_validator.html
did not help?
Dave
-
To unsubscribe, e-mail: [EMAIL PROTEC
Hello,
I have an odd page, which requires some non-normal validation. I would like
to be able to write my own validator, to handle this. I am having trouble
finding examples, references on how to do this.
Does anyone have any links, on how, to, or configure a custom validator for
my project?
Tha
You could try putting all of your collections into a collection and
accessing them by the index that way, or you could use a:
style approach combined with your current tag and use index
in a series of
Unfortunately expressions within expressions will not work and
wouldn't be really clean if
Hi,
Can someone help me with the following? I have the following code in my
jsp file:
The problem is that I have a number of collections and I want to be able
to dynamically tell the bean which collection to use. The code below
does not work, but it will give you an idea of what I'm tryi
Funny :-)
I have some too...
btw, this is mine, about 8 years ago, and yes, I don't do things like
that anymore :-)
protected String encode(String src){
return
StringUtils.replace(StringUtils.replace(StringUtils.replace(StringUtils.replace(StringUtils.replace(StringUtils.replace(src
Adam,
I have a CSS editor in FireFox that seems to allow live editing and work
with the @imports URLs on the new Maven-ized Struts homepage:
https://addons.mozilla.org/extensions/moreinfo.php?id=60
Or directly at:
http://chrispederick.com/work/webdeveloper/
Short-cut: Control-Shift-E
Long-way: r
Hey everyone,
This is a common problem with all of the web apps I have been working
on. I am looking for a clean way to solve this problem. I am using
an API that requires the base URL: "http://something:8080/myApp/";
The problem is if I go through a proxy this will change where the
request cam
Hi
I want to validate 1 field from jsp, if other field
value is '3'.
so i added the following validation in validation.xml
ttype
2
but it seems it is not working, here is what i have
defined in my struts-config.xml file
And this is how i have defin
Hi Christian ,
Thanks for the initiative in replying with your thoughts. Please see inline
for my comments.
Let the thoughts flow.
regards,
Praveen
-Original Message-
From: Christian Bollmeyer [mailto:[EMAIL PROTECTED]
Sent: Monday, October 31, 2005 3:29 AM
To: Struts Users Maili
In my quest to make every else feel better about their development
environments, here is my Beautiful Discovered Code Fragment of the Day.
Actual code, actual live project, developers unnamed to protect the
boneheaded.
From export_generator.jsp (JavaDocs are for the weak), I present the
follo
Wendy Smoak on 30/10/05 16:50, wrote:
From: "Ted Husted" <[EMAIL PROTECTED]>
If someone has an itch to patch the stylesheets, that's great.
I added a 'theme' section to the website conversion Wiki Page:
http://wiki.apache.org/struts/StrutsWebsiteConversion
(at the bottom.)
There are links to
I wanted to share the results of an experiment I was trying out.
http://www.rabago.net/struts/html2/
It's an alternate set of tags (which extends those provided by Struts)
and provides the developer with more control over handling of invalid
form fields. At the very least, it allows you to show
Hi everybody,
I use digester in my application to access the constants in the whole
application. This is what I've done:
lvb_digester_rules.xml
struts-config.xml
__
server-constants.xml
_
Hello everyone,
I have a Struts application already working, and now I have to work harder
on the application's interface with the user. I searched and found out that
Lazlo may be a good way to do it and get good results, but I still haven't
got any experience or clue in what concerns integrating
Ryan Wynn Wrote:
>Currently, this is supported but only if value = [EMAIL PROTECTED] and
>valueExpr="myBean.property", because
>the mnemonic replacement is done after the determination of whether or not the
>value isEL and isVB.
>
>So to allow for mnemonics to be replaced by #{foo.bar}, Prop
Sorry, had a mistake in my post. In the example the 2nd component would look
like this.
or another approach would be
On 10/31/05, Ryan Wynn <[EMAIL PROTECTED]> wrote:
>
> It seems beneficial to allow a mnemonic to be replaced by an EL
> expression. This could be another approach to
It seems beneficial to allow a mnemonic to be replaced by an EL expression.
This could be another approach to the 'horizontal override' of component
subtree and reduce the need to replicate the structure of the subtree in
children.
For example,
would allow a component to extend from
mapping.getPath() works for me, you just have to find a way to access it in
your JSP...
you might be able to do that with:
requestScope['org.apache.struts.action.mapping.instance'].path
or better just set it to a variable in your form (reset method) or action.
Regards,
Abdullah
-Original
In fact, when you look at the code of the bean:message tag, it calls
TagUtils.message(). In the message() method of TagUtils, args is never null,
because of this piece of code in MessageResources : Object args[] = new Object
[] { arg0, arg1, arg2, arg3, arg4 };
Thus resources.getMessage(userLoca
30 matches
Mail list logo