false, otherwise the value is true.
Randy Burgess
> From: Christian Priebe
> Reply-To: Struts Users Mailing List
> Date: Sat, 10 Jan 2009 20:30:32 +0100
> To: Struts Users Mailing List
> Subject: Re: [S2] Avoiding nested tags / Using Sitemesh properties within
> Struts 2 tags
&g
Thanks Dave für your answer!
That's what I thought of first :) But I haven't found a solution yet.
Unfortunately there apparently isn't an accepted notation like name="dynInc" scope="request">property="paramName" />.
The value can only be set by the value-attribute, right?
I hope there is anot
Christian Priebe wrote:
" />
won't work. Now my question:
What alternative do I have to achieve what I want (if there is a possibility at
all)?
Is there a way to put the decorator properties into a JEE scope? If so,
you can just use OGNL.
Dave
Hey,
I want to use a sitemesh property got by the tag within a Struts2 tag to make a special include
dynamically controllable by the decorated content page. But as we all know a
nested tag like
" />
won't work. Now my question:
What alternative do I have to achieve what I want (if there is a
Hey,
I want to use a sitemesh property obtained by the tag
within a Struts2 tag to
make a special include dynamically controllable by the decorated content
page. But as we all know a nested tag like
" />
won't work. Now my question:
What alternative do I have to achieve what I want (if the
No, that's not good :)
thanks Antonio
musachy
On Tue, Apr 29, 2008 at 4:00 AM, Antonio Petrelli
<[EMAIL PROTECTED]> wrote:
> 2008/4/29 Musachy Barroso <[EMAIL PROTECTED]>:
>
> > Does anyone know how to use nested tags in velocity, like building a
> > url? I
2008/4/29 Musachy Barroso <[EMAIL PROTECTED]>:
> Does anyone know how to use nested tags in velocity, like building a
> url? I have tried many, many combinations of the form:
>
> #surl ...
> #sparam ... #end
> #end
>
> and can't seem to get it right. (
Does anyone know how to use nested tags in velocity, like building a
url? I have tried many, many combinations of the form:
#surl ...
#sparam ... #end
#end
and can't seem to get it right. (and google is no giving me any love
on this one)
musachy
--
"Hey you! Would you help me to
Problem solved... it ended up being one of our own custom tags that wasn't
cleaning up after itself. Have changed the tag to mimic the behavior in the
standard nested tags.
Cheers,
Lance.
-Original Message-
From: Niall Pemberton [mailto:[EMAIL PROTECTED]
Sent: 07 March 2007 14:
On 3/7/07, Lance Semmens <[EMAIL PROTECTED]> wrote:
We are in the process of upgrading to struts 1.3.5, I have followed the upgrade
guide at http://wiki.apache.org/struts/StrutsUpgradeNotes12to13. Most of the
nested tags now seem to be broken.
For example:
g List'
Subject: RE: Upgrading to struts 1.3.5, nested tags are broken
Instead of using investor.name use record.name
Try this will work
-Original Message-
From: Lance Semmens [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 07, 2007 2:54 PM
To: 'user@struts.apache.org'
Instead of using investor.name use record.name
Try this will work
-Original Message-
From: Lance Semmens [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 07, 2007 2:54 PM
To: 'user@struts.apache.org'
Subject: Upgrading to struts 1.3.5, nested tags are broken
We are in the
We are in the process of upgrading to struts 1.3.5, I have followed the upgrade
guide at http://wiki.apache.org/struts/StrutsUpgradeNotes12to13. Most of the
nested tags now seem to be broken.
For example:
The following exception is thrown
hi,
try remvoing the 'name' attribute from the nested text tasg.
eg:
Regards,
Nuwan.
- Original Message -
From: "David Miller" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, February 21, 2007 11:39 PM
Subject: Nested tags confusion
Greetings.
I'm ha
Greetings.
I'm having extreme difficulty getting my application to work with nested
tags.
My form is very simple: it consists of a string and a DTO Object. The DTO
Object in turn contains a List that holds another DTO Object: Form -> Bean
-> List.
Currently I can display data with
Hi Nagesh,
Actionform design will not change when using nested tags or logic tags.
When using nested tags PROPERLY then data will be be set automatically by
struts framework.
If you read line by line below and undertstand the code from struts
userguide/API then then you an easily catch the logic
rsday, November 23, 2006 9:47 AM
To: 'Adam K'
Cc: 'Struts Users Mailing List'
Subject: RE: Indexed Properties with nested Tags
I am 100% sure.
I have extensively used these futures and successful.
Using Nested Tags will decrease the Lines of Code,Easy Maintenance..
I am 100% sure.
I have extensively used these futures and successful.
Using Nested Tags will decrease the Lines of Code,Easy Maintenance..
Nested tags will take care of setting the latest values to form bean .There
will not be any change in ActionForm/Action class.
Framework will take care of
Alright, I guess I should have thought that. I was worried that my
fundamental understanding for this was wrong. For debugging I am putting my
information into a String which is not being iterated (it for some reason
always works, but those that are iterated over don't for some reason.
I have no
From: Adam K [mailto:[EMAIL PROTECTED]
> What is the purpose of the System.out.println that you have at the end
> of your action ?
Debugging?
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMA
urpose of the System.out.println that you have at the end of
your action ?
thanks again,
Adam
On 11/21/06, Raghuveer <[EMAIL PROTECTED]> wrote:
>
> Hi Adam,
>
> Use the sample code as requested by you.
> You can ask me any help with nested Tags and from advanced struts
>
11/21/06, Raghuveer <[EMAIL PROTECTED]> wrote:
Hi Adam,
Use the sample code as requested by you.
You can ask me any help with nested Tags and from advanced struts
*JSP*
*ActionForm*
**
public class ProdSelectionForm extends ActionForm
{
Coll
Hi Adam,
Use the sample code as requested by you.
You can ask me any help with nested Tags and from advanced struts
JSP
ActionForm
public class ProdSelectionForm extends ActionForm
{
Collection arlResults=null; //can be arrayalist
/**
* @return
I am using nested tags in in my JSP web application.
When session expired my application is navigated to login page with message
"session expired" .
This is working perfectly for all modules that used logic iterate and html
tags.
But for modules that were used nested tags , i am get
Niall
Thanks for support
I got by using "
*
*
-Original Message-
From: Raghuveer [mailto:[EMAIL PROTECTED]
Sent: Monday, May 08, 2006 6:13 PM
To: 'Niall Pemberton'; 'Struts Users Mailing List'
Subject: RE: Marking fields with background colour having errors
Niall,
How to pass the iterate indexId value to property of bean in nested tags
Example:
JSP
---
arlCollectionOrderRfq[i].customerRef property in
<%=i%>=*
-Original Message-
From: Niall Pemberton [mailto:[EMAIL PROTECTED]
Sent: Monday, May 08, 2006 5:27 PM
To:
On 5/8/06, Raghuveer <[EMAIL PROTECTED]> wrote:
Is it possiable in struts to show a label in different colours.
I.e Identfying label and showing in different color if the related html
object is having any errors
In below example i need to show label User Name in red color if there is any
data e
Is it possiable in struts to show a label in different colours.
I.e Identfying label and showing in different color if the related html
object is having any errors
In below example i need to show label User Name in red color if there is any
data error in
Nested tag
--
On 5/5/06, Raghuveer <[EMAIL PROTECTED]> wrote:
It is working like this for scalar properties but doesn't work for nested
tags
Maybe you're looking for its nested counterpart, ?
-Rahul
-Original Message-
From: Raghuveer [mailto:[EMAIL PROTECTED]
Sent: Friday, M
It is working like this for scalar properties but doesn't work for nested
tags
-Original Message-
From: Raghuveer [mailto:[EMAIL PROTECTED]
Sent: Friday, May 05, 2006 6:10 PM
To: 'user@struts.apache.org'
Subject: html:text attributes
Could any one give info how the b
-Original Message-
From: Raghuveer [mailto:[EMAIL PROTECTED]
Sent: Monday, May 01, 2006 12:45 PM
To: 'Struts Users Mailing List'
Subject: validator framework - With Nested tags
Is it possiable to validate my form which is generated by Nested tags.
Example:
I have 10 records
Is it possiable to validate my form which is generated by Nested tags.
Example:
I have 10 records(beans) in Vector in my struts actionform.
Each bean has employee ID and Name.
Is it possiable to use the validator framework against employee ID and Name
to test for required,maxlength..etc
What are the possiable ways to Validate the data in
Actionform/DynaValidatorForm.
In below example.
txtCompany is the property in javabean(cBean).
In a collection(arlCollectionBeans) each row is a javabean(cBean).
Data is displayed by Nested Tags as below.
Example:
I want to validate for
On 1/31/06, rama chandrula <[EMAIL PROTECTED]> wrote:
> I have a list of objects, and each object inturn has a list of another
> object. I want to represent all these objects and the properties of the
> inner object in the UI like
>
> outer[i].inner[j].propertyValue
>
>
Hi,
I have a list of objects, and each object inturn has a list of another
object. I want to represent all these objects and the properties of the
inner object in the UI like
outer[i].inner[j].propertyValue
How can I use nested tags to do this. Or is there any other solution
thanks, Laurie.
Now I can think of an alternative way to do this. I filed an enhancement
request in Bugzilla.
From: Laurie Harper <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List"
To: user@struts.apache.org
Subject: Re: DynaValidatorForm and nested tags.
Date: Tue
an't we do this?
From: Rick Reumann <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List"
To: Struts Users Mailing List
Subject: Re: DynaValidatorForm and nested tags.
Date: Mon, 19 Dec 2005 20:25:54 -0500
On 12/19/05, fea jabi <[EMAIL PROTECTED]> wrote:
>
>
]>
Reply-To: "Struts Users Mailing List"
To: Struts Users Mailing List
Subject: Re: DynaValidatorForm and nested tags.
Date: Mon, 19 Dec 2005 20:25:54 -0500
On 12/19/05, fea jabi <[EMAIL PROTECTED]> wrote:
>
> Thanks. I sure can see the difference.
>
> can we use a
On 12/19/05, fea jabi <[EMAIL PROTECTED]> wrote:
>
> Thanks. I sure can see the difference.
>
> can we use a DynaValidatorForm as an attribute in another
> DynaValidatorForm?
I'm guessing you could just simply nest DynaValidatorForms (but I'm sure
you'll want to use 'Lazy' ones otherwise you'll
Thanks. I sure can see the difference.
can we use a DynaValidatorForm as an attribute in another DynaValidatorForm?
Thanks.
From: Rick Reumann <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List"
To: Struts Users Mailing List
Subject: Re: DynaValidatorForm and nested
> Also, when exactly do we have to use the nested tags?
>
>
>
> You don't have to use them, but they make things easier/cleaner when you
> need to display fields that are updatable that are nested. For example here
> are two ways.. one with JSTL and one with nested (I think y
On 12/19/05, fea jabi <[EMAIL PROTECTED]> wrote:
>
>
>
> Also, when exactly do we have to use the nested tags?
You don't have to use them, but they make things easier/cleaner when you
need to display fields that are updatable that are nested. For example here
are two w
I have a jsp which is FORM1
using DynaValidatorForm for this.
there is a table in this which has to display they the contents other form?
can we do this using DynaValidatorForm? i.e one of it's attribute being
another form?
Also, when exactly do we have to use the nested tags?
T
Hi
may be the scope request is not enough?
why are you instantiating the ActionForm?, it is supposed to have struts doing
it for you, any special reason?
Lucas
Koen Jans <[EMAIL PROTECTED]> escribió:
Hi,
i am trying to access nested properties on a jsp page like this:
On my ActionForm
Hi,
i am trying to access nested properties on a jsp page like this:
On my ActionFormY associated with this jsp, of course i have an
instance Foo foo (which can be set and gotten by getFoo(), setFoo(..) )
and which has correct Foo.getBar() and Foo.setBar(..) methods.
I prepopu
Does anyone know of any examples using the struts validation framework
with the nested tags.
Thanks in advance.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
.
>
> Al
>
>
> -Original Message-
> From: wo_shi_ni_ba_ba
> [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 10, 2005 12:43 PM
> To: user@struts.apache.org
> Subject: nested tags
>
> I want to have tags like the following:
> property="&
I am using it in a tile, it's mainly for reusability
and efficiency. I created a jsp template that takes
some tile parameters and fill them in and tries to
create form elements on the fly. But i guess it wont'
work
--- Wendy Smoak <[EMAIL PROTECTED]> wrote:
> From: "wo_shi_ni_ba_ba" <[EMAI
From: "wo_shi_ni_ba_ba" <[EMAIL PROTECTED]>
> I want to have tags like the following:
> property=""/>
That's a new one...
When you're writing a JSP, in what situation would you NOT know what kind of
form element you want to display for a particular form property?
--
Wendy Smoak
oable" but it is not very practical.
Al
-Original Message-
From: wo_shi_ni_ba_ba [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 10, 2005 12:43 PM
To: user@struts.apache.org
Subject: nested tags
I want to have tags like the following:
property=""/>
My goal is to pass i
I want to have tags like the following:
property=""/>
My goal is to pass in attribute whose value can be
used again to construt struts tags dynamically. Is
this doable? for example, passing in the right struts
html tag and concatenate it with other struts tags to
form a new struts tag.
but when
Vamsee Kanakala wrote the following on 2/19/2005 1:04 AM:
Now create a web page that has one form that will display all the
companies (from a companies collection), and the departments
underneath, and the employees in each department AND you can edit the
name at any level... you can edit departm
Rick Reumann wrote:
Now create a web page that has one form that will display all the
companies (from a companies collection), and the departments
underneath, and the employees in each department AND you can edit the
name at any level... you can edit department names, employee names,
company na
Sorry about my mistake...
Thank you, Rick!
- Original Message -
From: "Pham Anh Tuan" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Saturday, February 19, 2005 9:07 AM
Subject: Re: [HELP] Understanding clearly about function of Nested Tags
Oh, than
Oh, thank you very much, Rich! Now, I understand what Nested Tag can do :)
- Original Message -
From: "Rick Reumann" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Saturday, February 19, 2005 12:23 AM
Subject: Re: [HELP] Understanding clearly abo
Pham Anh Tuan wrote the following on 2/17/2005 10:56 PM:
I don't know clearly about functions of Nested Tags. I have not used it
before. I read in struts.apache.org about it, and all I know is it's
somthing like logic ...
plz, show me the powerful ability of Nested Tags
Well, I'
Take a look at the PilotLight Next tutorials over at
http://www.keyboardmonkey.com/index.jsp
On Fri, 18 Feb 2005 10:56:30 +0700, Pham Anh Tuan <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I don't know clearly about functions of Nested Tags. I have not used it
> before. I re
Hi all,
I don't know clearly about functions of Nested Tags. I have not used it
before. I read in struts.apache.org about it, and all I know is it's
somthing like logic ...
plz, show me the powerful ability of Nested Tags
Thanks for advanc
Hi there,
i am desperate with the nested-Tags.
My Problem: I have a bean A with holding a collection of bean B. Now i
would like to get access, through the collection, to get each bean B.
What do i get? I get each Bean B - instance in the main.jsp. Thats OK!
But i get only the first bean b
just use whatever id you are using for the indexId of the outer nested
iterate.
if you are using the nested EL tags or JSP2.0 you then have easy
access to display the value of any indexId ... use either if JSTL or if JSP2.0 just ${fooIndex}
The problem is not so much that I want to dis
Claus M. Christiansen wrote the following on 10/12/2004 3:13 PM:
Now.. The problem lies in the nested iterate tag. The "indexed=true"
takes the value from the iterate tag in which it is nested, but what I
really need is the one from the outer tag, which is called subQuestion.
The reason I need t
Hi ML...
I have kind of a problem which I just can't get solved!
I have an iterate tag inside an iterate tag, but in the nested iterate
tag I need the indexed value from the outer iterate tag!!
I have:
){
//: In order for this to work, your class MUST have a reference
to the containing parent.
myParent.remove(this);
}
}
Juan Alvarado wrote:
Hi:
I am displaying a hierarchy of objects in a textarea using the nested tags. Whenever a
user deletes whatever is in the textarea for a particular
Hi:
I am displaying a hierarchy of objects in a textarea using the nested tags. Whenever a
user deletes whatever is in the textarea for a particular object, I want to remove
that object from the list.
Has anyone done this in the past?? If so, could you please share how you accomplished
it
Where did you terminate tag. Close the
Jitender Kumar C.V.
1:00 PM
To: [EMAIL PROTECTED]
Subject: Nested tags...
Hi All,
I'm trying to achieve the following...
But, I'm getting this error... Unterminated user-defined tag: ending tag
not found or incorrectly nested
Please help me find a work around to this.
R
Hi All,
I'm trying to achieve the following...
But, I'm getting this error... Unterminated user-defined tag: ending tag
not found or incorrectly nested
Please help me find a work around to this.
Regards,
Sridhar
RE: Using within other nested tags
Hi Maurice,
I've made a similar change to my version of the nested:errors tag as well.
As far as I can tell the nested version of this tag behaves exactly the same
as the normal version.
Perhaps this is a bug. Have you checked the bug trackin
Message-
> From: Maurice Nicholson [mailto:[EMAIL PROTECTED]
> Sent: 19 July 2004 17:32
> To: '[EMAIL PROTECTED]'
> Subject: Using within other nested tags
>
>
> Hi all,
>
> would someone be able to tell me the correct way to do this, taking
> advantage of
Hi all,
would someone be able to tell me the correct way to do this, taking
advantage of the nesting?
I expected that after adding errors with the same nested property names as
the nested tags use (eg, "person[0].username"), it might be something like:
...
Hey Rick I got rid of the name and type and it worked. Kinda weird.
Thanks for the quick reply!!!
Later...
Rick Reumann <[EMAIL PROTECTED]> wrote:
Juan Alvarado wrote:
> In my form bean I have an array list called categories that contains
> objects of type Category. Each Category object conta
Juan Alvarado wrote:
In my form bean I have an array list called categories that contains
objects of type Category. Each Category object contains an array list
of Steps.
So in my jsp I am rendering this relation as follows:
property='categories' id='cat'
type='com.securance.vo.ApStepCategoryVO'>
In my form bean I have an array list called categories that contains objects of type
Category. Each Category object contains an array list of Steps.
So in my jsp I am rendering this relation as follows:
First I iterate through the Categ
Hello folks
2 days ago I wrote:
> from struts-config.xml the definition of the form follows:
>
>
> type="org.apache.struts.validator.DynaValidatorActionForm">
>
>
the definition of the associated action is (note the scope parameter):
My approach: I extract from session the bean
>> > scope="session">
>
> You shouldn't need the above on the page. You should set
> MyBeanContainer with the id "beanContainer" into session or request
> scope in the Action you are in "BEFORE" you get to this JSP page. The
> page will have it. No need to use the useBean stuff.
>
ok, now I un
Thanks for your answer.
>> > scope="session">>
> You shouldn't need the above on the page. You should set
> MyBeanContainer with the id "beanContainer" into session or request
> scope in the Action you are in "BEFORE" you get to this JSP page. The
> page will have it. No need to use the useBea
Paride Perazzolo wrote:
Hi folks,
I'm new to the list, so forgive me if I'm not respecting Netiquette or
asking off-topics.
Welcome to the list. Not off topic. Comments inline.
I'm trying to render pieces of html using the following syntax:
from struts-config.xml the definition of the form follows:
Hi folks,
I'm new to the list, so forgive me if I'm not respecting Netiquette or
asking off-topics.
I'm trying to render pieces of html using the following syntax:
from struts-config.xml the definition of the form follows:
into the jsp I wrote (MyBeanContainer has the method getListaDann
i have extended DynaValidatorForm and created form bean that holds a List.
It looks like this :
beans is a List of type Bean which has only two variables name , age
and the getter/setters for these two variables.
I am using lazy list to populate this List.
The business re
i have extended DynaValidatorForm and created form bean that holds a List.
It looks like this :
beans is a List of type Bean which has only two variables name , age
and the getter/setters for these two variables.
I am using lazy list to populate this List.
The business re
80 matches
Mail list logo