From: Dave Newton [mailto:davelnew...@gmail.com] Tuesday, April 19, 2011
2:18 PM
> we just discussed this topic within the last few days.

If you're referring to my previous question, that was never resolved.
It was left with:

> From: Dave Newton [mailto:davelnew...@gmail.com] 
>> Do the templates use the same models as the web layer?

> Actually, it would have been good to note that the contact information
is hard-coded.  So there is no need for a model.  
> I literally just need to include a block of html-/css-formatted text
[in both a class and a jsp].

There was no response to that and I didn't want to specifically call you
out for a response because I recognize that you're a developer, too, and
are busy with your own shtuff.

----------------

From: Eric Lentz [mailto:eric.le...@sherwin.com] Tuesday, April 19, 2011
1:55 PM
> render the Velocity template within [a facade].

Sounds like my original thought -- something like this:
<action name="getTemplate_*">
        <result
type="velocity">/WEB-INF/myVelocityTemplates/{1}.vm</result>
</action>

----------------

From: Martin Gainty [mailto:mgai...@hotmail.com] Tuesday, April 19, 2011
2:01 PM
> can you confirm these entries in your struts webapp?

Confirmed.  I have not yet tried the facade method mentioned above.  I
originally saw that as an option but didn't know if there was a better
way e.g., the VelocityViewTag -- which only appears to be supported with
Struts1 (perhaps replaced by the velocity return type in Struts2?).

Thank you, gentlemen, for your time and timely responses.

Sincerely,
-Beez


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to