Hi,
Instead of MessageFactory.getMessage(context,"myMessageID")
you can use new FacesMessage("Message to print", "")
Thanx and Regards
Rashmi
the desired behavior of the password field.
-----Original Message-
From: Rashmi Kumari [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 19, 2005 9:22 AM
To: MyFaces Discussion
Subject: having problem with inputSecret tag
Hi,
I have a user form having password field(using tag) and a
list box(
Hi,
I have a user form having password field(using tag) and a
list box(using ).
whenever I change value of the list box, password entered in the text
field disappears
and user has to renter the password. Similarly if I retrieve user's data
from the database, all the values are shown
except pa
I had the same problem of getting the error messages twice.
I used this constructor of FacesMessage
FacesMessage(java.lang.String summary, java.lang.String detail)
and set the detail to an empty string. Now it is working as desired.
So in ur case, you can try
context.addMessage(
Thanx for your replies...
Its working now...
Regards,
Rashmi
[EMAIL PROTECTED]
Hi,
I did the same thing to check for an invalidated session. But when session
becomes null, infinite loop is formed
and the output string "Session is null" is getting printed infinite times.
public void doFilter(ServletRequest request, ServletResponse response,
FilterChain chain) throws
x is empty ) the backing bean checks if the image was
already uploaded or not, if it was it uses the uploaded image, else it
thinks that the user hasn't chosen any image.
HTH
Srikanth
-Original Message-
From: Rashmi Kumari [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 30, 2005 8:50 AM
Do you have upload and a submit
button on the form ?
-Original Message-
From: Rashmi Kumari [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 30, 2005 12:55 AM
To: MyFaces Discussion
Subject: RE: File upload problem
Thanks a lot Srikanth.
By using the tag, I found where lies the error.
Actually
ensionsFilter
/faces/*
also have you tried with the tag on your form ?
-Original Message-
From: Rashmi Kumari [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 29, 2005 8:56 AM
To: MyFaces Discussion
Subject: RE: File upload problem
url pattern for JSF is
Also check the filter mapping. Seems like you just cut and pasted the
extension filter setup into your web.xml. How is your url pattern for JSFs.
I am talking about this part...
extensionsFilter
*.jsf
extensionsFilte
Discussion"
have you configured the extension filter
and added enctype to ?
-Matthias
On 6/29/05, Rashmi Kumari <[EMAIL PROTECTED]> wrote:
>
> Hi,
Hi,
I have added File upload component in my application. User selects the
image and can see the preview of it as it is happening in myfaces examples.
I have a save button also for calling the action but form is not getting
submitted when this button is clicked.
If I remove the file upload tag, t
I think writing the getRoles method in this way will help.
List roles;
public List getRoles()
{
ArrayList list = new ArrayList();
try
{
Session session = HibernateSessionFactory.currentSession();
List l = session.find("from Role");
fo
ld be able to modify the client-side trees in the examples using
the server-side examples as your guide.
HTH,
sean
On 6/23/05, Rashmi Kumari <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I have build a client side tree using X:tree2 tag which is working fine
but
> when I ch
Hi,
I have build a client side tree using X:tree2 tag which is working fine but
when I change it to server side tree using clientSideToggle="false"
attribute, it is giving error.
The jsp is---
Hi,
I have to include checkboxes on the jsp based on the value in a String
array .
I have included the relevant code of the jsp that does this. First 2
checkboxes are printed. Then the application throws error.
Please guide me where I am wrong.
<%
String[] rightsList = (String[])session.ge
Hi,
I have to find the name of the immediate parent of the selected leaf node.
The below code gives me the name of the selected node.
public void selectionTreeActionListener(ActionEvent actionEvent) throws
AbortProcessingException
{
UIComponent component = actionEvent.getComponent
Hi,
I have to attach a colorpicker with a text field.
With a struts application this javascript was working fine but with
MyFaces the color picker is opening fine but I am unable to select any
color.
The jsp part where I am attaching the javascript is as below:
18 matches
Mail list logo