Looks as if the value of the page attribute begins with " and ends with
'. That won't work if that is accurate.
At 07:59 PM 6/26/2004, Caroline Jen wrote:
<%@ taglib uri="/tags/struts-html" prefix="html" %>
in the beginning of my JSP.
This statement that makes an image clickable:
<%if ( previous
Never mind, I have found the problem. Thank you.
--- Caroline Jen <[EMAIL PROTECTED]> wrote:
> <%@ taglib uri="/tags/struts-html" prefix="html" %>
>
> in the beginning of my JSP.
>
> This statement that makes an image clickable:
> <%if ( previousTopic != 0 ) {%>
href="viewthread?thread=<%=previo
> I am using tiles:
>
> path="/article/common/layouts/Article.jsp">
>
>value="/article/common/header.jsp"/>
>value="/article/common/message.jsp"/>
>
>value="/article/common/navbar.jsp"/>
>
>
> I want to control the color of links. My links are in
>
<%@ taglib uri="/tags/struts-html" prefix="html" %>
in the beginning of my JSP.
This statement that makes an image clickable:
<%if ( previousTopic != 0 ) {%><%}%>
gives me an error message:
/article/content/viewpostings.jsp(163,101) According
to TLD, tag html:img must be empty, but is not'
I ha
I have the similar question and need help.
I am using tiles:
I want to control the color of links. My links are in
the /article/common/navbar.jsp.
If I put the
Hello fellow Strutters,
I've added multiple message-resources tags to my struts-config file,
each with a different "key" attribute. Is there a way to access these
from my Java code? I can call MessageResources.getMessageResources, but
it requires the full path name. Is there a way to just provi
I typically use my own style sheet on the finished product. During
development though I normally use embedded styles, but imported from
their own page using tiles. As the browser is seeing embedded styles
and not an imported style sheet, I don't have the caching problem during
development.
---
Thank you! This was exactly what I was looking for.
Sadly, being new to Maven, I was unaware of the genapp plugin. Very
useful!
Again, thanks!
Andy
On Jun 24, 2004, at 8:00 AM, Heritier Arnaud wrote:
Did you try :
maven -Dtemplate=struts-jstl genapp
Arnaud
-Message d'origine-
De :
There are lots of ways to do this, of course, but I have found over the
years that working from a long value works best for me. From there you can
go any direction.
Michael
At 09:46 AM 6/26/2004, Rick Reumann wrote:
Eddie Yan wrote:
Anyone know what is the best practices to store a person
date
Jan Behrens wrote:
please ignore,
solved this one myself ;)
he he did you solve it half way into typing up the message:) You never
really asked a question:)
-Original Message-
From: Jan Behrens [mailto:[EMAIL PROTECTED]
Sent: Saturday, June 26, 2004 12:58 PM
To: Struts Users Mailing Li
Eddie Yan wrote:
Anyone know what is the best practices to store a person
date of birth ? How should we design our detail object, JSP and database
in such way we don't have a messy approached to populate the day,
month and year in Action class to be able to display in JSP during UPDATE
process.
Cur
Jan Behrens wrote:
> I mean, do many people use CSS in combination
with Struts or do you normally attache something like to each
property in your message property file, or...
I usually use SiteMesh now for controlling the overall layout of my
pages, but even if using Struts Tiles, it's a good
Thanks Matthias,
looks like a powerfull tool for formatting tables, on first glance it seemed
a bit of an overkill for what I need to do though. I wonder, what the
general approach for this is? I mean, do many people use CSS in combination
with Struts or do you normally attache something like to
Thanks for the input Mark.
This approach seems OK to me.
What is the column you use to store dob ?
We need to specify in the repository_user.xml the data type
for this column.
Ed.
- Original Message -
From: "Mark Lowe" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECT
Jan,
take a look at http://displaytag.sf.net
that taglib builds nice html-tables
you can you it with struts.
Cheers,
> -Original Message-
> From: Jan Behrens [mailto:[EMAIL PROTECTED]
> Sent: Saturday, June 26, 2004 2:16 PM
> To: 'Struts Users Mailing List'
> Subject: Newbie question
Hi List,
I wonder what would be a "best practice" for formating output when using
Struts. Is there such a thing as a struts.css that gets included by default
and might even contain elements for each / some tags out of the tld's?
TIA
Jan
-
please ignore,
solved this one myself ;)
-Original Message-
From: Jan Behrens [mailto:[EMAIL PROTECTED]
Sent: Saturday, June 26, 2004 12:58 PM
To: Struts Users Mailing List
Subject: Newbie question re. forms in combination with tiles
Hi List,
I am quite new to Struts and hit a bit of
I do string - calendar conversion in an action form, its gets and sets
strings modifying a calendar object which can be then given to the
action ready to be saved back to the model.
private Calendar dob = Calendar.getInstance();
public String getDayOfBirth() {
int dayInt = dob.get(Calend
Anyone know what is the best practices to store a person
date of birth ? How should we design our detail object, JSP and database
in such way we don't have a messy approached to populate the day,
month and year in Action class to be able to display in JSP during UPDATE
process.
Currently, I have a
Oh! I see, Caroline. You don't know how to use Struts messages. Or I
don't. One of us doesn't. If you can reference a property message with
plain text and no tag, that is a surprise to me.
At 11:57 PM 6/25/2004, you wrote:
I have been using tiles for a while. All of a sudden,
a piece of "t
I am surprised, if you have been working with messages much, that you have
not seen this. It means that the "message" was put into the properties
files after you last started your server instance in most cases. Restart
the application, and if you have the message in the properties file, it
sh
Hi List,
I am quite new to Struts and hit a bit of a wall right now. Here is what I
am doing:
I am using tiles to manage the layout of my webapp - it consists basically
of a table that defines something like this:
---
|||
||
The article != preArticle I am not quite sure.
At least in terms of how the el works (not nesting el).
Cant see the point in porting this to JSTL unless there's nothing else
to do. I'd sooner copy and past the java in the jsp page into an action
like bill was saying.
On 26 Jun 2004, at 11:48,
On 04/06/26 1:33, "Michael McGrady" <[EMAIL PROTECTED]> wrote:
> Looks like a test, Caroline!
>
> At 05:20 PM 6/25/2004, Caroline Jen wrote:
>> I was told that JSTL can convert most of the Java code
>> in JSP. I still have some problem with initializing
>> variables and if statments; for example
24 matches
Mail list logo