Re: hi

2001-06-15 Thread Peter Alfors
Check out http://www.taglib.com This is the book that I used to learn about taglibs. I think it is pretty good. HTH, Pete Vikramjit Singh wrote: > thanks Lou for your help. > but i could not find any jsp books in which Tag Libraries are given in > detail. > if u could suggest them then it

Re: new to taglibs

2001-06-04 Thread Peter Alfors
Are you able to get to pages in your app without taglibs? If so, Did you set up the tag libraries in the web.xml file? myTags /WEB-INF/tlds/myTags.tld Do you reference the taglib at the top of the page? <%@ taglib uri="myTags" prefix="mytags" %> Pete

Re: simple tag to check incoming request parameters?

2001-05-25 Thread Peter Alfors
The Struts project has a tag called "IfParameterEqualsTag" that does this. Not sure if that helps you though. Pete "Procek, Brett" wrote: > Does anyone know of a simple tag that checks if an request parameter is > equal to a string? > > For example, I cannot find the following kind of tag: > >

Re: How to assign contents of a tag to a Java-variable?

2001-05-24 Thread Peter Alfors
Subbarayan Ramanathan wrote: > There are a variety of books available and personal preference plays a > great part in the books one likes. Regarding the original question of > assigning the contents of a tag to a java variable, I think there is no > elegant way of doing it. I asked this questi

Re: How to assign contents of a tag to a Java-variable?

2001-05-21 Thread Peter Alfors
"Web Development with JavaServer Pages" shown at http://www.taglib.com/ is a pretty good book. The site also has some links to other taglib sites. HTH, Pete "Procek, Brett" wrote: > If I'm understanding you correctly, then what you have to use a > 'cooperating tag' which can create a new v

[Fwd: Re: exposing script variables]

2001-05-21 Thread Peter Alfors
Thomas, I think that this might help. Pete Original Message Subject: Re: exposing script variables Date: Wed, 25 Apr 2001 09:20:02 -0500 From: Peter Alfors <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] Organization: HK Systems, Inc To: [EMAIL PROTECTED] Refe

Re: quick question

2001-05-14 Thread Peter Alfors
,user); > > Would this work? > user > > Thanks! > Brett > > -Original Message- > From: Peter Alfors [mailto:[EMAIL PROTECTED]] > Sent: Monday, May 14, 2001 8:49 AM > To: [EMAIL PROTECTED] > Subject: Re: quick question > > you can use the jsp:useBean ta

Re: quick question

2001-05-14 Thread Peter Alfors
you can use the jsp:useBean tag. "Procek, Brett" wrote: > Does anyone know if it's possible to use taglibs for getting a not > string object value back > from a session? > > For example, how could I use taglibs to convert the following: > > <% User user = (User)session.getValue("user"); %> >

Re: Any experienced struts users out there?

2001-05-03 Thread Peter Alfors
We have been using struts for about a year now, and it is a wonderful framework. I guess that it depends on the type of site you are creating. If you are producing a static site, then I would say that it is overkill. However, what struts does give you is the ability to drive your user through yo

Re: tags help

2001-04-30 Thread Peter Alfors
te Barbara Johnson wrote: > Thanks for your help.This is the taglib part of my .xml file. > BArb > > > http://jakarta.apache.org/taglibs/input-0.90 > /WEB-INF/input.tld > > > -Original Message- > From: Peter Alfors [mailto:[EMAIL PROTECT

Re: tags help

2001-04-30 Thread Peter Alfors
This sounds like a good application for the struts framework. It is easy to install, and there are over 1000 helpful people currently on the user-list. Download the example and take a look. The Ant software is used for building/compiling jars/wars, etc. You shouldn't need it to run your app. Wh

Re: Input-taglib question

2001-04-30 Thread Peter Alfors
My understanding is that a redirect creates a new request. Whereas, the forward uses the same request. So that would be why you were losing data. HTH, Pete Sam Newman wrote: > It ok, fixed it. I needed to use a RequestDispatcher to forward, rather than > redirecting the user, e.g.: > > Re

Re: Tags nested in Attribute Values

2001-04-26 Thread Peter Alfors
It is an admirable goal, but not necessarily an easy one to achieve. The problem lies (as you pointed out) in the fact that custom tags cannot be embedded into another one as an attribute. I think that what you will notice as you move onward is that there are times when you will want to have a dy

Re: Problem generating href

2001-04-26 Thread Peter Alfors
Just a thought. Is the compiler getting messed up with all of the double quotes? does this work? Using single quotes for the href attribute? HTH, Pete [EMAIL PROTECTED] wrote: > I'm trying to create an online directory for a club I'm > in. I want to include a mailto link w

Re: exposing script variables

2001-04-25 Thread Peter Alfors
Pierre, Morgan: Thank you VERY much! That is exactly what I needed. Pete Morgan Delagrange wrote: > (Pierre sent a related response as I was typing this, but I think it's > still helpful.) > > Ah, OK, I think I see what you're asking for now. Often when people > talk about scripting variabl

Re: exposing script variables

2001-04-24 Thread Peter Alfors
Oops.. I miss-typed. Here is what I am currently doing: <% String organizationId = (String) organizationsBean.getColumn("ORGANIZATIONID"); %> The define tag retrieves the specified object from my own session management utility. The session scope in the define tag is different from the httpses

Re: exposing script variables

2001-04-24 Thread Peter Alfors
how this is done?? my temporary solution (which is not real pretty) is for my DefineTag to place the object into the request, then use a jsp:useBean tag to retrieve it from the request. thanks, Pete Morgan Delagrange wrote: > On Tue, 24 Apr 2001, Peter Alfors wrote: > > &g

exposing script variables

2001-04-24 Thread Peter Alfors
Hello all, This is probably a simple question (hopefully) for you all. I am writing a tag that is similar to jsp:useBean. This new tag needs to be able to make an object available as a scripting variable. example: <% String organizationId = (String) organizationsBea