HI,

Thanks a lot for the information. 
I was looking through the examples of Struts-faces integration library. 
What I found was in the backing bean method a url with query string
parameters is created to dispatch to the struts action. Is this the only
way to dispatch? What should be done in the cases where the no of
parameters in the screen is huge?

Please help me on this.

This is the code piece 

    /**
     * <p>Create a new subscription.</p>
     */
    public String create() {

        FacesContext context = FacesContext.getCurrentInstance();
        StringBuffer url = base(context);
        url.append("?action=Create");
        url.append("&username=");
        User user = (User)
            context.getExternalContext().getSessionMap().get("user");
        url.append(user.getUsername());
        forward(context, url.toString());
        return (null);

    }


Thanks and Regards,
KP



-----Original Message-----
From: Craig McClanahan [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 13, 2004 12:37 AM
To: Struts Users Mailing List
Subject: Re: Plugin struts validator framework to JSF

On Thu, 12 Aug 2004 20:46:33 +0900, Prasad, Kamakshya
<[EMAIL PROTECTED]> wrote:
> Hi All,
> 
> Is it possible to plugin struts validator framework to Javaserver
faces
> web framework?

Yes, if you use the Struts-Faces integration library -- currently
available in nightly builds.  You can take full advantage of the
Validator framework ... and Tiles as well.

> Are there any examples available in the net?

There are two converted versions of the standard Struts example app
(one with Tiles, one without) that both use the validator framework,
in the nightly builds:

http://cvs.apache.org/builds/jakarta-struts/nightly/struts-faces/

> 
> Kindly advice me on this.
> 
> KP
> 

Craig

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to