Hi,
i try to submit a multipart/form-data with dojo, but it
don't invoke any action. When I try it without dojo
it works fine.
My Code:
%@ taglib prefix=sx uri=/struts-dojo-tags %
.
.
.
sx:head cache=true locale=de /
.
.
.
s:form action=addWeinBild method=POST enctype=multipart/form-data
Hi,
does anybody have an example of s:autocompleter getting list value
from an action?
I have been trying to update a list based on the selection of another
one, but no success. I'd like the dropdown lists not hardcoded as
showcase example does.
Thanks,
Rodrigo Pereira
On Dec 11, 2007 4:50 PM,
I fixed the problem:
the pattern /*/lsf/* worked :)
Thank you for replying.
On Dec 14, 2007 9:23 PM, Dale Newfield [EMAIL PROTECTED] wrote:
Filipe David Manana wrote:
Anyone using Struts 2 with multiple Sitemesh decorators?
Yep.
You mention using more than one decorator, but the
Filipe-
?xml version=1.0 encoding=ISO-8859-1?
decorators defaultdir=/decorators
decorator name=main page=main.jsp
pattern/*/pattern
/decorator
decorator name=panel page=panel.jsp/
decorator name=printable page=printable.jsp/
/decorators
so unmapped index.jsp displays
I got it. :)
All magic is behind freemaker.
dropdown.jsp:
%@ page contentType=text/html;charset=UTF-8 language=java %
%@ taglib prefix=s uri=/struts-tags %
html
head
titleDropdown - Example/title
s:head theme=ajax/
/head
body
form id=selectForm
s:autocompleter theme=simple
I made the mistake of using the validationErrors map in my Freemarker
page...
td${(validationErrors[postalAddress.firstName]) !}/td
I did this reflexively without thinking and it worked. For awhile.
Then it broke. In very strange ways.
The problem I'm having with it is that if I add a
I got it as well.
Changing the name parameter to keyName works.
Thanks,
Rodrigo Pereira
On Dec 15, 2007 3:03 PM, Rodrigo Pereira [EMAIL PROTECTED] wrote:
I got it. :)
All magic is behind freemaker.
dropdown.jsp:
%@ page contentType=text/html;charset=UTF-8 language=java %
%@ taglib
Dale Newfield wrote:
I've got a page that uses s:optiontransferselect, and I'm pretty happy
with it, but I'm now trying to scale up this app, and just over 1000
entries and the freemarker template bombs out:
I've got a different solution in mind that should work when this gets large.
Hi Folks-
second time Ive seen error 'cannot locate findString'
https://issues.apache.org/struts/browse/WW-2373
Can we some info from dev group on the location of
stack.findString(parameters.doubleListValue) ?
Thanks,
M--
- Original Message -
From: Dale Newfield [EMAIL PROTECTED]
To:
Hi Gary-
what happens when you try it thru JS ?
SCRIPT type=text/javascript language=javascript
var errorsObject = StrutsUtils.getValidationErrors(text);
/SCRIPT
?
M--
- Original Message -
From: Gary Affonso [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent:
Martin Gainty wrote:
second time Ive seen error 'cannot locate findString'
It's not that it can't find findString, it's that the string being found
is not there, so findString() returns an undefined value that cannot
then be assigned to a variable.
Error on line 264, column 13 in
Hi Dale
this is the applicable code in my copy of optiontransferselect.ftl
#if parameters.doubleListValue?exists#t/
#assign doubleItemValue =
stack.findString(parameters.doubleListValue) /#t/
#else#t/
#assign doubleItemValue = stack.findString('top') /#t/
Martin Gainty wrote:
this is the applicable code in my copy of optiontransferselect.ftl
#if parameters.doubleListValue?exists#t/
#assign doubleItemValue =
stack.findString(parameters.doubleListValue) /#t/
#else#t/
#assign doubleItemValue =
You don't say how you initially populate the select box. In any case, unless
you're populating it via Preparable/prepare() or some other automatic way or
if it's not in application or session scope it won't get automatically
re-populated when you re-visit the page.
d.
--- Raghuveer Rawat [EMAIL
There's a StrutsUtils.getValidationErrors JavaScript method that's used for
VM/FTL templates somewhere in like static/utils.js, but... I didn't know you
could access it like that, but I'd check that out first--it's one of the only
places validationErrors shows up anywhere :/
Interestink.
d.
---
Dale Newfield wrote:
Martin Gainty wrote:
this is the applicable code in my copy of optiontransferselect.ftl
Thanks for making me look at this--it led me straight to my problem!
So we know there is a problem with the freemarker libraries, and that
it's either in ?exists, or
Thanks Dave, This issue has been resolved using Preparable/prepare()
On Dec 15, 2007 8:18 PM, Dave Newton [EMAIL PROTECTED] wrote:
You don't say how you initially populate the select box. In any case,
unless
you're populating it via Preparable/prepare() or some other automatic way
or
if
17 matches
Mail list logo