I meant url -- beacking bean method mapping. I don't want to go the
result page directly.
On 11/21/06, Nebinger, David [EMAIL PROTECTED] wrote: What would be the best
way of doing this in JSF?
Um, have you actually read anything about JSF?
I mean anyone who RTFM would know that the
This isn't Glassfish though... it isn't even AppServer 8.1
This Sun Java System Web Server 6.1 - aka SunOne WebServer... separate product
pre-dating AppServer and doesn't include JSF at all as far as I know.
-Original Message-
From: Simon Kitching [mailto:[EMAIL PROTECTED]
Sent: Tue
Um, rowClasses works also with the JSF h:dataTable and does not require the
use of t:dataTable...
-Original Message-
From: Sudhakar Mekathotti [mailto:[EMAIL PROTECTED]
Sent: Monday, November 20, 2006 4:27 PM
To: MyFaces Discussion
Subject: Re: t:datatable alternating row colors?
Mick,
Sorry, Eric, but your question is still not completely clear, but I'll take a
swag at it...
Specific inbound URL mapping is not, I don't believe, supported as the whole
JSF lifecycle includes the restoration of the view root; any inbound URL may or
may not have the appropriate view
Have you tried using an Integer object in the backing bean rather than an int?
I'd guess that a null Integer would be blank, where an int defaults to 0 upon
creation...
-Original Message-
From: Jon Steelman [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 21, 2006 5:19 PM
To:
Hello
I have checked the archive but can't find a solution for my problem.
I have a t:dataTable which has rows. On the first column of each row I
have a checkbox which should be automatically checked dependend of
another checkbox. For instance, if I have a checkbox in the tableheader
an
Jon Steelman wrote:
When an h:inputText field is value associated to an int/long in the
backing bean, what is the sensible way to make it default to blank on
the initial non-postback value instead of showing 0 by default?
I haven't done this myself, but expect you would attach a custom
Hello,
it is not possible to combine markup until now.
Maybe I will change this in few day, but I should ask the other
developers what they think about this :-)
Regards
Bernd
H. Swaczinna wrote:
Hello Bernd,
thank you, it works. But one short followup question: Is it possible
to combine
I have a JSF web app (using the myfaces api impl jars) that works fine in
Tomcat 5.5
I'm trying to deploy it to Sun Java Web Server v6.1 and seem to be getting
some sort of versioning problem.
Loading even a simple, hello world type JSF page gives the exception
below. I gotta think others have
Hello Helmut,
the ajax stuff is only included if a reload facet is present.
Maybe i will change it.
You can enforce it with
f:facet name=reload
tc:reload frequency=5000 update=false /
/f:facet
Regards
Bernd
[EMAIL PROTECTED] wrote:
Hi Volker,
yes, it works with onclick. And
Sean Comerford wrote:
I have a JSF web app (using the myfaces api impl jars) that works fine in
Tomcat 5.5
I'm trying to deploy it to Sun Java Web Server v6.1 and seem to be getting
some sort of versioning problem.
A common problem when using MyFaces with Sun's stuff is not clearing out
Its OK and thanks for the responses. I guess Im looking for another level
of abstraction / indirection. In Struts you can specify a so-called action path
which is really a URL mapping to forward the request to an action which is
really a Java method. In JSF, can something similar to this be
As far as i know this works on the h:datatable too.
_
Von: Sudhakar Mekathotti [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 20. November 2006 22:27
An: MyFaces Discussion
Betreff: Re: t:datatable alternating row colors?
Mick,
rowClasses=class1,class2 should do the trick. You need
apache shale remoting is what you are ;ooking for, if you find yourself
using this alot, then JSF might be not the right solution for you.
Eric Chentao Hu
sounds you are looking for a nonFacesRequest to facesResponse solution:
http://wiki.apache.org/myfaces/InvokingJsfPagesWithStandardUrls#head-6c1aaf488d48f938896da962aaa4361ec3ffaf70
2006/11/21, Eric Chentao Hu [EMAIL PROTECTED]:
It's OK and thanks for the responses. I guess I'm looking for
That does the trick. The null Long gives me a blank.
Thanks,
Jon
On 11/21/06, Nebinger, David [EMAIL PROTECTED] wrote:
Have you tried using an Integer object in the backing bean rather than an
int? I'd guess that a null Integer would be blank, where an int defaults to
0 upon creation...
If you are using facelets this character entity problem will not go
away until the next release of facelets. I have written another post
earlier about this called
"Its a bug: Facelets+MyFaces cannot serve UTF-8 and here is why!"
Randahl
Paul Pogonyshev wrote:
I wrote:
Jeff
Well, via the navigation rules you can define a complete rule such as:
navigation-rule
from-view-id/page1.jsf/from-view-id
navigation-case
from-outcomesuccess/from-outcome
to-view-id/page2.jsp/to-view-id
/navigation-case
/navigation-rule
navigation-rule
In using Myfaces 1.1.4, tomahawk 1.1.3, I'm trying to get the tree2
working for navigation. The menu system is created during the startup of
the application with the appropriate URLs. Since this menu system has to
be a reusable component, I can't use navigation rules to specify actions
for the
Has anybody any idea? I have still this problem.
Thanks, Stephan
-Ursprüngliche Nachricht-
Von: Michael Heinen [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 8. November 2006 18:13
An: MyFaces Discussion
Betreff: RE: First action does no call to backing bean
I have the same problem on
Hi,
Here is the thing. When I put a Div component inside a jsp page and add
children inside of it, they are rendered nicely like they should, but
whenever I have to construct part of the JSF tree programmatically ,
when I'm adding the Div of some component and several other components
as
Great, I will use it in future for our Portlets. As I can see, the
context is configurable for this.
I will then implement the interface for Liferay...
Von: Cagatay Civici [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 14. November 2006 13:20
An: MyFaces
Hi,
I use tomahawk 1.1.3, when i use a t:datatable below
t:dataTable id=data value=#{testBean.companyList}
var=company rows=10
t:column
t:outputText value=#{company.companyID}/
/t:column
t:column
t:outputText value=#{company.companyName}/
/t:column
/t:dataTable
The companyList
Hi Stephan,
well, the reason for that is to be found in the JSF-lifecycle.
On a post-back, all 6 phases are executed - on the first request, only
the first and the last are executed. As when the session is empty,
we're talking about a first request, your action won't be executed
at all.
On 11/20/06, Nebinger, David [EMAIL PROTECTED] wrote:
Um, rowClasses works also with the JSF h:dataTable and does not require
the use of t:dataTable...
Thought it was 'extended' functionality. Thanks for the info.
-Original Message-
*From:* Sudhakar Mekathotti [mailto:[EMAIL
Hello,
you can use tc:link instead of button and get the current row with from
the table or from the UIParam.
tc:column label=Spaltenname 1 sortable=false align=left
tc:link label=#{rowData.value}
actionListener=#{testForm.click}
f:parameter name=value
Hi list,
I am using dataScroller for paginating a list. I would like to have access
to the current page in the bean in order to load it whenever a user returns
to a list that was previously loaded. My scenario is the user is loading a
set of detail pages and when he/she comes back to the list
hi David,
i'm very sorry for my delayed response , but i had to do an urgent part of
the application
i haven't tried your risolving ...because i got a hinchi had to satisfy
it ...i did like this :
in the page (with MB1) with the link i used t:updateListener and i updated
the MB2
Hi,
Hmm.. I'm not a tomahawk developer (at least not recently), but it sure
looks like HtmlTableRendererBase will fail nastily if rows is ever
greater than the number of available elements in the data-list.
I don't remember it being this way in the past though I haven't checked
the old
Hi,
I've set a TabChangeListener for a tabGroup, but it is not invoked,
when the tag I'm leaving contains an invalid input field, for example
a numerical field with an invalid number entered. When the entered
data is valid, the TabChangeListener is invoked. Is this a bug or a
feature?
I want to
How can I alternate the row colors in a datatable?
--
Thanks
DJ MICK
http://www.djmick.com
http://www.myspace.com/mickknutson
Hi,
Here is the thing. When I put a Div component inside a jsp page and add
children inside of it, they are rendered nicely like they should, but
whenever I have to construct part of the JSF tree programmatically ,
when I'm adding the Div of some component and several other components
as
Hello Bernd,
thank you, it works. But one short followup question: Is it possible
to combine the markups in the markup attribute, for example
markup=number;strong;mymarkup? Or must I define for every combination
of simple markups a new combined markup, for example
markupnumber/markup
What would be the best way of doing this in JSF?
Um, have you actually read anything about JSF?
I mean anyone who RTFM would know that the navigation rules provide the
string-result page mapping as struts provides...
Daniel Young wrote:
You may find you need a CharsetFilter:
public void doFilter(final ServletRequest request, final ServletResponse
response, final FilterChain chain) throws IOException, ServletException {
request.setCharacterEncoding(encoding);
chain.doFilter(request, response);
}
Hi Martin,
I am not shure if I understand it correct. It is not a commandButton shown on
the initial page, it is just the first button pressed within the webApp. The
user has navigated via navigationMenu first to the page.
Or - writing this - could it happen by some immediate=true options?
I have a JSF web app (using the myfaces api impl jars) that works fine in
Tomcat 5.5
I'm trying to deploy it to Sun Java Web Server v6.1 and seem to be getting
some sort of versioning problem.
Loading even a simple, hello world type JSF page gives the exception. I
gotta think others have hit
I second that. Seems to me skipping validation for a menu item would be the
common case. Should be trivial to implement, too.
Thanks.
James Reynolds-4 wrote:
Is there a way to set up the JSCookMenu so that it will bypass
validation, as if it had an immediate attribute set to true?
Hi all,
Is there a standard way to paginate through a large DB table that
integrates with the t:dataTable component without having to cache the
entire result set in memory or having to hold a constant connection to
the DB?
Thanks
Hi,
this maybe helpful to you:
http://wiki.apache.org/myfaces/WorkingWithLargeTables
cheers,
Gerald
On 11/21/06, Sriram Saroop [EMAIL PROTECTED] wrote:
Hi all,
Is there a standard way to paginate through a large DB table that
integrates with the t:dataTable component without having to cache
Hi,
How can I find the sum of group by columns in datatable ? For example :
header1hearder2 header3
parent 1 child1 child11
child2 child22
Totaltotal1 total2
parent2child1 child11
chlild2 child22
Originally it sounded as though the user had been in the app, and after walking
away from their browser the session eventually expired.
Now the user walks back and clicks the button - that's the part that's throwing
them.
The submit on the form expects to go back to a live session, but since
For inputHtml editor, in text editing mode, I added the following
object width=425 height=350param name=movie value=
http://www.xxx.com/video/1.swf;/paramparam name=wmode
value=transparent/paramembed src=
http://www.xxx.com/video/1.swf; type=application/x-shockwave-flash
I have extended the htmlCommandLink component in order to add some parameters
to the tag, that will effect the rendered output of the component. This works
fine, with one problem I cannot get passed. When i use it inside a dataTable,
the string value passed in to the parameter is accessbile
Hello,
I have ask to include this module and an other module for inclusion in
the myfaces common or what ever module, last month.
http://mail-archives.apache.org/mod_mbox/myfaces-dev/200610.mbox/[EMAIL
PROTECTED]
I like the idea to share more code with each other project.
Regards
Bernd
Hi!
Is there a general problem with input validation and tabGroup?
When I enter an invalid value in an input field, which resides on a
tab of a tabgroup, and click on the submit button, the submit action
is not called and the input field gets a red border. So everything is
fine. But when I
Mr Arvind Pandey wrote:
Hi all,
Using tomahawk tiles with JSF application, always
shows the previous URL in the browser. As per the
requirement of my application, I need to refresh the
current page after a time-interval.
But the browaser always shows the previous URL,
hence once the
Hi!
I want to diplay master/detail data in one single page. I have got an
overview list (tc:sheet) and an area (tc:box) to display the detail
data for the currently selected row in the list. But I know, there's no
selectionChangeListener for tc:sheet (and will not be in the near future?).
So it
In simple terms my current need is to be able to keep the paginator state in
order to load the last page that the user was at when the datatable reloads.
Regards,
JV
_
De: Jorge Vásquez [mailto:[EMAIL PROTECTED]
Enviado el: lunes, 20 de noviembre de 2006 17:40
Para: 'MyFaces
I'm sorry. I have posted in many js groups, but no answer...
I have a js object, and I need to return de data handled by the ajax
request...see on the green comment
dojo.declare(util, null, {
evalOnBlur: function(id) {
eval(dojo.byId(id).attributes['onBlur'].value);
},
Hello Mario,
Mario Ivankovits wrote:
Hi Matthias!
http://svn.apache.org/viewvc/myfaces/tobago/trunk/contrib/security/
This one is really interesting, though, instead of a simple error
message I'd prefer something like invoking a navigation,
For this I can add a optional ActionListner or
Hi Bernd! Bohmann schrieb:
http://mail-archives.apache.org/mod_mbox/myfaces-dev/200610.mbox/[EMAIL
PROTECTED]
Sorry, I've read it in the past, but my brain didn't jump up at this
time :-(
I like the idea to share more code with each other project.
Great!
The FileUpload stuff is somewhat
Ok...thanks Scott and SimonI have found another trigger...
-Ursprüngliche Nachricht-
Von: Scott O'Bryan [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 20. November 2006 07:23
An: MyFaces Discussion
Betreff: Re: AW: PhaseListener behaviour
Simon,
Actually, while somewhat true, it
Hi Volker,
yes, it works with onclick. And it's fast compared with reloading
the whole page :-)
Btw: It did not work for panel:
Fehler: LOG.debugAjaxComponents is not a function
Quelldatei:
I'd guess that by returning null (assuming this is an action method), faces
will redirect back to the form (although you don't indicate what happens when
you do submit).
Just a guess, but I'd try returning an actual string which, in the nav map will
need to be coded with a redirect / in order
I have a link to my secured area and my admin area, on my home page. When I
click on my admin link, I get promoted for a username and password and am
authenticated through acegi fine. But after AUTH, I get forwarded to the
secured page, not the admin page, or page I originally requested.
How can
Hi all. I've downloaded myfaces impl from the nightly builds 18.11.2006 and
i got this as javascript error: oamSetHiddenInput is not defined. What
means this and how to fix it?
Hi Gerald
So easy :)
Thanks
Gerald Müllan wrote:
Hi,
do you have made sure that your manage-bean FailureWrapper has a
default no-arg constructor? It seems that the jsf managed-bean
facility cannot create a new instance of the bean.
cheers,
Gerald
On 11/21/06, [EMAIL PROTECTED] [EMAIL
Hi,
I use tomahawk version 1.1.3. I have no experience of working with
nightly builds unfortunately, is it safe? Because we have A LOT of stuff
done with MyFaces that I would not want to break:)
The biggest puzzle for me is why t:div renders children and
org.apache.myfaces.custom.div.Div does
Hi,
Any one have an idea ? Please help me
Thanks,
JS.
JS wrote:
Hi,
How can I find the sum of group by columns in datatable ? For example :
header1hearder2 header3
parent 1 child1 child11
child2 child22
Totaltotal1
Hi,
I have Error page with Back button. On selecting Back I navigate to the
page in which this error has occurred by setting that page to View Root
using following code snippet.
FacesContext context = FacesContext.getCurrentInstance();
UIViewRoot newView =
My scenario is very similar to many of the posting with respect to resetting
the pageIndex when the # of rows in the result set has changed. In my case
the # of rows is always a smaller.I've been successful resetting the
pageIndex back to 1 with the setFirst() method on the table.
Hello Volker,
I tried this, but I get the error message
Attribute script invalid for tag button according to TLD
Must I use the onclick attribute instead? But when I use the
onclick attribute on buttons, the action and actionListener will
not be called. The is a general problem with buttons.
I
Can anybody know how to bind back-bean using s:accordionPanel?
--
View this message in context:
http://www.nabble.com/How-to-dynamic-binding-values-using-accordionPanel-tf2663044.html#a7442594
Sent from the MyFaces - Users mailing list archive at Nabble.com.
Hi,
How would you render sub-nodes of a node in a Tree2 control as an HTML
checkbox? Are there any samples showing anything other then simple text
being used as nodes in a Tree2 control?
Thanks
Sawan
go to
http://mail-archives.apache.org/mod_mbox/myfaces-users/200605.mbox/thread?8
and search for Tree2 CheckedNode question
-M
On 11/22/06, Sawan Vithlani [EMAIL PROTECTED] wrote:
Hi,
How would you render sub-nodes of a node in a Tree2 control as an HTML
checkbox? Are there any samples
Hi Stephan,
My concepts are not very clear regarding the portal
server.
I am using RAD as my IDE and Wepsphere portal server
and application server(WAS).
Which Portal server are you using.Are you using the
same combination.
I think in addition to update=false you should set the frequency to
a very hight value
e.g. 10 minutes (60) or more (depends on your application design).
Otherwise the client will request a update every 5 seconds with a
response of 'not modified' by the server.
2006/11/22, Bernd Bohmann
Hi,
are there situations in the JSF lifecycle where a value binding will not
be executed ?
Oliver
I believe so: on a request/response cycle, when the button clicked
has immediate=true, and the field with the value binding has
immediate=false (the default)
On 22 Nov 2006, at 8:37, Pfau, Oliver wrote:
Hi,
are there situations in the JSF lifecycle where a value binding
will not be
70 matches
Mail list logo