Re: Accessing ActionMessages from Tag Library

2007-12-26 Thread Chris Pratt
I may have to do something like that, but there's obviously a prettier way to do it, since the standard taglib makes it happen. I'm hoping someone here knows how that's done. Thanks for your help. (*Chris*) On Dec 26, 2007 12:05 AM, Pablo Vázquez Blázquez <[EMAIL PROTECTED]> wrote: > Hi Chris,

Re: Accessing ActionMessages from Tag Library

2007-12-26 Thread Pablo Vázquez Blázquez
Hi Chris, I had the same problem as you and I couldn´t find a good solution. My workaround was sending to the Tag the things I need, for example, the errors. At the JSP, my tag looks like this: So I suppose you can send to your Tag Library (through the JSP) the ActionErrors, ActionMessages

Re: Accessing ActionMessages from Tag Library

2007-12-24 Thread Chris Pratt
Yes, I've looked deeply into the implementation of so that I can try to duplicate it in a tag more closely resembling , but I can't, for the life of me, follow the flow through all the tunnels, passageways, libraries, and wormholes to figure out how it's getting hold of the ActionMessage's, Action

Re: Accessing ActionMessages from Tag Library

2007-12-24 Thread Yoge
Try . More info in http://www.roseindia.net/struts/struts2/struts2uitags/actionerror-and-actionmessage-tag.shtml -- Yoge, AdventNet, Inc. site24x7.com On Dec 23, 2007 2:09 PM, Chris Pratt <[EMAIL PROTECTED]> wrote: > OK, I'm losing my mind trying to figure this out, so I figured I'd > just as

Accessing ActionMessages from Tag Library

2007-12-23 Thread Chris Pratt
OK, I'm losing my mind trying to figure this out, so I figured I'd just ask the people who already know. I'm trying to write a tag library, one of the tags I'm attempting to write is similar to the old tag from Struts 1. But, I can't seem to figure out how to get hold of the messages. I tried t