Sajan Patel

Ranch Hand
+ Follow
since Oct 25, 2004
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Sajan Patel

In my application, I have myFaces 1.2.

In object model I have BigDecimal field and it is populated with Custom converter.

This custom converter return NULL from getAsObject and getAsString if value is null.
Now I can see this custom convert is returning NULL when I keep my Text Field empty but in UPDATE_MODEL_VALUES phase it is populated with default value.

Does this happen with every body ?
Note:- Same program set null value to object model if it is null returned from Custom Converter fine in my Faces 1.1

BEFORE PHASE : UPDATE_MODEL_VALUES(4)
Money : null
AFTER PHASE : UPDATE_MODEL_VALUES(4)
Money : 0
9 years ago
JSF
Can you tell me any Free IDE (not IBM and BEA) on which I can develop Portlet.
10 years ago
I have same Question. Which IDE we can use for portal Application.

If I am not wrong we need separate Server also ? is it true.
10 years ago
In JSF, all TAGs can take expression language e.g. #{vartest.boldStyleClass}.

So you can do following also and pass style class name from Object itself that what style you want to use it.

<hutputText id="textT" value="#{vartest.FLD1}" styleClass="#{vartest.boldStyleClass}" converter="TestConverter">

This is just one of the way to do it.

Thanks

Sajan Patel
11 years ago
JSF
We have some information on this website >> http://shale.apache.org/ (You may have seen this website already)

Mainly Shale used with Another technology. So may be thats why there is not direct book. I am using Complete Reference JSF book (Appendix D - for Shale Frame Work). It helped me a lot to understand what is shale. I hope it help you also.

Thanks

Sajan Patel
11 years ago
JSF

But I am getting error like :
java.lang.IllegalArgumentException: "{2}" Conversion Error setting value ''{0}'' for ''{1}''



Normally, This error occur when your list object is NULL.
Try debug statement on getter method to see is it been called or not.
11 years ago
JSF

Originally posted by Zein Nunna:
I also have an old project, that I may 'convert' to JSF, would something like this be adviseable?



I would say it is worth to learn and use JSF.
For above sentence, I would say you should start partial implement your application in JSF. I found bit difficulty in converting Struts application to JSF partial(few module at a time) but it was bit easy to convert application(JSP/Servlet) to JSF.
11 years ago
JSF
It looks very promising.

And Thanks, I learn new thing today.
11 years ago
JSF
Sure!! It would be great if you share Code with all of us.
11 years ago
JSF
Thanks for your input!! I am more interested in keeping pure JSF rather than mix match. Here I want to use <hutputText for printing "hello world!" so I can print that text from db.
I know if I don't find anything than I may use as you mentioned. I might have to use verbatim two time.
11 years ago
JSF
Dear All,

Do we have any JSF componenet which does same thing like HTML MARQUEE tag does. Is there anything we can do with css so outputtext tag can be used as Marquee.

Thanks in Advance
11 years ago
JSF
Check this folder in your tomcat Installation

\\Tomcat5.5\work\Catalina\localhost\<<YOUR_APPLICATION_CONTEXT>>\org\apache\

You will see all your compiled JSP with .java and .class file. If you know Servlet technology than it will be more easy for you to understand.
11 years ago
JSF
You have posted message in wrong forum.

But you can use PuTTY to get some file from remote server.
You will find
PSCP
on this website. This is nothing but one .exe file which you can execute from java with passing different parameter.
11 years ago
JSF
I am Not that good that either but I think there shouldn't be anything different for Configure Log4J in JSF Application. You need to add same entry in Web.xml
11 years ago
JSF
It is working for me if I use param inside commandLink


This is completely jsf base jsp so it may not work for you.
[ October 05, 2006: Message edited by: Sajan Patel ]
11 years ago
JSF