to capture them through backing bean...
http://www.jroller.com/page/mert?entry=how_to_pass_request_parameters
Regards,
Mert
On 5/2/06, Yasushi Okubo [EMAIL PROTECTED] wrote:
Hi, expertsI am using session bean, but some portions of applications have to showparam/value in URL field on browser and
Hi,
Meghana wrote:
Collections.sort(dataModel.getRowData(), comparator);
You can't sort a single row, this is what dataModel.getRowData() returns.
Try somthing like
Collections.sort((List)dataModel.getWrappedData(), comparator);
Regards,
Volker
--
Don't answer to From:
Hello,
I wanted to know when the 1.1.2 tomahawk can be download, beacause i use
tree2 component and the 1.1.2 resolve a lot of questions :-)
Thanks a lot for your help
Adrien
In JIRA as http://issues.apache.org/jira/browse/TOMAHAWK-409
--
View this message in context:
http://www.nabble.com/Sandbox-form-component-bug-t1539106.html#a4206511
Sent from the MyFaces - Users forum at Nabble.com.
I don't think 1.1.2 has been released yet. I've used the svn source to build
a copy or you can download the latest (binary) snapshot (1.1.3) here:
http://cvs.apache.org/builds/myfaces/nightly/
HTH
--
View this message in context:
You don't need these ids for a fixed header.
You can just define classes for your table elements.
I fixed the table header for IE and mozilla this way.
e.g.
t:dataTable id=yourList forceId=true ...
css:
#yourList thead {
...
}
#yourList tbody {
...
}
If you can't use forceId=true, then put a
subhash schrieb:
hi all
have a nice day
i need to use colspan and rowspan in my jsf pages but there is not such
attribute for column/columns tag for colsapan or rowspan also not in facest
tag for table header , if any body have any such idea abt this thing then
pls help me
thanks a lot in
Title: Tree2 in a DataTable problem
Hi All,
I have na page with a tree2 component on a column inside a dataTable component.
The tree2 is configured to use clientSideToogle, but the toogle does not work I think because the component tree2 generate the same clientID for all the tree2
Mert alkan wrote:
to capture them through backing bean...
http://www.jroller.com/page/mert?entry=how_to_pass_request_parameters
Regards,
Mert
Thanks Mert, I will try this out.
yasushi
On 5/2/06, Yasushi
Okubo [EMAIL PROTECTED]
wrote:
Hi,
experts
I am using
You might want to have a look at JBossSeam..hthmarcoOn 5/2/06, Rogerio Pereira [EMAIL PROTECTED]
wrote:Use struts-shale test framework.
I have a design/architecture question:
My page contains 2 nearly identical tabs.
Both contain complex components like datatables with
scrollers, multiple trees, iframes and a lot of buttons.
The first tab contains the result of a search with
master/detail view (a datatable and a
Take a look at this url, particularly option 2 and option 3.
http://wiki.apache.org/myfaces/Creating_Composite_Components
On 5/3/06, Michael Heinen [EMAIL PROTECTED] wrote:
I have a design/architecture question:
My page contains 2 nearly identical tabs.
Both contain complex components
Hi all,
I have another question:
Is it possible to define 2 forms on one page and that
only the submitted form is validated?
e.g. buttonA submits formA and buttonB submits formB?
I have a datatable on my page with a detail pane.
The detail pane contains some fields in order to
If you use facelets, you can just create a template for the page and
pass it different beans for each instance that you need. You can pass
other values as well that can be used for setting the rendered
attribute of your controls.
-Andrew
On 5/3/06, Michael Heinen [EMAIL PROTECTED] wrote:
I
Do I have to use a value change listener and do it manually?
--
View this message in context:
http://www.nabble.com/A-decent-example-of-picklist-t1535665.html#a4211457
Sent from the MyFaces - Users forum at Nabble.com.
Sounds like a job for t:aliasBean [1]. Wrap your snippet with an
alias bean and you can change the backing bean being referenced in the
snippet.
Hubert
[1] http://myfaces.apache.org/tomahawk/aliasBean.html
If it's a large snippet, should it still be called a snippet? :)
On 5/3/06, Michael
Thanks for the quick response Mike.
I read the two options and I am in doubt about the following statement
regarding alias beans for my use case:
Note also that component binding is not supported via aliased names.
Therefore the included page cannot include any component with a
binding attribute
I'm not sure about pure JSF, as I haven't really used it, but this is
very easy with facelets, just put in two forms.
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
html
xmlns=http://www.w3.org/1999/xhtml;
Did you get this working?
--
View this message in context:
http://www.nabble.com/Picklist-problem-t1122642.html#a4211532
Sent from the MyFaces - Users forum at Nabble.com.
Thanks Andrew,
I know your article which helps a lot.
I am just afraid of facelets because I already have a lot of trouble
with my tree2 components and the manipulation of them, with immediate
submits and the different state saving method. I am really looking
forward to the next version of
You have to use the same way you would use a selectManyListbox, for
instance. The only difference is in rendering right now. So it should
work for you. Maybe you are using an old version which had a bug and
didn't show the already selected values when re-rendered,
Regards,
Bruno
On 5/3/06,
On 5/3/06, Michael Heinen [EMAIL PROTECTED] wrote:
Do you recommend to drop tiles when using facelets or can they be used
together?
I would recommend dropping tiles and using facelets templating, but
you probably want to look at some facelets articles on facelets
templating first to be sure.
hmmm... I'll grab the nightly and retry again. What are the return types and
method signitures I'm supposed to be using in the backing bean?
--
View this message in context:
http://www.nabble.com/A-decent-example-of-picklist-t1535665.html#a4212016
Sent from the MyFaces - Users forum at
for the items you have to use a List or array of SelectItem objects,
for the preselected values you have to use an array of the same type
than the values used in the SelectItems. If you use Strings as values
of the SelectItems, the value of the picklist has to be an array of
Strings.
Hope that
I just did a clean/update/build and found that the sandbox 1.1.3 examples use
api 1.1.1 and not 1.1.4... is this a big?
--
View this message in context:
http://www.nabble.com/myfaces-api-1.1.1.jar-in-sandbox-examples%21--t1550593.html#a4212050
Sent from the MyFaces - Users forum at Nabble.com.
but that's with a valueChangeListener... can't you just set the value to be
an array?
--
View this message in context:
http://www.nabble.com/Picklist-problem-t1122642.html#a4212085
Sent from the MyFaces - Users forum at Nabble.com.
Thanks Matthias, the link you've listed does explain why I am not
setting a value before the onclick method is called. Unfortunately,
although that explains why I cannot update a backing value via a binding
method before opening a new window, I still am at a loss as to how I can
in fact open a
Greetings.
Does the latest myfaces (1.1.4 tomawak 1.1.3) from the svn repository
still support tiles?
I got the following messages during application start up. I was able
to see the named class from the Jar file, but the class loader was not.
Thanks in advance for any suggestions on
Yes, the example uses a valueChangeListener and no value attribute.
There is the valueChangeListener only to check the items selected and
update the info string. If you pass a value with an array of String
(the selected values) as the value attribute of the picklist, those
values will be
Hi List,
Does anyone know whether it is possible to directly access the
elements of an instantiated ArrayList by their index?
So if I would have in my backing bean:
ArrayListString list = new ArrayListString() // with e.g.
elements from index [0] to [4] having precise semantics being
Hi,
You have to change the view-handler to
view-handlerorg.apache.myfaces.tomahawk.application.jsp.JspTilesViewHandlerImpl/view-handler.
There is a tomahawk between myfaces and application in path of class.
Alin.
Greetings.
Does the latest myfaces (1.1.4 tomawak 1.1.3) from the svn
I'm struggling to find sources of
org.apache.myfaces.shared_impl package and
subpackages. They are absent both from Maven 1.1.2
source jar and
http://svn.apache.org/repos/asf/myfaces/core/trunk svn
repository.
Please point me in the right direction. Thanx a lot
:)
Regards,
Alexey
Regards,
shared package is copied to shared_impl and shared_tomahawk at build time.
Dennis Byrne
-Original Message-
From: Alexey Maslov [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 3, 2006 11:42 AM
To: users@myfaces.apache.org
Subject: Where are org.apache.myfaces.shared_impl sources?
I'm
Hi, experts
My backing bean needs to connect to database through connection
pool/DataSource on tomcat (v5.5.16). Now I changed my backing beans
from session to request scope trying to use t:savestate tag, then I made
them serializable, but it started giving exceptions
My assumption was that in
h:outputText value=Assignees: /
s:selectManyPicklist id=assignees
value=#{projectCreationBacker.assignees} size=5
f:selectItems
value=#{projectCreationBacker.workerItems}/
Thanks for the reply Volker! I was able to get rid of that error. But when I click on a column name it doesnt do anything. The _javascript_ console shows the following:Error: clear_joblistForm is not definedSource File: http://localhost:8080/faces/jobs.jspLine: 1Another thing is I am using
see:
http://www.irian.at/myfaces/date.jsf
octoberdan wrote:
Anyone have an example of an t:inputDate being tied to a backing bean? I've
tried everything...
--
View this message in context:
http://www.nabble.com/t%3AinputDate-not-setting-timestamp--t1499846.html#a4210792
Sent from the
That's purely local. No backing bean involved...
--
View this message in context:
http://www.nabble.com/t%3AinputDate-not-setting--t1499846.html#a4213263
Sent from the MyFaces - Users forum at Nabble.com.
What did you mean by 'backing bean'?
if not this:
- faces-config.xml (WEB-INF/examples-config.xml) -
!-- Managed Beans for date.jsp --
managed-bean
managed-bean-namedate1/managed-bean-name
managed-bean-classjava.util.Date/managed-bean-class
yes it is possible..
On 5/3/06, Philippe Lamote [EMAIL PROTECTED] wrote:
Hi List,Does anyone know whether it is possible to directly access theelements of an instantiated ArrayList by their index?So if I would have in my backing bean:ArrayListString
list = new
ArrayListString()//
with e.g.elements
Sorry, Managed-bean. I have a managed-bean with a dueDate feild that I want
to update.
--
View this message in context:
http://www.nabble.com/t%3AinputDate-not-setting--t1499846.html#a4213715
Sent from the MyFaces - Users forum at Nabble.com.
Alright. I'm using an valueChangeListener, it works and everything's groovy
on that side of things, but the form's action method is no longer being
called. What would be a possible reason for this?
--
View this message in context:
http://www.nabble.com/Picklist-problem-t1122642.html#a4213794
Don't serialize a data sources ;)
Use the transient key word.
Dennis Byrne
-Original Message-
From: Yasushi Okubo [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 3, 2006 11:55 AM
To: 'MyFaces Discussion'
Subject: NotSerializableException from PoolingDataSource
Hi, experts
My backing
The example uses managed-beans, as the config shows.
something like this should work:
- faces-config.xml -
managed-bean
managed-bean-nametestBean/managed-bean-name
managed-bean-classtest.TestBean/managed-bean-class
I should have posted the code:
Chunk of the java code:
private ListSelectItem workerItems;
private ListSelectItem assigneeItems;
public ListSelectItem getAssigneeItems() {
if (null == assigneeItems) {
octoberdan wrote:
Alright. I'm using an valueChangeListener, it works and everything's groovy
on that side of things, but the form's action method is no longer being
called. What would be a possible reason for this?
Possible reasons for skipping ApplicationPhase:
Validation errors : put a
As for messages I'm getting:
'Bean: com.loomis.jsf.backingbean.ProjectCreationBackingBean, property:
assigneeItems'
Does that make sense?
--
View this message in context:
http://www.nabble.com/Picklist-problem-t1122642.html#a4214365
Sent from the MyFaces - Users forum at Nabble.com.
Gah! I had the return type of one set to Date... Doh!
--
View this message in context:
http://www.nabble.com/t%3AinputDate-not-setting--t1499846.html#a4214445
Sent from the MyFaces - Users forum at Nabble.com.
Thank you for the help
--
View this message in context:
http://www.nabble.com/t%3AinputDate-not-setting--t1499846.html#a4214451
Sent from the MyFaces - Users forum at Nabble.com.
you have:
getAssigneeItems
but
setAssignees
octoberdan wrote:
I should have posted the code:
Chunk of the java code:
private ListSelectItem workerItems;
private ListSelectItem assigneeItems;
public ListSelectItem getAssigneeItems() {
Dennis Byrne wrote:
Don't serialize a data sources ;)
Use the "transient" key word.
Dennis Byrne
Thanks for the tip Dennis, but I started seeing another error after
adding transient before DataSource:
java.io.InvalidClassException: org.nesg.plims.QueryBean; no valid
constructor
I am
? It is a managed bean. (thought "backing bean" "managed beans" were synonyms - aren't they?!)Well, donno what goes wrong then, I'll do some more tests.Thx,PhilOn 03 May 2006, at 19:25, Mert Çalışkan wrote:Yes Phil, h:inputText value="#{backingBean.list[2]}" / is right. But be careful about the
You'll want to make sure the application is not trying to serialize a class
w/out a no-args constructor.
Dennis Byrne
-Original Message-
From: Yasushi Okubo [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 3, 2006 01:36 PM
To: 'MyFaces Discussion'
Subject: Re: NotSerializableException
Hi
Iam Using the Tabbed pane component from the Tomahawk from
myFaces.
Iam unable to use the include jsp tag inside a paneltab tag.
Iam facing the following exception.
==
message
description The server
encountered an
Dennis Byrne wrote:
You'll want to make sure the application is not trying to serialize a class w/out a no-args constructor.
Dennis Byrne
Thanks Dennis.
I see, but could you advise me how I can achieve that ? It sounds that
location of t:savestate could be a matter, but I am not
On 5/3/06, Desigachari, Rajkumar (Cognizant)
[EMAIL PROTECTED] wrote:
This Exception is because the f:view tag is not allowed inside the paneltab
tag.
Is there is any way to use the same.
If that's the only cause of the error (and it may not be), then use
f:subview wherever you are currently
Thanks for the link Mert. If you look at the page, it
seemsbe missing 50% of the puzzle; it shows how to bind a variable in
the target page, but it does not state how to pass that variable from the
originating page--the resolver function is resolving the binding of the current
(i.e., the
Hello,i spoke for what i read from jboss seam spec..I assumed you would develop a jboss seam app which is JSF-basedas far as i understood, you can test the backed beans in jboss seam applications usingjunit..
if the issue was about testing backed beans testing, i think it could be usefulif it was
Does anyone know if
this is possible, and if so, what is the correct mechanism
t:aliasBean
alias="#{pageBean}" value="#{Report}"
f:subview
id="reportgui"
jsp:directive.include file="#{pageBean.reportTemplate}" /
/f:subview
/t:aliasBean
The JSP directive
obviously cannot interpret the JSF
John,
each of the lists objects could accessed while rendering a row by the
name set to the var attribute of the sheet.
e.g.: you have a managedBean bean with a property persons, which is
a list of person objects. The person object has a property name.
tc:sheet value=#{bean.persons} var=data
On 5/3/06, Julian Ray [EMAIL PROTECTED] wrote:
Does anyone know if this is possible, and if so, what is the correct
mechanism
t:aliasBean alias=#{pageBean} value=#{Report}
f:subview id=reportgui
jsp:directive.include file=#{pageBean.reportTemplate} /
/f:subview
/t:aliasBean
The JSP
Are the properties accessed directly (they must be public)? Or, are they
accessed via getters (they can be private)?
Right now they are private with getters. I'm using the syntax you stated
in the sheet - not working.
Thanks,
John
-Original Message-
From: Volker Weber [mailto:[EMAIL
Hi Hasnain,
i'm not sure if i understand you correct, but if so : yes why not.
If you have a (1.5 Syntax) ArrayListArrayListString you can do:
h:dataTable value=#{bean.list} var=innerList ...
h:column
h:outputText value=#{innerList[0]}/
/h:column
h:column
h:outputText
They are accessed via getters.
Please post your code of the sheet, maybe i can find the problem.
Have you looked at the sheet in the tobago examples?
Regards,
Volker
John wrote:
Are the properties accessed directly (they must be public)? Or, are they
accessed via getters (they can be
We have been using the t:dataTable varDetailToggler
functionality with some success in our stand-alone web apps. However,
when we started testing in the context of JBoss Portal it stopped
working. Has anyone had success with this in a portal?
Good luck,
Steve
This email and all
%@ taglib uri=http://myfaces.apache.org/tobago/component; prefix=t
%
%@ taglib uri=http://java.sun.com/jsf/core; prefix=f %
%@ taglib tagdir=/WEB-INF/tags/layout prefix=layout %
layout:main
jsp:body
t:panel
f:facet name=layout
t:gridLayout rows=fixed/
/f:facet
Hi experts
I would like to add other components like outputtext, panelGrid etc
inside t:selectOneRadio besides f:selectItem, but it seems it does not work.
Is there any way to achieve this ?
Thanks,
yasushi
Is there any way to prevent an action method from being invoked from the
action listener method?
For example...take the following commandButton:
h:commandButton actionListener=#{backingBean.actionListenerMethod}
action=#{backingBean.actionMethod} value=Click Me /
And the matching methods in
Thanks Tim.
I am glad to be of help.
I agree, a wiki entry would be good.
btw TR also stands for Turkey :P
Cheers,
Mert
On 5/3/06, Romanowski, Tim [EMAIL PROTECTED] wrote:
Mert,
Excellent explanation, thanks for your patience! The
extra code that I was looking for was code that would be
At: http://myfaces.apache.org/tomahawk/tlddoc/index.html
The information for
t:collapsiblePanel is missing information for the 'collapsed'
attribute.
In this simple
example:
h:form
id="tbForm" t:collapsiblePanel id="parentPanel"
collapsed="false" f:facet
name="header"
t:div
Use the same list for the main and popup page. Define it as a managed-bean with session scope.
Closing the popup and refreshing the main page could be done with _javascript_. But it is related with your main page design.
If you have frames _javascript_ will differ. Assuming one simple main and
Dennis,
My understanding is that you would like to test the front end. Not sure that
this is what you are looking for (as it is in Ruby) but on our project the QA
guys are using a tool called Watir (http://wtr.rubyforge.org/). It has worked
very well for us for testing not only business flow
Use the same list for the main and popup page. Define it as a managed-bean with session scope.
You mean use the same managed-bean in both pages?
After refreshing the main page you should see the address list within the main page.
So no need to add operations, thx to managed-beans.What u mean
At: http://myfaces.apache.org/tomahawk/tlddoc/index.html
The information for
t:collapsiblePanel is missing information for the 'collapsed'
attribute.
In this simple
example:
h:form
id="tbForm" t:collapsiblePanel id="parentPanel"
collapsed="false" f:facet
name="header"
t:div
Anyone know how to make the itemLabel of a SelectItem a href?
I'd like to produce a checkbox that looks like this:
COLUMBIA RIVER (WASHINGTON)
SUN
CLOUDS
View this message in context: t:selectManyCheckbox -
forceId=true
Dennis Byrne
-Original Message-
From: fischman_98 [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 3, 2006 07:34 PM
To: users@myfaces.apache.org
Subject: f:subview id value added to child t:div
Why does the subview id get added to the child div id? Is there any way to
stop
Hi all,
I got a problem with t:commandButton. I have Search screen. First, I
push Search button to get data from DB. Then I push OutputCSV button to
get data results as csv file. Everything is OK.Now I push search again,
but action is not been called for all command button on the screen (
add this line just before facesContext.responseComplete()facesContext.getApplication().getStateManager().saveSerializedView( facesContext);regards...
On 5/4/06, Le Van [EMAIL PROTECTED] wrote:
Hi all,
I got a problem with t:commandButton. I have Search screen. First, I
push Search
79 matches
Mail list logo