so is the method getScrolling rendered?
regards,
Martin
On 8/13/07, Bjørn T Johansen [EMAIL PROTECTED] wrote:
Not sure what to look for, but I can see some hidden buttons called
autoScroll and also some onclick events that contain:
Hello Helmut,
I've tried it with the latest snapshot this morning.
It's now working.
Thanks for your help.
Greets
Florian
Original-Nachricht
Datum: Tue, 14 Aug 2007 16:25:22 +0200
Von: Helmut Swaczinna [EMAIL PROTECTED]
An: MyFaces Discussion users@myfaces.apache.org
Betreff:
Thanks Martin,
This means you also need to make sure you handle the case where a
value-expression/binding is set.
probably asking a stupid question... Won't that also be covered by the given
approach?
// storing old bean values, altering bean values...
super.encodeAll(context, arc,
I haven't read the 508 compliance test procedures, but Adam claims that it
is possible to have JavaScript enabled and still fullfill the guidelines for
accessibility.
regards,
Martin
On 8/14/07, Ben Hidalgo [EMAIL PROTECTED] wrote:
Hi,
I couldn't search the mail so forgive me if this is a
Hi Carsten,
it's not enough to just call getter - then call setter again to reset the
stuff. When you call the getter, you might also evaluate a
value-binding/expression. When you set this value afterwards (for resetting
the old value), you effectively prevent the value-binding/expression from
Change over to StreamingAddResource - then you don't have the Html-parser
playing in your output anymore.
regards,
Martin
On 8/15/07, Dave [EMAIL PROTECTED] wrote:
05:05:27,075 WARN [ReducedHTMLParser] Invalid tag found: unexpected input
while looking for attr name or '/' at line 93.
Interesting. File an issue with your comments, I might be able to look into
this some time the next days.
regards,
Martin
On 8/15/07, Bjørn T Johansen [EMAIL PROTECTED] wrote:
Yes, it looks like this...:
script type=text/javascript!--
function getScrolling()
{
On Mon, 2007-08-13 at 12:05 -0700, mccurdyc wrote:
Afternoon,
The application I'm working on had a CSV export component developed with all
sorts of wizzy-bang business logic and is fairly important to our customer.
The problem is while reviewing it yesterday I came to notice that it was
It depends which authentication mechanism you're using, but when using a
decent library like Acegi Security or SecurityFilter, you should be able
to get some information about the logged in user, like the username,
from
FacesContext.getCurrentInstance().getExternalContext.getUserPrincipal()
You
Done... (MYFACES-1706)
On Wed, 15 Aug 2007 12:38:57 +0200
Martin Marinschek [EMAIL PROTECTED] wrote:
Interesting. File an issue with your comments, I might be able to look into
this some time the next days.
regards,
Martin
On 8/15/07, Bjørn T Johansen [EMAIL PROTECTED] wrote:
Hi
I am getting a problem if I try using t:popup component inside a div with
overflow:auto. I have seen some messages on the subject but could not find
any good solution. Can anybody share his experience in getting around with
this problem. I shall be highly obliged.
Hassnain
Hello,
I want to highlight a complete tableRow of a h:dataTable component.
With blank HTML I can use JavaScript like this:
table width=100%
tr class=tableRowNormal onMouseOver=className='tableRowHighlight'
onMouseOut=className='tableRowNormal'
td23232323/td
td1000/td
Hi,
I have quite a trouble to unterstand the SelectManyShuttle and get it running.
First, how I understood the SelectManyShuttle so far:
tr:selectManyShuttle leadingHeader=Not Selected trailingHeader=Selected
value=#{detailsBean.selected}
f:selectItems value=#{detailsBean.all} /
your shuttle isn't included in a
form
tr:form
tr:selectManyShuttle leadingHeader=Not Selected
trailingHeader=Selected value=#{detailsBean.selected}
f:selectItems value=#{detailsBean.all} /
/tr:selectManyShuttle
/tr:form
that's the NPE.
Yes, the usage is like that.
f:selectItems / is for the
The download page still refers to version 1.0.1
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of
Matthias Wessendorf
Sent: Wednesday, August 15, 2007 4:31 AM
To: [EMAIL PROTECTED]; MyFaces Development; MyFaces Discussion
Subject: [Announce] Release of Apache
Hi Jochen,
you can try tomahawk's dataList for rendering the table's rows instead,
it gives you more flexibility. Have a look at
http://myfaces.apache.org/tomahawk/dataList.html. Though, you have to
write your own code for rendering the table header and for outputting
all those TR- and
hi, this looks like something i am looking for.
What does the code for SessionUtils.isUserLoggedIn()
look like?
cheers,
RJ
Anton Gavazuk wrote:
My approach - maybe you will find some errors.
Simple JSF Bean
public class LoginBean extends BaseBean {
private String login;
You put in the method the logic, which define, loggid user or not - for
example, check an atrib in session
2007/8/15, Ronald [EMAIL PROTECTED]:
hi, this looks like something i am looking for.
What does the code for SessionUtils.isUserLoggedIn()
look like?
cheers,
RJ
Anton Gavazuk
Thanks a lot, now it works.
It seams i get used to look closer to the code I write.
[Off Topic]
Nice articles in the JavaMagazin ...! ;)
Original-Nachricht
Datum: Wed, 15 Aug 2007 14:01:48 +0200
Von: Matthias Wessendorf [EMAIL PROTECTED]
An: [EMAIL PROTECTED]
Betreff: Re:
True. Maybe tr:messages was placed before the f:loadBundle in the page?
On 8/14/07, Adam Winer [EMAIL PROTECTED] wrote:
I'm sure it is the issue... but there's already plenty of code
in UIXEditableValue and the Trinidad MessageFactory
class to handle this by delaying execution of the
Hello Stephen,
Your screenshot suggests that you explicitly set black color... Try the
following selector:
af|navigationPane::bar-active-enabled af|navigationPane::bar-content
{
color: white;
}
If it doesn't work, use af|navigationPane::bar-active-enabled
af|navigationPane::bar-content a
Hi all, I have 2 questions:
*Question1:*
In my JSP I have:
td class=td-contenido colspan=2
h:selectOneMenu value=#{
DiaFeriadoBean.tipFeriado } readonly=true
f:selectItems value=#{
p.s. Had a supposed DNS error on last send, I hope that I won't spam the
mailing list with that second send.
that's fine. Others (like Matt) and I noticed this (via gmail) as well.
-M
On 8/14/07, Stephen Friedrich [EMAIL PROTECTED] wrote:
Well, thanks for the explanations, they certainly
Hi Martin
I don´t need to change the value with javascript what I need is to get the
value of a readOnly h:inputText, in struts I can do that, why in JSF no?
On 8/15/07, Martin Marinschek [EMAIL PROTECTED] wrote:
Do you try to change the value on the client-side with javascript? Then
you
looks like almost all classes, that extend
InputLabelAndMessageRenderer do it like InputTextRenderer
-M
On 8/15/07, Simon Lessard [EMAIL PROTECTED] wrote:
Hello Carsten,
Wow... you're right... JIRA issue please. It should be possible to override
all of our renderers and failing to provide
On 8/15/07, Matthias Wessendorf [EMAIL PROTECTED] wrote:
your shuttle isn't included in a
form
tr:form
tr:selectManyShuttle leadingHeader=Not Selected
trailingHeader=Selected value=#{detailsBean.selected}
f:selectItems value=#{detailsBean.all} /
/tr:selectManyShuttle
/tr:form
that's the
Hello Daniel,
What you want to do is not the responsibility of validators, but
converter's. What you need is a simple converter that will do a
.toUpperCase() in getAsObject(). However, if you want to respect the inverse
property of getAsObject() vs. getAsString() you'll have to also use
We're using Tomahawk 1.1.6 tree2 in a project with JSF RI 1.2 on JBoss
4.2.1. In our packaging, we put tomahawk-1.1.6.jar in the WEB-INF/lib
directory of our WAR and we tweaked one JBoss setting, we set
'UseJBossWebLoader' to true in
jup,
will fix it.
On 8/15/07, Adam Winer [EMAIL PROTECTED] wrote:
On 8/15/07, Matthias Wessendorf [EMAIL PROTECTED] wrote:
your shuttle isn't included in a
form
tr:form
tr:selectManyShuttle leadingHeader=Not Selected
trailingHeader=Selected value=#{detailsBean.selected}
Thanks!!!
1- When the select have the attribute of readonly in true when i use
getTipFeriado() I get a 0 value, when i put it in false I get 21 (the
correct value), this is the select:
h:selectOneMenu value=#{
DiaFeriadoBean.tipFeriado}
Do you have an example? I never have use a converter, is code in the JSP?
What about the second question, do you know how to do it?
On 8/15/07, Simon Lessard [EMAIL PROTECTED] wrote:
Hello Daniel,
What you want to do is not the responsibility of validators, but
converter's. What you need is
filed issue:
https://issues.apache.org/jira/browse/TRINIDAD-627
will address tomorrow, if someone is not faster
-M
On 8/15/07, Matthias Wessendorf [EMAIL PROTECTED] wrote:
jup,
will fix it.
On 8/15/07, Adam Winer [EMAIL PROTECTED] wrote:
On 8/15/07, Matthias Wessendorf [EMAIL PROTECTED]
*On a readonly component the model value will not change!
*
I know, I try to explain my point better with an image, as you can see when
I load the edit form the select have a value selected readOnly, the code of
the value selected is 21. Ok then I modify some others value and click on
the
Thanks for the Converter tip, i succesfully implemented it =)
On 8/15/07, daniel ccss [EMAIL PROTECTED] wrote:
*On a readonly component the model value will not change!
*
I know, I try to explain my point better with an image, as you can see
when I load the edit form the select have a value
FYI, I did get this working using binding and using the IDs of the
children to programmatically set the disclosed properties. I just
dislike using binding as I feel it too tightly couples the backing
bean code with the view structure, so if anyone can think of a better
solution, I'd be glad to
I found a reference to this question, but with no answer. My log shows:
09:19:43,636 WARN [HtmlRenderKitImpl] Unsupported
component-family/renderer-type:
org.jboss.seam.ui.FormattedText/javax.faces.Text
Aug 15, 2007 9:19:43 AM
org.apache.myfaces.trinidadinternal.renderkit.RenderKitBase
I think the panel tabbed pane requires a form outside of it.
Try using the subform sandbox component.
h:form
s:subForm
t:panelTabbedPane serverSideTabSwitch=true
t:panelTab id=tab01 label=TabA
s:subForm
Name:t:inputText value=#{bean.name}/
Address:t:inputText
Digging into the code, I found that the components causing this error
are ones that render themselves and have no renderers. It looks like
the problem is that the Seam 1.2.1 code doesn't bother to set the
renderer type to null though, so that the getRendererType on the
component is still returning
The tabbedPane generates a form around itself if I don't explicitly put a
h:form outside it. So it's the same effect as putting a h:form outside
it.
I'll try the subForm, thanks a lot!
Andrew Robinson-5 wrote:
I think the panel tabbed pane requires a form outside of it.
Try using the
Some ideas:
1) have your validator look up multiple components, and check to see
if their getSubmittedValue property returns null or not.
2) Validate that one has been set using an action listener or action
instead of a validator
3) Use binding with your controls and implement value change
Hi all,
I came across a problem with tabbedPane with nested forms. I have a
tabbedPane containg 4 panelTabs. Each of the tabs has their own forms for
submission. When I load the page I got a Javascript error. When I traced
into the error I found it was possibly caused by nested forms, because
You cannot nest HTML forms, so if tabbedPane generates a form around
itself, then you cannot put forms inside of it.
On 8/15/07, Fan Shao [EMAIL PROTECTED] wrote:
The tabbedPane generates a form around itself if I don't explicitly put a
h:form outside it. So it's the same effect as putting a
Thank u, the subForm component in the sandbox solved this problem well. I
really took me quite a well to find the download of the sandbox. I put the
link below in case someone needs it:
http://people.apache.org/builds/myfaces/nightly/
thanks again!
Andrew Robinson-5 wrote:
I think the
Hello!
I am using the sandbox tableSuggestAjax component. I would like to add an
a4j:support tag to it to capture the onchange event and reRender another
part of the page.
The following code works great in IE7, but fails in Firefox 2.0.0.6.
s:tableSuggestAjax size=50 var=respondent
Hi Andrew,
Since styleClass applies to the root element of a component, your
definitions could be something like this:
.CustomStyleClass.af|myComponent {
/* styles for the root element */
}
.CustomStyleClass.af|myComponent af|myComponent::sub-element {
/* styles for the sub element */
}
Hello Andrew,
You almost got it right! The right combination would be
.myTabs af|panelTabbed::tab-selected
Since you set myTabs as the panel's class, the selected tab is a sub
component of the panel therefore a descendant of .myTabs.
You can combine skin selector with normal style class as
Yeah, Seam should be setting it to null - if nothing
else, they're wasting time by not bypassing renderer lookup.
-- Adam
On 8/15/07, Andrew Robinson [EMAIL PROTECTED] wrote:
Digging into the code, I found that the components causing this error
are ones that render themselves and have no
Thank you,
That is working fine
Is there documentation somewhere of the skin properties for each component?
Also, is there any plans to support an icon property for
tr:showDetailItem, so a tab can have an icon instead or in addition to
text (I got it to work using CSS, but I think an attribute
Does anyone have any examples that show binding the chosen color value
to another component?
I want to bind it to a inline css style value. Any help is greatly
appreciated.
tr:chooseColor id=cp2 onclick= colorData=#{color.colorList}
/tr:chooseColor
begin:vcard
fn:Kevin Gutch
n:Gutch;Kevin
Hi Dave,
You didn't say what version of MyFaces you are using.
There is an old bug, long fixed, where a backslash within an attribute
would confuse the ReducedHTMLParser. If you're using an old version,
then look for something like:
foo bar=problem\nstring/
I also see that you have no quotes
Hi Adam,
In the Trinidad JSF 1.2 Support wiki
(http://wiki.apache.org/myfaces/Trinidad_JSF12_Support) you mentioned
that my current thinking is that this should happen when MyFaces
http://wiki.apache.org/myfaces/MyFaces switches their trunk to JSF
1.2. We should continue to keep around a JSF
Nope. FWIW, I'd personally be thrilled for the trunk to be 1.2 -
I've just assumed that this is not what the majority of our users
want, and would like to get some of the really big features -
like improved PPR - done before we move trunk to 1.2, so they're
available to all.
I think the
We're using 1.2. We didn't have any problems with the upgrade.
On 8/15/07, Adam Winer [EMAIL PROTECTED] wrote:
Nope. FWIW, I'd personally be thrilled for the trunk to be 1.2 -
I've just assumed that this is not what the majority of our users
want, and would like to get some of the really big
hello to all.
i'm using myfaces 1.1.5 and tomahawk 1.1.5
my t:inputHtml is linked to a text field in my class
i've tried to set the string to a certain value, but when the page is rendered,
the inputHtml field is still empty.
any help on this?
54 matches
Mail list logo