If I have a h:commandButton or link with action, which there is
MethodBinding with it.
When submit form, How could I know which action is being trigged?
--
Anthony Hong
Hi,Yes they are in the same view, but since the submitted parameters contain different keys, checking out the request param map for the client id of the button may help.Also before executing a phase, isRendered() control is done on each component. If not rendered, it just returns and stop
FacesContext.getCurrentInstance().getRequestParameterMap();Also creating a valuebinding to #{params} returns the same map.On 5/29/06, Anthony Hong
[EMAIL PROTECTED] wrote:
which request map should I query?Can you offer me a example. Many thanksOn 5/29/06, Cagatay Civici [EMAIL PROTECTED] wrote:
Checkout the following;http://www.jroller.com/page/mert?entry=handling_errors_with_an_errrorCagatay
On 5/27/06, Julian Ray [EMAIL PROTECTED] wrote:
Hi Anthony,I was refering to Chapter 12 (pg 595) of Core JavaServer Faces by Geary Horstman published by Sun Microsystems.-Original
1 for existing projects
Maybe 2 for new projects
-Original Message-
From: Martin Marinschek [mailto:[EMAIL PROTECTED]
Sent: Sonntag, 28. Mai 2006 06:10
To: MyFaces Discussion; MyFaces Development
Subject: Version of Servlet Container - Facelets
May I ask a question out loud?
In
This could be a solution for you.
http://www.jroller.com/page/mert?entry=handling_errors_with_an_errror
Regards,
Mert
On 5/26/06, Anthony Hong [EMAIL PROTECTED]
wrote:
In jsp with servlet, I define error page configuration in web.xml toredirect to an error page when error occured.
Hi,I am trying to build myfaces with maven, check out of myfaces-current was successful, but maven install does not compile the sources as there are java 1.5 elements in the code. I changed the settings in the maven/master-pom to source/target
1.5, but maven still complains.Here is Maven's
Can I access a Set with JSF-EL?
I have a datatable with many records. The user is
able to update records in a detail panel. The ids of the updated records are
stored in a HashSet in a backing bean. Now I want to mark all those records
that have been updated by the user.
Something
Hello, is it possible to determine in what page an included jsp file is
put? I want to have something like
%@ include file=/pdca/include/all_page_headers.jsp container=page1 %
...
in all_page_headers.jsp: (pseudocode)
if (page1):
h:panelGrid...
...
if (page2):
h:panelGroup...
...
Hi Sven,
figured out the same on the *daily* update.
Reason is that now Java5 (by accident...?) is used during Stan's JSF
1.2 update...
Stay tuned...
-Matthias
On 5/29/06, Sven Haiges [EMAIL PROTECTED] wrote:
Hi,
I am trying to build myfaces with maven, check out of myfaces-current was
Hi!
How can I pass a value set with javascript (f.e.):
document.getElementById(form:selListRow).value = idrow
into my backing-bean?
I got a datatable where the user can select a row. The selected row is
highlighted and then the user can press an addRow-commandLink (with image)
which add the
2
On 5/29/06, Michael Heinen [EMAIL PROTECTED] wrote:
1 for existing projects
Maybe 2 for new projects
-Original Message-
From: Martin Marinschek [mailto:[EMAIL PROTECTED]
Sent: Sonntag, 28. Mai 2006 06:10
To: MyFaces Discussion; MyFaces Development
Subject: Version of Servlet
Thanks, That's a useful resource
On 5/29/06, Mert Çalışkan [EMAIL PROTECTED] wrote:
This could be a solution for you.
http://www.jroller.com/page/mert?entry=handling_errors_with_an_errror
Regards,
Mert
On 5/26/06, Anthony Hong [EMAIL PROTECTED] wrote:
In jsp with servlet, I define error
Hi All!
In the past I used the examples WAR files to get started:
myfaces-X.X.X-examples.zip
I can't seem to find a version of the examples that works with Core
1.1.3 and Tomahawk 1.1.2. Is this an outcome of the Core/Tomahawk
separation? If so, what would I do to get the
Option [2] and in future times eventually [3]
Hi All, I am using t:panelTabbedPane for creating multiple tab. when i click on any tab such as tab1 or tab2 i am not getting any event. Can any body give me solution or code with which i come to know which tab i have clicked. So, that when i click on tab2 i should come to know that tab2 is
Hello Everybody,
I have an application that has three frames, one top
frame for banner, a left frame for tree2 based menu,
and a right frame to open the page that brings up from
the tree2 menu.
Everything works fine in Mozilla Firefox, but when
working in IE I have faced several problems.
For
I want to download the sandbox examples like http://www.irian.at/myfaces-sandbox/home.jsfWhere can I get it?Thank you!
You need to checkout the source and build it with maven2. http://wiki.apache.org/myfaces/Building_With_MavenOn 5/29/06,
Hailong Zhang [EMAIL PROTECTED] wrote:
I want to download the sandbox examples like http://www.irian.at/myfaces-sandbox/home.jsf
Where can I get it?Thank you!
Title: java.lang.NoSuchMethodError: org.apache.myfaces.renderkit.html.util.DummyFormUtils.findNestingForm
Hi Guys!
I just tried to migrate from MyFaces 1.1.1 to 1.1.3 with Tomahawk 1.1.2...
But I get the following error when starting the whole thing:
java.lang.NoSuchMethodError:
Is there any binary version?Thank you2006/5/29, Cagatay Civici [EMAIL PROTECTED]:
You need to checkout the source and build it with maven2. http://wiki.apache.org/myfaces/Building_With_Maven
On 5/29/06,
Hailong Zhang [EMAIL PROTECTED] wrote:
I want to download the sandbox examples like
not yet...
On 5/29/06, Hailong Zhang [EMAIL PROTECTED] wrote:
Is there any binary version?
Thank you
2006/5/29, Cagatay Civici [EMAIL PROTECTED]:
You need to checkout the source and build it with maven2.
http://wiki.apache.org/myfaces/Building_With_Maven
On 5/29/06, Hailong Zhang
like, know in what phase?
You could know because that action method is being invoked...
On Mon, 2006-05-29 at 14:20 +0800, Anthony Hong wrote:
If I have a h:commandButton or link with action, which there is
MethodBinding with it.
When submit form, How could I know which action is being
Hi John,
just tested it out, layouting works well for sheet.
you have two errors and one problem on your page: see inline
John wrote:
This is the code that exhibits the behavior:
It should layout like:
X X
X X (both Xs are the sheets span)
But it lays out like:
X
X
X
With both
:-) Good to know. Will do a fresh checkout tomorrow and try it again. Thanx!SvenOn 5/29/06, Matthias Wessendorf
[EMAIL PROTECTED] wrote:Hi Sven,figured out the same on the *daily* update.
Reason is that now Java5 (by accident...?) is used during Stan's JSF1.2 update...Stay tuned...-MatthiasOn
Hi
Is there any way to get reference to caller
UIComponent from managed bean getter/setter function ?
For example , assume we have following jsp
fragment:
h:commandLink id="en" styleClass="#{locale.style}"
h:outputText value="English" /
/h:commandLink
h:commandLink
HI,
I am using Tree Table componenet of Tomhawk. I am getting following error
Unable to locate tag library for uri http://myfaces.apache.org/tomahawk in
Websphere6 .
Any Ideas please. Same thing working fine on TOMCAT. Do you have any
installation guide for configuring tomhawk on Websphere6
I think the easiest option is to use an actionListener instead the action attribute. You then have a myActionlistener(ActionEvent e) Method in your backing bean and can call a method to retrieve the component that was clicked on. with that you can get the name of the id and change the locale
Hi,After downloading myfaces-core-1.1.3-bin.zip I see it contains no sources .. Can somebody, please, help me with that ? I've downloaded manually 'api' and 'impl' sources from
http://svn.apache.org/repos/asf/myfaces/core/branches/1_1_3/ but now I can't find sources for the
Hi Sven,
it should be fixed again - care to try?
regards,
Martin
On 5/29/06, Sven Haiges [EMAIL PROTECTED] wrote:
:-) Good to know. Will do a fresh checkout tomorrow and try it again.
Thanx!
Sven
On 5/29/06, Matthias Wessendorf [EMAIL PROTECTED] wrote:
Hi Sven,
figured out the same on
Sven,
I have implemented your advise beforehand.. now i
want to set style for A elements according to selected locale, that's why i use
styleClass="#{locale.style}"
- Original Message -
From:
Sven Haiges
To: MyFaces Discussion
Sent: Monday, May 29, 2006 8:58 PM
I'm using Core 1.1.3, Tomahawk 1.1.2 I've got this error when I click on popup button in an t:inputCalendar ...SEVERE: Error while serving resource: calendar.HtmlCalendarRenderer
/DB/divider.gif, message : nullClientAbortException: java.net.SocketException: Connection reset by peer: socket write
Hi,
I often see that beans get injected in one another (as in: the ENTIRE
bean is injected in another bean as a variable), but is this also
possible:
- declare a variable in one bean
- access just this ONE variable from another bean?
So suppose bean A has a variable varA and bean B wishes
Have you installed tamahawk extensions filter
?
- Original Message -
From:
mindu
To: MyFaces Discussion
Sent: Monday, May 29, 2006 9:43 PM
Subject: inputCalendar with popup button
problem
I'm using Core 1.1.3, Tomahawk 1.1.2
I've got this error when I click on
You can call setStyle() on HtmlCommandLink clazz
See [1]
[1] http://tinyurl.com/kjgo7
On 5/29/06, Furer Alexander [EMAIL PROTECTED] wrote:
Sven,
I have implemented your advise beforehand.. now i want to set style for A
elements according to selected locale, that's why i use
... to fast.
also you can use binding attribute and *wire* the component itself to
your backing bean
-Matthias
On 5/29/06, Matthias Wessendorf [EMAIL PROTECTED] wrote:
You can call setStyle() on HtmlCommandLink clazz
See [1]
[1] http://tinyurl.com/kjgo7
On 5/29/06, Furer Alexander [EMAIL
filter
filter-nameMyFacesExtensionsFilter/filter-name
filter-classorg.apache.myfaces.component.html.util.ExtensionsFilter/filter-class
init-param
param-namemaxFileSize/param-name
param-value20m/param-value
/init-param
/filter
filter-mapping
filter-nameMyFacesExtensionsFilter/filter-name
We had a similiar problem with a JSF Webapp. The webapp is not
myfaces-enabled but the reason of your problem could be same as ours.
The main reason of our problem is the classloader selections of
WebSphere. We are using application classloader-policy for ear and
module classloader-policy for war
Hi Purvesh
You need to implement a tabChangelistener. Heres one way to
do it.
[1] Set serverSideTabSwitch to true
serverSideTabSwitch="true"
[2] Add
a tab change listener as a child component to the
panelTabbedPane
t:tabChangeListener
type="cms.beans.inventory.StorageArea"/
Thank you vey much
We are very glad to see your quick reply. We will try to resolve the problem
according to gudelines you have given. It any problems we will contact with
you.
Thanks in advance
Srinivas
--
View this message in context:
Hi all,
Has anyone managed to get Tomahawk running on a IBM Webshpere 5.1.1.1
server? I seem to be getting stuck with the exception below as I am
missing the EL language (which isn't suprising in J2EE 1.3).
Have a app i need to port to run in Websphere that makes heavy use of the datatable and
I know the phase.
But I don't know what is being sent when submit form for an action.
Which paramter should I request from requestMap
On 5/30/06, Ricardo Ramírez [EMAIL PROTECTED] wrote:
like, know in what phase?
You could know because that action method is being invoked...
On Mon, 2006-05-29
Store a reference to your tree in your backing bean with:
t:tree2 id=foo ... binding=#{treeBacker.tree}
Then in your action method you have
public String selectedNode()
{
this.selectedNode = tree.getNode();
return(main);
}
The tree always knows the current node when processing an
Alex,
I am currently using Tomahawk 1.1.1 with the Sun RI verison 1.1.01 and WAS
5.1.x? with no problems. When I tried upgrading Tomahawk to 1.1.2 I
experienced issues similar to what you describe and unfortunately I am stuck
on Tomahawk 1.1.1. I haven't banged at this too long (probably for
System: myfaces-core-1.1.3 packaged in war, jboss4.0.4GA (not using
packaged myfaces), Windows XP, 2GB Ram, DUO Core Intel.
This works
servlet-mapping
servlet-nameFacesServlet/servlet-name
url-pattern*.faces/url-pattern
/servlet-mapping
This doesn't
servlet-mapping
Hi Sean,
thanks for the quick reply. I don't understand your answer :-(
My problem is that getNode() does not exist anymore in class TreeModelBase.
Eclipse claims that The method getNode() is undefined for the type
TreeModelBase in the line
this.selectedNode = this._treeModel.getNode(); (see
Build works for me.
Martin/Stan fixed the Java5 issue.
-Matthias
On 5/29/06, Martin Marinschek [EMAIL PROTECTED] wrote:
Hi Sven,
it should be fixed again - care to try?
regards,
Martin
On 5/29/06, Sven Haiges [EMAIL PROTECTED] wrote:
:-) Good to know. Will do a fresh checkout tomorrow and
47 matches
Mail list logo