dev@jsftemplating.java.net

Re: JSFTemplating: HTML appears differently on my computer than live

From: Imre Oßwald <io_at_jevelopers.com>
Date: Sun, 11 Nov 2007 18:37:07 +0100

Hi Mike,

could you give me the URL where i can see that behavior? I could not
find a page that does not have underlining and light-blue-color.

Imre

On 11.11.2007, at 03:21, Michael Phoenix wrote:

> Ken,
>
> Somebody who knows a lot about how the site's default link styles
> work needs to take a look at this. The links I added are under the
> same css classes as old links that are exhibiting underlining.
> I tried over-riding by adding link selectors to the tutorial class
> in site.css, which is within the jsft cvs module, but it still
> doesn't work under java.net.
> I think somebody who is responsible for the java.net stylesheets
> should give us a clue as to what is going on here. Getting the links
> to display consistently should not be this difficult.
>
> Mike
>
> On Nov 10, 2007 2:34 PM, Michael Phoenix <michaelandrewphoenix_at_gmail.com
> > wrote:
> 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
>>> &lt;jsftemplating root&gt;/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>
>>>
>>
>
>