Ken,
The thing is, what java.net is enforcing isn't consistent. Many of the links
are underlined and colored. Only the ones that I have just created are
lacking. Also, if I understand you correctly, you don't really have a
preference as to how I deal with this by style sheet or hard coded tags. Am
I correct here?
Mike
Mike
On Nov 9, 2007 9:32 PM, Ken Paulsen <Ken.Paulsen_at_sun.com> wrote:
>
>
> Michael Phoenix wrote:
>
> Ken,
>
> No, I really don't have a clue why it would appear differently when it's
> in the java.net environment than it does when I display it directly from
> my computer.
>
> This is b/c the files served from java.net get merged w/ templates on the
> server. The css that gets defined on the page isn't just what is checked
> into the jsftemplating web site. That's just how java.net does it.
>
> I don't think that I have the access to mess with the server or anything
> outside of the JSFT soecific HTML I looked at the style sheet we have and it
> does not seem to have anything to do with underlining or color for the
> anchor tag. Adding code to the style sheet to enforce a uniform color and
> underlining for the links would be one answer. The problem is that the only
> way to "test" the changes would be to check them in and make them "live" on
> the Web site. The other possibility is simply putting color and underline
> tags in each anchor tag text area. What do you think?
>
> I don't think it matters if the style has or doesn't have the color /
> underlining. Whatever style java.net wants to impose is fine with me. I
> think trying to fix it on a single page will result in too much effort. I
> am fine with you making lots of checkins to test the changes... that's what
> I have had to do in the past at times.
>
> I think you might be able to get all the generated css by saving the page
> with Firefox (or maybe IE?? not sure). When you do this it will save all
> the images, js, and css that is needed by the page as well... although this
> might be more work than it is worth since the generated HTML page is not the
> same as the checked in html page... so you'd have to cut/paste etc.
>
> Ken
>
>
> Mike
>
> On Nov 8, 2007 1:58 PM, Ken Paulsen <Ken.Paulsen_at_sun.com> wrote:
>
> >
> > Hi Mike,
> >
> > Did you find an answer to the problem? If you think we should change
> > the styles for the page(s), we can do this.
> >
> > Ken
> >
> > Michael Phoenix wrote:
> >
> > I did the updates that I discussed here a few days ago. However, I have
> > one problem that I cannot figure out. When creating a link through <a> tag
> > the text is underlined and blue when I display the page through my browser
> > from the computer. However, when I check in the page and look navigate to it
> > through the Web site, the underlining and color change doesn't happen.
> > Anybody know why this is? I know that I could partially fix it by adding
> > underline and color tags, but would have a heck of a time getting the right
> > color. The style sheet site.css doesn't appear to effect underlining.
> > Here are a couple of lines from pageSyntax.html that show this behavior:
> > <p>The code for each factory may be found at <jsftemplating
> > root>/src/java/com/sun/jsftemplating/component/factory/sun. Javadocs for
> > this and any other
> > code may be found at <a href="
> > https://jsftemplating.dev.java.net/nonav/javadoc/index.html">Javadocs
> > Index</a>. </p>
> > <p>You can also create your own components as detailed in this
> > link <a href="https://jsftemplating.dev.java.net/doc/UserDefinedComponents.html
> > ">User Defined Components</a>.</p>
> >
> >
>