You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-user@incubator.apache.org by Chris Hane <ch...@gmail.com> on 2006/11/11 05:30:02 UTC
Demo / Skins / CommandButton
I just downloaded the trinidad demo
(trinidad-demo-incubator-m1-SNAPSHOT.war). When I run the demo program
and look at the skins demo, the buttons for purple and beach skin styles
are not being changed. They remain the stock browser styled buttons.
When I downloaded the july demo
(adf-faces-demo-incubator-m1-SNAPSHOT.war), these buttons were being
changed to graphics.
Should this work with the current demo?
I'm using Firefox 2.0 / Windows XP / Tomcat 5.5.x.
Thanks,
Chris....
Re: Demo / Skins / CommandButton
Posted by Chris Hane <ch...@gmail.com>.
Thanks Adam for the blog. Hopefully, Safari will incorporate that
change sooner rather than later. And eventually most of my users will
have "upgraded" :) to a newer version.
Thanks again for the link,
Chris....
Adam Winer wrote:
> On 11/16/06, Chris Hane <ch...@gmail.com> wrote:
>> Jeanne,
>>
>> Thanks for the reply. I went back and read the thread.
>>
>> I was particularly excited about the generated button images for an
>> application I have where a good number of users are on the Mac.
>> Skinning on the Mac does not work for buttons. Steve Jobs thinks Aqua
>> buttons look best regardless of whether they actually go with the rest
>> of the skinned look.
>
> My memory is that Safari is loosening up on
> styling of built-in widgets:
>
> http://webkit.org/blog/?p=28
>
> -- Adam
Re: Re: Demo / Skins / CommandButton
Posted by Adam Winer <aw...@gmail.com>.
On 11/16/06, Chris Hane <ch...@gmail.com> wrote:
> Jeanne,
>
> Thanks for the reply. I went back and read the thread.
>
> I was particularly excited about the generated button images for an
> application I have where a good number of users are on the Mac.
> Skinning on the Mac does not work for buttons. Steve Jobs thinks Aqua
> buttons look best regardless of whether they actually go with the rest
> of the skinned look.
My memory is that Safari is loosening up on
styling of built-in widgets:
http://webkit.org/blog/?p=28
-- Adam
>
> Thanks for the answer though.
>
> Chris....
>
> Jeanne Waldman wrote:
> > Hi Chris,
> >
> > You can read on the dev list archives a thorough discussion about
> > buttons, and you can even chime in there. (See Button Skinning subject)
> > The July demo had old renderers, which rendered graphics for buttons. We
> > decided this was a bad idea, and that instead we should use html/css to
> > render the buttons.
> >
> > - Jeanne
> >
> > Chris Hane wrote:
> >
> >>
> >> I just downloaded the trinidad demo
> >> (trinidad-demo-incubator-m1-SNAPSHOT.war). When I run the demo
> >> program and look at the skins demo, the buttons for purple and beach
> >> skin styles are not being changed. They remain the stock browser
> >> styled buttons.
> >>
> >> When I downloaded the july demo
> >> (adf-faces-demo-incubator-m1-SNAPSHOT.war), these buttons were being
> >> changed to graphics.
> >>
> >> Should this work with the current demo?
> >>
> >> I'm using Firefox 2.0 / Windows XP / Tomcat 5.5.x.
> >>
> >> Thanks,
> >> Chris....
> >>
> >
> >
>
Re: Demo / Skins / CommandButton
Posted by Chris Hane <ch...@gmail.com>.
Jeanne,
Thanks for the reply. I went back and read the thread.
I was particularly excited about the generated button images for an
application I have where a good number of users are on the Mac.
Skinning on the Mac does not work for buttons. Steve Jobs thinks Aqua
buttons look best regardless of whether they actually go with the rest
of the skinned look.
Thanks for the answer though.
Chris....
Jeanne Waldman wrote:
> Hi Chris,
>
> You can read on the dev list archives a thorough discussion about
> buttons, and you can even chime in there. (See Button Skinning subject)
> The July demo had old renderers, which rendered graphics for buttons. We
> decided this was a bad idea, and that instead we should use html/css to
> render the buttons.
>
> - Jeanne
>
> Chris Hane wrote:
>
>>
>> I just downloaded the trinidad demo
>> (trinidad-demo-incubator-m1-SNAPSHOT.war). When I run the demo
>> program and look at the skins demo, the buttons for purple and beach
>> skin styles are not being changed. They remain the stock browser
>> styled buttons.
>>
>> When I downloaded the july demo
>> (adf-faces-demo-incubator-m1-SNAPSHOT.war), these buttons were being
>> changed to graphics.
>>
>> Should this work with the current demo?
>>
>> I'm using Firefox 2.0 / Windows XP / Tomcat 5.5.x.
>>
>> Thanks,
>> Chris....
>>
>
>
Re: converting ADF -> Trinidad problem: javascriptDetector not found??
Posted by Adam Winer <aw...@gmail.com>.
Whoa, *no idea*. Definitely isn't a Trinidad thing. Maybe
this comes from the MyFaces side of things?
-- Adam
On 11/16/06, Jim Graf <jg...@pacbell.net> wrote:
>
> Hi,
>
> I'm converting a working MyFaces/ADF app to MyFaces/Trinidad and I'm
> grinding through it. Most is pretty simple as it is in documentation
> that I can find, but for something like 'region' => 'componentRef' (and
> etc), I had to go to the demo source for. I just couldn't find it in the
> 'things renamed': http://wiki.apache.org/myfaces/Trinidad_renaming
>
> But now I'm stuck on the strangest thing:
>
> The requested resource (/GdsSubmit2/_javascriptDetector_) is not available.
>
> I thought javascript came from the Adf ResourceServlet? What I now have is:
>
> <!-- ADF resource loader servlet -->
> <servlet>
> <servlet-name>resources</servlet-name>
> <servlet-class>
> org.apache.myfaces.trinidad.webapp.ResourceServlet
> </servlet-class>
> </servlet>
>
> <servlet-mapping>
> <servlet-name>resources</servlet-name>
> <url-pattern>/adf/*</url-pattern>
> </servlet-mapping>
>
> I believe this matches the demo web.xml, but I could have easily
> introduced some mistake.
>
> The other interesting thing is that when I access my app:
> http://sparky/GdsSubmit2/faces/Login.jspx
>
> I get this redirect:
>
> http://sparky/GdsSubmit2/_javascriptDetector_?goto=/GdsSubmit2/faces/Login.jspx
>
> I'm just being a bit lazy by posting this, as I should just convert one
> of my small test apps and figure it out, but I really hope someone goes
> "Seen it!"
>
> thanks,
> jim
>
converting ADF -> Trinidad problem: javascriptDetector not found??
Posted by Jim Graf <jg...@pacbell.net>.
Hi,
I'm converting a working MyFaces/ADF app to MyFaces/Trinidad and I'm
grinding through it. Most is pretty simple as it is in documentation
that I can find, but for something like 'region' => 'componentRef' (and
etc), I had to go to the demo source for. I just couldn't find it in the
'things renamed': http://wiki.apache.org/myfaces/Trinidad_renaming
But now I'm stuck on the strangest thing:
The requested resource (/GdsSubmit2/_javascriptDetector_) is not available.
I thought javascript came from the Adf ResourceServlet? What I now have is:
<!-- ADF resource loader servlet -->
<servlet>
<servlet-name>resources</servlet-name>
<servlet-class>
org.apache.myfaces.trinidad.webapp.ResourceServlet
</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>resources</servlet-name>
<url-pattern>/adf/*</url-pattern>
</servlet-mapping>
I believe this matches the demo web.xml, but I could have easily
introduced some mistake.
The other interesting thing is that when I access my app:
http://sparky/GdsSubmit2/faces/Login.jspx
I get this redirect:
http://sparky/GdsSubmit2/_javascriptDetector_?goto=/GdsSubmit2/faces/Login.jspx
I'm just being a bit lazy by posting this, as I should just convert one
of my small test apps and figure it out, but I really hope someone goes
"Seen it!"
thanks,
jim
Re: Demo / Skins / CommandButton
Posted by Jeanne Waldman <je...@oracle.com>.
Hi Chris,
You can read on the dev list archives a thorough discussion about
buttons, and you can even chime in there. (See Button Skinning subject)
The July demo had old renderers, which rendered graphics for buttons. We
decided this was a bad idea, and that instead we should use html/css to
render the buttons.
- Jeanne
Chris Hane wrote:
>
> I just downloaded the trinidad demo
> (trinidad-demo-incubator-m1-SNAPSHOT.war). When I run the demo
> program and look at the skins demo, the buttons for purple and beach
> skin styles are not being changed. They remain the stock browser
> styled buttons.
>
> When I downloaded the july demo
> (adf-faces-demo-incubator-m1-SNAPSHOT.war), these buttons were being
> changed to graphics.
>
> Should this work with the current demo?
>
> I'm using Firefox 2.0 / Windows XP / Tomcat 5.5.x.
>
> Thanks,
> Chris....
>