ModelDriven Entity Update

2011-04-25 Thread CRANFORD, CHRIS
In a form; I have a select box defined as: In the model I have the propertyOfModel annotated as @ManyToOne as follows: @ManyToOne(fetch=FetchType.LAZY) @JoinColumn(name="PROPERTY_ID",nullable=true,insertable=true,updatable=t rue) public PropertyOfModel getPropertyOfModel() { // ... } Now the

[OT] Re: How to implement wordpress like themes?

2011-04-25 Thread Dave Newton
Same answer as the first time, although you might want to consider abstracting themes at a higher level instead of just hiding sections via CSS. But this is pretty off-topic. d On Apr 25, 2011 8:05 AM, "rocklee" wrote: > Hi Dave, > > Thanks for your reply. Different theme maybe has different sect

Re: How to implement wordpress like themes?

2011-04-25 Thread rocklee
Hi Dave, Thanks for your reply. Different theme maybe has different sections. For example, the index.jsp page of theme1 maybe contains a "latest news" section, but in theme2, there is a "popular products" section but no "latest news" section. How to achieve this? Best Regards, Lee On Mon, Apr 2

Re: How to implement wordpress like themes?

2011-04-25 Thread Dave Newton
Use CSS and include a different one for each theme. See the CSS Zen garden site for examples of what can be done with pure CSS. Dave On Apr 25, 2011 3:29 AM, "rocklee" wrote: > I want to implement wordpress like themes, one application has different > themes, the template in each theme maybe hav

How to implement wordpress like themes?

2011-04-25 Thread rocklee
I want to implement wordpress like themes, one application has different themes, the template in each theme maybe have different layout and contains different sections. User can select which theme to use. I thought there will be a folder with different themes, like following: web - WEB-INF - t