Hi,
you need a panelGroup:
Hi everyone,
It is my first time to use tree2. It is very nice and very friendly, but I
don't know how to set nowrap to tree node (img+nodename+(count)=one line).
>From the partial rendered codes:
Node Name (2)
it seems I need to add style="white space:nowrap;" in the tag, like , but I don't kn
Hi David,
It seems I found the problem. After I moved the several comments in the
template.html, it displays correctly. Modified codes is as follows:
Hi Wolf,
>From a quick glance you have "globalOnly=true" in your h:messages and it
looks like you're adding a message with a handle "userForm:errors"
(non-global). Try setting globalOnly to false or creating a faces
message with a "null" handle (to make the message global).
For the second proble
David,
The sidebar and content should be in two columns(left and right), but they
were displayed in one column (top and down). I did not review the rendered
html code. I will send it you later. Thank you.
Best wishes!
Gus.
David Friedman-2 wrote:
>
> Right, but what did you get over in your br
Hello Gerald,Sorry for taking to long to answer,...the part of the JSP I have is this:
On 8/9/06, Joe ersinghaus <[EMAIL PROTECTED]> wrote:
Is it possible to have more than one component validated as a group? For
example: let's say I've have a radio button that when activated, text
must be entered/validated in that radio button's associated input field?
In other words, only when
I had similar problems. What I have discovered is that if you place the
column in a h:panelGroup the issues will go away. I have noticed that
comments and jstl will cause the html to rendered incorrectly.
For Instance
Right, but what did you get over in your browser? Knowing what came out in
the wrong places in the browser helps you figure out what parts of the
.xhtml page are acting incorrectly. THEN we can act/work on those items.
Regards,
David
-Original Message-
From: Gus [mailto:[EMAIL PROTECTED
Faisal,
I see
at least two possible problems with your below code:
1) You
are not checking the correct log files so you are missing the logged messages
explaining where your code is going wrong. You keep resetting your
"sites" item to a
"new LinkedList()" before returning it. In your c
Hi,
I tried to remove a row from data table which has preserveRowStates
set to true and I noticed deleted row data is being shown an the next
row. Does anyone know How I can keep the modified data on the table with
out using preserveRowStates. I want to be able to remove the row from
data table
Hi David,
The template I want is
header
sidemenu content
footer
in jsf:
header
sidebar
content
footer
I ever used the template in myface/tiles, and it displayed fine. However,
when I transfer the codes to facelets, it did not display well. I do not
know why. Thank you for help.
Bes
What was your final html ? Did it list them as two different columns (i.e
"td" tags) or did it put them together? If it put them both inside one "td"
tag, I recommend you try putting each h:form section inside the h:panelGroup
tag or perhaps inside another "container" tag which works within
h:pan
Below is my managed bean. In the constructor, I get a reference to the managed property from Spring just to verify that it is available. I placed breakpoints in the code at the getSiteList() method, and my breakpoint is never hit prior to the error occuring.
/** * */package com.warnerbros.mam.saw.
In the meanwhile, I'v tried someting else, without success though:
Instead of woring with h:messages (which is buguous, cf earlier
post), I worked with a regular label inside the form:
...
...
and coded: (in the same interceptor)
FacesEvent event = new ValueChangeEvent(errComp, "oldValue",
On 7/19/06, Hubert Rabago <[EMAIL PROTECTED]> wrote:
Is there a way to wrap all calls to methods called by attributes? Something like
ActionListener.processAction(ActionEvent) does for methods?
Maybe, but we might have an easier time telling you how to solve your
particular problem rather th
Hi David,
Thank you for your very quick reply. I got a little understand. Yes, the two
ui:include(header and footer) go to the right way, but the ui:insert
(sidebar and content) are not rendered correctly in the h:panelGrid
columns="2". Could you please give me some advice modifying it? Thanks ag
Hi,
I have this question:
I am intercepting a JSF Bean 's action method (to apply method-based
security) with Spring.
In it I do this (test code, hance the hard coding of a few vars) in
Spring's invoke() method of the interceptor:
...
getFacesContext().addMessage("usersForm:errors", new F
Gus,
There is a little thing with Facelets that some components are compile time
and some are render time. I think you are mixing the two. You might try
putting each form inside h:panelGroup so ui:include can be sure where to
place itself. Also, did you get your columns created in the final/out
Hi everyone,
I just begin to learn Facelets and Myfaces. I created a template, but the
template did display as expected. The "sidebar" and "content" should be
displayed in two columns as left and right, but it always display in one
columns as up and down. I really do not have any idea how to fix
Andrew Robinson schrieb:
Just check the security in a phase listener before render. To answer
your question -- you can't (there is no API in the navigation handler
to get any information out).
I just feared it that is not convert by the API. But thanks for
pointing me to the phase listener agai
On 8/10/06, Michael Heinen <[EMAIL PROTECTED]> wrote:
Do you have an idea when a myFaces implementation (a release) of the 1.2
spec will be available?
When enough volunteers submit patches to close all of the JSR 252 open
issues :-)
http://issues.apache.org/jira/secure/IssueNavigator.jspa?rese
Thanks Mike.
Yes, I remember that jsf 1.2 provides a windowId.
Do you have an idea when a myFaces implementation (a release) of the 1.2
spec will be available?
Client Side state saving is a big performance downside and not useable
for me.
Another question to jsf 1.1:
Would I face problems if bot
Hi all,
I would need to track this event for this component, but I see in HTML
code that it ignores this.
how can I do ?
I'm using sandbox-1.1.5-snapshot, and myfaces 1.1.4
On 8/10/06, Mak Nern Fatt Melvin <[EMAIL PROTECTED]> wrote:
Yes you are right Mike. I need to put the child section in another form due
to selective validation. I do not want the parent components to be validated
or reloaded when the child section is been submitted. You talked of a
workaround, so
to be serious. It's great to have book which contains tomahawk (and other stuff)
I ordered it already :)
On 8/10/06, Matthias Wessendorf <[EMAIL PROTECTED]> wrote:
On 8/10/06, Conway. Fintan (IT Solutions) <[EMAIL PROTECTED]> wrote:
> Should we wait for the next edition when Tomahawk has upgrade
Hi, Mike,
Yes you are right Mike. I need to put the child section in another form due to selective validation. I do not want the parent components to be validated or reloaded when the child section is been submitted. You talked of a workaround, so is that a way that i can use a single form but a
On 8/10/06, Conway. Fintan (IT Solutions) <[EMAIL PROTECTED]> wrote:
Should we wait for the next edition when Tomahawk has upgraded to JSF
1.2?
:) No. Tomahawk JSF 1.2 ?
When will that be? 2008 ? :)
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Mat
On 8/10/06, Mak Nern Fatt Melvin <[EMAIL PROTECTED]> wrote:
I cannot use a single form for my document because I have yet another form
nested in-between the two forms. Please see the illustration below:
There's no way you can submit two forms at the same time using the
http protocol.
The only t
Hi,
I cannot use a single form for my document because I have yet another form nested in-between the two forms. Please see the illustration below:
The child form is independent of the two parent forms and is the child section has to be nested in-between
On 8/10/06, Mak Nern Fatt Melvin <[EMAIL PROTECTED]> wrote:
I want to save the data in both the two forms when i clicked the save button
in one of the forms. I have several forms in my documents as illustrated
below:
When i clicked the save button, only the address component va
Hi,
I want to save the data in both the two forms when i clicked the save button in one of the forms. I have several forms in my documents as illustrated below:
When i clicked the save button, only the address component value in "form2" is saved while the name component
Just check the security in a phase listener before render. To answer
your question -- you can't (there is no API in the navigation handler
to get any information out).
On 8/9/06, Ingo Düppe <[EMAIL PROTECTED]> wrote:
Hi,
I like to check within the navigation handler some security constraints
li
On 8/10/06, Seshireddy G <[EMAIL PROTECTED]> wrote:
Can any one give some idea for doing EXPANDALL and COLLAPSEALL
functionalities using components..
P.S: Its not possible to change my complete functionlaity to for
EXPANDALL / COLLAPSEALL .
so i need to do with component only.
Just as a FY
On 8/10/06, Michael Heinen <[EMAIL PROTECTED]> wrote:
I just want to know whether it is generally possible to work with 2 screens
simultaneously in a JSF application.
For JSF 1.2, this is generally true (although I don't know the details).
For JSF 1.1, this is generally not true.
The 2 scree
On 8/10/06, Sköldheimer Fredrik <[EMAIL PROTECTED]> wrote:
MyFacesExtensionsFilter
Faces Servlet
FacesServlet
*.jsf
Feels like I'm missing something important. But what?
To quote the comment above -- "servlet-name must match the name of
your javax
On 8/10/06, Conway. Fintan (IT Solutions) <[EMAIL PROTECTED]> wrote:
If you bind each component in the group to a backing bean, then you
attach a custom converter to the last control of the group that appears
on the page (e.g. input field).
Fintan means "validator" and not "converter". You can
GOT MY MISTAKE!! thanks again...
On 8/9/06, nimisha sharma <[EMAIL PROTECTED]> wrote:
I think i am doing the right thing with this.. i went to jenia.org and followed the instructions.. as i told you that i was not even getting the checkboxes, now i am getting them.. but when i click on the comma
Hey Lance,
This would be a great wiki topic so it doesn't get lost.
It's probably worth noting that if you're using facelets, you can
simply create a real changeToUpperCase() user-defined el function.
On 8/10/06, L Frohman <[EMAIL PROTECTED]> wrote:
I am sharing this for anyone who may find it
You will also get the better results by putting the validator on the
second field on the page rather than on the first field on the page.
This is especially true for validateEqual, but less important for
validateCompareTo.
On 8/10/06, Mike Kienenberger <[EMAIL PROTECTED]> wrote:
validateCompareT
validateCompareTo is a better choice than validateEqual.
http://myfaces.apache.org/sandbox/validateCompareTo.html
On 8/10/06, Robert Locklear <[EMAIL PROTECTED]> wrote:
http://myfaces.apache.org/tomahawk/validateEqual.html
Thanks,
Robert
-Original Message-
From: Tom Serru [mailto:[EMAI
If you have read the post on wiki, it says that you dont need to do any modifications in your web.xml. Follow these steps:
Change the config security file so that MyFaces can delete it's temporary files.
In {InstallDir}/SunOne8.1/domains/domain1/config/server.policy
Change permission
java
I am sharing this for anyone who may find it useful.
To pass a parameter to a method inside an el expression, extend the DummyMap
class (below) and implement the get(Object obj) method to pass obj as a
parameter
to that method.
As a trivial example, to pass a parameter to the changeToUpperCase()
Hi John,
a) check if there occurs a JavaScript error.
Is there the JavaScript Debugger installed?
(I've had a problem with the aktivation of the debugger must switch
it off and on before it works)
b) Does e.g. the tobago-example-demo works on your system?
c) jsf version? tobago version
Hello!
Well, I have struggled with my web.xml for quite some time now and I just can't
get this to work with myFaces.
First things first:
I'm using SUN Java Studio 8.0 Enterprise and the application server that comes
with de program on localhost. The application I'm building workes fine if I'm
Should we wait for the next edition when Tomahawk has upgraded to JSF
1.2?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Matthias Wessendorf
Sent: 09 August 2006 22:06
To: MyFaces Discussion
Subject: [OT] Book
look!
what I found "JavaServer Faces Compo
Hi,
I just want to know whether it is generally possible
to work with 2 screens simultaneously in a JSF application.
The 2 screen mode should be optional depending on
user preferences.
State saving mode should be server side.
My first screen is a kind of a workbench with many
cont
Hi Joe,
If you bind each component in the group to a backing bean, then you
attach a custom converter to the last control of the group that appears
on the page (e.g. input field).
public class BackingBean {
private SelectOneRadio radio;
private UIInput radioInput;
...
public void validateRadioTe
Wow….you can tell I need some sleep.
those=that.
Robert
From: Robert Locklear
[mailto:[EMAIL PROTECTED]
Sent: Thursday, August 10, 2006
12:01 PM
To: MyFaces Discussion
Subject: RE: A problem with radio
buttons in datatables
Here is a sandbox example those does
exactl
Here is a sandbox example those does exactly
what you’re looking for.
http://www.irian.at/myfaces-sandbox/selectOneRow.jsf
Robert
From: Wetterau, Jan
[mailto:[EMAIL PROTECTED]
Sent: Thursday, August 10, 2006
11:54 AM
To: users@myfaces.apache.org
Subject: A problem wit
Hello,
I have a problem with a set of radio buttons using it
in a datatable:
I have a datatable (MyFaces Tomahawk) where I need one
radio button for each row. My Problem is that I can't make a set out of the
radio buttons, so that the
Have you tried to to it like in the example from t:buffer?
kind regards
Am Donnerstag, den 10.08.2006, 00:10 -0700 schrieb vasiliy.kiryanov:
> Good morning.
>
> I have next working code:
> styleClass="standardTable"
>
I have a jsf page, that includes other pages depend on application state:
<[EMAIL PROTECTED] file="results.jsp"%>
<[EMAIL PROTECTED] file="orders.jsp"%>
<[EMAIL PROTECTED] file="patientData.jsp"%>
results.jsp, orders.jsp, patientData.jsp have many jsp code. And it
executed e
Hello, i have got a characters encoding problem here. In my java code i
have this
UISelectOne selectDocumentType =
(UISelectOne)application.createComponent(HtmlSelectOneRadio.COMPONENT_TYPE);
.
selectDocumentType.getAttributes().put("onchange", "alert(\'Cliqué\');");
When the radio group
http://myfaces.apache.org/tomahawk/validateEqual.html
Thanks,
Robert
-Original Message-
From: Tom Serru [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 10, 2006 10:32 AM
To: users@myfaces.apache.org
Subject: Compare two password fields with a validator
Hi,
Is there a way to create a
There is a sandbox compareTo componenent, you can try itregards...On 8/10/06, Tom Serru <[EMAIL PROTECTED]
> wrote:Hi,Is there a way to create a validator to compare two fields (like a password
and a password check field) ? I would like to have something like this asresult:...
..Thx...-
Hi,
Is there a way to create a validator to compare two fields (like a password
and a password check field) ? I would like to have something like this as
result:
...
...
...
Thx...
--
View this message in context:
http://www.nabble.com/Compare-two-password-fields-with-a-validator-tf20
Good morning.
I have next working code:
>>Are you asking how to convert this jsp code into JSF components?
two days ago i was seeking for best aproach. Now I see that I was need to
convert my code JSF component.
I have done it using DataTable.
thank you.
--
View this message in context:
http://www.nabble.com/t%3AdataTable-using-pro
59 matches
Mail list logo