RE: Putting custom tag inside a custome tag
Note that this only works in a JSP 2.0 container, with the EL enabled. If you're using Tomcat 4, or you haven't enabled the Servlet 2.4 version of web.xml, or other hand-waving, then this won't work. However, this is the best way to do it, if you can get it. > -Original Message- > From: Helios Alonso [mailto:[EMAIL PROTECTED] > > Try > > > The ${state} is the var you want to "write" with bean:write. > > At 11:48 27/09/2004 +0530, you wrote: > >It is a parameter to be passed. > > > >rgds > >Anto Paul > > > > > >On Sun, 26 Sep 2004 22:27:22 -0700, Martin Cooper > <[EMAIL PROTECTED]> > >wrote: > > > On Mon, 27 Sep 2004 10:22:16 +0530, Anto Paul > <[EMAIL PROTECTED]> > > > wrote: > > > > Hi all, > > > > Is it possible to put a custom tag inside another custom tag. > > > > > > No, it's not. It is not legal JSP syntax, and is also not > legal XML > > > syntax. You'll need to use something like: > > > > > > > > > > > > > > > > > > -- > > > Martin Cooper > > > > > > > > > > Both > > > > tags rtexprvalue is true. I tried > > > > > > > > > > > > But it prints as . > > > > > > > > Thanks in advance. > > > > Anto Paul > > > > > > > > -- > > > > To strive,to seek,to find and not to yield > > > > > > > > > -- > > > > --- > > > > To unsubscribe, e-mail: > [EMAIL PROTECTED] > > > > For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > >-- > >To strive,to seek,to find and not to yield > > > >- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
POP3 tag?
Hi, I may have missed it, but I've search Google for ages - is there are good taglib for reading POP3 accounts? I'm very surprised thare aren't tons of them, and that there isn't a Jakarta Taglib one. The only one I could find was the ColdTags one, which I didn't like much (it doesn't seem very polished). I might try writing one, but if there is one out there...that's what it's for. TIA Digby - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: POP3 tag?
On Tue, 28 Sep 2004 19:03:00 +0100, Digby <[EMAIL PROTECTED]> wrote: > Hi, > > I may have missed it, but I've search Google for ages - is there are > good taglib for reading POP3 accounts? > > I'm very surprised thare aren't tons of them, and that there isn't a > Jakarta Taglib one. The only one I could find was the ColdTags one, > which I didn't like much (it doesn't seem very polished). I'm not at all surprised that there isn't one, since, IMHO, this is not something that you should be doing from within a JSP page in the first place. You'd be much better off putting this kind of code in a servlet than in a JSP. -- Martin Cooper > > I might try writing one, but if there is one out there...that's what > it's for. > > TIA > > Digby > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: POP3 tag?
> I'm not at all surprised that there isn't one, since, IMHO, this is > not something that you should be doing from within a JSP page in the > first place. You'd be much better off putting this kind of code in a > servlet than in a JSP. IMHO, you'd be even better off putting this kind of code into domain objects and helper classes than directly in servlets. -Andrew - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: POP3 tag?
True, but you could say that about a lot of tags (sql, xml, mailer) and just passing back a simple list of messages on a POP3 account is something that you might want to let a Web designer do with a taglib if it is to be straightforward. Digby Andrew Petro wrote: I'm not at all surprised that there isn't one, since, IMHO, this is not something that you should be doing from within a JSP page in the first place. You'd be much better off putting this kind of code in a servlet than in a JSP. IMHO, you'd be even better off putting this kind of code into domain objects and helper classes than directly in servlets. -Andrew - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: POP3 tag?
Good point. Anyway, I suscribe that sql & mailer wouldn't be in custom tags (or only for small and not scalable apps). A web-designer wouldn't be allowed to send or receive email. If he/she does it, he/she is a web-app-designer (an architect). Real web designers only have to decide about how to show data (at most decide about navigation). At 20:37 28/09/2004 +0100, you wrote: True, but you could say that about a lot of tags (sql, xml, mailer) and just passing back a simple list of messages on a POP3 account is something that you might want to let a Web designer do with a taglib if it is to be straightforward. Digby Andrew Petro wrote: I'm not at all surprised that there isn't one, since, IMHO, this is not something that you should be doing from within a JSP page in the first place. You'd be much better off putting this kind of code in a servlet than in a JSP. IMHO, you'd be even better off putting this kind of code into domain objects and helper classes than directly in servlets. -Andrew - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: POP3 tag?
Helios, I think it's not up to a taglib to judge how it should be used. As you mentioned, sql and xml are useful for small apps, and so would be a POP3 taglib. For instance, you could write a simple page that queries the POP3 server and shows a summary of your messages, without downloading them. -- Felipe On Tue, 2004-09-28 at 17:02, Helios Alonso wrote: > Anyway, I suscribe that sql & mailer wouldn't be in custom tags (or only > for small and not scalable apps). > > A web-designer wouldn't be allowed to send or receive email. If he/she > does it, he/she is a web-app-designer (an architect). Real web designers > only have to decide about how to show data (at most decide about navigation). - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]