Hi Fabio,

> my question is: why use this form of configuration instead of the
> type used with the <fmt:message key=""/> ?

Simply put, because it is shorter. You just have

  <s:submit name="moveToFolder"/>

instead of

  <fmt:message key="..." var="value"/>
  <s:submit name="moveToFolder" value="${value}"/>

> The other question is: I couldn't figure out how the entry at (1)
> binds itself to the form's submit button, so the button has its name
> changed. I see that it is somehow linked with the <s:form
> beanclass=""> tag, but I'm not sure how the magic works. :)

In chapter 11, under section 11.2, you'll find a detailed explanation.
In summary, Stripes looks for (actionBeanClassName).(submitName) in
the resource bundle: this is
stripesbook.action.MessageListActionBean.moveToFolder in this example.
Note that just 'moveToFolder' also works.

> p.s. I'm having all sort of questions concerning Freddy's book. Many
> of them concerns the decisions Freddy made and many more concerns
> Java Development in general. I'm somewhat afraid of sending
> questions not concerning Stripes directly, but I dunno if I should
> email Freddy of post my questions at the PragProg's forum for the
> book. What you guys think would be nicer for the healthy of the
> list?

I think that you should post your questions here. It's not that I mind
getting emails directly, but by posting your question on the Stripes
mailing list, others will benefit as well. The PragProg forum also
works but I check it less often and again less people will benefit
because I'm pretty sure more people are subscribed to the Stripes
mailing list.

As for non-Stripes related questions, there have been several such
questions (that are still relevant to web development and probably
interest many Stripes users) and often, those questions get answered
as well because the community is quite friendly and helpful. Let's
keep it that way.

If you've tried your best to find a solution yourself, and are
stumped, go ahead and post your question. We're not savages like the
people on the Hibernate forum. As a matter of fact, many have said
that they have a better chance of getting an answer to a Hibernate
question here instead of on the Hibernate mailing list ;)

Cheers,
Freddy
http://www.stripesbook.com



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to