In the top on my jsp page :
html:html xhtml=true locale=true
The generated html page looks like that :
html xmlns=http://www.w3.org/1999/xhtml; lang=en xml:lang=en
-- 2lang attributes
and the w3c validation fails :
/Result:
Failed validation, 1 error
/
/
Error /Line 8 column 48/:
Hi all,
Can anyone tell me how to use bean:write tag inside html:href
I tried it like:
logic:iterate id=element name=myBeanList
html:link href=/someAction.do?id=bean:write name='element'
property='id
bean:write name=element property=idDescription /
/html:link
Thank you Dave. I'm afraid predefined mapping schemes like /do/admin/*/*
and /do/admin/*/*/* won't work for me since I want to implement a generic
file server. I cannot know the length of the URL nor its number of tokens
separated with /. Actually, I have written such a fileserver using plain
old
I like the button tag due to the ability to have markup inside the
button, except that it is no use because IE doesn't follow the standard.
You can use
button type=submit ... with ifancy/i html in here like
bbold/b for example/button
which makes nice buttons with mark-up and stuff.
You
rahul wrote:
Hi all,
Can anyone tell me how to use bean:write tag inside html:href
I tried it like:
logic:iterate id=element name=myBeanList
html:link href=/someAction.do?id=bean:write name='element'
property='id
bean:write name=element property=idDescription /
thanks for the help
see inline comments
-Original Message-
From: Sławek Tuleja [mailto:[EMAIL PROTECTED]
Sent: Saturday, September 24, 2005 1:57 PM
To: Struts Users Mailing List
Subject: Re: bean:write tag within html:link tag
rahul wrote:
Hi all,
Can anyone tell me how
2cents
I think you should check Rick Reumans lessons on struts.
Unfortunately I forgot the link, but you can easily google it out.
In short words, nothing in your classes which has an import to
*.struts or javax.http.* should even know anything about the database
or that there is a database.
You
Greg Reddin wrote:
On Sep 23, 2005, at 9:17 PM, Graham Reeds wrote:
Now nothing appears when I try to open Test.jsp from a page that has
uses the tiles:insert method
I'm not quite following what you mean there. Are you saying you have a
page with the following?
tiles:insert
Remove the dots, leave the slash: path=/_common/...
I had tried that but the page is blank.
I found the problem eventually. _header.jsp has a getAsString used for
the username and I hadn't given any text because I had forgotten about it.
Thanks for your time, Graham Reeds.
I am getting into Maven using Struts and the OReilly A Developer Notebook
edition.
One thing I am clueless about is how to tell Maven about a build that is not
in a repository like
weblogic.jar
?
How do tell Maven about ``commercial'' dependencies? Have any of you guys (and
gals)
already
Hi all,
How can I insert/use an .JS (javaScript) file in my .jsp which is using
Struts?
I have this:
script.js:
alert('testing...');
in my .jsp :
...
head
script type=text/javascript src=script.js/script
/head
But nothing happens whey I run the JSP file. It should show a window
dialog
Thank you very much, I solved the problem.
Francisco - São Paulo - Brazil escreveu:
Hi all,
How can I insert/use an .JS (javaScript) file in my .jsp which is
using Struts?
I have this:
script.js:
alert('testing...');
in my .jsp :
...
head
script type=text/javascript
Murry,
Thanks but NO as I think you suspected you DO NOT need to put the .do on
the end, the html:form... tag looks in the struts-config.xml to find the
action. I have more than a dozen struts applications all working fine and
even other forms within the problematic application also working
Peter A. Pilgrim on 24/09/05 12:41, wrote:
I am getting into Maven using Struts and the OReilly A Developer
Notebook edition.
One thing I am clueless about is how to tell Maven about a build that is
not
in a repository like
weblogic.jar
?
How do tell Maven about ``commercial''
Hello,
I am trying to use the html:img tag to display an
image. The image's filename(eg, photo1.jpg) is stored
in the database and the actual images are stored in
the
ContextPath/out/ folder.
I have set the value of the image_path in the form
bean but I am not able to display the image using the
Did you look at the documentation on wildcard mappings yet? If you use
/do/admin/** it'll match arbitrarily 'deep' URLs.
L.
emre akbas wrote:
Thank you Dave. I'm afraid predefined mapping schemes like /do/admin/*/*
and /do/admin/*/*/* won't work for me since I want to implement a generic
file
梁炳場 wrote:
In the header.jsp, I try to add something like About Us, Contact Us.
Make them align to the right.
But it does not work.
I spread across the header section.
I do this in the header.jsp (and use classLayout.jsp).
tr
span style= float;right; /
td
logic:iterate ..
Yes, that's the 'standard' pattern.
L.
Rob Turknett wrote:
Thanks for the help. Are you suggesting, in other words, to have a separate
Action that retrieves the data to populate the select box, that is executed
prior to the ActionForm?
Rob
-Original Message-
From: news
You can't nest a custom tag in an attribute of another custom tag. It's
illegal JSP syntax. You have (at least) a couple of options, depending
on what level of the servlet spec you're using:
html:link
jsp:attribute name=href
bean:write name='element' property='id'/
Note that the 'locale' attribute is deprecated. What happens if you
remove it? I think that might be what's causing the 'lang' attribute to
be generated.
L.
Xavier Vanderstukken wrote:
In the top on my jsp page :
html:html xhtml=true locale=true
The generated html page looks like that :
vijay wrote:
Hello,
I am trying to use the html:img tag to display an
image. The image's filename(eg, photo1.jpg) is stored
in the database and the actual images are stored in
the
ContextPath/out/ folder.
I have set the value of the image_path in the form
bean but I am not able to display the
Is there any helps here? Thank you in advance.
Carl Smith [EMAIL PROTECTED] wrote:
I am sorry for this a little long question, but you will be finding it
interesting... Simply put, I have (1),(2) and (3), then we I run struts
testing, I got error described as (4)
(1) item in
Firstly, when starting a new topic it's a better idea to post a new
message rather than replying to an existing one. Anyone not following
the thread you reply on wont see you message if you do that.
As far as your problem goes, it's not clear what the problem is because
it doesn't look like
How do you use dynavalidator forms with
form-property name=someFile type=org.apache.struts.upload.FormFile / or
whatever I need to specify the type as a file.
I need the other fields to be validated and I dont want to create a compilable
ActionForm or ValidatorFrom. I would like to continue
24 matches
Mail list logo