Hello John,
this is a bug in 1.0.8 it is fixed in the nightly build and in the
1.0.9-RC1.
http://issues.apache.org/jira/browse/TOBAGO-193
Regards
Bernd
John wrote:
Is there some kind of limit on the amount of text within the textArea
Tobago tag?
I have the tag within a tabGroup, within
Hi John,
there is no limit on textareas value, (at least no one known).
If you can reliable reproduce this, please file a bug report [1].
Regards,
Volker
[1] https://issues.apache.org/jira/secure/CreateIssue!default.jspa
2006/12/7, John [EMAIL PROTECTED]:
Is there some kind of limit on
Many thanks for your answers and pointing me into the right direction.
I thought it was an EL issue.
Michael
-Original Message-
From: Simon Kitching [mailto:[EMAIL PROTECTED]
Sent: Mittwoch, 6. Dezember 2006 20:29
To: MyFaces Discussion
Subject: Re: rowIndexVar usage in EL
I can
Hi again,
Bernd is right, there was a bug (TOBAGO-193) with ajax requests,
but this should not apply to normal buttons.
Please check this against non ajax requests befor filing a new bug.
Regards,
Volker
2006/12/7, Volker Weber [EMAIL PROTECTED]:
Hi John,
there is no limit on textareas
mmm perhaps the IBM ws has the lib in a different version already in
his shared folder?
Try to remove the jar from your lib and restart the container.
(just a (blind) guess)
-M
On 12/7/06, Shruti Shresth [EMAIL PROTECTED] wrote:
I am using myfaces-api1.1.4, myfaces-impl-1.1.4 and
Renzo,
the warning is correct. There is no onclick in
org.apache.myfaces.component.html.ext.HtmlOutputText and its super
classes.
Tomahawk's extensions set the onclick *attribute* (and others) like:
component.getAttributes().put(propName, value);
PErhaps Facelets should look in attributes as
Hi All,
I am trying to create a left menu using t:panelNavigation2 and
t:navigationMenuItems (This is used because the menu is created
dynamically depending on the role of a user)
I have to display an icon and text on each navigation menu item.
When I create a NavigationMenuItem object
I use standard j2ee security model. on tomcat jsbce realms works fine
when you want to know the username just
FacesContext.getCurrentInstance().getExternalContext().getUserPrincipal().getName()
and tomahawk components has a lot of visibleOnUserRole attribute that
allows you to forgot about
Hi anyone to javapolis this year?
There is a JSF meetup!
--
::SammyRulez::
http://www.kyub.com/blog/
-
La programmazione è per un terzo interpretazione e per due terzi ispirazione.
E per un terzo mistificazione
Hi!
I have a problem with executing backing bean action on submit.
I have a form with dynamic number of fields (in dataTable),
and submit command link below table. Unfortunately action from
command ling is not fired :( (although it is when I remove dataTable and use
fixed inputs).
here is my
Yes renderResponse() should solve the problem, what do you mean by 2 submits
are necessary from an action button.
On 12/7/06, Jorge Vásquez [EMAIL PROTECTED] wrote:
I tried solving it by including
FacesContext.getCurrentInstance().renderResponse()
but it introduces a new problem, since 2
I have one question regarding the initialization of request scoped
backing beans.
Is it a good practice to initialize attributes lazy in phase
renderResponse only?
Sometimes I want to prevent that an attribute of a request scoped Bean
is initialized again after a button has been clicked and
Hi,
sounds like a validation/conversion error with skipping of
invokeApplication Phase.
add a h:messages tag to the page to exclude or view this errors.
Regards,
Volker
2006/12/7, Pesia [EMAIL PROTECTED]:
Hi!
I have a problem with executing backing bean action on submit.
I have a form with
Thanks Renzo,
that was also my opinion first. I had an implementation problem and
reinitialized for every cell the datamodel and so the rowid was always 0. Now I
fixed and it works well again - with the rowId.
Regards, Stephan
Von: Renzo Tomaselli
hi,
i am using a datatable with the detailStamp.
is there a possibility to expand the first row on startup?
thx
steve
--
Ein Herz für Kinder - Ihre Spende hilft! Aktion: www.deutschlandsegelt.de
Unser Dankeschön: Ihr Name auf dem Segel der 1. deutschen America's Cup-Yacht!
Thanks for fast reply!
I did it and I got a message:
Bean: database.impl.DBValueWrapper, property: value (no write method for
property!)
Actually this is parametrized(generic) type and I have setter getter in
there:
public void setValue(Object value);
public T getValue();
hi,
How can I use Navigation Panel in tobago like tomahawk, It is possible by
using Tobago if yes then
how pls expalin me.
Any how can i use tomahawk and Tobago in same projects?
mithun
--
View this message in context:
hi
How can I use Navigation Panel in tobago like tomahawk, It is possible by
using Tobago if yes then
how pls expalin me.
Anyhow it is possible or not to use tomahawk and Tobago in same projects?
--
View this message in context:
Hello,
I would like to display a document (for example PDF) as a result of
an action in a separate browser window. This is a typical situation:
The user enters some data in a form, presses a print button and a generated
report is displayed in a new browser window, where he or she can print it.
I
Hi,
it is not possible to ust tomahawk and tobago in the same webapp.
see:
http://myfaces.apache.org/tobago/faq.html#tobago/myfaces%20extension
Regards,
Volker
2006/12/7, mithun [EMAIL PROTECTED]:
hi,
How can I use Navigation Panel in tobago like tomahawk, It is possible by
using Tobago
I am trying to implement an extended data table. Using the apache myfaces
SimpleCar example. Full source below:
http://example.irian.at/example-simple-20061206/sortTable.jsp.source
However the part fails for stating that a facet cannot have any more than 1
nested component.
Put the components in the faces in h:panelGroup
2006/12/7, jamesclinton [EMAIL PROTECTED]:
I am trying to implement an extended data table. Using the apache myfaces
SimpleCar example. Full source below:
http://example.irian.at/example-simple-20061206/sortTable.jsp.sourceHowever the
part fails
Hi Mert,
On Wed, 2006-12-06 at 22:30 +0200, Mert Çalışkan wrote:
Briefly,
- A phaselistener that checks the session for a uniqueToken. If there
is none, generates a new one and stores it in session. If there is
one, checks the equality of that one with the one submitted with form.
- An
Yes..
Use a hashmap for this and put the tokens with a keyVal for each page, e.g.
with viewId.
And there is also another concern..Ajax frameworks...A workaround for
AjaxAnywhere can be stated like this:
For an AA request, requestHeaderMap contains a value with the key,
aaxmlrequest. So check
On Thu, 2006-12-07 at 16:03 +0200, Mert Çalışkan wrote:
Yes..
Use a hashmap for this and put the tokens with a keyVal for each page,
e.g. with viewId.
Yes, that's it, thanx!
And there is also another concern..Ajax frameworks...A workaround for
AjaxAnywhere can be stated like this:
Tomek,
session.setAttribute(USER, loginName);
You shouldn't need to do direct session/request manipulation as long as
you have a facescontext.
I also don't like including all this FacesContext/ValueBinding code in
every managed bean. Too much clutter.
Better is a utility class that
In that form where I have the selectoneMenu component, I have to click twice
over the button that does the submit of the form in order to effectively
process the action associated with that button. The first time nothing
happens and then the action is finally executed. Don´t know how to explain
There is a (small) thread also on the Dev list on this. :)
Antwerp is too far for me, sadly.
::SammyRulez:: wrote:
Hi anyone to javapolis this year?
There is a JSF meetup!
A new google groups about maven:
http://groups-beta.google.com/group/maven-experts/
All yours are wellcome.
Thanks.
I see, thats pretty good idea, will do like you wrote, I'm quite lazy in
repeating the code, so that solution is for me :)
Thanks everyone for help :)
Tomek
Jeff Bischoff wrote:
Tomek,
session.setAttribute(USER, loginName);
You shouldn't need to do direct session/request manipulation as
put index.jsf as your welcome page, then create an empty index.jsf
file in that directory (it just needs to exist for the container to
find it)
On 12/6/06, Dave [EMAIL PROTECTED] wrote:
Hello, home page URL
http://www.youdomain.com/
the URL first access index.jsp(JSP page) which then
Better yet would be to set loginBean as a managed property for any
beans that use it. Then you don't need to write any code.
On 12/7/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I see, thats pretty good idea, will do like you wrote, I'm quite lazy in
repeating the code, so that solution is
Is the form on which this is occurring also your welcome file (index.jsf, or
some such thing)? I recently saw this two clicks required behavior in that
case. On first access, the URL would be http://myserver/myapp/. On the first
click, it would simply re-render with the complete URL
Sounds like you need the id in the hidden field to be consistent both before
and after sort, which it isn't if you're using a row index (1,2,3...) Could
you instead put in the hidden field a unique property of the object in each
row so that it wouldn't change?
By the way, I'd love to see your
I am trying to come up with a solution to large datasets by only loading 25
records at a time. I have looked at
http://wiki.apache.org/myfaces/WorkingWithLargeTables
http://wiki.apache.org/myfaces/WorkingWithLargeTables but am having a
problem with the DataScroller component displaying the
Question is, is it possible to include JSP tags inside a facelet
template?
No.
It is possible, however, to run facelets and JSP templates within the same
Web app:
http://wiki.java.net/bin/view/Projects/FaceletsFAQ#How_do_I_use_Facelets_and_JSP_in
/dmc
On 12/6/06, David Delbecq [EMAIL
Hi
Someone has experience with sort Datatable on a JSF-Portlet. If i run
the application stand-alone works fine, but when I deploy on Pluto
Datatable component doesn't sort. I'm using MyFacesGenericPortlet
Thanks in advance
Jose
Hi all;
I am trying to develop a CRUD application using JSF. The problem is
that some of the columns contain multiple whitespaces, such as ABCDEF.
When I read the values, everything is ok but when I put the values inside an
InputText, the whitespaces are truncated, resulting in ABC DEF.
Mike Kienenberger wrote:
Better yet would be to set loginBean as a managed property for any
beans that use it. Then you don't need to write any code.
Mike,
This won't work in all cases (e.g. A session bean looking up a request
bean). Also, some of us prefer not to managed dependencies
I have a bean property that is displayed on a page. The value of the
property needs to be initialized by making a service layer call. When
should this initialization be done? Currently I am doing a lazy
initialization when the property is first accessed:
public class ForumDetailsBean {
Actually I don't know how to do it, could please you send me some
example, or some links?
Thanks
Tomek
Mike Kienenberger wrote:
Better yet would be to set loginBean as a managed property for any
beans that use it. Then you don't need to write any code.
On 12/7/06, [EMAIL PROTECTED] [EMAIL
Albartell,
My version of MyFaces is 1.0.7
This really isn't supported anymore.
As for your question, when rendering the dataScroller looks at the
first attribute of the dataTable. I suspect that since you are
limiting the dataset to 25, first always points to the first element
on the list
Responses to both Jeff and Tomek below.
On 12/7/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Actually I don't know how to do it, could please you send me some
example, or some links?
managed-bean
managed-bean-nameyourBean/managed-bean-name
It'll depend on your specific situation, but the methodology below
works fine. I've used this structure myself.
On 12/7/06, Naresh Bhatia [EMAIL PROTECTED] wrote:
I have a bean property that is displayed on a page. The value of the
property needs to be initialized by making a service layer
Mike Kienenberger wrote:
On 12/7/06, Jeff Bischoff [EMAIL PROTECTED] wrote:
So I would say it's another option, but not always better. Feel free to
educate me on why you disagree.
No, that's a fair comment, and I thought of the same limitation after
I posted the message. It's another option
Before Craig mentions it, you might want to have a look at the Apache
Shale View Controller library:
http://shale.apache.org/
This provides page load events.
The JBoss Seam library also provides this functionality.
However, as Mike says, your current approach will also work.
Regards,
Matt Tyson wrote:
Can you have a phase listener entry in the config.xml be a managed bean
reference?
I've got a phase listener that needs a reference to another object to get
some data and I want to externalize that reference.
Not as far as I know. I would also love this to be possible in
Simon,
Your idea for using the bean that programmatically creates the phase
listener seems promising ... maybe a servlet listener that just gets the jsf
context and creates the managed bean?
I'm creating an ajax component so what I've done is write out a hidden field
that has the value binding
If I'm following you here, then you'd have a phase listener (call it
'listenerLoader') that basically instantiates the managedbean that will in
turn become a phase listener itself?
Seems like it should work...
Mike Kienenberger wrote:
What about creating a normal application-scoped managed
What about creating a normal application-scoped managed bean to store
your configuration and then manually fetching a reference to it using
a value binding in the phase listener?
To borrow Jeff's example:
FacesContext context = FacesContext.getCurrentInstance();
No, nothing that clever. :-)
All I'm suggesting is that you use a value binding to fetch a
reference to a configuration bean. You could fetch the reference
directly, or you can define a application-scoped configuration-holding
bean that holds any number of needed references or values and
On 12/7/06, Matt Tyson [EMAIL PROTECTED] wrote:
If I'm following you here, then you'd have a phase listener (call it
'listenerLoader') that basically instantiates the managedbean that will in
turn become a phase listener itself?
On rereading your message, I see you're talking about how to
I'm using facelets and myfaces (1.1.5-SNAPSHOT). I use the tiny mce editor
for formatted text. Recently I tried adding ajax4jsf to certain pages.
This works great for plain textareas, but when the text area is a tiny mce
one, it doesn't work.
I know this is pretty specific, but I'm hoping
The problem with this approach is that there is no faces context
available when the phase listener constructor runs. Potentially the
listener could have an isIntialised flag, and on every call to
beforePhase, if the initialised flag is false then do what you describe
below. Not elegant though.
Kevin,
You might try asking this on the Ajax4jsf mailing list or the tinymce
forum... unless you already sent it to the ajax list, and I just haven't
gotten it yet? :)
Regards,
Jeff Bischoff
Kenneth L Kurz Associates, Inc.
Kevin Galligan wrote:
I'm using facelets and myfaces
It's not hard to create a FacesContext instance. I do this in my
servlet filters.
http://www.thoughtsabout.net/blog/archives/33
It's personal preference, but having one hardcode bean seems better
than iterating through registered phase listeners and pushing values
to them.
I'd also prefer
Mike Kienenberger wrote:
It's not hard to create a FacesContext instance. I do this in my
servlet filters.
http://www.thoughtsabout.net/blog/archives/33
Yes, but in a PhaseListener constructor there are no
ServletRequest/ServletResponse objects, so creating a faces context is
less
Matt Tyson wrote:
If I'm following you here, then you'd have a phase listener (call it
'listenerLoader') that basically instantiates the managedbean that will in
turn become a phase listener itself?
Seems like it should work...
Could do. The original phase listener could then remove itself.
Nop, its not the first page, still, what you say sounds pretty interesting
to have in mind.
Regards and thanks,
JV
_
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de David
Chandler
Enviado el: jueves, 07 de diciembre de 2006 12:24
Para: MyFaces Discussion
Asunto: Re:
After you email I tried posting to ajax4jsf. I'm not sure if it went
through.
However, I dug around the code for tinymce and figured out a way to do it,
which I'll share in case anybody has the same issue.
I figured the reason was that tinymce isn't actually modifying the
textarea's data when
Is there a way to not have this component output the layout with it???
I need 2 radio buttons on 2 separate lines with a middle line in between
them containing other form elements, such as checkboxes...Is this doable
using this component???
Charbel Abdul-Massih wrote:
Is there a way to not have this component output the layout with it???
I need 2 radio buttons on 2 separate lines with a middle line in between
them containing other form elements, such as checkboxes…Is this doable
using this component???
You can do this
Hello,
I've got a page with a tc:tabGroup and a tc:sheet in one of the
tabs. The sheet has a tc:reload tag, which reloadd the sheet every
10 seconds. So far, so good. But when I switch to another tab and back
to the sheet tab, there's always a new timer startet. So after one
switch, the sheet is
Hi,
I would like to know the Positives of the JSF..I feel that the JSF is in
limited Use when COmpared to the other frameworks , the interest is towards
Spring and hibernate rather than using JSF..
Can any one please explain me the real advantages of JSF,I don't Know about
it fully even
Inside a form, there is an inputText and a commandLink. When a user clicks the
commandLink, can the value in the inputText be submitted at the same time? The
reason to use commandLink instead of commandButton is that commandLink can have
params.
Thanks.
Dave
two index.jsf (s)?
I tried one index.jsf(home page) and empty index.jsp. It did not work.
Andrew Robinson [EMAIL PROTECTED] wrote:
put index.jsf as your welcome page, then create an empty index.jsf
file in that directory (it just needs to exist for the container to
find it)
On 12/6/06, Dave
[ a little re-ordered ]
Can any one please explain me the real advantages of JSF,I
don't Know about
it fully even though I'm using it.
You're using it but don't understand it's advantages?
I feel that the JSF is in
limited Use when COmpared to the other frameworks , the
interest is
Um, you could stuff your params in hidden fields and submit (either using
commandLink or commandButton). Otherwise you'll have to hack some javascript
to append the inputText as a param on the end of the commandLink url via the
onClick() event.
-Original Message-
From: Dave
No, create an index.jsf as an empty file in the root of the war. Then set the
welcome file entry to index.jsf in the web.xml file.
If you're using '.faces' as your standard extension, replace the '.jsf' above
with '.faces'.
Basically the welcome file entry will tell the servlet that if no
Hi David,
(May I refer You like this)
Is it not the case that the JSF coexisting with JSP pages is a little
Comprehensive..
Ok,as I don't know fully about JSF, do we have the POssibility to put
Complete end to the Client Side SCript... There are certain event based
attributes in the JSF
hi,
My first question is how can i use navigation panel like tomahawk
navigation panel.
is it possible?
Volker Weber-4 wrote:
Hi,
it is not possible to ust tomahawk and tobago in the same webapp.
see:
http://myfaces.apache.org/tobago/faq.html#tobago/myfaces%20extension
Regards,
Hi David,
(May I refer You like this)
Sure. I've been called worse ;-)
Is it not the case that the JSF coexisting with JSP
pages is a little Comprehensive..
IMHO it is horrid.
Ok,as I don't know fully about JSF, do we have the POssibility to put
Complete end to the Client
Hello,
I have this small issue: I am generating PDF reports using jasper but IE
can't open them directly in the window.. in the best case scenario it opens
a separate Acrobat Reader window and displays the file there.. (I managed to
get reed of the Open/Save menu...)
this is what I've added
Hi,
I have a web app with 2 porlets and 2 backing beans and one
faces-config.xml. When the 2 portlets are displayed on the same portal
page there is a FacesContext for each portlet. So in each PortletContex
is a useless backing bean from the other portlet. Is it possible to
define a
Sorry, normally whitespaces not shown on my previous message. There are three
whitespaces (nbsp) between 'ABC' and 'DEF' on the database. But when I pass
the value to the InputText and render the response, the browser shows only
one whitespace between 'ABC' and 'DEF'. The html source is also the
Hi David,
Sorry for the late reply..I'm preparing for a Project as apart of the
Personal interest ..How I can best use the Combination of the JSF,SPRING
Hibernate..
Can you please suggest me.I need it very badly..
Any Spring and hibernate groups are there..
Regards,
Chandru.
Hi,
I have a similar problem but using t:inputHtml control. When it is used with
ajax4jsf it does not work... the value from bean is not shown in the control
and if editing something into it and submit, the value does not get to server.
Is there a tiny mce control in myfaces? Where can I find
77 matches
Mail list logo