Forums Register Login

Is correct that a View use more that one ViewHelper ??

+Pie Number of slices to send: Send
My doubs is if a view (.jsp) can use more than one ViewHelper. Example:

resultSearch.jsp use BookingHelper for retrive the priced car and use SearchHelper to retrive the alternatives options (minor prices than choosed)

Note: The resultSearch.jsp show the priced items that was in car and too show the alternatives items (minor prices that choosed)
+Pie Number of slices to send: Send
Jose,
if u look at the service to worker pattern a view can have 1::* relation with helper classes via dispatcher/controller.

u can implement ur helpers either as commands(I would prefer this) or as delegates....and then u can implement two beans and/or tags in the same jsp...nothing in the jsp specs stops u from doing so.

Hope that helps

Thanks
Sankha Das
+Pie Number of slices to send: Send
 

u can implement ur helpers either as commands(I would prefer this) or as delegates



Sorry, silly question maybe, but how would you implement a helper as a command or a delegate? What are the differences between these implementations?

I always use classes with static methods as helpers in my applications. Is this an example of a delegate?

Thanx for any help, much appreciated.

James.
Grow a forest with seedballs and this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 565 times.
Similar Threads
Can a View use more than one ViewHelper
Contraddictory prepare use case requirements that must be addressed
Dispatcher View or Service To Worker
Composite View and View Helper
Collaboration/Sequence Diagrams
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 03:10:07.