Re: How to render HTML in Form Tag Label?

2010-06-26 Thread Paweł Wielgus
Hi David, try: s:checkbox name=... value=... I agree to a href=...terms of service/ a /s:checkbox I don't remeber if it will work in struts2 but if not You can always use theme=simple and no label at all in s:checkbox and add text after checkbox in any form You like. Best greetings, Paweł

Re: Page composition strategy

2010-06-26 Thread Paweł Wielgus
Hi Dale, as a long time tiles user it would be very interesting for me to read about some specific problem that can be easily solved in sitemesh and hard or impossible to solve in tiles. If You could provide such an example i'm sure most of us using tiles would know better when to switch to

s:if test condition

2010-06-26 Thread lucas owen
Hi Struts 2 users: I was wondering if you can use a s:if test based on a pojo's attribute value: POJO: public class Warning{ String text; String activated; // Y or N } JSP: s:if test=*%{warning==null}* -- *Warning* null! /s:if s:else -- *Warning* not null! -- Activated: s:property

Re: s:if test condition

2010-06-26 Thread Bill Bohnenberger
Since 'activated' is a String, try swapping your single double quotes, e.g. s:if test='%{warning.activated==Y}' -Bill On Sat, Jun 26, 2010 at 11:28 AM, lucas owen sr.ilus...@gmail.com wrote: Hi Struts 2 users: I was wondering if you can use a s:if test based on a pojo's attribute value:

Re: How to modify Struts2 start up process.

2010-06-26 Thread satyanarayana katta
Using the application level spring container would be sufficient with init method set. Sent from my iPhone On Jun 25, 2010, at 11:36 AM, hisameer cool_sameer_fo...@yahoo.com wrote: Hi, I am using Struts2.1.6+Spring2.5.6+Hibernate+JPA in my web application. The application server is