Should I do something like this:

<h:commandButton
 value="#{bundle.Submit}"
 action="#{cashier.submit}" />

describe in here:
http://java.sun.com/j2ee/1.4/docs/tutorial/doc/JSFPage11.html


On 10/25/06, ying lcs <[EMAIL PROTECTED]> wrote:
Matthias,

Thanks for your link.
Can you please help me understand what it means by 'You have to bind
an action in the JSP to a method in your backing bean.'?

Is there an example for that?

Thanks again.


On 10/25/06, Matthias Wessendorf <[EMAIL PROTECTED]> wrote:
> the myfaces wiki is a great source of already answered questions :)
>
> http://wiki.apache.org/myfaces/Sending_Files
>
>
>
> On 10/25/06, ying lcs <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I am trying to write a Java web app using JSF.
> > I have a page which takes some info from user and it has a submit button.
> > If the validation of the info entered by user is correct, the web app
> > will send down a file.
> >
> > All the example I look at has navigation rule while navigate from one
> > jsp to another. How can I send down a file instead of loading another
> > jsp?
> >
> > Thank you.
> >
>
>
> --
> Matthias Wessendorf
> http://tinyurl.com/fmywh
>
> further stuff:
> blog: http://jroller.com/page/mwessendorf
> mail: mwessendorf-at-gmail-dot-com
>

Reply via email to