Re: Problem in displaying ValueObject contents using logic tag

2004-01-03 Thread Nisith Dash
Problem in displaying ValueObject contents using logic tag Hi All, My ArrayList holds a set of ValueObjects.When I try to display the ArrayList contents using logic tag it is throwing an exception saying can't find the "clientview" bean. In Action class the code is like...

Problem in displaying ValueObject contents using logic tag

2004-01-02 Thread Sudhakar G
Hi All, My ArrayList holds a set of ValueObjects.When I try to display the ArrayList contents using logic tag it is throwing an exception saying can't find the "clientview" bean. In Action class the code is like. request.setAttribute("ClientList"

RE: logic tag using locale

2003-12-11 Thread Joe Hertz
I agree entirely. A "pointer bean" to the right data in the request. I'm so there. Thanks Ted. YTH -Joe > -Original Message- > From: Tsang, F (Fred) [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 11, 2003 5:06 AM > To: Struts Users Mailing List >

RE: logic tag using locale

2003-12-11 Thread Tsang, F (Fred)
t the tile/jsp do the presentation work. You could be right though... maybe a simple presentation bean that just handles internationalised fields. cheers, Fred -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED] Sent: 10 December 2003 20:04 To: Struts Users Mailing List Subject:

Re: logic tag using locale

2003-12-10 Thread Ted Husted
I'd suggest resolving this type of language choice in the Action. For example, there could be one product bean that is populated with whatever language is preferred by the client. The page could then just write whatever has been placed into the bean. HTH, Ted. Tsang, F (Fred) wrote: All, I'm

logic tag using locale

2003-12-10 Thread Tsang, F (Fred)
All, I'm trying to do a bean:write based on the user's current language. Before you ask, this isn't just internationalization using the properties files. I'm displaying item attributes stored in a database, where there are german and english descriptions. I know I can set a bean in my action and

RE: logic tag using locale

2003-12-10 Thread Joe Hertz
essage- > From: Tsang, F (Fred) [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 10, 2003 10:01 AM > To: [EMAIL PROTECTED] > Subject: logic tag using locale > > > All, > > I'm trying to do a bean:write based on the user's current > language. Bef

logic tag using locale

2003-12-10 Thread Tsang, F (Fred)
All, I'm trying to do a bean:write based on the user's current language. Before you ask, this isn't just internationalization using the properties files. I'm displaying item attributes stored in a database, where there are german and english descriptions. I know I can set a bean in my action and

logic tag using locale

2003-12-10 Thread Tsang, F (Fred)
All, I'm trying to do a bean:write based on the user's current language. Before you ask, this isn't just internationalization using the properties files. I'm displaying item attributes stored in a database, where there are german and english descriptions. I know I can set a bean in my action and

My logic Tag Does Not Seem To Work

2003-10-27 Thread Caroline Jen
Please point out my mistakes. Does the 'name' attribute of the logic tag accept an object only? For example, I created a session this way: HttpSession session = request.getSession(); String username = request.getRemoteUser(); session.setAttribute( "user", username ); In

Logic Tag - Type

2003-04-01 Thread Puneet Agarwal
We wish to develop a TILE that could render a typical table listing in our application. This TILE shall access a particular arraylist to display the table. This arraylist shall be of different DTO's for different screens. I want to pass the type of DTO to this TILE while I do inside my TILE I am

Logic Tag - Type

2003-04-01 Thread Puneet Agarwal
We wish to develop a TILE that could render a typical table listing in our application. This TILE shall access a particular arraylist to display the table. This arraylist shall be of different DTO's for different screens. I want to pass the type of DTO to this TILE while I do inside my TILE I

Re: [Logic Tag] Can This work

2003-03-30 Thread Puneet Agarwal
g List <[EMAIL PROTECTED]> <[EMAIL PROTECTED]cc: ache.org> Subje

Re: [Logic Tag] Can This work

2003-03-29 Thread James Mitchell
On Sat, 2003-03-29 at 02:46, Puneet Agarwal wrote: > Unfortunately, this did not work, mostly because this will substitute the > value at a later stage than required. I can't really help, if you don't specify your requirements. > > We need some other solution to this > > Any more clues !!!

[Logic Tag] Can This work

2003-03-28 Thread Puneet Agarwal
Unfortunately, this did not work, mostly because this will substitute the value at a later stage than required. We need some other solution to this Any more clues !!! James Mitchell Suggested: Did you try this? ---

Re: logic tag addition proposal

2003-03-20 Thread Arron Bates
> David Graham ([EMAIL PROTECTED]) wrote: > > > This kind of logic is better done in an Action, not in the view layer. > > > > David > > I disagree in this case. Assets should only be the concern of the > view and sometimes, the view has to make sure that a certain state > exists before it can

Re: logic tag addition proposal

2003-03-20 Thread David Graham
uot;Struts Users Mailing List" <[EMAIL PROTECTED]> To: Struts Users Mailing List <[EMAIL PROTECTED]> Subject: Re: logic tag addition proposal Date: Thu, 20 Mar 2003 09:48:26 -0600 David Graham ([EMAIL PROTECTED]) wrote: > This kind of logic is better done in an Action, not in

Re: logic tag addition proposal

2003-03-20 Thread Dan Allen
David Graham ([EMAIL PROTECTED]) wrote: > This kind of logic is better done in an Action, not in the view layer. > > David I disagree in this case. Assets should only be the concern of the view and sometimes, the view has to make sure that a certain state exists before it can display the asset

Re: logic tag addition proposal

2003-03-20 Thread David Graham
This kind of logic is better done in an Action, not in the view layer. David From: Dan Allen <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: Struts-User List <[EMAIL PROTECTED]> Subject: logic tag addition proposal Date: Thu, 20 M

logic tag addition proposal

2003-03-20 Thread Dan Allen
ther put a placeholder image in there or just display nothing. So I came up with an idea for a logic tag. It would look like the following * I am also thinking it might be nice if the tag also did a "set" call using the "id" and "toScope" like the bean define. Righ

RE: Help in Logic Tag

2003-02-20 Thread Chakradhar Tallam
get rid of this line try this No record(s) found! chaks. -Original Message- From: Richard Raquepo [mailto:[EMAIL PROTECTED]] Sent: Friday, 21 February 2003 2:57 PM To: Struts Users Mailing List Subject: Re: Help in Logic Tag i have this code but i have an

Re: Help in Logic Tag

2003-02-20 Thread Richard Raquepo
Got it! Thanks everyone! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Help in Logic Tag

2003-02-20 Thread Richard Raquepo
No record(s) found! Am i doing things right? Thanks -Richard - Original Message - From: "Todd Pierce" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Friday, February 21, 2003 11:

RE: Help in Logic Tag

2003-02-20 Thread Todd Pierce
With Struts tags: ... ... -Original Message- From: Richard Raquepo [mailto:[EMAIL PROTECTED]] Sent: Friday, 21 February 2003 2:05 PM To: Struts Users Mailing List Subject: Help in Logic Tag i want to be able to show a message like "No re

Re: Help in Logic Tag

2003-02-20 Thread Ian Hunter
AIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, February 20, 2003 10:04 PM Subject: Help in Logic Tag i want to be able to show a message like "No records found" is there was no records found or logic/iterate did not do any iteration.

Help in Logic Tag

2003-02-20 Thread Richard Raquepo
i want to be able to show a message like "No records found" is there was no records found or logic/iterate did not do any iteration. Can anybody provide us a solution to this kind of problem? thanks a lot!. i have this in my JSP:      

Re: Checking boolean values with a logic tag

2003-01-22 Thread Gemes Tibor
2003. január 22. 12:03 dátummal Jordan Thomas ezt írtad: > Hi, > > How do I check a boolean value of a method/bean using the logic tags. Can > Struts-El do this? Essentially I have a method called getXYZ() that returns > a boolean value. I can't change the name of the method to isXYZ so I have > t

Checking boolean values with a logic tag

2003-01-22 Thread Jordan Thomas
Hi, How do I check a boolean value of a method/bean using the logic tags. Can Struts-El do this? Essentially I have a method called getXYZ() that returns a boolean value. I can't change the name of the method to isXYZ so I have to leave it as is. thanks Jordan -- To unsubscribe, e-mail:

how to use ApplicationResources from the logic tag

2003-01-17 Thread Garth Ramakant Patil
age. is there a direct method for using a property in the logic tag? thanks, /gp -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Antwort: RE: Need to make Logic Tag

2002-10-08 Thread Cetin.Ergen
Hi, you are right. I've tried the present tag at the beginning of our dev. But had no success with applying multiple roles. After your posting today i tried again. No success again, until i recognized that the tag is not trimming the role strings. So if you use for example and youre user is onl

RE: Need to make Logic Tag

2002-10-08 Thread Madel,Kurt
: [EMAIL PROTECTED] Subject: RE: Need to make Logic Tag Hi, i'm not sure if this is what you need. But here is an example for free use and uses the container managed security model (in our app we use the SecurityFilter impl from SourceForge.com): This is an excerpt of the tag class: pa

RE: Need to make Logic Tag

2002-10-08 Thread Cetin.Ergen
Hi, i'm not sure if this is what you need. But here is an example for free use and uses the container managed security model (in our app we use the SecurityFilter impl from SourceForge.com): This is an excerpt of the tag class: package com.company.taglib; ... public class UserInRolesTag exte

RE: Need to make Logic Tag

2002-10-08 Thread Andrew Hill
Have a look at the one in the struts example application. That should get you started. -Original Message- From: Smith, Johnathan M. [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 08, 2002 20:18 To: '[EMAIL PROTECTED]' Subject: Need to make Logic Tag Can someone please hel

RE: Need to make Logic Tag

2002-10-08 Thread Madel,Kurt
use blah, blah Kurt Madel Programmer, CSMi (703) 823-4300 ext. 170 -Original Message- From: Smith, Johnathan M. [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 08, 2002 8:18 AM To: '[EMAIL PROTECTED]' Subject: Need to make Logic Tag Can someone please hel

Need to make Logic Tag

2002-10-08 Thread Smith, Johnathan M.
Can someone please help me out I need. I need to make my first logic tag like the one below You are a client Any tips or samples would be great. I have to get this done fast -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

RE: Logic tag

2002-09-23 Thread Tejas Bavishi
Thanks for pointing out, you are right Chris I did not include logic tag lib, I should have thought of this before. Now, I tried other ways as suggested by other members of the forum (at least now I get Exception :)) (a) FREE javax.servlet.ServletException: No selector attribute (cookie

Re: Logic tag

2002-09-20 Thread Bryan Hilterbrand
Thanks for the answer -- I should have seen that one. Bryan - Original Message - From: "Martin Cooper" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Friday, September 20, 2002 4:04 PM Subject: RE: Logic tag

RE: Logic tag

2002-09-20 Thread Martin Cooper
> -Original Message- > From: Bryan Hilterbrand [mailto:[EMAIL PROTECTED]] > Sent: Friday, September 20, 2002 2:14 PM > To: Struts Users Mailing List > Subject: Re: Logic tag > > > Pardon me for jumping into this thread... > > Once you use bean:define

Re: Logic tag

2002-09-20 Thread Bryan Hilterbrand
g the logic:equal won't work either. Bryan - Original Message - From: "Martin Cooper" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Friday, September 20, 2002 12:52 PM Subject: RE: Logic tag You'll need

RE: Logic tag

2002-09-20 Thread Martin Cooper
ull, you cannot use to check it; you need to use instead. -- Martin Cooper > -Original Message- > From: Tejas Bavishi [mailto:[EMAIL PROTECTED]] > Sent: Friday, September 20, 2002 8:55 AM > To: '[EMAIL PROTECTED]' > Subject: Logic tag > > > Hi, > >

RE: Logic tag

2002-09-20 Thread Joe Barefoot
Hi, AFAIK, nesting jsp tags inside attributes of other jsp tags does not work. peace, Joe > -Original Message- > From: Tejas Bavishi [mailto:[EMAIL PROTECTED]] > Sent: Friday, September 20, 2002 10:31 AM > To: 'Struts Users Mailing List' > Subject: RE: L

RE: Logic tag

2002-09-20 Thread Galbreath, Mark
Try it with the property= value in single quotes. -Original Message- From: Tejas Bavishi [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20, 2002 1:31 PM To: 'Struts Users Mailing List' Subject: RE: Logic tag Hi again, Thanks for the pointer. I tried the following two var

RE: Logic tag

2002-09-20 Thread Bartley, Chris P [PCS]
port (a good IDE should highlight errors like that...my IDE of choice is IntelliJ IDEA). chris > -Original Message- > From: Tejas Bavishi [mailto:[EMAIL PROTECTED]] > Sent: Friday, September 20, 2002 12:31 PM > To: 'Struts Users Mailing List' > Subject: RE: Logic tag

RE: Logic tag

2002-09-20 Thread Tejas Bavishi
Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20, 2002 5:49 PM To: 'Struts Users Mailing List' Subject: RE: Logic tag Use instead. Mark -Original Message- From: Tejas Bavishi [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20, 2002 11:55 AM To: '[E

RE: Logic tag

2002-09-20 Thread Galbreath, Mark
Use instead. Mark -Original Message- From: Tejas Bavishi [mailto:[EMAIL PROTECTED]] Sent: Friday, September 20, 2002 11:55 AM To: '[EMAIL PROTECTED]' Subject: Logic tag Hi, I have a question on using logic tags. In the following example, mytaglib is the tag library devel

Logic tag

2002-09-20 Thread Tejas Bavishi
Hi, I have a question on using logic tags. In the following example, mytaglib is the tag library developed by me. I am printing the value returned by the following tag on the JSP page. Now, I want to check that if the value returned by mytag is "", then I want to print FREE. I tried the f

Re: multiple values to check in logic tag?

2002-04-27 Thread Adrian Brown
This probably isn't what you want to hear, but this sounds like a great time to extend the logic tags in your own application and create your own Custom tag. There are a couple of examples in the example application. Adrian --- Rick Reumann <[EMAIL PROTECTED]> wrote: > Is there a way to check m

multiple values to check in logic tag?

2002-04-27 Thread Rick Reumann
Is there a way to check multiple values on one line using such logic tags like "notEqual" or "present" ? I'm trying to convert a JSP over using struts tags and it's not going so well because I end up having all these logic tags all nested within each other. For example say I don't want to display

Re: logic tag: checking presense of key or value in a map?

2002-02-26 Thread Torgeir Veimo
Torgeir Veimo wrote: > Is there a simple way of checking wether a map contains a given key or > value? > > I tried something like > > > I guess I have to do this myself. I need a and . -- -Torgeir -- To unsubscribe, e-mail: For additional commands, e-mail

logic tag: checking presense of key or value in a map?

2002-02-25 Thread Torgeir Veimo
Is there a simple way of checking wether a map contains a given key or value? I tried something like but I'm not shure if what I'm trying to do is supported. (The "child" bean has a method Map getProperties().) -- -Torgeir -- To unsubscribe, e-mail: For addi

RE: logic tag

2002-02-22 Thread Dua, Amit
no response from any one so far -Original Message- From: Dua, Amit Sent: Friday, February 22, 2002 12:03 PM To: 'Struts Users Mailing List' Subject: logic tag Hi how can I compare two variables which are stored in my session attribute by using the logic tag. As what I k

logic tag

2002-02-22 Thread Dua, Amit
Hi how can I compare two variables which are stored in my session attribute by using the logic tag. As what I know is the or any other comparison tag compares the value with a constant. any suggestions. Thanks Amit -Original Message- From: Boyalla, Raveendra [mailto:[EMAIL

Struts logic tag lib question

2002-01-07 Thread Gupta
Hi, To check if an object is null or not in MVC2 model I followed below code, Object obj1= new Object(); if(obj1==null){ //do some }else{ //do some } How do i exactly use logic tag lib in above case.I tried with empty/notEmpty and present/notPresent tags but I got

Struts logic tag lib question

2002-01-06 Thread Gupta
> Hi, > > I am here again, > > Is there any way to compare an object is null?? if( myObject==null){ ] > using struts logic tag. > > TAI > RAYAKU -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

RE: How to use an expression in a logic tag?

2001-12-21 Thread Siggelkow, Bill
Add a property on your bean that returns the value of maxRecords + rowPosition then refer to that property in the tag. -Original Message- From: T. Wheeler [mailto:[EMAIL PROTECTED]] Sent: Friday, December 21, 2001 3:19 PM To: [EMAIL PROTECTED] Subject: How to use an expression in a logic

How to use an expression in a logic tag?

2001-12-21 Thread T. Wheeler
Hello, I am using logic tags to implement paging through a recordset (like in a search engine). In order to determine whether or not to display the "next page" button (i.e. when the user is nearing the end of the recordset) it seems I need an expression in my tag. I have a bean that contains t

Logic Tag question

2001-11-30 Thread Strichartz, Beth
Hi, Any ideas on what tag, or how to compare to attributes from my form bean? Typically I would do A little lower... But, I need to see to compare two properties. Thanks, Beth. This message contains information which may be confidential and privileged. Unless you are the

Re: HowTo: How can I acces the index of a iterator-tag within a logic-tag ?

2001-10-27 Thread John Yu
Use indexId, At 12:46 pm 26-10-2001 +0200, you wrote: >Hi, > >How can I acces the index of a iterator-tag within a logic-tag ? > > > Index over 0 > > > >THANKS ! -- John Yu Sc

HowTo: How can I acces the index of a iterator-tag within a logic-tag ?

2001-10-26 Thread storck
Hi, How can I acces the index of a iterator-tag within a logic-tag ? THANKS !

RE: logic tag and empty string value ("") problem

2001-09-04 Thread Matt Raible
> -Original Message- > From: Matt Raible [mailto:[EMAIL PROTECTED]] > Sent: September 4, 2001 10:53 AM > To: [EMAIL PROTECTED] > Subject: Re: logic tag and empty string value ("") problem > > > The workaround is to use a scriplet: > > "> >

RE: logic tag and empty string value ("") problem

2001-09-04 Thread "Paradis, André"
Thanks matt, Is it fixed in SP3 ? -Original Message- From: Matt Raible [mailto:[EMAIL PROTECTED]] Sent: September 4, 2001 10:53 AM To: [EMAIL PROTECTED] Subject: Re: logic tag and empty string value ("") problem The workaround is to use a scriplet: "> kinda si

Re: logic tag and empty string value ("") problem

2001-09-04 Thread Matt Raible
The workaround is to use a scriplet: "> kinda silly - but it works! --- "Paradis,_André" <[EMAIL PROTECTED]> wrote: > Hi, > > the following declaration does not compile on iPlanet 6.0 SP2: > > > ... > > > here's a snippet of the generated java file: > > ((org.apache.struts.taglib.l

logic tag and empty string value ("") problem

2001-09-04 Thread "Paradis, André"
Hi, the following declaration does not compile on iPlanet 6.0 SP2: ... here's a snippet of the generated java file: ((org.apache.struts.taglib.logic.EqualTag)_JSP__0).setName("sqc_submenu_ currentitem"); ((org.apache.struts.taglib.logic.EqualTag)_JSP__0).setValue("" >

Re: Use of error in logic tag.

2001-07-06 Thread suhas
u have to tweak the code a little bit , Here is how do Something ... Thnx Suhas - Original Message - From: Vaibhav Patil <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 06, 2001 11:52 AM Subject: Use of error in logic tag. > Hello, > I can s

Use of error in logic tag.

2001-07-06 Thread Vaibhav Patil
Hello, I can see the errors if I say But I want to use 'errors' bean in logic tag. I want to perform some operation on presence of error. How can I achieve this?? e.g. do something. The above lines of code does not work. Is there any ot

RE: Logic Tag Library and (Iterator) List Navigation

2001-06-11 Thread Shamdasani Nimmi-ANS004
Hi Oleg, Could you please send me the class and JSP too. Thanks. -Nimmi -Original Message- From: Oleg V Alexeev [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 07, 2001 3:07 PM To: Matt Raible Subject: Re: Logic Tag Library and (Iterator) List Navigation Hello Matt, I can send you

Re[2]: Logic Tag Library and (Iterator) List Navigation

2001-06-07 Thread Oleg V Alexeev
Hello Matt, Pager - this one PagerIterator - iterator to review Pager without cach PagerEntry - link to page representation JDBCPagerFactory - sample of Pager utilization pager.jsp - displaying of pager data and current page Friday, June 08, 2001, 12:17:19 AM, you wrote: MR> Please send it - an

Re: Logic Tag Library and (Iterator) List Navigation

2001-06-07 Thread Matt Raible
Please send it - and an example if you have one. Thanks, Matt - Original Message - From: "Oleg V Alexeev" <[EMAIL PROTECTED]> To: "Matt Raible" <[EMAIL PROTECTED]> Sent: Thursday, June 07, 2001 2:07 PM Subject: Re: Logic Tag Library and (Iterator) List

Re: Logic Tag Library and (Iterator) List Navigation

2001-06-07 Thread Oleg V Alexeev
Hello Matt, I can send you Pager class, used to generate ArrayList of links to the pages in this result set, and a piece of jsp code to display it. I think it can used for any container wich implements Collection interface. Thursday, June 07, 2001, 5:57:12 PM, you wrote: MR> Has anyone used to

Logic Tag Library and (Iterator) List Navigation

2001-06-07 Thread Matt Raible
Has anyone used to display a list of records, and corresponding list navigation links at the bottom? For instance, I have an Iteration of DataObjects that I can list through with the following code: while (iteratorName.hasNext()) { dataObject = (DataObject)iteratorName.next(); out.print

Struts iterate logic tag question

2001-03-22 Thread Sundar @eSaravana
> Hello, > > It's a long mail, after a long day. > > Following is the scenario I am trying to get it done. > > My current processing: > > I have a BuddyListForm bean that has three instance variables > name,alias and phoneno. > > code on my JSP page to iterate over the collection: > scope="sessi

Struts iterate logic tag question

2001-03-22 Thread Sundar @eSaravana
Hello, It's a long mail, after a long day. Following is the scenario I am trying to get it done. My current processing: I have a BuddyListForm bean that has three instance variables name,alias and phoneno. code on my JSP page to iterate over the collection: