Hi Rohit,
if you want to sort by the properties of an inner bean you need to create an alias.
See this post on stackoverflow.
happy coding
Type: Posts; User: shept; Keyword(s):
Hi Rohit,
if you want to sort by the properties of an inner bean you need to create an alias.
See this post on stackoverflow.
happy coding
Crazymodder, you should be able to control individual style of your error messages like this
<spring:hasBindErrors name="form">
<div class="message-error">
<c:forEach...
No, you aren't doing wrong. I tried to say that you are adding an unecessary level of indirection by wrapping atomic operations like create, update, delete into a dao interface - they are all part of...
Not sure why at all you wanna implement your daos like that.
There is pretty no point in implementing 'atomic' functions like create, retrieve, update, delete in daos.
The hibernate/jpa template...
Hi amFroz,
See my response over there. If you'd like we can go ahead and develop a shept frontend to your datamodel.
You just need to handover a dataModel of 8-15 entities which should be...
Hi amFroz,
this is a common problem and there is a simple solution to it:
In the student class you need to declare the department id explicit for reference from 'itemValue'.
Like this:
...
Hi amFroz,
haven't done it before but I wouldn't expect any serious problems mashing tiles with shept jsp/tagx. I would start from this tiles example and merge with the default shept form. Don't...
well as the author of shept I'm not quite unbiased about this ;-)
While ExtJs is more an API to a datagrid form shept is meant to offer a more generic solution for building dynamic extendible...
you're right shamayla, I should've read the topic more carefully - it's not about editing the isbn - what I assumed in my response ;-)
Andreas
Hi,
as @RequestMapping supports almost any method signature you can think of you can always inspect the requests parameters as you like:
@Controller
public class ExampleController {
...
Hi,
did you configure logging at debug level for the framework ?
I guess not - you probably would use a logger instead of "System.out...."
Well at least with a debug log you could do some...
Ok,
<c:forEach items="${productList}" var="product" varStatus="rowStatus" >
<TR>
<!--Table row n -->
<TD ALIGN="RIGHT" NOWRAP>
${product.upc}
</TD>
maybe because of the missing closing bracket ?
<c:out value="${test}" />
Hi Rana,
this is a very very common scenario and lots of people do it every day. Your ArrayList needs to be part of your form backing object. If you'd like some specific help on your code I'd...
No, the jsp has absolutely no knowledge about the one or many controllers that use it for rendering the view.
Andreas
Hi springredfire,
If you really can't change the .html you could introduce a controller for redirection
@Controller
public class HackyRedirect {
@RequestMapping (value="/picture.png")
...
a bit off-topic but autocomplete was also mentioned - anyone knows a number one solution for jquery autocomplete ?
This one here is pretty neat as it has regex syntax highlighting and json key/value...
you might change content Blob to byte array: byte[] - actually my solution writes byte arrays.
Then you need to modify content writing also.
Or even simpler - convert Blob to byte[] before...
Ok,
you need to write the raw image directly to the response and return void - like in my sketchy 2nd response:
@Controller
@RequestMapping("/images")
public class ProductImageController {
Hi istanyork,
I'v always been fond of jQuery for doin client-side stuff.
Googlin' for 'jquery pagination' offers a whealth of options what about http://plugins.jquery.com/project/pagination ?
...
Rodel,
please read *all* of my posting and then try again.
It doesn't help just to write its not working - please be as specific as you can !
Have you set a breakpoint in...
... just checked the docs on @RequestMapping ...
and modified the answer:
@Controller
@RequestMapping("/images/{id}")
public class ProductImageController {
@Autowired
private ProductDAO...
Hello president ;)
an obvious problem from your controller is that it doesn't return a Blob but a product.
It should be more like this:
@Controller
@RequestMapping("/images/{id}")
public...