Hi Anoe,
Does any of the information on this page help?
http://wiki.apache.org/myfaces/ClearInputComponents
Regards,
Fintan
-Original Message-
From: anoe [mailto:[EMAIL PROTECTED]
Sent: 08 June 2007 14:28
To: users@myfaces.apache.org
Subject: clearing input texts
hi all, i guess
Hi Caroline,
IMO Transfer Objects were invented to combat the problem with
transferring heavyweight EJB 2 beans around. EJB3 beans are much
lighter, or you could be using POJOs instead, in which case you may not
need the Transfer Object.
I would use the managed beans of my JSF application as
Hi Dave,
In the Sandbox there is a killSession (I think that is what it is
called) tag that should refresh the session state.
HTH,
Fintan
-Original Message-
From: Dave [mailto:[EMAIL PROTECTED]
Sent: 27 April 2007 09:41
To: Tomcat Users List;
Hi Bansi,
Is B a managed bean as well?
You might have to explicitly call the getter for id in B
i.e. value=#{backingBean.A.B.getId()}
-Original Message-
From: bansi [mailto:[EMAIL PROTECTED]
Sent: 25 April 2007 18:47
To: users@myfaces.apache.org
Subject: JSF Value Binding Technique
Hi Francesco,
Is it a typo, or do your getter and setter not match the variable
declaration. I.E.
private int id_cassa_int = 0;
public int getId_cassa_fat
Note _int on end of variable name, and _fat on end of getter setter.
Regards,
Fintan
-Original Message-
From:
Hi Thorsten,
Have a look at the reply to this mail.
http://www.nabble.com/Changing-JSF-scenario-at-runtime-tf395068.html#a10
88201
Hope this helps,
Fintan
-Original Message-
From: Mike Kienenberger [mailto:[EMAIL PROTECTED]
Sent: 16 April 2007 15:09
To: MyFaces Discussion
Subject: Re:
Hi Stephane,
One way to do this is to set a hidden field as the *last* component on
your page.
h:inputHidden id=loginCheck validator=#{backingBean.validateLogin}
value=needed
Note : you need to have some value for the field, hence 'value=needed'
When you run your validation on this
Hi Mario,
Does Orchestra require you to use Spring?
Many thanks,
Fintan
-Original Message-
From: Mario Ivankovits [mailto:[EMAIL PROTECTED]
Sent: 11 April 2007 14:44
To: MyFaces Discussion
Subject: Re: Custom Managed Bean scope
Hi!
What other ways such a problem can be handled?
Hi Ivan, 8^)
Do not worry, you are not the first person to do this, and probably will
not be the last :-)
-Original Message-
From: Mario Ivankovits [mailto:[EMAIL PROTECTED]
Sent: 11 April 2007 15:30
To: MyFaces Discussion
Subject: Re: Custom Managed Bean scope
Hi Conway!
Uhm
The Definitive Guide Apache MyFaces/Ajax by Zubin Wadia, Martin
Marinschek, Thomas Spiegl.
Is this book available to buy?
Is this (or is there) an English version of [EMAIL PROTECTED] : JSF MyFaces
Regards,
Fintan
* ** *** ** * ** *** ** * ** *** ** *
This email and any files transmitted
Hi David,
One approach for textual values is to put the value e.g.
requestedNodeResults in a message properties file and call it like a
message text.
For the param.searchScope - I think that JSF requires most things in
managed beans. What you could do is define a Defaults bean, which would
hold
else.
regards,
Martin
On 8/23/06, Conway. Fintan (IT Solutions) [EMAIL PROTECTED] wrote:
I have to disagree. The way that I read Martin's setup is that Martin
is keeping the UI/navigation logic of his application in a different
class/layer to the business model. (You may correct me if I am
snippets as to how you extend the
business object with the navigateTo method - we have aspect-classe, and
have a central map, where the aspect will be retrieved from (cached for
the associated object) if the developer desires so.
regards,
Martin
On 8/24/06, Conway. Fintan (IT Solutions) [EMAIL
Title: Message
Hi
Wolf,
However, also here MyFaces throws an
Exception:
006-08-24 13:32:56,672 ERROR
[org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/Mnemonica].[jsp]]
- Servlet.service() for servlet jsp threw exception
...
None
of these errors
But seriously folks, this might be a good way to test changes to the
properties file. Write the new changes in your Zulu properties file,
change the locale in your browser to Zulu and check the new changes are
OK. If something is wrong, you simply keep your original properties
file. If the
I have to disagree. The way that I read Martin's setup is that Martin
is keeping the UI/navigation logic of his application in a different
class/layer to the business model. (You may correct me if I am wrong)
I like the fact that I can use a simple POJO (business model) as the
centre of my
Hi Daniel,
The Tomahawk SaveState component sounds like it may do the job for you.
http://wiki.apache.org/myfaces/SaveState
Otherwise look at
http://wiki.apache.org/myfaces/AccessingOneManagedBeanFromAnother
Regards,
Fintan
-Original Message-
From: Daniel Murley [mailto:[EMAIL
Hi Eurig,
Try the following :
http://wiki.apache.org/myfaces/Setup_For_File_Uploads
Regards,
Fintan
-Original Message-
From: Eurig Jones [mailto:[EMAIL PROTECTED]
Sent: 14 August 2006 09:57
To: users@myfaces.apache.org
Subject: Outputting text file
I have a link on a facelets page
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 upgraded to
JSF 1.2?
:) No. Tomahawk JSF 1.2
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
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
Hi Andrew / JB,
Could you guys put an entry in the Wiki on how this Converter should
work?
It would be much appreciated.
Many thanks,
Fintan
-Original Message-
From: Baker,Jonathan [mailto:[EMAIL PROTECTED]
Sent: 08 August 2006 22:24
To: MyFaces Discussion
Subject: RE: Injecting Java
Title: Message
This
site should be of use -
http://struts.apache.org/1.x/struts-faces/
-Original Message-From: Chandra Sekhar
[mailto:[EMAIL PROTECTED] Sent: 09 August 2006
10:15To: MyFaces DiscussionSubject: Needed Information
on Any Integrated JSF and Struts FrameWork
Hi Brian,
This page should help you -
http://wiki.apache.org/myfaces/InvokingJsfPagesWithStandardUrls
Regards,
Fintan
-Original Message-
From: Brian Woolf [mailto:[EMAIL PROTECTED]
Sent: 08 August 2006 14:21
To: users@myfaces.apache.org
Subject: How to active a JSF action by HTTP GET,
Title: Message
Hi
Chandru,
If
youbind the particular field (formField) in your form to a field (bbField)
in your backing bean (bb), then you can have a method in your backing bean that
returns the next page to go to (navMethod). The logic in this method will
look at the value in the field
Hi David,
It is possible the s:subform component in Tomahawk Sandbox will do what
you require.
Regards,
Fintan
-Original Message-
From: David Delbecq [mailto:[EMAIL PROTECTED]
Sent: 26 July 2006 11:20
To: MyFaces Discussion
Subject: partial validation of value
Hello,
is it possible
Hi Chandru,
This page should describe what you want to do :
http://wiki.apache.org/myfaces/ClearInputComponents
Regards,
Fintan
-Original Message-
From: Chandra Sekhar [mailto:[EMAIL PROTECTED]
Sent: 25 July 2006 16:19
To: MyFaces Discussion
Subject: Re: how do you folks handle a
Hi Guys,
If you are putting these slides onto the wiki / other places, could you label
the bar charts? The one in this document do not say whether they are for CPU,
memory utilisation, etc? It is hard to figure out if the large numbers are
good / bad for performance.
Other than that it is
Hi Paul,
I am not sure if this could work, it is just an idea. Could you put
some javascript into the button's onClick() method to set the
selectedIndex of the tabbedPane before it submits? This may give the
behaviour you are looking for?
HTH,
Fintan
-Original Message-
From: Paul
Title: Message
Hi
Ved,
Here
is a page which does something similar to what you are trying
:
http://technology.amis.nl/blog/?p=1187
HTH,
Fintan
-Original Message-From: ved.gunjan
[mailto:[EMAIL PROTECTED] Sent: 13 July 2006
19:38To: MyFaces Discussion; guillaume
-
From: Nicola Benaglia [mailto:[EMAIL PROTECTED]
Sent: 14 July 2006 11:24
To: MyFaces Discussion
Subject: Re: datatable and table nxn
Conway. Fintan (IT Solutions) ha scritto:
Hi Nico,
Try using :
t:datatable align=center newspaperColumns=3 ...
h:column
...
/h:column
Hi Cyrille,
I would suggest a Persistence framework for firing your objects into and
out of the database. Something like JDO - a free and highly polished
implementation of this is JPox. IMO this will be a lot less bother than
having to learn JDBC, which is the basic method of communicating with
Title: Message
Hi
Nico,
Try
using :
t:datatable align="center" newspaperColumns="3"
...
h:column
...
/h:column
/t:datatable
This
should work,
Fintan
-Original Message-From: Nicola Benaglia
[mailto:[EMAIL PROTECTED] Sent: 12 July 2006
16:36To: MyFaces
Hi Torsten,
You mention that the last rendered component is the value that is used.
Would a hidden component at the end of the form, which is set to the
changed value work for you?
Failing this you could use JavaScript to make sure that both selectOne
values are changed when one changes.
HTH,
Title: Message
Hi
Greg,
Just
to be pedantic :
int counter = 0;for
(Market m : marketList) {
marketArray[counter] = m.getMarketCode();}
counter is not being incremented in the for loop. Is this a typo?
An undocumented feature of new for .. in loop? a small bug?
Just
checking,
Fintan
Hi Johnny,
Greg Bollinger started a thread which details what you are trying to do only a
few days ago. A number of suggestions were made in that thread. I believe
Greg went with using JavaScript to populate the second and third combo box.
Look for a thread named Design Type Question.
Hi Andrew / Matthias,
Just a wild guess, would immediate=true in the subform, cause
validation to be skipped like you want?
HTH,
Fintan
-Original Message-
From: Andrew Robinson [mailto:[EMAIL PROTECTED]
Sent: 16 June 2006 01:18
To: MyFaces Discussion
Subject: Re: Does SubForm do
Hi Paul,
Would the Newspaper Table component work?
http://myfaces.apache.org/tomahawk/newspaperTable.html
Regards,
Fintan
-Original Message-
From: Paul Spencer [mailto:[EMAIL PROTECTED]
Sent: 13 June 2006 17:57
To: MyFaces Discussion
Subject: How can I display radio buttons in 2
Hi Ould,
The simplest way is to surround your text with f:verbatim tags.
E.g.
f:verbatim
Good luck a href=[EMAIL PROTECTED]
/f:verbatim
HTH,
Fintan
-Original Message-
From: ould sid'ahmed [mailto:[EMAIL PROTECTED]
Sent: 08 June 2006 08:54
To: users@myfaces.apache.org
Subject:
Hi Cosma,
I am not sure if this is what you want but you can use Tiles in JSF to
achieve the situation you describe[1].
Regards,
Fintan
[1] http://wiki.apache.org/myfaces/Tiles_and_JSF
-Original Message-
From: Cosma Colanicchia [mailto:[EMAIL PROTECTED]
Sent: 08 June 2006 09:48
To:
Hi Anthony,
Perhaps this link may help?
http://wiki.apache.org/myfaces/ClearInputComponents
HTH,
Fintan
-Original Message-
From: Anthony Hong [mailto:[EMAIL PROTECTED]
Sent: 07 June 2006 06:51
To: MyFaces Discussion
Subject: How to make reset command button clear all form fields
Hi
Hi Chrisi,
Not sure if this is a typo. Try changing Nr 2 from ${mybean.value} to
#{mybean.value}
HTH,
Fintan
-Original Message-
From: Chrisi [mailto:[EMAIL PROTECTED]
Sent: 19 May 2006 11:18
To: users@myfaces.apache.org
Subject: Beginner: html-attributes and bean-values
Hello,
Hi,
I use JSF, but I do not use Spring at all in my applications. I use JDO
to persist my objects to the database, but can use any database
technology - including writing the JDBC code yourself, instead of
Hibernate.
The good thing about Java is that you have a wide choice as to what
Title: Message
It was
me!
Sorry,
I won't do it again
8^)
* ** *** ** * ** *** ** * ** *** ** *
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed.
Any views or opinions presented are
Hi,
You can use forceId from MyFaces to force the id in HTML to be the id
that you use.
Regards,
Fintan
-Original Message-
From: fischman_98 [mailto:[EMAIL PROTECTED]
Sent: 04 May 2006 00:35
To: users@myfaces.apache.org
Subject: f:subview id value added to child t:div
Why does the
Hi Sophie,
There is a 'disabled' attribute for the selectOneListbox.
E.g.
h:selectOneListbox value=#{Class.list} id=list disabled=true
f:selectItems value=#{Class.item}/
/h:selectOneListbox
There is also a 'disabledItem' attribute for f:selectItem
E.g.
h:selectOneListbox
Title: Message
Hi
Frank,
The
big difference is that myFaces removes whatever it saves when there is no longer
any t:saveState's for the bean that was saved.
Regards,
Fintan
-Original Message-From: Frank Russo
[mailto:[EMAIL PROTECTED] Sent: 21 April 2006
22:12To:
It might be that you are setting the id to a literal value
#{Travel.travelNr}, instead of asking MyFaces to get the travelNr from the
Travel bean #{Travel.travelNr} - Note no quotes here. If you need the id
surrounded by quotes the following might work - id = '' #{Travel.travelNr}
''.
Hi Sunil,
Just a guess
Would
t:dataTable rows=#{(int)bundle.MaxRecordsDisplayed_PerPage}
Or
t:dataTable rows=#{(Integer)bundle.MaxRecordsDisplayed_PerPage}
Work?
HTH,
Fintan
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of sunil
Sent: 21 March 2006 22:45
To:
Title: Message
Hi
Yura,
The
simplest way to pass data from page1 to page2 is to use
onemanaged bean, and use t:saveState on both pages referring to that onemanaged bean.
If the
managed-bean is in request scope, then when you move from page1 to page2 you
will lose the data in managed-bean
Title: Message
Hi
Shawn,
This
could just be a typo, but you have 3 t:commandNavigation's and only 2
/t:commandNavigation's.
HTH,
Fintan
-Original Message-From: Garner Shawn
[mailto:[EMAIL PROTECTED] Sent: 07 March 2006
05:33To: users@myfaces.apache.orgSubject:
It will work because the style is set depending on the row variable yourVar.
The example shown will work for one column.
To get this to work for the entire row you will need to add the :
styleClass=#{(yourVar.valueToCheck backingBean.threshold)? 'styleClass2' :
'styleClass2'}
attribute to
Hi Norbert,
For simple pages maybe you could retrieve the title of the page to identify it?
HTH,
Fintan
-Original Message-
From: Csík Norbert [mailto:[EMAIL PROTECTED]
Sent: 15 February 2006 13:22
To: users@myfaces.apache.org
Subject: JSF log activity
but in that case getting the
Hi Tony,
I am not an expert, but have you tried moving the default rule to the
end of the list?
Otherwise you could specify some from-view-id's in your
navigation-case's?
HTH,
Fintan
-Original Message-
From: Tonio Caputo [mailto:[EMAIL PROTECTED]
Sent: 08 February 2006 21:28
To:
Title: Message
Hi
Shawn,
When
you submit a form the values are saved as "submitted values". It is only
when all validations are passed that the values are stored in the backing bean. This way if there are invalid values, the original view is restored
and its values are pulled in from the
Title: Message
Hi
Ken,
You
could try adding the following to your web.xml :
context-param
param-namePARAMETER_ENCODING/param-name
param-valueUTF-8/param-value
/context-param
This sets a context parameter indicating the charset choice for all forms in the
2) Which is the right method to get the values of other components in
the validator method, getSubmittedValue(), getLocalValue(), dependent
on configuration issues (immediate) of the component owning the
validator and other components asked in the validator method?
Would the following
Hi Matthias,
One solution is to have a method in your backing bean which validates
the entire backing bean values (or have a separate
MyBackingBeanValidator class which does the same). This method is
called just before the save() method is called on your bean. This way
you are validating only
Hi,
Would the new focus component in the sandbox achieve this?
I.E. if the component which receives the focus is not on the first screenful,
will the browser automatically scroll to the component which has the focus?
Many thanks,
Fintan
-Original Message-
From: [EMAIL PROTECTED]
Hi Ted,
Does the Web Tool Platform plugin have a JSF GUI tool? If it has I
would be very interested in using it.
Many thanks,
Fintan
-Original Message-
From: Ted Jones [mailto:[EMAIL PROTECTED]
Sent: 18 October 2005 18:02
To: MyFaces Discussion
Subject: RE: survey: what tool are you
Hi Boris,
Have you tried using 'xhtml' instead of '.xhtml' (notice no '.') in the
param-value? Just a guess
Fintan
-Original Message-
From: Boris Kovalenko [mailto:[EMAIL PROTECTED]
Sent: 14 October 2005 06:55
To: MyFaces Discussion
Subject: What am I doing wrong with DEFAULT_SUFFIX?
Title: Message
Hi
Jonas,
I am
using the J2EE Developer preview version 10.1.3.0.2.223 Build
JTINTEG_MAIN_NT_041202.0854.223.
Does
this release provide me with any more features / functionality for developing
JSF pages?
Many
thanks,
Fintan
-Original Message-From: Jonas
Does this mean that you cannot use ADF unless you have bought
Jdeveloper?
-Original Message-
From: Jonas Jacobi [mailto:[EMAIL PROTECTED]
Sent: 21 April 2005 18:21
To: MyFaces Discussion
Subject: Re: [OT] ADF Dialog Framework
Hi Everybody,
I'm sorry that the message has been confusing
Use a hidden field on the form. Associate a custom validator with the
hidden field. When the application is submitted, the custom validator
compares both text field and combo box and throws a validation error
only if both are null.
Regards,
Fintan
-Original Message-
From: Srikanth
Hi Mihir,
Is it because your commandLink has both an action and an actionListener?
Regards,
Fintan
-Original Message-
From: Mihir Solanki [mailto:[EMAIL PROTECTED]
Sent: 13 April 2005 10:10
To: 'MyFaces Discussion'; 'Enrique Medina'
Subject: RE: Multiple time method is executing for
Hi all,
Is there anything in JSF (or in MyFaces) which can detect / filter out
text entered into a text box which could inject and run SQL commands on
the database?
Any thoughts on this matter would be appreciated,
Thanks,
Fintan
* ** *** ** * ** *** ** * ** *** ** *
This email and any
66 matches
Mail list logo