I have a similar use case which I think would be very common:
It's the "forgot password" case.
When a user has forgotten there password and wants it reset
we send them an email with a URL link to the reset action that includes
the security parameters.
We have to construct (i.e. hack together) th
I totally misunderstood your last statement :)
musachy
On Wed, Jan 7, 2009 at 1:14 PM, Musachy Barroso wrote:
> It is not a sin, we are suggesting alternatives, based on the fact
> that there is not built in way of doing what you are asking.
>
> musahcy
>
> On Wed, Jan 7, 2009 at 1:05 PM, Chris
It is not a sin, we are suggesting alternatives, based on the fact
that there is not built in way of doing what you are asking.
musahcy
On Wed, Jan 7, 2009 at 1:05 PM, Chris Pratt wrote:
> In this case it has to do with the fact that we're using Tiles to ensure
> that we get a consistent look fo
In this case it has to do with the fact that we're using Tiles to ensure
that we get a consistent look for all our emails. Basically I've created a
Tiles Layout that constructs the emails using tiles to include the
text/plain and text/html versions of the content and using action properties
to con
If the MIME Emails are generated by tags, why don't you build the URL
in the jsps?
musachy
On Wed, Jan 7, 2009 at 12:45 PM, Chris Pratt wrote:
> Basically, I have some tried and true tag libraries for generating pretty,
> MIME Emails that work great with Struts. They support all manner of
> att
Basically, I have some tried and true tag libraries for generating pretty,
MIME Emails that work great with Struts. They support all manner of
attachments and have worked great for years. Occasionally I need to attach
something (in this case a PDF) that is generated by another action. So the
mai
Chris Pratt wrote:
Strange? I would have thought this was a fairly commonly needed feature
I've never needed to generate a URL from an action name within another
action across a half-dozen S2 apps--it can't be *that* common... I think
the most hackish thing I've done like that is to use an a
Strange? I would have thought this was a fairly commonly needed feature and
the code in ServletUrlRenderer has a lot of hoops to jump through to make
something seemingly simple work. Thanks for your help, I guess I'll just
have to hard code it for now.
(*Chris*)
On Wed, Jan 7, 2009 at 5:46 AM,
hum, there is no right way after all. If you end up using UrlHelper,
take a look at how it is used in ServletUrlRenderer:renderFormUrl,
different methods are used depending on whether an action mapping was
found or not.
musachy
On Wed, Jan 7, 2009 at 12:00 AM, Chris Pratt wrote:
> Is there a rig
Is there a right way to do it?
(*Chris*)
On Tue, Jan 6, 2009 at 5:24 PM, Musachy Barroso wrote:
> I wouldn't advise you to use UrlHelper, given that Struts 2 doesn't
> have an API, that class can change without warning (it does from time
> to time)
>
> musachy
>
> On Tue, Jan 6, 2009 at 7:56 P
I wouldn't advise you to use UrlHelper, given that Struts 2 doesn't
have an API, that class can change without warning (it does from time
to time)
musachy
On Tue, Jan 6, 2009 at 7:56 PM, Chris Pratt wrote:
> I'm trying to turn an action name into an URL from within another action.
> I've tried:
11 matches
Mail list logo