Hello,
I am trying a common scenario, where I want to dynamically create form
fields and either add or remove some fields. The fields are a List of
objects. I using the following approach described in short:
AddObjectAction:
ListMyObject myObjectList;
prepare(){if == null (3x)
Hello Gainty,
thanks for your reply and effort!
I do specify the href as s:url id=getListOfObjects action=addObject
/. Sorry I left that out. This calls the AddObjectAction, which
populates the List of objects in the prepare method. This works greate!
But I simply cant target the div with
Hi,
I am a little stuck here. A action loads a jsp into a div. For this I
use the ajax theme (dojo) and a form submit with target. Works fine. The
Problem ist, that the jsp returned by the action has javascript in it.
Its the jcalendar. Having this jsp load normally the calendar works
fine,
---BeginMessage---
Dear Gainty,
vielen Dank for your reply. I am very sorry but I cant supply you with a
url. What I load into the div is the following:
%@ include file=/common/taglibs.jsp%
s:form id=traitForm method=post
s:textfield id=form_start theme=xhtml cssClass=text medium /
Hi,
I am trying to implement a hibernate UserType for all the monetary
amounts in my application. I follow the example given in Manning - Java
Persistence with Hibernate Chapter 5.3 .
I am having difficulties to set and retrieve the value from a jsp due to
a lack of understanding how this is
Lukasz Lenart schrieb:
( also tried: s:textfield key=bid.amount.amount / )
This is correct
public Monetary getAmount() { return amount; }
and Monetary beeing:
public class Monetary implements Serializable{
private final BigDecimal amount;
private final Currency currency;
Wes Wannemacher schrieb:
I've been quiet on this one, but since I finally had a breakthrough
today, I feel like talking about it :)
I started a pet project that I've been toying around in my head for a
while. As a parent, I coach a few elementary and junior high sports. It
is a volunteer thing,
Chen Chunwei schrieb:
Hi all,
Is there any tag can be used to display message icons? I mean icons like alert,
error, info and etc.
Talos
Appfuse has implemented it in a way I think is very nice. Might consider
to check it out.
kropp
Hi Sharath,
I am not quit sure, but I think it might help if you simply remove the
s:head / tag. You see dojo is already configured inside of struts
(inside the core jar and static folder or so) to be used with it's tags
http://struts.apache.org/2.x/docs/tag-reference.html . Since you are not
Hi List,
the ParameterIntercepter throws the following exception at my page:
ERROR [btpool0-1] ParametersInterceptor.setParameters(204) |
ParametersInterceptor - [setParameters]: Unexpected Exception caught
setting 'button.regi
ster' on 'class com.webapp.action.SignupAction: Error setting
Dale Newfield schrieb:
Jonny Cavell wrote:
So that brings me back to the original problem - getting all these Error
setting expression 'xxx' with value '[Ljava.lang.String;@19a82ee'
messages
for every single parameter that doesn't have an associated setter
method on
the action. How do I stop
Dale Newfield schrieb:
Kropp, Henning wrote:
I figured it out. I used s:set/ for this. Thanks.
s:iterator value=model.list
s:set name=value
s:property /
/s:set
custom:tag attr=${value} / /s:iterator
That will only work if the value you're trying to pass
Thank you Dale!
Dale Newfield schrieb:
Kropp, Henning wrote:
I must add that s:set printed out the string as well. I am not quit
sure if its supposed to, but it did.
I glossed over this--I wouldn't use s:set here, but rather c:set.
Neither one should print the value (are you sure you didn't
Hi,
I figured it out. I used s:set/ for this. Thanks.
s:iterator value=model.list
s:set name=value
s:property /
/s:set
custom:tag attr=${value} /
/s:iterator
regards
Kropp, Henning schrieb:
Hi List,
I am new to struts2. I iterate over a list of strings
This would be the place to look for:
http://struts.apache.org/2.x/docs/i18n-interceptor.html
btw... There are some broken links at
http://struts.apache.org/2.x/docs/localization.html
Especially the link to sitemesh plugin ought to be:
http://struts.apache.org/2.x/docs/sitemesh-plugin.html
15 matches
Mail list logo