My problem is that nextPage() is not getting called when I put the action in default
conversation scope. The scope of the pageNo (or use as a hidden field) shouldn't make
a difference to this but I tried it just to make sure. Do you have any ideas as to why
nextPage() is not getting called? It does if I put the action is session scope.
anonymous wrote : Why not? You just mean you don't want to type all that? But want to
type lots of Java instead?
My pages allow the user to filter the list by several ManyToOne entities. Things like
State, Country, City all of which are entities and not strings. The filter dropdowns on
the page allow a null value which indicates that they want "All", (eg: "All
States", "All Countries" etc.). To do this using entity-query in
components.xml I would need lots of quiries (i.e: usersByState, usersByStateAndCountry,
usersByStateAndCountryAndCity, usersByCountryAndCity usersByStateAndCity etc...) and then
I somehow have to bind these queries to the page.
The solution was to use a single action (like the search page in the booking example) with
a query builder class. With the exception of the problem above it works great and only
has a small amount of Java code.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4121979#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...