Rish Khopkar

Greenhorn
+ Follow
since Oct 21, 2003
Merit badge: grant badges
For More
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 Rish Khopkar

Hi guys,

I have gone through the tutorials of writing a custom component as well as writing a Renderer. The process of creating custom components and renderers although powerful also appears to be a tedious one for me.

Can anybody recommend any:

1. Eclipse Plugins that make the process of creating a custom JSF component from scratch easier?

2. Adapter or helper classes for renderers and components that do a lot of the plumbing for you so that you don't have to do a whole lot of encode decode as well as responseWriter.startElement("input"), etc. Is there some framework, base Renderer classes that can be extended to achieve this. Also if you're trying to create a component that is a hybrid of several other ones as well as a renderer that is a hybrid, is there an easier way to do this than having to write all this plumbing code?

Amarish
17 years ago
JSF
I think I might not have stated my question clearly. I'm not disupting the importance of AJAX.

What I'm asking is in the java world, is it better to use AJAX with JSF rather than using AJAX with Struts, or Ajax Servlet if you're just writing an AJAX powered Application (NOT Writing a Rich Internet Component Toolkit), and if so why is that?

Amarish
17 years ago
JSF
Hi Guys, I'm new to JSF and AJAX and was wondering about the hype of the synergy of the two technologies.

There is a lot of hype on the JSF and AJAX combination. I can understand that if you are trying to write custom Components that you want to be AJAX enabled, JSF and AJAX with the component model, the Phase Listener and the ability to jar everything include the javascript up into the component makes a lot of sense.

But let's say that I'm just trying to write an AJAX powered web-application, and not necessarily reusable custom components. Why is JSF any better than struts/jsp or jsp/Ajax Servlet (using Ajax Anywhere or AjaxTags or even something like Dojo), or php (using one of the other PHP frameworks)?

In summary, let's say you are not a rich component toolkit writer, but that you're just trying to write an AJAX enabled application. Is there something about JSF that makes it easier to write an AJAX enabled application than with struts/jsp or jsp/Ajax Servlet or php?

Amarish
17 years ago
JSF
Yeah, Actually right after posting this question, I looked at the API and tried out the MediaPrintableArea and got it to work. Unfortunately, it is not a very clean way to do it, and I had to hack around and change the size of the Printable area to be much larger than that of my document, and do some other positioning magic to get it to work.
Thanks for your reply.
I see what you're saying, but it seems like it wouldn't hurt to have a clear way of saying through the API that my left margin is x inches, my right margin is y inches, my top margin is p inches and my bottom margin is q inches.
Amarish
20 years ago
Is there a way in the javax.print API to specify the length of the right, left, top and bottom margins? If so what is it?
20 years ago