Hi,
> does paramsPrepareParamsStack by default exist ?
Upsss once again, paramsPrepareParamsStack exist and already
contain staticParams interceptor You can also use defaultStack.
Regards
--
Lukasz
http://www.lenart.org.pl/
-
You could try something like the attached Result instead.
(*Chris*)
On Tue, Jul 1, 2008 at 9:03 PM, Dave Newton <[EMAIL PROTECTED]> wrote:
> --- On Wed, 7/2/08, Dave Newton <[EMAIL PROTECTED]> wrote:
>> That's how the XSLT result works--see the XSLT result [...]
>
> I did, of course, mean "that
thanks I think I figured out the problem. I had implemented the model driven
interface, but had it returning a new Product() object instead. It works
now.
The OP's approach is appropriate when using the param-prepare-params
pattern. Sometimes it's essential that the domain objects are
in
Hi Jeromy,
I've finally found time to try to resolve this but haven't had much luck.
Just to recap, I'm looking to be able to do something similar to the following:
/book -> returns a list of books
/book/123 -> returns book with id 123
/book/123/chapter/1 -> return chapter with id 1, retrieved fr
--- On Wed, 7/2/08, Dave Newton <[EMAIL PROTECTED]> wrote:
> That's how the XSLT result works--see the XSLT result [...]
I did, of course, mean "that's *not* how the XSLT result works..."
Dave
-
To unsubscribe, e-mail: [EMAIL P
That's how the XSLT result works--see the XSLT result type page [1] for further
explanation. In a nutshell *you* don't create the XML--you send an action to
the XSLT.
Dave
[1] http://struts.apache.org/2.x/docs/xsl-result.html
--- On Tue, 7/1/08, Eric Hamacher <[EMAIL PROTECTED]> wrote:
> From
You might have better luck asking on a Dojo list/forum. IIRC it's 0.4.3-ish.
Dave
--- On Tue, 7/1/08, Struts Two <[EMAIL PROTECTED]> wrote:
> From: Struts Two <[EMAIL PROTECTED]>
> Subject: Struts 2 dojo and accessibility
> To: "Struts Users Mailing List"
> Date: Tuesday, July 1, 2008, 2:27 PM
Try using a different theme, I forget offhand whether 'simple' or
'css_xhtml' does what you want but if one of them doesn't, they are
remarkably easy to customize.
jk
On Tue, Jul 1, 2008 at 5:39 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:
> Thanks. It solves my problems.
>
> I notice that *
Dear Lukasz,
does paramsPrepareParamsStack by default exist ?
--
Thx, Milan
Lukasz Lenart wrote:
>
>>
>>
>>
>>showChanges
>>/second
>>
>>
>
> Add staticParamIntreceptor [1] or use paramsPrepareParamsSta
Thanks. It solves my problems.
I notice that *...* is actually replaced
by *error
message *in the code. Is there a way to let the tag
only renders the error message instead of a list?
Thanks.
On Tue, Jul 1, 2008 at 4:25 PM, Lukasz Lenart <[EMAIL PROTECTED]>
wrote:
> > My validation works with
Thanks. Your solutions solve my problems.
On Tue, Jul 1, 2008 at 4:25 PM, Lukasz Lenart <[EMAIL PROTECTED]>
wrote:
> > My validation works with "xhtml" them but doesn't work with "simple"
> theme.
> > Does struts2 validation framework NOT work with "simple" theme?
>
> What you mean "not work"? D
Dimitris Mouchritsas on 01/07/08 16:50, wrote:
Yes, for Struts 1.3.8, sorry I forgot to mention. Actually what I did (but
it's more or less specific for the action) is to just forward, not redirect.
But I've got another question now? Is there a way I can pass a parameter in
the request? I need
Dimitris Mouchritsas on 01/07/08 16:50, wrote:
Ian Roughley wrote: Yes, for Struts 1.3.8, sorry I forgot to mention.
Actually what I did (but it's more or less specific for the action) is to
just forward, not redirect. But I've got another question now? Is there a way
I can pass a parameter in th
Ok, I used jstl and now it works!
Here's the code (it's changed since the first post, so don't compare it):
property="highLevelCategories">
value="${pannelloForm.highLevelCategoriesChildren[category.id]}">
${subcategory.contenuto.name}
where:
- pannelloForm is the ActionForm bean
- hi
> My validation works with "xhtml" them but doesn't work with "simple" theme.
> Does struts2 validation framework NOT work with "simple" theme?
What you mean "not work"? Do you mean, you don't see error messages?
If so use tag [1] or with param list
for fields you want.
[1] http://struts.apache
>
>
>
>showChanges
>/second
>
>
Add staticParamIntreceptor [1] or use paramsPrepareParamsStack [2] and
define result like that
second
/secondparam>
true
${id}
[1] http://struts.apache.org/2.0.11.2
Hi there,
My validation works with "xhtml" them but doesn't work with "simple" theme.
Does struts2 validation framework NOT work with "simple" theme?
I don't like the layout by "xhtml" theme so I choose "simple" theme, but I
don't want to lose the validation framework.
Thanks.
Struts 2.0.11
Hello:
It appears that XSLTResult is having trouble transforming a simple
Document:
99
x99
My action is producing valid XML. I don't think it's the action causing
the problem. The error message printed on the screen:
XML Parsing Error: no
I was wondering if the dojo version provided by struts 2 supports accessibility
or not. I am aware that dojo 1.x supports accessibility by detecting if the
browser is operating in high-contrast mode and then it renders the dijits
according to augmented style, images and templates as necessary. I
That's not a good solution. I don't want to pollute my domain objects
with Struts 2 annotations, plus I didn't even know that Struts 2
validation annotations could be used anywhere other than on a Struts
Action.
-Original Message-
From: Jim Kiley [mailto:[EMAIL PROTECTED]
Sent: Tuesday
Hi,
I just add a at line 51 of checkboxlist.ftl
class="checkboxLabel">${itemValue?html}
Thanks,
Nuwan
Jim Kiley wrote:
It is remarkably easy to extend the 'simple' or 'xhtml' themes to make
s:checkboxlist display vertically. Here's how I did it:
In the root of my web code I have a 'temp
Hi,
I have one problem with redirection. In my .jsp page which is backed by
MyFirstAction class I have following link:
// here is iterator
Change
and this "change" action is defined for another action class in struts.xml,
like this:
--- On Tue, 7/1/08, David Ogasawara <[EMAIL PROTECTED]> wrote:
> I was avoiding checkboxlist because I wanted the options to be
> displayed vertically, but it looks to be the only option unless
> I add more code to determine if a checkbox was selected.
Or use the "css_xhtml" theme, which IIRC ju
You can put the validation on Person's firstName() method.
On Tue, Jul 1, 2008 at 12:39 PM, Asleson, Ryan <[EMAIL PROTECTED]>
wrote:
>
> Hello,
>
> I'm using Struts 2.0.11.
>
> I have an HTML table. Each row in the table represents a Person object.
> Each column in the table has an input box for
Hello,
I'm using Struts 2.0.11.
I have an HTML table. Each row in the table represents a Person object.
Each column in the table has an input box for properties about the
person, such as firstName, lastName, etc.
My Action has a Persons property that is a List. Each input box
in the HTM
It is remarkably easy to extend the 'simple' or 'xhtml' themes to make
s:checkboxlist display vertically. Here's how I did it:
In the root of my web code I have a 'template' folder. Within 'template' I
have a folder named 'my'. Inside 'my' I have checkboxlist.ftl.
checkboxlist.ftl looks like t
This is exactly what I needed. I was avoiding checkboxlist because I
wanted the options to be displayed vertically, but it looks to be the
only option unless I add more code to determine if a checkbox was
selected.
Thank you, everyone, for your help!!!
-Original Message-
From: Nuwan C
Maybe using Apache Commons BeanUtils? Anybody knows?
Thanks again.
Paolo
Paolo Niccolò Giubelli ha scritto:
I'm sorry, but I'm still unable to do that.
Ciro Montanino ha scritto:
Try to use jstl tag library to read HashTable contents.
On Mon, Jun 30, 2008 at 4:29 PM, Paolo Niccolò Giubelli <
[
Hi,
I have done it like this.
// code in my action
private String[] skill;
public String[] getSkill() {
return skill;
}
public void setSkill(String[] skill) {
this.skill = skill;
}
public void prepare() throws Exception {
skills = new ArrayList();
Hi,
Yes, I am saving the results in a database. When the user returns, I
query the database and place the results into a string array. I am
unable to get this array to repopulate the check boxes the user
previously selected.
Thanks,
Dave
-Original Message-
From: Struts Two [mailto:[E
In your original code you don't do anything to specify whether or not the
current value matches on of the values in the user's current selections--not
sure what magic you were expecting.
The tag [1] accepts both value and selection choices; it
may be sufficient for your needs. If you're going
>>So if there are five check boxes and the user selects three of
>>them and submits the form, how do I automatically check the three boxes
>>when the user returns the next day?
If I have understood your question right, you need to persist user selection
(say in a database). What you are asking e
Ian Roughley wrote:
my mistake, only saw the last message.
Antonio Petrelli wrote:
2008/7/1 Ian Roughley <[EMAIL PROTECTED]>:
Have you looked at the message store interceptor?
For Struts 1?
Antonio
-
To unsubscribe,
my mistake, only saw the last message.
Antonio Petrelli wrote:
2008/7/1 Ian Roughley <[EMAIL PROTECTED]>:
Have you looked at the message store interceptor?
For Struts 1?
Antonio
-
To unsubscribe, e-mail: [EMAIL PROT
2008/7/1 Ian Roughley <[EMAIL PROTECTED]>:
> Have you looked at the message store interceptor?
For Struts 1?
Antonio
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Have you looked at the message store interceptor?
/ian
Antonio Petrelli wrote:
2008/7/1 Dimitris Mouchritsas <[EMAIL PROTECTED]>:
ActionMessages msg = new ActionMessages();
msg.add(Constants.MESSAGE_CONFIRM, new
ActionMessage("prompt.changes.saved"));
saveMessages(request, msg);
But when I
2008/7/1 Dimitris Mouchritsas <[EMAIL PROTECTED]>:
> ActionMessages msg = new ActionMessages();
> msg.add(Constants.MESSAGE_CONFIRM, new
> ActionMessage("prompt.changes.saved"));
> saveMessages(request, msg);
>
> But when I'm redirected back in the jsp there's no message showing (there's
> a specif
Hi all,
I've got the following problem. I have an action that edits the details
of a user.
When the action finishes correctly I want to show a confirmation
message, so in the action:
ActionMessages msg = new ActionMessages();
msg.add(Constants.MESSAGE_CONFIRM, new
ActionMessage("prompt.change
Hi,
Thank you very much for your assistance, but I am already able to
display the checkboxes. I guess my question wasn't very clear. I need
to know how to redisplay the checked boxes a user selected in a previous
session. So if there are five check boxes and the user selects three of
them and s
Hi All,
What are the best solutions for implementing the Internationalization using
database in struts2 ?
If any one have any info , please share with me.
Best Regards,
RK
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additi
Dimitris Mouchritsas wrote:
Dimitris Mouchritsas wrote:
Hi all,
we've recently upgraded our j2ee application to use struts 1.3.8 and
we're getting a weird exception when trying to
upload a file. Here's the jsp:
testFileUpload.jsp
===
That's a good catch. That statement is intended for debugging and
won't break anything though.
musachy
On Mon, Jun 30, 2008 at 10:25 PM, Pierre Thibaudeau
<[EMAIL PROTECTED]> wrote:
> 2008/6/30 Musachy Barroso <[EMAIL PROTECTED]>:
>
>> "struts" maps to a folder inside the struts-core jar. Those f
Dimitris Mouchritsas wrote:
Hi all,
we've recently upgraded our j2ee application to use struts 1.3.8 and
we're getting a weird exception when trying to
upload a file. Here's the jsp:
testFileUpload.jsp
Hi,
I use dojo 1.1 and struts-dojo-tags at the same time and it works.
her you find the documentation.
http://dojotoolkit.org/book/book-dojo/part-3-javascript-programming-dojo-and-dijit/multiple-versions-dojo-page
cree schrieb:
Hello All,
I am attempting to resolve the ajax back button pro
44 matches
Mail list logo