Hi all,
I use Struts framework + Velocity, and I have a form with a text field,
something like below:
form method=POST action=$link.setAction(/saveIt)
table
tr
td
input type=text name=something
/td
/tr
/table
/form
in
Hi all,
Im just trying to get my head around this. Struts is meant to work with
actions. You create the mappings of the actions in the struts-config.xml and
define things like action handlers, forwards, etc.
Suppose I use Velocity to render the view.
Is there a standar place in struts or
On Tuesday 08 February 2005 21:19, Markos Charatzas wrote:
Hi all,
Im just trying to get my head around this. Struts is meant to work with
actions. You create the mappings of the actions in the struts-config.xml
and define things like action handlers, forwards, etc.
Suppose I use Velocity
Thanks for your input!
The easy way is to use the Velocity Servlet in velocity tools. By mapping
say any vm file to the servlet you can process vm files. And yes, putting
the data in the request or the session will make it available to the view.
There isn't anywhere else really.
Yeah thats
On Tue, 2005-02-08 at 17:54 +0200, Markos Charatzas wrote:
I didnt put it correct. I dont mean that the LocaleAction renders the page, I
mean first calling LocaleAction *and* then rendering the page. So the
question is when to call request.put().
At the moment I found a solution by
just to make sure you guys know, the VelocityServlet is deprecated and
should be removed following the release of Velocity 1.5. it's
replacement is the VelocityViewServlet in the VelocityTools project.
so if you have ideas for improvements or contributions, be sure to
make them regarding that
Peter, you are 100% right that it should belong there. Actually the way I see
it is that as ActionServlet handles Actions so VelocityViewServlet should
handle Views! :)
Perhaps we will implement it ourselves actually since we are moving into
the Chinese market this year.
Well that is why
Konstantin Priblouda wrote:
--- Ted Husted [EMAIL PROTECTED] wrote:
Gabriel Sidler wrote:
I will put something working together based on
these ideas/code
this coming weekend (I am tied up with my projects
today/tomorrow).
I hope this will simplify further discussions.
On 12/5/01 6:57 PM, Ted Husted [EMAIL PROTECTED] wrote:
Geir Magnusson Jr. wrote:
So, how about if we port the Veltag context gizmo to VelServlet, and
provide a JavaBean that can return the Struts Action resources when
given the current servlet request object.
Yep.
If you can update the
RequestUtils is JSP-centric since it was written to support the tag
extensions.
Any other apparent bias simply flows from the fact that right now, JSPs
is all Struts developers have at their disposal. But the framework
itself, is just tossing around JavaBeans and URIs, and things straight
out
Geir -
Just wondering if you have done anything else on that side project?
I didn't see a whole lot of feedback on the list regarding your original
post.
Did you get interested parties replying to you directly?
I'm sad to say it...but it looks like the other members of my team are
leaning
11 matches
Mail list logo