Hi, sorry the delay - sure I can share what I have done. And please
send any comments freely, if you can see any issues in the way I made
it - I'm not filter expert, for example mutex may be used too widely
etc..
We have filter base class that all filters extends... but I think you get the idea
Hi Simon,
BTW, I got distracted by some work on MyFaces documentation, so
haven't made much progress on my implementation of a custom
ListDataModel class, but it looks like Mario is using exactly this
approach which is very encouraging.
I guess you meant Mike.
But no problem, as I also use a
Mike Kienenberger wrote:
Your suggestion of calling this.form.submit() may not work. There's
other "hidden" javascript that needs to be executed before form is
submitted.
Ok, I understand.
Thanks for this information, I'll rework the sample.
Thoug, I dont like it to make asumptions about how
The value should not be evaluated when rendered evaluates to "false".
regards,
Martin
On 11/25/05, Peter Maas <[EMAIL PROTECTED]> wrote:
> Well,
>
> I referenced the 'missing' property in the scripting in the test for
> determining visibility as well didn't test putting
> 'false' in there
One exception:
if you use JSPX, the ; will lead to
problems, as the entity cannot be resolved.
Solution: include the in a section, as the
numerical representation or write:
regards,
Martin
On 11/25/05, Simon Kitching <[EMAIL PROTECTED]> wrote:
> Matthias Kahlau wrote:
> > Hi!
> >
looks good.
I think you did already open a jira on this, right? If not, please do
it right now.
I'll review this some time during next week, when I will hopefully get
my open bugs closed as well ;)
regards,
Martin
On 11/24/05, Rogerio Pereira <[EMAIL PROTECTED]> wrote:
> Hi guys!
>
> I wrote a
Well,
I referenced the 'missing' property in the scripting in the test for
determining visibility as well didn't test putting
'false' in there directly I might try that later today I'll let you know!
-POn 11/25/05, Simon Kitching <[EMAIL PROTECTED]> wrote:
Peter Maas wrote:> I'm ful
Hi Yee,
Yee CN wrote:
Hi Simon,
I think there is a further problem. The dataScroller 'knows' the number of
records - presumably by doing a datalist.size(). That is going to be a
problem for large datasets - we don't know the size without traversing the
whole dataset and constructing the datalis
Dave wrote:
I have a variable number of names(List) that are rendered as
commandLink(s) in one line.
_Name1_, _Name2_, _Name3_, ... _NameN_
__
UIPanel
CommandLink1,
CommandLink2
...
If I have the reference to UIPanel, can I get the String value to render
it using ?
If you
It's component.getChildren().add(child)
On 11/24/05, Dave <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I am trying to contruct a faces view(tree) programmatically(not using tags).
> Why there is no method to add child components in UIComponent(or its
> subclasses)?
>
> I have a variable number of name
Hello, I am trying to contruct a faces view(tree) programmatically(not using tags). Why there is no method to add child components in UIComponent(or its subclasses)? I have a variable number of names(List) that are rendered as commandLink(s) in one line. Name1, Name2, Name3, ... Na
> Just as a wild guess, perhaps you could try:
>onchange="this.form.submit(); return true;"
No, this results in the same behavior like without "return true;"" ...
Matthias
> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Auftrag
> von Simon Kitching
>
Matthias Kahlau wrote:
I use firefox, maybe you catched a browser issue?
You're right. I tried the same code with Firefox, and there it worked. With
Internet Explorer 6, "this.form.submit()" does work in onchange of
selectOneMenu and onclick of selectOneRadio. I have the problem with
"this.form
Peter Maas wrote:
I'm fully aware of the introspection/reflection api's in the sdk, but
this is not what I want, at least I hoped some support for
OO/Inheritance would be availlable in JSF
You want to be able to handle someone providing an instance of a base
class when a particular subclass wa
> > I use firefox, maybe you catched a browser issue?
You're right. I tried the same code with Firefox, and there it worked. With
Internet Explorer 6, "this.form.submit()" does work in onchange of
selectOneMenu and onclick of selectOneRadio. I have the problem with
"this.form.submit()" in onchange
You will have to checkout if you want to use this feature.On 11/25/05, Thomas Spiegl <[EMAIL PROTECTED]
> wrote:Roland,
you can now set the value for your NavigationMenuItem(s)
NavigationMenuItem item = new NavigationMenuItem(label, action);
item.setActionListener("#{navigationMen
Roland,
you can now set the value for your NavigationMenuItem(s)
NavigationMenuItem item = new NavigationMenuItem(label, action);
item.setActionListener("#{navigationMenu.actionListener}");
item.setValue(label);
you can access this value in your ActionListener:
publi
I'm fully aware of the introspection/reflection api's in the sdk, but
this is not what I want, at least I hoped some support for
OO/Inheritance would be availlable in JSF
in plain java the problem wouldn't even need reflection/introspection!
I would be able to just use the instanceof operator in a
Mario,
Your suggestion of calling this.form.submit() may not work. There's
other "hidden" javascript that needs to be executed before form is
submitted. For myfaces, this javascript sets the autoscroll value,
and information telling which UICommand submitted the form. Without
this informatio
One thing to keep in mind is that dataScroller is a UI decorator.
It's only there for displaying, not for performing dataset operations.
As Simon pointed out, the proper place to do this is in your
dataModel. The dataModel isn't obligated to pull the entire database
into memory -- it's just go
Matthias Kahlau wrote:
Hi!
Does anybody know how I can insert one or more spaces (like &bsp;) inside a
JSF page?
Tag
any text
will copy the contents directly to the target page.
You can also use:
which will again copy the value directly to the target page.
Regards,
Simon
Hi!
Does anybody know how I can insert one or more spaces (like &bsp;) inside a
JSF page?
Regards,
Matthias
Hello Simon,
I'll try tomorrow and will post results!
Thanks for your reply!
Hans
Simon Kitching wrote:
Hi,
Hansjörg Meuschel wrote:
Hi,
since I updated to the last nightly built, i get the following error
on almost every page:
WARN ReducedHTMLParser:558 - Invalid tag found: unexpected i
I've just tried and it does work for me, using the latest SVN. I've
created a table like yours in a backing bean (the
table2.getAttributes()... is not needed as you can call directly to
the setters (setRowOnMouseOver, setRowOnMouseOut...). I've just bound
the table generated dynamically in the jsp
Hi,
Hansjörg Meuschel wrote:
Hi,
since I updated to the last nightly built, i get the following error on
almost every page:
WARN ReducedHTMLParser:558 - Invalid tag found: unexpected input while
looking for attr name or '/>' at line 6091
What's the reason for this?? Is there a problem with
On 11/24/05, Peter Maas <[EMAIL PROTECTED]> wrote:
Yep,
allready tried that errors on the fact the the specific object
doesn't have the requested property maybe I'll need to add an
additional domain object have ALL the methods and convert the
underlying objects on the backingbean...
Pete
That does not sound like a performance problem... rather like a
memory leak ...
Or a wls-instance with too less memory...
hth
Alexander
-Original Message-
From: rosalba bochicchio [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 24, 2005 6:13 PM
To: users@myfaces.apache.org
Subject:
Hi all,
have anybody of you ever had problems with performance
in a web application based on JSF framework?
I'm using BEA WEblogic 8.1 and noticed that the server
suddenly gets
OutOfMemory Errors ..and I need to restart it
Any known issue or suggestion?
Thanks
_
Yep,
allready tried that errors on the fact the the specific object
doesn't have the requested property maybe I'll need to add an
additional domain object have ALL the methods and convert the
underlying objects on the backingbean... On 11/24/05, Marius Kreis <[EMAIL PROTECTED]> wrote:
Goo
You're right.
Thank you for your help.
Regards,
2005/11/24, Marius Kreis <[EMAIL PROTECTED]>:
> Well in this case you're ignoring the great benefits of jsf
> The big deal about jsf is that you can handle HTML tags like components
> of a user interface. I'm sure the web will tell you somethin
Hi guys!
I wrote a simple component that can set the focus in any form control
across multiple submissions, this is useful to control form
navigation.
How to use:
In jsp (before close h:form):
in managed bean:
private HtmlFocus focus;
focus = (HtmlFocus)form.findComponent("focus");
focus.
Well in this case you're ignoring the great benefits of jsf
The big deal about jsf is that you can handle HTML tags like components
of a user interface. I'm sure the web will tell you something about the
component tree in jsf and how it is built.
If you know about this, then you understand t
Web framework smackdown in Vienna
===
Tuesday we'll do a web framework smackdown in Vienna.
Thomas Spiegl will hold the Apache MyFaces presentation.
You'll see a comparison of:
* Apache Cocoon
* Apache MyFaces
* Apache Struts
* Ruby on Rails
When: Tuesday Evening, 1
hi
I am using extended myfaces HtmlDataTable component. I want to add
some javascript to RowOn... events.
For some reason that doesnt work. Here is my code
import org.apache.myfaces.component.html.ext.HtmlDataTable;
...
HtmlDataTable table2 =
(HtmlDataTable)faces
Yes... :-)
2005/11/24, Marius Kreis <[EMAIL PROTECTED]>:
> Hello again.
>
> Nice having solved at least one problem. Let's face the next one.
> It sounds to me as if you create a string in your backing bean, which
> represents a jsf-tag, e.g. $tag = "";
> Is this correct?
> And now you want to in
Hi,
I use the tree2 component (myfaces 1.1.1)
for navigation purposes. (until now it worked fine)
I have a NavigationBean in session context
which holds the treedata ( TreeNode instance).
Now, I added a new jsp page.
When I navigate from a page (where the
tree2 rendering is o.k.) to this ne
Hello again.
Nice having solved at least one problem. Let's face the next one.
It sounds to me as if you create a string in your backing bean, which
represents a jsf-tag, e.g. $tag = "";
Is this correct?
And now you want to insert this string into your page and get it rendered?
Airton Carrara
You're right, sorry.
I've got confused with two problems I have: one I've posted you've
answered and it's ok.
The other one, I have had not mentioned, I need to render the entire
tag stored on a string (not the string as is).
Thank you very much.
Regard,
Airton
2005/11/24, Marius Kreis <[EMAI
Using recent nightly builds use can put in the action attribute an
external link, like this (got this snipped from the examples):
http://myfaces.apache.org"; />
Just use the "http:" to redirect to external pages,
HTH,
Bruno
2005/11/24, Rafael Nami <[EMAIL PROTECTED]>:
> Thanx Peter, but It's
Hello all,
I wanted to inform you about a logging API for JavaScript, which could
be very useful for MyFaces also because of getting more and more complex
JavaScripts by AJAX-Components which will be added to MyFaces:
http://developer.berlios.de/projects/log4js/
I started its implemenataion alrea
Well than I didn't get the point... and I still don't get it.
I thought you want to output your -Tags to actually diplay the
images (which assemble a barcode?) at the webpage. In this case you use
escape="false". But if you want to output the tag as-is, then the
parameter escape="true" should d
We just switched the theme to Office and it worked. We are using Tomcat 5.0.28 and all the myfaces jars
were deleted before updating to the nightly builds.
Thanks
Rafael Mauricio Nami2005/11/23, Bruno Aranda <[EMAIL PROTECTED]>:
Are you sure you have deleted all the old myfaces jars in the server
Marius,
escape="false" works inside the tag, ex:
will render 'boldText' in bold, but neither '' nor ''.
My needed is to render all the tag () stored in a
var on myBean class.
Thanks.
2005/11/24, Marius Kreis <[EMAIL PROTECTED]>:
> To answer your question:
>
> should work.
>
>
> Airton Carra
Mike, you deserve it! Many thanks for your contributions...
Welcome aboard!
Bruno
2005/11/23, Martin Marinschek <[EMAIL PROTECTED]>:
> Hi *,
>
> please welcome Mike to our team.
>
> Mike has been providing many patches over the very long time he has
> been active with Apache MyFaces, and has don
To answer your question:
should work.
Airton Carrara wrote:
Hi,
how to render a string whose value is the jsf tag itself?
example:
a string barCode is assembled on myBean. Its value is something like
I need it rendered on the page, but if I use , I get the string as is. Obviously, i
Hi,
Is it possible to use ADF Faces and MyFaces Tomahawk extension togehter.
After setting on oracle.adf.core, some Tomahawk
components work very strange. For example CommandNavigation doesn't pass
parameters.
I'am using ADF EA-19 and MyFaces 1.1.1 + JBOSS 4.0.2 (with Tomcat 5.5)
Bye,
Daniel
Hi Airton.
Why do you generate the html yourself? JSF should do this for you...
Just create a new HtmlGraphicImage, set the attributs as you like and
then add it as a child to an existing component which you can get using
UIViewRoot.getComponentByI() or something like this
Airton Carrara w
Good point. You could use
But I doubt that it works... I think the expression wil be evaluated
first and then throw an exception... sorry.
Peter Maas wrote:
I understand that this is possible, but how can I test this within a
tableGrid component without jstl?
On 11/24/05, *Marius Kreis* < [
Are you sure you have deleted all the old myfaces jars in the server
classpath? What server are you using?
Regards,
Bruno
2005/11/23, Rafael Nami <[EMAIL PROTECTED]>:
> I tried with all the latest nightly builds, the same image broken stuff
> occurred in IE.
> I was using MyFaces 1.1.0.
>
> PS
Thanx Peter, but It's not working since I'm using JsCookMenu instead of Panel Navigation 2.
Thanks
Rafael Mauricio Nami2005/11/24, Peter Maas <[EMAIL PROTECTED]>:
Hmmm,
did some testing... easiest way to do it seems to use the onclick handler of the commandNavication tag:
http://www.google.com'
I understand that this is possible, but how can I test this within a tableGrid component without jstl?On 11/24/05, Marius Kreis <
[EMAIL PROTECTED]> wrote:Hi Peter.Perhaps you can check for the class of the object with
user.class.nameI think this should query user.getClass().getName() and the
Hmmm,
did some testing... easiest way to do it seems to use the onclick handler of the commandNavication tag:
http://www.google.com');"/>
works for me!
-P
On 11/24/05, Peter Maas <[EMAIL PROTECTED]> wrote:
I've not tried this, but I think je could just put a simple
On 11/24/05, Rafael Nami <[
Hi Peter.
Perhaps you can check for the class of the object with user.class.name
I think this should query user.getClass().getName() and then you
can compare it to "User" or "Customer"
Peter Maas wrote:
Hi all,
I'm probably missing something obvious, but how can I 'detect' the
exist
Hi,
since I updated to the last nightly built, i get the following error on
almost every page:
WARN ReducedHTMLParser:558 - Invalid tag found: unexpected input while
looking for attr name or '/>' at line 6091
What's the reason for this?? Is there a problem with the last built?
see you guys!
Hi,
how to render a string whose value is the jsf tag itself?
example:
a string barCode is assembled on myBean. Its value is something like
I need it rendered on the page, but if I use , I get the string as is. Obviously, if I
write this tag direct on page, I see the bar code.
Thanks.
Hi all,
I'm probably missing something obvious, but how can I 'detect' the
existence of a property on a bean? I have a managed bean return a list
of users, which might can be a plain user or an extended 'customer'
class User{
String firstname;
String lastname;
String email;
// getters
I've not tried this, but I think je could just put a simple
On 11/24/05, Rafael Nami <[EMAIL PROTECTED]> wrote:
Hi everyone. We're trying to call a .html from our navigationMenuItem, but it isn't working.
If we try to declare it as a Action in the faces-config.xml, it will treat the html as a .fac
Hi everyone.
We're using the selectOneRadio in a update case, but every time that we
load the page from a search(a link in the dataTable, calling a method in the backingBean),
all the data from the row data is ok but the selectOneRadio(all the options are empty everytime).
And in the insert case, w
Hi everyone. We're trying to call a .html from our navigationMenuItem, but it isn't working.
If we try to declare it as a Action in the faces-config.xml, it will treat the html as a .faces, throwing
a Exception. We're trying now to call a method from the backing bean that uses the facesContext to s
Title: Set pageindex of datascroller
Is there a possibility to set the pageindex of a datascroller.
The problem is, that this index is stored in session and when the user jumps from one page(of the datatable) to another (with the datascroller) the pageindex is stored.
The next time the user
We deal with that with a custom DataModel, that returns the total
number of results in getRowCount() so the scroller can calculate the
number of pages but that only wraps a subset of data. We load this
data from database doing a query that starts in the current Index, if
data for this index did not
I'm a stupid young guy ;-) I should have seen my error myself...
VOlker, thanks very much! It finally works!!!
Regards,
Andy
-Ursprüngliche Nachricht-
Von: Volker Weber [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 24. November 2005 11:24
An: MyFaces Discussion
Betreff: Re: AW: AW: Ger
Hi,
UnicodeEncoder returns the encoded string.
[EMAIL PROTECTED] wrote:
> Hi Volker!
>
> I have tried your suggestion with UnicodeEncoder but it didn't work.
> Do you mean it like that?
>
> if (fname.startsWith(upperCasePrefix)) {
>
> UnicodeEncoder.encode
Hi Volker!
I have tried your suggestion with UnicodeEncoder but it didn't work.
Do you mean it like that?
if (fname.startsWith(upperCasePrefix)) {
UnicodeEncoder.encode(fname);
li.add(fname);
}
Regards
Andy
-Ursprüngliche Nachricht-
Von: Volker W
Or just patch InputSuggestAjaxRenderer to do this an add the patch to
myfaces-873 :-)
Volker Weber wrote:
> Hi Andy,
>
> [EMAIL PROTECTED] wrote:
>
>>Hi Volker!
>>
>>I have achieved to solve the problems with the Stylesheet. I have set a
>>styleLocation Attribute and
>>implemented my own theme
Hi Andy,
[EMAIL PROTECTED] wrote:
> Hi Volker!
>
> I have achieved to solve the problems with the Stylesheet. I have set a
> styleLocation Attribute and
> implemented my own theme.css
>
>
> But I still have problems with the umlauts!
> I need it very fast, that's why I want to solve it.
> How
Hi Volker!
I have achieved to solve the problems with the Stylesheet. I have set a
styleLocation Attribute and
implemented my own theme.css
But I still have problems with the umlauts!
I need it very fast, that's why I want to solve it.
How do you mean I can encoded them before adding them to t
Matthias Kahlau wrote:
Thanks for your tips, but the selectOneRadio definitely doesn't work
correctly with onchange="this.form.submit();", because the submit will take
place only after the 2nd change!
I tried
and it works like a charm.
I use firefox, maybe you catched a browser issue?
-
Hi,
[EMAIL PROTECTED] wrote:
> That's for answering..
>
> 1)Problems with german Umlauts
> Is there a possibility to encode the response before its send?
> How can I do that?
If you need this fast, you can encode the values in your bean before
adding them to the list. but this will make problems
Hi Simon,
I think there is a further problem. The dataScroller 'knows' the number of
records - presumably by doing a datalist.size(). That is going to be a
problem for large datasets - we don't know the size without traversing the
whole dataset and constructing the datalist.
Having to bind the da
Hi!
Thanks for your tips, but the selectOneRadio definitely doesn't work
correctly with onchange="this.form.submit();", because the submit will take
place only after the 2nd change! I tried onclick="this.form.submit();", and
that works... That's why I think, the incorrect behavior of selectOneRad
Congratulations Mike!
2005/11/23, Martin Marinschek <[EMAIL PROTECTED]>:
> Hi *,
>
> please welcome Mike to our team.
>
> Mike has been providing many patches over the very long time he has
> been active with Apache MyFaces, and has donated invaluable help to
> all users of Apache MyFaces - most o
I finally solved the problem using the x:saveState
and a request-scope bean. Thanks a lot for all your
help.
--- Mike Kienenberger <[EMAIL PROTECTED]> wrote:
> I've also never seen an h:form inside a dataTable.
> I'm not sure if
> that'd cause a problem or not, but if your issue is
> not a
73 matches
Mail list logo