Hello,
I have solved the problem. There is to set escape=false in s:property, like
s:param name=titles:property value=%{title} escape=false //s:param
But what does escape=false, actually?
-Ursprüngliche Nachricht-
Von: juergen.l...@bmw.de [mailto:juergen.l...@bmw.de]
Gesendet:
Hi,
I want to download struts 1.2.9 from the binaries site:
http://archive.apache.org/dist/struts/binaries/ , but both the zip and
tarball refuse to open for me (I'm on Ubuntu 8.10). Is there somewhere else
I can obtain clean binaries from?
A colleague has managed a partial extract using WinZip,
Hi All,
I am trying to get a form to submit and a div to be reloaded when a s:select
item is changed:
*sx:div id=deviceLogPage*
*s:form action=deviceLog id=logsPerPageSelectForm theme=simple
s:hidden name=nodeNumber value=%{nodeNumber} /
s:select id=selectId name=logsPerPage theme=simple
Steve Bosman wrote:
I want to download struts 1.2.9 from the binaries site:
http://archive.apache.org/dist/struts/binaries/ , but both the zip and
tarball refuse to open for me (I'm on Ubuntu 8.10). Is there somewhere else
I can obtain clean binaries from?
That's odd; they both work fine for
On Thu, Apr 23, 2009 at 10:14 AM, Dave Newton newton.d...@yahoo.com wrote:
Steve Bosman wrote:
I want to download struts 1.2.9 from the binaries site:
http://archive.apache.org/dist/struts/binaries/ , but both the zip and
tarball refuse to open for me (I'm on Ubuntu 8.10). Is there somewhere
I just checked them both on Kubuntu Jaunty RC and both the tar and the
zip are intact for me... Maybe you pulled them from a bad mirror or
there is a firewall giving you troubles?
I've tried a few times now, with no luck, but I'll try again from home in
case it is the work firewall.
--
Great!
Thanks for reporting back.
Nils-H
On Wed, Apr 22, 2009 at 3:54 PM, Kofford, C Todd tkoff...@ku.edu wrote:
Good news! I resolved this issue.
Even though it was NOT a struts problem, I still wanted to post back to this
forum the issue and resolution.
It was being caused by a uportal
when i put
% request.setAttribute( test, new TestList(2, false) ); %
netbeans said: cannot find construtcto TestList(int,bool)
and the application goes in a exception:
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 1 in the jsp file:
Lots of possibilities here:* you need to have a class named TestList in your
application
* you need a constructor for your TestList class that accepts an int and a
boolean as its arguments
* you need to be sure you are appropriate importing the reference to
TestList in your JSP
On Thu, Apr 23,
u have to first create TestList for the code to work
On Thu, Apr 23, 2009 at 11:36 AM, Stefano elste...@gmail.com wrote:
when i put
% request.setAttribute( test, new TestList(2, false) ); %
netbeans said: cannot find construtcto TestList(int,bool)
and the application goes in a exception:
emm i've a list in my session called items.
so i'd write
a ok, i'd understand, now works.
anyway, how can i create the page number below?
On Thu, Apr 23, 2009 at 17:40, Bhaarat Sharma bhaara...@gmail.com wrote:
u have to first create TestList for the code to work
On Thu, Apr 23, 2009 at
i done this:
this is the class taht create the list
private ListItem items = new ArrayListItem();
private Integer resultSize;
public AllItem() {
}
@Override
public String execute() throws Exception {
items= mgmt.getAllItem();
resultSize=getItems().size();
All,
Is there a way to check the html:errors/ field in the jsp for not empty? I
only want to display an html group if the errors field is empty. I'm using
Struts 1.1.
Thanks,
Paula
Private and confidential as detailed here:
http://www.sug.com/disclaimers/default.htm#Mail . If you cannot
I found I had to use the s:set tag to set the object in the request
scope before displaytag could see it, since displaytag doesn't know
about the Value Stack (maybe it should?). Confusingly, displaytag
gives you that message if it can't see the variable you're
referencing, as well as if
i've done a pagination by myself.
is an Alpha relase :D, not tested but u can set size and page to display:
action:
private ListItem items = new ArrayListItem();
private int tot;
private int page = 0;
private int size = 1;
private List pages = new ArrayList();
public
2009/4/23 McDowell, Paula paula.mcdow...@sug.com:
Is there a way to check the html:errors/ field in the jsp for not empty? I
only want to display an html group if the errors field is empty. I'm using
Struts 1.1.
I've been using such structure:
logic:messagesPresent
Display tag is great for table pagination.
If you are looking for pagination without tables, I'd recommend the pager
tag library :
http://jsptags.com/tags/navigation/pager/index.jsp
Custom coding is my least favorite way of solving an issue.
To extract a variable from an action to the page, I'd
Hi,
Escape is escaping you text in an HTML friendly way. your ü was tranformed
to #xFC; (which is the corresponding HTML entity).
The issue is that you were using that in URL that was URL-encoded. So you
#xFC; is transformed to %26%23xFC%3B (with %26= , ...).
So in the case you are using the value
BUG found in URL.java where setDefaultEncoding method is missing
should have:
@Inject(StrutsConstants.STRUTS_I18N_ENCODING)
public void setDefaultEncoding(String encoding) {
defaultEncoding = encoding;
}
attempts at setting Encoding in struts.properties e.g.
#
Is there a way to debug jsp pages that have struts2 html tags??
s:debug / is usually helpful (without being a real debugger).
Denis.
Bhaarat Sharma a écrit :
Is there a way to debug jsp pages that have struts2 html tags??
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
Bhaarat Sharma wrote:
Is there a way to debug jsp pages that have struts2 html tags??
Sure, most IDEs have JSP debuggers, there's the debug tag, etc. How best
to go about it probably depends on what the actual issue is.
Dave
set struts.properties
struts.devMode = true then turn on debug for xml or console with http params
?debug=xml or ?debug=console to the URL
http://struts.apache.org/2.x/docs/debugging.html
Martin Gainty
__
Disclaimer and Confidentiality/Verzicht und
I was so stupid I was using listKey in the wrong way.
keyName *IS* the name of the hidden field than contains the id I need to
submit.
Documentation is clear, but I think I was confused by the fact that listKey
attribute works in a different way in standard combobox.
beren7 wrote:
Hello.
24 matches
Mail list logo