|
Sponsored Links
Resources
Enterprise Java Research Library
Get Java white papers, product information, case studies and webcasts
|
General J2EE
General J2EE
General J2EE
|
Messages: 37
Messages: 37
Messages: 37
Printer friendly
Printer friendly
Printer friendly
Post reply
Post reply
Post reply
XML
XML
XML
|
 |
Value List Handler - looking for feedback
Over the past few years of J2EE development I have tacked the same problems over and over. One such problem is retrieving data and displaying it in an html table. I have taken what I have learned and threw it in a project on sourceforge: http://valuelist.sourceforge.net. I am looking for some constructive criticism from all you J2EE experts out there.
Here are a few points to start the conversation.
1) Would you use this implementation of the ValueList pattern, over implementing your own for a given project?
2) I would like to have the ValueList project focus on just the backend services, but I cannot find any good set of custom tags to use for the view. So I wrote my own:( Does anyone know of a good library out there?
|
|
Message #123544
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Value List Handler - looking for feedback
I check VLH all this afternoon. Its pretty cool. GOOD JOB.... Now, thought I am working on Hibernate, I am using DefaultDynAdapter to display my asset list. Do you have any example of how to feed this DynaBean to Display tag ??
I am working on a prototype and need to be done by this week. I will update you regarding VLH, after the design review next week.
-ravi
|
|
Message #123551
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Value List Handler - looking for feedback
I check VLH all this afternoon. Its pretty cool. GOOD JOB....Now, thought I am working on Hibernate, I am using DefaultDynAdapter to display my asset list. Do you have any example of how to feed this DynaBean to Display tag ??I am working on a prototype and need to be done by this week. I will update you regarding VLH, after the design review next week.
-ravi The valuelist.war has plenty of examples using the DefaultDynAdapter with my custom taglibs.
Here is one example: ... <% Calls the service. %> <vlh:retrieve name="nbaPlayers" value="list" /> ... <% Displays the results. %> <table width="450" class="simple" cellspacing="0" cellpadding="0"> <vlh:row value="list" url="?" bean="player"> <vlh:column title="playerid" property="playerid" sortable="desc" /> <vlh:column title="teamname" property="teamname" sortable="desc" /> <vlh:column title="firstname" property="firstname" sortable="desc" /> <vlh:column title="lastname" property="lastname" sortable="desc" /> <vlh:column title="status" property="status" sortable="desc" /> <vlh:column title="pos" property="pos" sortable="desc" /> </vlh:row> </table> ... See cvs for all the examples.
I did not relize I had no jsp example posted. I'll get one posted this evening.
-Matthew
|
|
Message #130132
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
RE: Web Standards Support???
I get the following errors:Line 45, column 43: general entity "pagingPage" not defined and no default entity. Do you need to write urls like this? nextPage.jsp?name=matt&age=54Line 45, column 152: there is no attribute "border" There is no attribute "border" for image? How do you prevent IE from puting a border around your images?Line 45, column 155: required attribute "alt" not specified I will fix this. The img tag is missing the alt property.Line 46, column 15: "nowrap" is not a member of a group specified for any attribute Line 46, column 146: end tag for "img" omitted, but OMITTAG NO was specified This I will fix. I have <img src="">, instead of <img src=""/>
Would this really be "much more useful" if the above where fixed? I usually code to html4,
Looking for feedback, Matt
|
|
Message #130155
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
valuelist.war in Tomcat-4.1.29 has error: net.mlw.vlh.adapter.fi
Dear Matthew:
I deployed valuelist.war in Tomcat-4.1.29, and when browsing to index.jsp, I've got the following error. Do you mind giving me pointers on how to resolve it? The JDK is 1.4.2
Thank you.
wiwit
SEVERE: Context initialization failed org.springframework.beans.factory.BeanDefinitionStoreException: Error registerin g bean with name '(inner bean definition)' defined in resource [/WEB-INF/classes /applicationContext.xml] of ServletContext: Bean class [net.mlw.vlh.adapter.file .FileSystemAdapter] not found; nested exception is java.lang.ClassNotFoundExcept ion: net.mlw.vlh.adapter.file.FileSystemAdapter java.lang.ClassNotFoundException: net.mlw.vlh.adapter.file.FileSystemAdapter at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa der.java:1443) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa der.java:1289) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:219) at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser. parseBeanDefinition(DefaultXmlBeanDefinitionParser.java:245) at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser. parsePropertySubelement(DefaultXmlBeanDefinitionParser.java:423) at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser. getMap(DefaultXmlBeanDefinitionParser.java:507) at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser. parsePropertySubelement(DefaultXmlBeanDefinitionParser.java:458) at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser. getPropertyValue(DefaultXmlBeanDefinitionParser.java:414) at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser. parsePropertyElement(DefaultXmlBeanDefinitionParser.java:386) at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser. getPropertyValueSubElements(DefaultXmlBeanDefinitionParser.java:334) at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser. parseBeanDefinition(DefaultXmlBeanDefinitionParser.java:238) at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser. loadBeanDefinition(DefaultXmlBeanDefinitionParser.java:200) at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser. registerBeanDefinitions(DefaultXmlBeanDefinitionParser.java:152) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registe rBeanDefinitions(XmlBeanDefinitionReader.java:161) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBea nDefinitions(XmlBeanDefinitionReader.java:127) at org.springframework.context.support.AbstractXmlApplicationContext.loa dBeanDefinitions(AbstractXmlApplicationContext.java:123) at org.springframework.context.support.AbstractXmlApplicationContext.ref reshBeanFactory(AbstractXmlApplicationContext.java:65) at org.springframework.context.support.AbstractApplicationContext.refres h(AbstractApplicationContext.java:232) at org.springframework.web.context.support.XmlWebApplicationContext.refr esh(XmlWebApplicationContext.java:131) at org.springframework.web.context.ContextLoader.createWebApplicationCon text(ContextLoader.java:154) at org.springframework.web.context.ContextLoader.initWebApplicationConte xt(ContextLoader.java:95) at org.springframework.web.context.ContextLoaderListener.contextInitiali zed(ContextLoaderListener.java:48) at org.apache.catalina.core.StandardContext.listenerStart(StandardContex t.java:3271) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3 613) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase .java:821) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:80 7) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDep loyer.java:307) at org.apache.catalina.core.StandardHost.install(StandardHost.java:788) at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:492 ) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:400 ) at org.apache.catalina.startup.HostConfig.run(HostConfig.java:851) at java.lang.Thread.run(Thread.java:534)
|
|
Message #131121
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Where are the docs?
I tried to look for decent docs on the site but couldn't find them, the tutorial also seems incomplete. Did i somehow miss them?. if i wanted to start where exactly would be the best place to start?
thanx.
|
|
Message #131313
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
how about ibatis Adapter?
how about to add ibatisApater?
ibatis can easily create dynamic SQL querys to replace the sql in applicationContext,so i can just use it with something like this:
<entry key="nbaTeams"> <bean class="net.mlw.vlh.adapter.ibatis.ibatisAdapter"> <property name="dataSource"><ref bean="myDataSource"/></property> <property name="useName"><value>false</value></property> <property name="sqlMap"> <value> dynamicSql <!----which is just a string </value> </property> </bean> </entry>
so I can just easy test accoding db and vls! I am just getting start to do this job,hope i can do this quickly!
by the way: I can't find the changelog in the web :(
sorry for my pool english!
|
|
Message #131315
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Start with the Overview
Start with the Overview.Then take a look at the samples.The tutorial is a work in progress... Ok the overview looks interesting not forgetting the project itself. Thanks for the pointers.
|
|
Message #132731
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
how about ibatis Adapter?
I am VERY intersted in getting an ibatis adapter in! Let me know how I can contact you to get net.mlw.vlh.adapter.ibatis.ibatisAdapter included.
|
|
Message #132875
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Some question
Hi, I have some question 1) Why no source code/ integration with controller layer? I think that is a matter of controller interact with valuelist Pattern 2) why tag library included? Is not possible to use yet another tag library?. I think that a jsp have to work without knowledge of other layer so a collection in enough. Regars Marco
|
|
Message #133025
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
When Datasource is configured by the admin appserver ...
Hello
I'd like to use your Value List Handler, but apparently, I have to configure my datasource in a specific config file. What about if my datasource is configured by the admin appserver ? Is it possible to tell to the VLH only the jndi name of my datasource ?
Thanks by advance for your answer
|
|
Message #133932
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Value List Handler - looking for feedback
Is thv Value List Handler of the Sun´s site, a good alternative when you want to paginate your results? I´m asking this because, in the implementation of the VLH you load all your database data you want, and then you control the paginating page with a bean calling nextPage(), currentPage()...
Isn´t better to load from your database only page by page??
Tnx!
|
|
Message #134320
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Some question
1) Why no source code/ integration with controller layer? I think that is a matter of controller interact with valuelist Pattern There is a sample controller for Spring. But generally this is so simple i decided not to attempt to cover all the MVCs out there. Look at the User Guide for an example of the controller code. Or look at the Struts example in the sample.war.Pattern2) why tag library included?Is not possible to use yet another tag library?. I think that a jsp have to work without knowledge of other layer so a collection in enough.RegarsMarco A Collection is not enough because you need to know the paging and sorting information as well (if you want to do sorting and paging outside the web tier). The ValueList interface contains a List and a PagingInfo bean. All the other "table tags" do sorting and paging in the web tier:( It was not my intent to spend so much time on the taglibs! I just could not find an existing set of taglibs that worked!
|
|
Message #134321
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Value List Handler - looking for feedback
Is thv Value List Handler of the Sun´s site, a good alternative when you want to paginate your results? I´m asking this because, in the implementation of the VLH you load all your database data you want, and then you control the paginating page with a bean calling nextPage(), currentPage()...Isn´t better to load from your database only page by page??Tnx! This is good for small datasets, but what if you have 1,000 rows, or 100,000 rows?
|
|
Message #134442
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
When Datasource is configured by the admin appserver ...
HelloI'd like to use your Value List Handler, but apparently, I have to configure my datasource in a specific config file. What about if my datasource is configured by the admin appserver ?Is it possible to tell to the VLH only the jndi name of my datasource ?Thanks by advance for your answer Spring is used to bind the DataSource to the adapter. You could extend the adapter and then pull the dataqsource from the jndi tree. Or maybe Sring can access the jndi tree, that would be a question for the dpring team.
|
|
Message #152271
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Is this vlh project independent from any framework?
I have seen the page tutorial and this does not tell me too much. What do I need if want to implement this project without ibatis and spring and anyother framework.
Where do I have to start?. What do I have to config in order to get it working? is it compulsory to work under a database framework like ibatis or whatever it were?
|
|
Message #156496
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Editable grid feature
Hi Wilson,
(1) How do you implement editable grids?And save the records using hibernate in one batch
Regards KumarV
|
|
Message #156498
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Is the ValueList good enough to handle 3000 or more records
(1) Does the value retrieve record page by page. The HibernateAdapter should be able to pull data from hibernate qry page by page as hibernate provides this feature?
|
|
Message #157446
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Can you provide the latest source code zip for download
Can you provide the latest source code zip for download
|
|
Message #158234
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Can you provide the latest source code zip for download
its in cvs at valuelist.sourceforge.net
|
|
Message #160534
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
valuelist and struts
I use displaytag in struts projects (with iBatis dao / sqlmaps) ; now i want to replace displaytag by valuelist and ibatis sqlmaps by hibernate
But i cannot find "real-life" examples on how i can use valuelist with struts without spring
Is somebody have examples like that ?
Thank you for answer and sorry for my poor english (i am french)
|
|
Message #166266
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
vlh with struts...
Take a look at the valuelist.war. It has a few struts examples. But remeber ValueList needs to have spring, but not nessesarly spring-web.
|
|
Message #177436
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Need more documentation
I've just came across valuelist. For the past two weeks I've been evaluating displaytag and I am concerned about its data handling. The one comment I would like to make about valuelist is that it is not as well documented as displaytag. In addition the links to the samples pages do not work. ValueList maybe a great product but without good documentation and samples it is worthless to me. I want to use a tag library to help me do my work faster but if it takes too long to figure out then I just write my own or use jsp. So please spend some time and provide detailed documentation and Samples.
|
|
Message #180471
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Lost in the "ValueList"
The concept of valuelist is great. Some tutorials are made but the problem is that these tutorials give us solution when all parameters are set(bean, controller...). I think that for the developpers with an experience, there is no problems to understand the tag library, and configure files like applicationcontext.xml, web.xml. And examples like valuelist.war, report.war don't work... I want to use this technologie with spring(without Struts) only. I thought it was simple, and i'm going to go on another techno if i can't use it.
My applicationcontext.xml(I work with tomcat 4.1): ... <bean id="myDataSource" destroy-method="close" class="org.apache.commons.dbcp.BasicDataSource"> <property name="driverClassName"> <value>com.mysql.jdbc.Driver</value> </property> <property name="url"> <value>jdbc:mysql://localhost:3306/dbarticles</value> </property> <property name="username"> <value>root</value> </property> <property name="password"> <value></value> </property> </bean> <bean id="valueListHandler" singleton="true" class="net.mlw.vlh.DefaultValueListHandlerImpl"> <property name="config.adapters"> <map> <entry key="playerRank"> <bean class="net.mlw.vlh.adapter.jdbc.dynabean.DefaultDynaBeanAdapter"> <property name="dataSource"> <ref bean="myDataSource"/> </property> <property name="defaultNumberPerPage"> <valueɭ</value> </property> <property name="defaultSortColumn"> <value>nom</value> </property> <property name="defaultSortDirection"> <value>desc</value> </property> <property name="sql"> <value> SELECT NOM as nom, PRIX as prix, STOCKACTUEL as stock FROM articles /~sortColumn: ORDER BY [sortColumn] [sortDirection]~/ </value> </property> </bean> </entry> </map> </property> </bean> ...
my web.xml : ... <taglib> <taglib-uri>valuelist.tld</taglib-uri> <taglib-location>/WEB-INF/tld/valuelist.tld</taglib-location> </taglib> <taglib> <taglib-uri>c.tld</taglib-uri> <taglib-location>/WEB-INF/c.tld</taglib-location> </taglib> ...
my jsp : <%@ page language="java" %> <%@ taglib uri="/WEB-INF/c.tld" prefix="c" %> <%@ taglib prefix="vlh" uri="valuelist.tld" %>
<jsp:include page="entete.jsp"/> <h2>Liste des articles</h2> <table border="1"> <tr> <th>NOM</th><th>PRIX</th> </tr> <c:forEach var="article" items="${listarticles}"> <tr> <td><c:out value="${article.nom}"/></td> <td><c:out value="${article.prix}"/></td> <td><a href="<c:out value="infos.do?id=${article.id}"/>">Infos</a></td> </tr> </c:forEach> </table> <p> <c:out value="${message}"/> <p> <vlh:root value="list" url="?" includeParameters=""> <vlh:retrieve name="playerRank"/> <table width="95%"> <vlh:row bean="article"> <vlh:column title="Nom" property="nom" sortable="desc"/> <vlh:column title="Prix" property="prix" sortable="desc"/> <vlh:column title="Stock" property="stock" sortable="desc"/> </vlh:row> </table> </vlh:root> </body> </html>
If someone can help, i'm really lost in my webapp... I really like to use valuelist. thanks for the answer.
|
|
Message #180473
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Lost in the "ValueList" 2
The concept of valuelist is great. Some tutorials are made but the problem is that these tutorials give us solution when all parameters are set(bean, controller...). I think that for the developpers with an experience, there is no problems to understand the tag library, and configure files like applicationcontext.xml, web.xml. And examples like valuelist.war, report.war don't work... I want to use this technologie with spring(without Struts) only. I thought it was simple, and i'm going to go on another techno if i can't use it.
My applicationcontext.xml(I work with tomcat 4.1): ... <bean id="myDataSource" destroy-method="close" class="org.apache.commons.dbcp.BasicDataSource"> <property name="driverClassName"> <value>com.mysql.jdbc.Driver</value> </property> <property name="url"> <value>jdbc:mysql://localhost:3306/dbarticles</value> </property> <property name="username"> <value>root</value> </property> <property name="password"> <value></value> </property> </bean> <bean id="valueListHandler" singleton="true" class="net.mlw.vlh.DefaultValueListHandlerImpl"> <property name="config.adapters"> <map> <entry key="playerRank"> <bean class="net.mlw.vlh.adapter.jdbc.dynabean.DefaultDynaBeanAdapter"> <property name="dataSource"> <ref bean="myDataSource"/> </property> <property name="defaultNumberPerPage"> <value>1</value> </property> <property name="defaultSortColumn"> <value>nom</value> </property> <property name="defaultSortDirection"> <value>desc</value> </property> <property name="sql"> <value> SELECT NOM as nom, PRIX as prix, STOCKACTUEL as stock FROM articles /~sortColumn: ORDER BY [sortColumn] [sortDirection]~/ </value> </property> </bean> </entry> </map> </property> </bean> ...
my web.xml : ... <taglib> <taglib-uri>valuelist.tld</taglib-uri> <taglib-location>/WEB-INF/tld/valuelist.tld</taglib-location> </taglib> <taglib> <taglib-uri>c.tld</taglib-uri> <taglib-location>/WEB-INF/c.tld</taglib-location> </taglib> ...
my jsp : <%@ page language="java" %> <%@ taglib uri="/WEB-INF/c.tld" prefix="c" %> <%@ taglib prefix="vlh" uri="valuelist.tld" %>
<vlh:root value="list" url="?" includeParameters=""> <vlh:retrieve name="playerRank"/>
<vlh:row bean="article"> <vlh:column title="Nom" property="nom" sortable="desc"/> <vlh:column title="Prix" property="prix" sortable="desc"/> <vlh:column title="Stock" property="stock" sortable="desc"/> </vlh:row>
</vlh:root>
If someone can help, i'm really lost in my webapp... I really like to use valuelist. thanks for the answer.
|
|
Message #185169
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
VLH With WebLogic and iBatis - Pagination did not work
I tried Value List Handler with WebLogic 8.1 and iBatis. I was looking for automatic pagination. At the beginning I was not able to run the example war file. I was getting null pointer exception. Fixed that by adding a check for null in ValueListSpaceTag. I was not getting images shown and the problem was with having a context prepended to them. I started with my query in iBatis but for some reason the iBatis adapter is not supporting pagination. Does any body have any idea on why I could not get pagination working? Am I supposed to take care of that in my query?
|
|
Message #190264
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Maintaining client state(page no) in web or data tier??
I am wondering whether this adapter executes query everytime or it executes once and cache the data and return to the client when the client requests?? do you keep the client state(page no) in web/data tier?? In case if you are executing the query everytime, the data might change when the user is going to next page after he executed the search, how do you take care of this?? Appreciate any help in this regard.
-Kotha.
|
|
Message #204890
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
cache
All the included adapters go to the database every time. You could write an adapter that does cache if needed.
|
|
Message #220861
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Display tag vs value list
I am using display tag extensively and am quite impressed with it, it has pdf, excel, rtf exports, something to consider here. This requirement is definitely something I myself have seen many times in my 11 years in IT development, I wrote something similar 4 years ago with taglibs and pagination but displaytag is very good and takes away the software engineering work so I can focus on my customer's needs.
"Question every line of code that does not make your company money" Ben Hale - Interface 21 Spring instructor
Venu
|
|
Message #223658
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Getting errors when deploying valuelist.war in tomcat 5.5
Hi All,
I am trying to deploy the valuelist.war file in tomcat 5.5 server. I just dropped the v 0.1.8 war file in the webapps dir.
After the server starts up, it tries to run the following scripts and keeps trying again and again...
INFO: Running: /net/mlw/data/CreateTestTable.sql Dec 10, 2006 11:29:55 PM net.mlw.util.sql.ScriptRunner executeScript INFO: Running: /net/mlw/data/CreateTestData.sql
and eventually gets an java.lang.outOfMemory Error.
What seems to be the problem? . Is there some README.txt file that I forgot to read. Since there were no explicit setup instructions for this .war file I just dropped it in Webapps dir and assumed that it will work but it doesnt seem to be working in this case.
a) do i need to have some database product *(mySql etc.) installed on my machine before I drop this .war file in the webApps dir.
b) Is there some .xml file that has the setup information that I need to change to point to my local environment..
I am a Spring newbie so I might be missing something obvious, but some pointers would be most appreciated.
thanks , robin
|
|
Message #224196
Post reply
Post reply
Post reply
Go to top
Go to top
Go to top
|
 |
Using Spring, Struts or similar Web MVC frameworks
I knew Display Tags for quite a while also because they are using Maven (and I came across it when researching some "Powered By" projects for a Maven presentation I did)
Which they have in common with ValueList.
Although DisplayTags are a bit more simple to use in your own web app, I came across 2 major issues.
The first one seems acceptable, if the user's expectations cope with it. Which is, DisplayTags sorts data only within each page rather than the entire list, when paging of long lists is used. ValueList always seems to sort the entire list, even if it spreads across multiple pages.
The second one is more severe, at least in applications with massive use of Spring (or similar MVC frameworks) or also within Portlets. If you use a JSP as a View for Spring pages (should be similar for Struts ".do" actions) and use DisplayTag's paging there, it composes a URL for navigation from the underlying JSP rather than the View/Action. So an MVC application, which uses something like "list.do" backed by a "list.jsp" file faces a navigation url pointing to "list.jsp", even if that JSP should be hidden in a folder like WEB-INF/... And this makes such an Action setup unusable!
If there are fixes/updates for DisplayTag, I'd appreciate that. However, assuming that this is not the case for the current version, I had to investigate more into ValueList at the moment. Also because its examples for multiple editable elements in a page are unique and probably only otherwise available with some of Apache's TagLibs, or commercial offerings...
The ValueList tutorial app is based on Spring (and Apache Tiles) itself, so that should answer the question, if this works for the ValueList tags ;-)
|
|
 |
Hot threads
Hot threads
Hot threads
|
More hot threads
More hot threads
More hot threads
|
 |
Brian Goetz continues to lift the lid and peak into the inner workings of Java in Java Urban Performance Legends. In this article he exposes the fallacy behind some of the more common performance myths found in the annals of the JVM.
(93 comments,
last posted
February 06, 2009)
Bruce Tate, author of Better, Faster Lighter Java and Bitter EJB has come out with a new book called Beyond Java. Bruce has an epiphany about the future of software development. Does it include Java?
(770 comments,
last posted
September 23, 2009)
Looks like today AJAX concept have several interpretations. We can distinguish different approaches of AJAX integration. Can they co-exist within the same application? Can we talk about layered AJAX integration?
(68 comments,
last posted
May 08, 2008)
Artima has published a short article describing the Design-Time API for JavaBeans, which was recently approved as JSR 273. This API promises to bring VB-like ease to Java development, but may face a cultural bias among Java developers who tend to think more in terms of class libraries than components.
(225 comments,
last posted
November 19, 2009)
There is plenty of speculation today regarding a potential buyout of Sun Microsystems by Scott McNealy and Silver Lake Partners. How would privatization of Sun affect Java?
(16 comments,
last posted
May 15, 2009)
More hot threads »
|
|