struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Taylor, Jason" <jtay...@cobaltgroup.com>
Subject RE: Struts tags for display a collection of views
Date Wed, 25 Sep 2002 14:30:47 GMT
I think you're talking about "paging" through a dataset a certain number of
records at a time.  If I'm right then we're talking about some sort of
collection with a class or set of classes whose mission in life is to
provide meta-data about the collection like "Page 5 of 6", "current
selection is Record #34", etc.  It's a pattern, though I'm not sure what
you'd call it other than "paging", though unfortunately "paging" makes
people think of little electronic devices that annoy people automatically,
so there should be a better word for it.

Bottom line-- what you're talking about is something you could handle on the
front end (in Javascript or some other scripting language) or the back end
(in your Java classes that make up and service your Model), depending on
your preferences/strengths.  

What Struts provides you is the framework for passing the data between the
front and back end that shields you as much as possible from the details of
how the servlet container works.  

Sometimes you'll get rather curt answers if it sounds like you're expecting
Struts to provide features that are more high-level than that of a webapp
framework.  Don't take it personally, there are a *lot* of postings on this
newsgroup, and most of them could be handled by the posters themselves if
they simply read and understood the documentation more carefully.

-JT

-----Original Message-----
From: Heligon Sandra [mailto:sandra.heligon@nextream.fr]
Sent: Wednesday, September 25, 2002 12:35 AM
To: 'Struts Users Mailing List'
Subject: RE: Struts tags for display a collection of views


Excuse me I do not understand the direction of your answer.
I already read documentation about tags offered by struts.  
For displaying a list of objects it seems that there are two possible
choices logic:iterate and nested tags.  
The problem that I meet today in the construction of my page to displaying
data several similar sights seemed me common.  
This is why I sought of the assistance on this forum.  
I find interessant very to be able to exchange our knowledge, 
and our experiments that makes it possible to reduce times of development
considerably. 
I know that the tutoriaux ones and documentation exist but the examples
given are often simple.  On the other hand the users of Struts like you and
me, build more complex cases.  

Sandra, 

-----Original Message-----
From: Galbreath, Mark [mailto:Galbreath@tessco.com]
Sent: 24 September 2002 19:10
To: 'Struts Users Mailing List'
Subject: RE: Struts tags for display a collection of views


This would require a tutorial (or two).  I would suggest you do one, then
ask a question.

Mark

-----Original Message-----
From: Heligon Sandra [mailto:sandra.heligon@nextream.fr]
Sent: Tuesday, September 24, 2002 12:10 PM


	Hi,

	I don't know HTML/Struts tags very well, I would like to know if it
is possible to
	display this kind of view:

            					       Previous <|  |> Next
	
------------------------------------------------------------
				|					|
				|			(body)		|
				|					|
	
------------------------------------------------------------

	In fact I have to display a list that can have a large size and
multiple
	views are required. The buttons Previous and next all to navigate
	from one view to another.

	Could you explain me how this type of views is managed ?

	Thanks a lot
		

--
To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message