You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-dev@incubator.apache.org by Anthony Yulo <An...@headstrong.com> on 2006/06/21 12:19:18 UTC
Licensed ADF Faces different from Trinidad?
I got this from Matthias Wessendorf's Weblog:
FacesContext facesContext = FacesContext.getCurrentInstance();
ExtendedRenderKitService service = (ExtendedRenderKitService)
Service.getRenderKitService(facesContext, ExtendedRenderKitService.class);
service.addScript(facesContext,
"alert('Script added by ExtendedRenderKitService')");
//do real logic
return ("success");
I tried this code on a Licensed ADF Faces and I found out that there is no
adscript in the ExtendedRenderKitService.
So I'm thinking maybe this is different from the Trinidad open-source
version?
If so, how can I implement this using the licensed ADF Faces? Can you point
me to the right direction?
Regards,
Anton
*************The information transmitted is intended only for the person or
entity to which it is addressed and may contain confidential and/or
privileged material. Any review,retransmission,dissemination or other use
of, or taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you received
this in error, please contact the sender and delete the material from any
computer.*********************
Re: Licensed ADF Faces different from Trinidad?
Posted by Adam Winer <aw...@gmail.com>.
In regards to "how to do this with the Oracle code", you need to go
to OTN or Oracle Support.... this list covers Trinidad. Sorry...
-- Adam
On 6/21/06, Adam Winer <aw...@gmail.com> wrote:
>
> addScript() is new to Trinidad, yes.
>
> -- Adam
>
>
>
> On 6/21/06, Anthony Yulo <Anthony.Yulo@headstrong.com > wrote:
> >
> > I got this from Matthias Wessendorf's Weblog:
> >
> >
> >
> > FacesContext facesContext = FacesContext.getCurrentInstance();
> > ExtendedRenderKitService service = (ExtendedRenderKitService)
> > Service.getRenderKitService(facesContext, ExtendedRenderKitService.class
> > );
> > service.addScript(facesContext,
> > "alert('Script added by ExtendedRenderKitService')");
> > //do real logic
> > return ("success");
> >
> >
> >
> > I tried this code on a Licensed ADF Faces and I found out that there is
> > no
> > adscript in the ExtendedRenderKitService.
> >
> > So I'm thinking maybe this is different from the Trinidad open-source
> > version?
> >
> >
> >
> >
> >
> > If so, how can I implement this using the licensed ADF Faces? Can you
> > point
> > me to the right direction?
> >
> >
> >
> > Regards,
> >
> >
> >
> > Anton
> >
> >
> >
> > *************The information transmitted is intended only for the person
> > or
> > entity to which it is addressed and may contain confidential and/or
> > privileged material. Any review,retransmission,dissemination or other
> > use
> > of, or taking of any action in reliance upon, this information by
> > persons or
> > entities other than the intended recipient is prohibited. If you
> > received
> > this in error, please contact the sender and delete the material from
> > any
> > computer.*********************
> >
> >
>
Re: Licensed ADF Faces different from Trinidad?
Posted by Adam Winer <aw...@gmail.com>.
addScript() is new to Trinidad, yes.
-- Adam
On 6/21/06, Anthony Yulo <An...@headstrong.com> wrote:
>
> I got this from Matthias Wessendorf's Weblog:
>
>
>
> FacesContext facesContext = FacesContext.getCurrentInstance();
> ExtendedRenderKitService service = (ExtendedRenderKitService)
> Service.getRenderKitService(facesContext, ExtendedRenderKitService.class);
> service.addScript(facesContext,
> "alert('Script added by ExtendedRenderKitService')");
> //do real logic
> return ("success");
>
>
>
> I tried this code on a Licensed ADF Faces and I found out that there is no
> adscript in the ExtendedRenderKitService.
>
> So I'm thinking maybe this is different from the Trinidad open-source
> version?
>
>
>
>
>
> If so, how can I implement this using the licensed ADF Faces? Can you
> point
> me to the right direction?
>
>
>
> Regards,
>
>
>
> Anton
>
>
>
> *************The information transmitted is intended only for the person
> or
> entity to which it is addressed and may contain confidential and/or
> privileged material. Any review,retransmission,dissemination or other use
> of, or taking of any action in reliance upon, this information by persons
> or
> entities other than the intended recipient is prohibited. If you received
> this in error, please contact the sender and delete the material from any
> computer.*********************
>
>