RE: Please reply to the mailing list, not to the person

2005-06-08 Thread Abdullah Jibaly
I'm pretty sure it's Mrs/Ms Smoak since Wendy is usually a female name (please correct me if I'm wrong Wendy) :) -Abdullah -Original Message- From: Leandro_Dorileo/[EMAIL PROTECTED] [mailto:Leandro_Dorileo/[EMAIL PROTECTED] Sent: Wednesday, June 08, 2005 12:57 PM To: user@struts.apache.o

RE: Themes

2005-06-14 Thread Abdullah Jibaly
While Tiles is better for page composition I think you'll find SiteMesh better suited for overall site layout, especially for things like custom CSS/JavaScript/... based on request or session level parameters. -- Abdullah -Original Message- From: Wiebe de Jong [mailto:[EMAIL PROTECTED]

RE: [To sum it up] Re: Confused / one little question

2005-06-15 Thread Abdullah Jibaly
Spring takes care of all this (http://springframework.org) without the overhead of an ejb container. Acegi is one aspect closely tied to spring that takes care of security declaratively. Regards, Abdullah -Original Message- From: Marco Mistroni [mailto:[EMAIL PROTECTED] Sent: Wednesday

RE: Storing data in session scope

2005-06-21 Thread Abdullah Jibaly
in web.xml: com.acme.web.listener.StartupListener StartupListener.java: public class StartupListener implements ServletContextListener { public void contextInitialized(ServletContextEvent event) { context.setAttribute("tax", "1.23"); } } in your jsp: ${applicationS

RE: Storing data in session scope

2005-06-21 Thread Abdullah Jibaly
It should be getServletContext().setAttribute("tax", "1.23"); -Original Message- From: Abdullah Jibaly Sent: Tuesday, June 21, 2005 4:00 PM To: 'Struts Users Mailing List'; 'Rafael Taboada' Subject: RE: Storing data in session scope in web.xml:

RE: Storing data in session scope

2005-06-21 Thread Abdullah Jibaly
ok, maybe I'll get it right today: event.getServletContext().setAttribute("tax", "1.23"); -Original Message----- From: Abdullah Jibaly Sent: Tuesday, June 21, 2005 4:05 PM To: Struts Users Mailing List Subject: RE: Storing data in session scope It sh

RE: trouble passing multiple parameters using

2005-06-22 Thread Abdullah Jibaly
Try it step by step. Before passing a map, pass the values hardcoded: Click Here And make sure that works. If it does, put storeNo and storeName into the storeInfo bean (you dont have to use scriptlets): And test again (I probably have an error somewhere so make sure to check the syntax).

RE: Navigation Problem

2005-06-22 Thread Abdullah Jibaly
I have not used it yet, but you may want to take a look at spring web flow, it is designed for these 'wizard' scenarios, and supposedly integrates well with struts. If you want to use Struts components only, one suggestion: 1 big action 1 big action form Several jsps The jsp form always posts

RE: Re: String as Parameterwith html:link

2005-06-27 Thread Abdullah Jibaly
Actually, that's what I have been doing with no problems. Have you tried it? lang should work just fine in 1.2.4+ Regards, Abdullah -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of Laurie Harper Sent: Monday, June 27, 2005 5:29 PM To: user@struts.apache.org Subject: Re:

RE: [OT] web templates, struts templates?

2005-06-28 Thread Abdullah Jibaly
Look at AppFuse, it's exactly what you are looking for: http://appfuse.dev.java.net -Original Message- From: Aleksandar Matijaca [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 28, 2005 9:55 AM To: user@struts.apache.org Subject: [OT] web templates, struts templates? I spent some time loo

RE: tag usage?

2005-06-28 Thread Abdullah Jibaly
Using Servlet/JSP 2.4/2.0 and JSTL something like this should work: ${row.value} -Original Message- From: Thai Dang Vu [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 28, 2005 1:08 PM To: user@struts.apache.org Subject: tag usage? Hello everybody, T

RE: tag usage?

2005-06-28 Thread Abdullah Jibaly
quick correction: items="${myUtilBean.c}" -Original Message----- From: Abdullah Jibaly Sent: Tuesday, June 28, 2005 1:25 PM To: Struts Users Mailing List Subject: RE: tag usage? Using Servlet/JSP 2.4/2.0 and JSTL something like this should work: $

RE: tag usage?

2005-06-28 Thread Abdullah Jibaly
ruts Users Mailing List Subject: Re: tag usage? Abdullah Jibaly wrote: > Using Servlet/JSP 2.4/2.0 and JSTL something like this should work: > > > > ${row.value} > > But... he asked about (plural, not .) The whole point is that if you have a Collection, you

RE: [slightly OT] alternatives to Tiles?

2005-06-30 Thread Abdullah Jibaly
Take a look at SiteMesh. It's much better than Tiles for page decoration (not composition), which looks like exactly what you need. You just define one (or more) decorators (layout pages) and SiteMesh will automatically format your pages using that layout page. Regards, Abdullah -Original

RE: Two Forms, Two Form Beans, One JSP

2005-07-07 Thread Abdullah Jibaly
To simplify your code, I would have one ActionForm, and one processing action. Depending on which submit button or whatever is pressed I'd redirect to the correct page. By the way you can only have one struts action form per action and per jsp page. Regards, Abdullah -Original Message-

RE: Two Forms, Two Form Beans, One JSP

2005-07-07 Thread Abdullah Jibaly
? Michael Taylor TXE Systems, Inc. [EMAIL PROTECTED] Abdullah Jibaly wrote: >To simplify your code, I would have one ActionForm, and one processing action. >Depending on which submit button or whatever is pressed I'd redirect to th

RE: Paging in DisplayTag

2005-07-08 Thread Abdullah Jibaly
Nope, you shouldnt have to. Setting requestURI="" works just fine for me. Are you using el: ${storeForm.myList} ? -Original Message- From: Phani [mailto:[EMAIL PROTECTED] Sent: Thursday, July 07, 2005 5:20 PM To: Struts Users Mailing List; Michael Jouravlev Subject: Paging in DisplayTag

RE: access entries in MessageResources.properties from java code

2005-07-08 Thread Abdullah Jibaly
MessageResources mr = getResources(request); String messageValue = mr.getMessage(messageKey); -Abdullah -Original Message- From: Tony Smith [mailto:[EMAIL PROTECTED] Sent: Friday, July 08, 2005 12:05 AM To: Struts Users Mailing List Subject: access entries in MessageResources.properties f

RE: Using the form bean

2005-07-08 Thread Abdullah Jibaly
Don't know if this is the reason but you probably want focus="${focus}" Try using c:if instead of logic:equal, but the cleanest way if you are using jsp 2.0: focus="${form.edit ? 'password' : 'userName'}" Regards, Abdullah -Original Message- From: Kent Boogaart [mailto:[EMAIL PROTECTED

RE: read init parameters in action

2005-07-08 Thread Abdullah Jibaly
Why not put it them in your properties file? -Original Message- From: Tony Smith [mailto:[EMAIL PROTECTED] Sent: Friday, July 08, 2005 10:30 AM To: Struts Users Mailing List Subject: read init parameters in action For traditional servlets, you can set init parameters in the web.xml and r

RE: Paging in DisplayTag

2005-07-08 Thread Abdullah Jibaly
t displays fine without pagesize attribute..all the results in a single page.. But with pagsize attribute, it gives me null pointer exception when I hit next.. Thanks, Phani. --- Abdullah Jibaly <[EMAIL PROTECTED]> wrote: > Nope, you shouldnt have to. Setting requestURI="" >

RE: Paging in DisplayTag

2005-07-08 Thread Abdullah Jibaly
aging in DisplayTag See my code.. I have requestURI set to my Action class.. --- Abdullah Jibaly <[EMAIL PROTECTED]> wrote: > What happens when you set requestURI="" ? > > > -Original Message- > From: Phani [mailto:[EMAIL PROTECTED] > Sent: Friday, Ju

RE: Paging in DisplayTag

2005-07-11 Thread Abdullah Jibaly
" . How come ?? Also is there anyway I can customize the header.. The following thing is on a single line.. I want the links to appear on a seperate line.. 58 items found, displaying 51 to 58.[First/Prev] 1, 2, 3, 4, 5, 6 [Next/Last] Thanks. --- Abdullah Jibaly <[EMAIL PROTECTED]> wrote

Redirecting to input when validation fails

2005-07-11 Thread Abdullah Jibaly
Hi all, I have two action: Display.do and Process.do. Display.do forwards to a jsp page. Upon submit, Process.do is invoked. The action mapping for Process.do specifies Display.do as the input, however, when form validation for Process.do fails (validate is set to true), the url still shows Pr

RE: Displaying data from a form bean

2005-07-11 Thread Abdullah Jibaly
There is no such tag, however, in your action do: request.setAttribute("myformbean", form) and your jsp below will work... Abdullah -Original Message- From: Schaub, Stephen [mailto:[EMAIL PROTECTED] Sent: Monday, July 11, 2005 3:08 PM To: Struts Users Mailing List (E-mail) Subject: Disp

RE: Redirecting to input when validation fails

2005-07-11 Thread Abdullah Jibaly
TED] Sent: Monday, July 11, 2005 3:11 PM To: Struts Users Mailing List Subject: Re: Redirecting to input when validation fails On 7/11/05, Abdullah Jibaly <[EMAIL PROTECTED]> wrote: > Hi all, > > I have two action: Display.do and Process.do. > > Display.do forwards to a jsp

[shale] questions

2005-07-26 Thread Abdullah Jibaly
Hi all, I want to start learning about Shale and have a couple questions to start out with: 1- What is the difference between Shale and MyFaces? 2- Is there any shale-minimal application available? Thanks! Abdullah - To unsub

RE: [shale] questions

2005-07-27 Thread Abdullah Jibaly
Thanks! -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 26, 2005 7:07 PM To: Struts Users Mailing List Subject: Re: [shale] questions From: "Abdullah Jibaly" <[EMAIL PROTECTED]> > I want to start learning about Shale and have a

Struts Ti [was RE: Tech-Stack Choices]

2005-09-01 Thread Abdullah Jibaly
This seems to be more of an inside joke than anything else. Where can we find anything on Struts Ti, I'm really interested in learning something worthwhile about it besides what's on https://www.twdata.org/projects/struts-ti, which doesn't seem to have been updated for a couple months. Thanks!

Best way to cancel

2005-03-17 Thread Abdullah Jibaly
Hi all, Is there a way to press cancel on a display page and not have Struts populate the ActionForm with the values that were entered? If not what are some common workarounds to this? I basically want to be able to retrieve the old values in that case. Thanks, Abdullah --

RE: Best way to cancel

2005-03-18 Thread Abdullah Jibaly
ing to revert was is on the server to something entered long ago? Regards, David -Original Message- From: Abdullah Jibaly [mailto:[EMAIL PROTECTED] Sent: Thursday, March 17, 2005 5:56 PM To: Struts Users Mailing List Subject: Best way to cancel Hi all, Is there a way to press cancel on a

RE: Tomcat 5.5.7 + Connection Pool

2005-03-18 Thread Abdullah Jibaly
Alex, Try using only the Resource element like this: Regards, Abdullah -Original Message- From: Alex Rodrigues da Silva [mailto:[EMAIL PROTECTED] Sent: Friday, March 18, 2005 6:58 AM To: user@struts.apache.org Subject: Tomcat 5.5.7 + Connection Pool Hi, i'm trying to use a datasource

Two cancel buttons in one form

2005-03-22 Thread Abdullah Jibaly
Hi all, I want to have two cancel buttons in a form, however I run into the problem of not being able to distinguish which one is being pressed (one cancels the whole operation and the other returns to the first screen). The reason is that they both use the Globals.CANCEL_KEY parameter. What is

RE: Two cancel buttons in one form

2005-03-22 Thread Abdullah Jibaly
I ended up putting this in my base action class. Is there a better alternative? public String getCancelledValue(HttpServletRequest request) { return (String) request.getAttribute(org.apache.struts.Globals.CANCEL_KEY); } -Original Message- From: Abdullah Jibaly Sent: Tuesday

RE: Two cancel buttons in one form

2005-03-22 Thread Abdullah Jibaly
ginal Message- From: Brandon Mercer [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 22, 2005 10:02 AM To: Struts Users Mailing List Subject: Re: Two cancel buttons in one form Abdullah Jibaly wrote: >Hi all, > >I want to have two cancel buttons in a form, however I run into the problem

RE: The F5 problem - Best Practice (ActionHierarchy)

2005-03-22 Thread Abdullah Jibaly
I think doing the post-redirect-get (the second option you mentioned) is the best way to solve your problem, according to what most people recommend. Abdullah -Original Message- From: Leon Rosenberg [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 22, 2005 3:32 PM To: 'Struts Users Mailing

Pressing enter in a form

2005-03-30 Thread Abdullah Jibaly
Hi all, I have a form with an followed by an . How can I get the submit to be activated when enter is pressed inside a text box on that form? It is activating cancel right now. Thanks, Abdullah - To unsubscribe, e-mail: [EMAI

RE: forEach> for an object that extends ArrayList in Application **and** Session

2005-04-13 Thread Abdullah Jibaly
try: -Abdullah -Original Message- From: David Johnson [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 13, 2005 2:46 PM To: Struts Users Mailing List Subject: Re: forEach> for an object that extends ArrayList in Application **and** Session Oh, and to answer the other questio

RE: JSTL simply love it however ...

2005-04-14 Thread Abdullah Jibaly
I think ${status.index} in place of s_SOMETHING_HERE would work fine. Otherwise, try setting onChange="${addTableRow}" with addTableRow prior defined as: addTableRow('historyTable','') -Abdullah -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, April 1

html-el vs html

2005-04-15 Thread Abdullah Jibaly
Hi all, What is the difference between the html-el and html tags, and which ones comes with Struts? I was looking at the TLD with 1.2.4 and only saw the html tld. How do I get the html-el version? Thanks, Abdullah - To unsubs

html:link and html:cancel

2005-04-18 Thread Abdullah Jibaly
Hi all, Is there a way to use html:link in a way that it acts like html:cancel, in other words automatically skip validation? This seems to work but I wonder if there is a better way? Cancel Thanks, Abdullah - T

RE: logic:iterate, with offset and length parameters, lose data

2005-04-20 Thread Abdullah Jibaly
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

RE: logic:iterate, with offset and length parameters, lose data

2005-04-20 Thread Abdullah Jibaly
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

RE: logic:iterate, with offset and length parameters, lose data

2005-04-20 Thread Abdullah Jibaly
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

RE: Pagination

2005-04-21 Thread Abdullah Jibaly
take a look at Displaytag: http://displaytag.sourceforge.net/ -Original Message- From: Rafael Taboada [mailto:[EMAIL PROTECTED] Sent: Thursday, April 21, 2005 8:11 AM To: Struts List Subject: Pagination Hi folks, i'm again :) with my list of customers. I could do my CRUD approach. So t

RE: Pagination

2005-04-22 Thread Abdullah Jibaly
for Displaytag, yes you will... -Original Message- From: Rafael Taboada [mailto:[EMAIL PROTECTED] Sent: Thursday, April 21, 2005 5:03 PM Cc: Struts Users Mailing List Subject: Re: Pagination Hi folks. Thanks for ur help. Those projects are so cool... But i have built all my jsp and used

RE: question about jstl tag c:if

2005-04-26 Thread Abdullah Jibaly
I'm not familiar with DynaValidatorForm but what does this give you: -Original Message- From: Ashish Kulkarni [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 26, 2005 10:15 AM To: user@struts.apache.org Subject: question about jstl tag c:if Hi I have a struts tag like below I tried

RE: [OT] html:text field is getting truncated

2005-04-26 Thread Abdullah Jibaly
so you're saying that: and are rendered the same size on your browsers? -Original Message- From: Andy Dailey [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 26, 2005 10:33 AM To: user@struts.apache.org Subject: [OT] html:text field is getting truncated This looks to be an html iss

Multiple uploads / attachements

2005-05-03 Thread Abdullah Jibaly
Hi all, Does anyone have an example/pointers of uploading multiple files at one time? Thanks, Abdullah - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Getting name of form bean?

2005-05-16 Thread Abdullah Jibaly
John, There is no automatic way AFAIK. What I've done is in the action that passes the request to the form I set: request.setAttribute("formName", mapping.getName()); then, in the JSP I can do: -Abdullah -Original Message- From: John Moore [mailto:[EMAIL PROTECTED] Sent: Monday, May

RE:

2005-05-16 Thread Abdullah Jibaly
Marco: Try using jstl's fmt:message instead: -Abdullah -Original Message- From: Marco Mistroni [mailto:[EMAIL PROTECTED] Sent: Monday, May 16, 2005 9:17 AM To: 'Struts Users Mailing List' Subject: '); However, it looks like args0 & args2 are not retrieve

actionform session attribute name

2004-12-15 Thread Abdullah Jibaly
Hi, How can I get the actionform name from the session? Thanks, Abdullah - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: actionform session attribute name

2004-12-15 Thread Abdullah Jibaly
From: Abdullah Jibaly Sent: Wednesday, December 15, 2004 3:25 PM To: Struts Users Mailing List Subject: actionform session attribute name Hi, How can I get the actionform name from the session? Thanks, Abdullah - To unsubscri

RE: actionform session attribute name

2004-12-17 Thread Abdullah Jibaly
iggelkow [mailto:[EMAIL PROTECTED] Sent: Thursday, December 16, 2004 7:53 AM To: [EMAIL PROTECTED] Subject: Re: actionform session attribute name Try this: Abdullah Jibaly wrote: > Thanks, the forEach works great. The problem with using a hardcoded form name > is that I have an abstract

RE: actionform session attribute name

2004-12-15 Thread Abdullah Jibaly
values in the request use something like this (works equally well sessionScope and applicationScope): -Bill Siggelkow Abdullah Jibaly wrote: > Hi again, > > I

RE: Unable to see out put

2005-01-12 Thread Abdullah Jibaly
Actually I think it's ${current.count} -Original Message- From: Kishore Senji [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 12, 2005 12:37 PM To: Struts Users Mailing List Subject: Re: Unable to see out put On Wed, 12 Jan 2005 13:52:32 +0530, Vamsee Kanakala <[EMAIL PROTECTED]> wro

RE: Unable to see out put

2005-01-13 Thread Abdullah Jibaly
: And this worked fine, gave me: 1 2 3 4 5 in red. Jack On Wed, 12 Jan 2005 12:52:59 -0600, Abdullah Jibaly <[EMAIL PROTECTED]> wrote: > Actually I think it's ${current.count} > > -Original Message- > From: Kisho

RE: Flow Control, Is there a good way?

2005-01-26 Thread Abdullah Jibaly
You may want to look at Apache Beehive, which has Pageflows and sits on top of Struts. I haven't used it yet but it looks promising... -Abdullah -Original Message- From: Jim Barrows [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 26, 2005 9:45 AM To: Struts Users Mailing List; [EMAI

mapping values in jsp

2005-02-02 Thread Abdullah Jibaly
Hi all, Has anyone come across a good way to solve this issue using jstl? I want a clean way to map values and being able to define it within the jsp page. for example, if a bean property has a value of true, I want to get the output as 'Yes'. -> outputs true or false I know you can use a ma

RE: [ANN] Free JSP Editor for Eclipse

2005-02-02 Thread Abdullah Jibaly
Thanks for the warning, I'll make sure to backup Eclipse if/when I try this plugin... -Abdullah -Original Message- From: Cedric Levieux [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 02, 2005 4:40 PM To: Struts Users Mailing List Subject: Re: [ANN] Free JSP Editor for Eclipse Two

RE: [ANNOUNCE] Planet Struts Launches

2006-03-01 Thread Abdullah Jibaly
Cool, nice site. -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 01, 2006 7:16 AM To: Struts Users Mailing List Subject: [ANNOUNCE] Planet Struts Launches What is Planet Struts? Planet Struts is your source for news and announcements about Apache Str

Quartz and struts

2006-03-24 Thread Abdullah Jibaly
Hi all, Is there a good resource explaining how to use the Quartz scheduler with Struts? Any links/advice would be appreciated. Thanks, Abdullah - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAI

RE: Quartz and struts

2006-03-24 Thread Abdullah Jibaly
truts * http://www.onjava.com/pub/a/onjava/2006/03/01/job-scheduling-in-web-application.html On 3/24/06, Abdullah Jibaly <[EMAIL PROTECTED]> wrote: > Hi all, > > Is there a good resource explaining how to use the Quartz scheduler with > Struts? Any links/advice would be ap

RE: Get a list of defined Struts actions at runtime

2006-03-24 Thread Abdullah Jibaly
Take a look at http://mojodna.net/sprout/, it may be similar to what you need. -Original Message- From: Brantley Hobbs [mailto:[EMAIL PROTECTED] Sent: Friday, March 24, 2006 10:35 AM To: Struts Users Mailing List Subject: RE: Get a list of defined Struts actions at runtime > > At runtime

RE: How to get the original URI from taglib?

2005-10-31 Thread Abdullah Jibaly
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