+1 on an attribute of tr:document and the others that supports EL to
force quirks mode, or lets the developer specify the doctype to be
rendered.
On 8/23/07, Adam Winer <[EMAIL PROTECTED]> wrote:
> I'm getting the feeling that we really need to add a flag
> to at least trh:html or both trh:html an
FYI, server state saving means all of that memory will be stored in
the server's java heap. So approx 70k * #users.
On 8/23/07, Ken McArthur <[EMAIL PROTECTED]> wrote:
> Mario,
>
> ViewStateDumper is awesome! I get a large number of "#null?"s in output but
> everything else is as expected. In my
It's http://issues.apache.org/jira/browse/TRINIDAD-100.
I guess it's mostly not there because of some of the
huuuge shortcomings of this HTML API, especially when
it comes to big composite components like table; if
you set a tabindex on the table, it has to affect
the tab order of the whole compo
I'm getting the feeling that we really need to add a flag
to at least trh:html or both trh:html and tr:document
that supports forcing quirks mode.
Thoughts?
-- Adam
On 8/23/07, Andrew Robinson <[EMAIL PROTECTED]> wrote:
> You can use IE6 in quirks mode and firefox in standards mode by
> subclas
trh:head doesn't output the doctype - it's trh:html and/or
tr:document.
I don't think it's that the PPR code is stripping only 1 doctype.
I think it's that the two doctypes are written out through different
mechanisms (ResponseWriter or straight to the serlvet response),
and PPR is for some reason
On 8/23/07, Perkins, Nate-P63196 <[EMAIL PROTECTED]> wrote:
> Hi Adam,
>
> I was able to replace my (which renders a doctype) with just
> a , that removed the second doctype (so there is only one on the
> page, the quirks mode one), but the behaviour is still the same. Is the
> PPR code, looking
It would be good to filter CDATA during PPR. I'd be happy to
apply a patch to the PPRResponseWriter that handles this,
but would also rather that component authors stop trying
to out-clever the ResponseWriter!
The best way to write out script contents is to just use
ResponseWriter.writeText(), no
Mario,
ViewStateDumper is awesome! I get a large number of "#null?"s in output but
everything else is as expected. In my situation bottleneck is bandwidth;
especially since ViewState is sent back to server and upload speeds are most
always much slower than download speeds. Compressed ViewState
Hi, I am using tree2. I have two questions. It would be great if I can get
some help.
how to expand node(on client) when clicking its label ?
How to replace the open/close image programmatically?
Thanks,
Dave
-
Fussy? Opinionated? I
I have a component I was outputting script using the following code:
RenderingContext arc = RenderingContext.getCurrentInstance();
ResponseWriter writer = context.getResponseWriter();
writer.startElement(XhtmlConstants.SCRIPT_ELEMENT, null);
XhtmlRenderer.renderScriptDeferAttribute
I've tried it with both one and two colons. Neither seems to work.
--Dave
--- Jeanne Waldman <[EMAIL PROTECTED]> wrote:
-
There's a typo here in your email, and not sure if it is the same inyour code:
:alias (one colon, not two)
- Jeanne
DLC wrote:
Well,
There's a typo here in your email, and not sure if it is the same in
your code:
:alias (one colon, not two)
- Jeanne
DLC wrote:
Well, maybe I should be more specific. This is what I've tried:
.AFErrorIcon::alias { content: url(/images/icon_alert.gif); }
.AFErrorIcon::alias { content: 'W
Well, maybe I should be more specific. This is what I've tried:
.AFErrorIcon::alias { content: url(/images/icon_alert.gif); }
.AFErrorIcon::alias { content: 'W'; }
.AFErrorIcon { content: url(/images/icon_alert.gif); }
.AFErrorIcon { content: 'W'; }
None of these have any effect on the rendering
Dave, it needs to be an "icon". Can't be an X..
DLC wrote:
Thanks for your input. Unfortunately, I can't seem to get this to work right.
Maybe I'm just
confused.
I'm trying to replace the default
AFErrorIcon (which is an 'X') with my own. Could someone show me an example that they have
w
Thanks for your input. Unfortunately, I can't seem to get this to work right.
Maybe I'm just
confused.
I'm trying to replace the default
AFErrorIcon (which is an 'X') with my own. Could someone show me an example
that they have
working?
Thanks,
--Dave
--- Scott O'Bryan <[EMAIL PROTECTED]>
Hello Helmut,
should work now.
Thanks
Bernd
Helmut Swaczinna wrote:
Hi,
with the current Tobago 1.0.12 snapshot I've got some new layout
problems in popups.
With 1.0.11 and older 1.0.12 snapshots the layout is ok. Please have a
look at the attached
screenshot. The input elements on the pop
Great advise, I'll try it all and update board when I figure it out.
Thanks.
On 8/23/07, Mario Ivankovits <[EMAIL PROTECTED]> wrote:
>
> Hi!
> > With client state saving, I was under the impression that only managed
> > beans in session scope or used in t:saveState would be serialized into
> > the
Hi!
> With client state saving, I was under the impression that only managed
> beans in session scope or used in t:saveState would be serialized into
> the hidden javax.faces.ViewState variable. However, my application's
> creating ViewStates in pages with very simple forms that are almost 70
> kb
On 8/23/07, simon <[EMAIL PROTECTED]> wrote:
> I can't initially think of an easy way to narrow the problem down
> either...
What about simply deleting parts of the view until the size of the
saved state changes dramatically? That should tell you which
component(s) are contributing the most to t
On Thu, 2007-08-23 at 08:33 -0600, Ken McArthur wrote:
>
> With client state saving, I was under the impression that only managed
> beans in session scope or used in t:saveState would be serialized into
> the hidden javax.faces.ViewState variable. However, my application's
> creating ViewStates i
Hi,
we've had a similar problem in our last project and narrowed it down to
caching in browsers and proxies.
you may try setting http-headers "pragma" to "no-store" and "cache-control"
to "no-cache".
We did it with a PhaseListener:
public void beforePhase(PhaseEvent event) {
FacesContext
Hi Adam,
I was able to replace my (which renders a doctype) with just
a , that removed the second doctype (so there is only one on the
page, the quirks mode one), but the behaviour is still the same. Is the
PPR code, looking for a particular doctype and stripping it?
Nate Perkins
480-441-3667
You can do that in the css . The skinning framework parses the css and
any icons which are specified in the skinning file will override the
default values. Use the "content:" as specified in the below example to
specify which image to use.
Scott
Perkins, Nate-P63196 wrote:
Would this also w
(facelets 1.1.11 tomahawk 1.1.5 and 1.1.6, myfaces 1.1.5)
Hi,
I have tested the example sortAutoTable.jsp from simple-example .
The JSP version works. If I insert facelets, the column becomes only
once sorts and the direction arrow is not displayed.
Is this a known bug?
Thanks
Torsten
Hello Nate,
You can do that with af|inputDate::launch-icon selector. For exemple,
af|inputDate::launch-icon
{
content: url(skin_images/myCalendar.gif);
}
Regards,
~ Simon
On 8/23/07, Perkins, Nate-P63196 <[EMAIL PROTECTED]> wrote:
>
> Would this also work for the af|chooseDate::launch-icon.
Could it be there is a rendered=".." on or surrounding the button you
try to use? If during the apply request value , the button is marked as
not rendered, it's action won't be called. Try to reduce as much as
possibile your form until you find what make it not working.
Fan Shao a écrit :
The
Would this also work for the af|chooseDate::launch-icon...the default
for this is a green calendar, but I would like to change it to a blue
calendar.
Can I do that with css or do I need to change the code?
Nate Perkins
480-441-3667
[EMAIL PROTECTED]
>This email message is for the sole use of t
You can find the code in BaseDesktopSkin.java that registers the default icons.
In your skin, you should be able to do things like:
.AFDetailDisclosedIcon::alias {
content: "V";
}
or
.AFDetailDisclosedIcon::alias {
content: url(/skin/myskin/icons/myIcon.gif);
}
-Andrew
On 8/23/07, DLC <[EM
Yes. Sorry, I forgot to add [Trinidad] to the subject.
--Dave
--- Andrew Robinson <[EMAIL PROTECTED]> wrote:
> Is this in relation to Trinidad?
>
> On 8/22/07, DLC <[EMAIL PROTECTED]> wrote:
> > Hi all,
> >
> > I would like to substitute the text icons * and X for required and error
> > marke
Adam,
I've noticed that the combination of the trh:head tag (which outputs a
doctype) and my jsp:output (which also outputs a doctype), creates 2
doctypes in the response. Firefox strips out the 2nd doctype but IE
does not. So perhaps the PPR code is stripping out only 1 of the
doctypes?
Nate
Thanks Ryan, that worked.
On 23/08/07, rlubke <[EMAIL PROTECTED]> wrote:
>
>
> Are you using Facelets? If so, the RI will be defaulting the content type
> to
> xhtml instead of html.
> You can add contentType="text/html" to f:view in your facelets template to
> force the content type.
>
>
>
> mjd
Are you using Facelets? If so, the RI will be defaulting the content type to
xhtml instead of html.
You can add contentType="text/html" to f:view in your facelets template to
force the content type.
mjdenham wrote:
>
> When using StreamingAddResource I get an error if using JSF RI 1.2 and
> F
> In your case, Andrew, you might be able to remove it with MSIE 15 in 2030.
I doubt that the number is higher than 8 in that year
> On the bright side, I don't know its validity, but you can use
> http://www.w3schools.com/browsers/browsers_stats.asp to
> comfort yourself.
>
>
> Regards,
>
>
Nah, I mean if Nate was to use it.
In your case, Andrew, you might be able to remove it with MSIE 15 in 2030.
On the bright side, I don't know its validity, but you can use
http://www.w3schools.com/browsers/browsers_stats.asp to comfort yourself.
Regards,
~ Simon
On 8/23/07, Andrew Robinson <[
Why would I want to remove it when IE6 disappears? I made this hack as
it is a bug/shortcoming in IE7.
Just goes to show you that IE, regardless of version, is just a piece
of junk, but unfortunately has the market share. Well, that is a
rabbit trail...
-Andrew
On 8/23/07, Simon Lessard <[EMAIL
I don't see any support for tabIndex on trinidad components like
tr:inputText. Is there another way of handling tab order in trinidad
components or is it a shortcoming?
-Andrew
That's a nice hack too imho as you can easily remove it once IE 6
disappears. And yeah it would also work for trh:head renderer.
On 8/23/07, Andrew Robinson <[EMAIL PROTECTED]> wrote:
>
> Probably, I am just using tr:document, so that is what I customized.
> 1.0.2 is working fine with PPR on firef
Probably, I am just using tr:document, so that is what I customized.
1.0.2 is working fine with PPR on firefox 2.0 and IE7 for me. I only
implemented the "hack" as I also wanted quirks mode "functionality"
for IE since IE7 has bugs/shortcomings with height percentage
allocations in standards mode.
Hi guys,
Quick question...
I thought I seen this somewhere but can't seem to locate it now...
I'm interested in populating the drop down values of a
tr:selectOneChoice component with values in a message.properties bundle.
This works great for single items like labels and naming conventio
Can this only be done on the tr:document? Doesn't the trh:head also
produce a doc-type? Currently we use trh:head, trh:html, and trh:body.
What is the difference?
Also, I would still think that the PPR should work regardless of how or
where or what I set the doc-type to.
Nate Perkins
480-441-
When using StreamingAddResource I get an error if using JSF RI 1.2 and
Firefox as the browser. IE 7 works fine and so does Firefox if I use
MyFaces 1.1.
The error message displayed in the browser is "This XML file does not appear
to have any style information associated with it. The document tree
You can use IE6 in quirks mode and firefox in standards mode by
subclassing the tr:document renderer.
If a comment appears before the doc type, IE will not go into standards mode.
Here is some code if you want to do it this way to force only IE into
quirks mode while using tr:document:
public cl
I put a lot of time into this problem, albeit a while ago, but I could
not find a way to satisfy my requirements for IE6 in standard mode, I
would love to be able to, but I have not found a way. I'll post the
general structure and the css and perhaps you can help?
The basic structure is this:
The entire component tree is saved using saveState, I wasn't referring
to the saveState component, but ranter the saveState method on the
StateHandler interface
On 8/23/07, Ken McArthur <[EMAIL PROTECTED]> wrote:
>
> You mention what I believed to be true. Since my simple page with a 70kb
> ViewS
Created an enhancement request
https://issues.apache.org/jira/browse/TRINIDAD-645
-Andrew
On 8/21/07, Jeanne Waldman <[EMAIL PROTECTED]> wrote:
> I've heard this request from a few people. You should add a JIRA issue
> if it isn't already there.
>
> Currently, no, there is no way to get this inf
You mention what I believed to be true. Since my simple page with a 70kb
ViewState is not requesting saveState for anything, I suspect it must be
something else that's being serialized. Any ideas on what else it could be?
On 8/23/07, Andrew Robinson <[EMAIL PROTECTED]> wrote:
>
> Anything that
Okay:
https://issues.apache.org/jira/browse/TRINIDAD-644
On 8/23/07, Adam Winer <[EMAIL PROTECTED]> wrote:
> Yep, looks like a bug.
>
> -- Adam
>
>
> On 8/22/07, Andrew Robinson <[EMAIL PROTECTED]> wrote:
> > I am trying to use tr:icon. The tag documentation shows support for
> > events like oncl
Hello Nate,
So what you're saying is that your application will only ever work in quirk
mode? There's always a solution in standard mode as well, sometimes a bit
more complicated though.
Regards,
~ Simon
On 8/23/07, Perkins, Nate-P63196 <[EMAIL PROTECTED]> wrote:
>
> I commented out the jsp:ou
To me it sounds like you need to change how your data model is
provided to your table.
I think the most reasonable approach is to set the backing model of
the table to only include your current scroll set, then you can use a
"standard" sorting model for your table. So each change of the
scroll s
To clarify, the doc-type is only needed for the scheme to work in IE6,
which happens to be our target browser : (
Nate Perkins
480-441-3667
[EMAIL PROTECTED]
>This email message is for the sole use of the intended recipient(s) and
may contain GDC4S
> confidential or privileged information. Any u
Anything that is returned from saveState on any object implementing
StateHolder is saved into the view state. (All UIComponents implement
StateHolder)
On 8/23/07, Ken McArthur <[EMAIL PROTECTED]> wrote:
>
> With client state saving, I was under the impression that only managed beans
> in session s
Is this in relation to Trinidad?
On 8/22/07, DLC <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I would like to substitute the text icons * and X for required and error
> markers on fields with my
> own markup (an image and/or other text). Is there any way to do this? If
> so, how?
>
> Thanks,
>
> -
I commented out the jsp:output and that fixed the problem.
Unfortunately I can not live with that solution as it is mandatory for
my project's pages. We have a requirement for a fixed bar on top and on
bottom that do not scroll (while the rest of page obviously does) and
are always visible and
helloo;
I have a strange problem with selectManyListbox or selectManayMeny, I don't
get usual display like a simple html listbox..
http://www.nabble.com/file/p12295250/debug.jpg
code:
how to get a simple manyListBox ?
thanks
--
View this message in context:
http://w
Oops. I misread that as 1.2.1. Yes, subforms probably showed up in
the sandbox in 1.1.3 or 1.1.4.
Unfortunately, that really is the way to solve your problem. 1.1.2
is a pretty ancient and buggy release -- Maybe you should consider
upgrading to 1.1.5 or 1.1.6.
On 8/23/07, Nikhil Gahlot <[E
The action of the buttons didn't seem being called when that happened. I put
a breakpoint in the action method and it was not fired up. It can be fired
up normally when the button behaves normally. BTW, I am using Facelets. The
filters defined in web.xml are Myfaces filters. I am using Tomahawk as
With client state saving, I was under the impression that only managed beans
in session scope or used in t:saveState would be serialized into the hidden
javax.faces.ViewState variable. However, my application's creating
ViewStates in pages with very simple forms that are almost 70 kb long!
I'm th
Hi,
solved the first problem. See Tobago-474.
Regards
Helmut
- Original Message -
From: "Helmut Swaczinna" <[EMAIL PROTECTED]>
To: "MyFaces Discussion"
Sent: Monday, August 20, 2007 1:37 PM
Subject: Re: [Tobago] Problems with tabGroup and IE 6/7
Hi,
you can see this behavior
Following what your said previously about this, i assume that
1) The view is in a restore state and not a create state (you mentionned
clearly that you showed page *after* reloading page and *before*
clicking button)
2) There are no validation problems (you stated has empty
output)
Then i sugges
Settting the style (styleClass or style attribute) in the parent
element (e.g. the SelectOneMenu wrapping tehe selectItems) doesn't do
the trick?
-Wolf
On 8/23/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I would like to set the style of my SelectItems in a HtmlSelectManyListbox.
Has anyone any success with the t:inputCalendar using this setup?
I think I did everything required: I set up the extensionsFilter, I
declared the t-tag, added the Tomahawk-faclet taglib, ...
The element in the page, in a panelGrid, looks like this:
Hi, I've been stuck there for days. Could anyone help?
Fan Shao wrote:
>
> Hi there,
>
> I've written a JSF page using Facelets template. I have a form in the page
> and a button. Every time I restarted the webapp, the first time I click
> the button it just refreshes the page and resets all
What happened to Rumba Framework project and its website?
On 4/19/06, Enrique Medina <[EMAIL PROTECTED]> wrote:
>
> Hi Alexey,
>
> What happened to your web?
>
> http://www.rumbaframework.org
>
> On 4/4/06, Alexey Maslov < [EMAIL PROTECTED]> wrote:
> >
> >
> > Werner,
> >
> > Thanx a lot for cle
Hi all,
I would like to set the style of my SelectItems in a HtmlSelectManyListbox.
Is there a way to do it ?
Greetings
Matze
_
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=1
I have the following page that includes a page depending on the bean value:
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
http://www.w3.org/1999/xhtml";
xmlns:ui="http://java.sun.com/jsf/facelets";
xmlns:h="http://java.sun.com/jsf/html";
xmlns:f="http://java.sun.com/jsf
Hello,
I need help in order to implement a scrolling [b]combined with a[/b] sorting
strategy for a datatable.
Here is the behaviour I need:
A user should be able to scroll a datatable in steps of [b]N[/b] records.
He/she should then be able to sort that [b]N[/b] records and not the whole
of the
66 matches
Mail list logo