> Hi All,
>
> I can't find answers to the following questions anywhere on the
> struts/shale web pages. I hope someone can help me here.
>
> * Is this list the appropriate one for shale questions?
>
Yep, you have the right place.
> The shale pages don't have any info about mailing lists. F
We were giving locale support for English, Spanish, French and German in
one of our STRUTS 1.0.1 intranet application.
So far, it went smooth as all the resource bundles are ASCII based.
Recently we got some requirements on double byte characters (CHINESE and
JAPANESE)
Even after we added the Ap
Use html:image
^
--
James Mitchell
Software Engineer / Open Source Evangelist
Consulting / Mentoring / Freelance
EdgeTech, Inc.
http://www.edgetechservices.net/
678.910.8017
AIM: jmitchtx
Yahoo: jmitchtx
MSN: [EMAIL PROTECTED]
Skype: callto://jmitchtx
On Sep 26, 2005, at 10:
How to make html:img or other html tag response to a click?
Thnx
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
the jsp is one of the component of Tiles.
When there is error of Tiles, where are the error messages go?
Thnx
2005/9/27, Martin Gainty <[EMAIL PROTECTED]>:
> You will need to localise all of your strings..Follow each of the steps
> illustrated here
> http://struts.apache.org/userGuide/building_vie
Hi All,
I can't find answers to the following questions anywhere on the
struts/shale web pages. I hope someone can help me here.
* Is this list the appropriate one for shale questions?
The shale pages don't have any info about mailing lists. From an
internet search it looks like the conventi
I've tried the action with and without the initial slash and with and
without the .do suffix. All those versions result in the form having the
same, wrong /CarePlannerWeb action.
In case it matters, the action servlet is configured in web.xml as
follows:
action
I think you need to remove the '.do' from the action (I'm using prefix
rather than suffix mapping, though, so I could be wrong...).
L.
Jane Eisenstein wrote:
I am converting an existing jsp to use struts tags. I replaced the
original form tag that looked like this:
with:
The tag ge
Have you looked at the validWhen validation that comes with
Validator/Struts? You should be able to get what you need using that,
without having to go to the trouble of writing/maintaining your own
validator.
L.
Ted Chau wrote:
I have a form that I would like to validate. The rule is simple,
Catherine wrote:
Try this. It's simpler.
It may be simpler, but it doesn't do the same thing... That would result
in instead of .
L.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PR
I found a bunch of posts and articles on dynamic forms but I havent
found any tips on how one can dynamically define wheter the field will
be html-el:text, html-el:img, ..
Bascially something like:
Of course a dirty way would be printing out plain html like
http://www.michaelmcgrady.com/button/
On 9/23/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
> On 9/22/05, James Mitchell <[EMAIL PROTECTED]> wrote:
> > I still don't see where I can get the source.
> > If this were in CVS on sf.net, anyone could see it,
> > browse it, make comments and suggesti
Yah, that's his goal and the code is not even his.
On 9/22/05, James Mitchell <[EMAIL PROTECTED]> wrote:
> What do you mean? Is it your goal to say "hey, see that in the
> Struts code, I did that!". If that's true, then you are here for the
> wrong reason my friend.
>
> I for one figured you w
Myself have a similar problem to solve.
)">
It is no problem for the second tag to get evaluated. But it
seems that nothing will get evaluated as the parameter of the JavaScript
function. As Larry pointed out earlier, it is illegal to put tag inside another
tag. Then how do I pass the value f
Oops. I responded to the wrong thread.
-Original Message-
From: Jane Eisenstein [mailto:[EMAIL PROTECTED]
Sent: Monday, September 26, 2005 5:43 PM
To: Struts Users Mailing List
Subject: RE: tag within tag
How does that help me generate a correct form tag? Or are you suggesting
I can u
How does that help me generate a correct form tag? Or are you suggesting
I can use this to debug what is wrong?
-Original Message-
From: Catherine [mailto:[EMAIL PROTECTED]
Sent: Monday, September 26, 2005 5:41 PM
To: user@struts.apache.org
Subject: Re: tag within tag
Hi,
Try this. It
Hi,
Try this. It's simpler.
Catherine
-
http://Struts_User_List.roomity.com";>roomity.com
roomity.com is broadband internet. ~~1127770884754~~
-
I am converting an existing jsp to use struts tags. I replaced the
original form tag that looked like this:
with:
The tag generates a form tag that looks like:
(CarePlannerWeb is the name of the web application)
I don't understand why the wrong form action is being generated. The
targ
How about the Pager Taglib from JSPtags.com? Their examples show radio
buttons to get the 'editable table' concept across.
http://jsptags.com/tags/navigation/pager/index.jsp
Or the Jakarta "DataGrig" taglib from their taglib Sandbox. Their nightly
build has some sharp examples of paging with clic
I'm not at a place that I can try this.
Do you mean to get below to work:
I need to do this?
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Monday, September 26, 2005 2:35 PM
If you can't get to cooperate, scroll down the page and look
at . Sometimes
I have a form that I would like to validate. The rule is simple, only one
field can be submitted on the form. All other fields should be null. Here's
an example of how I'm currently doing it...
validation.xml:
singleFieldOnly
From: "Lim Hock-Chai" <[EMAIL PROTECTED]>
I get the following error when trying to use el to assign value to
collection attribute in struts's
html:options:
javax.servlet.ServletException: Cannot find bean under
name ...
However, it work when I do the following:
1) save the attrColorDTOList to a
Hello again!
I solved my problem by following Zammetti's suggestion. Thank you all very much
for your thoughts. My solutions as following. Hope it helps newbies like myself.
Thanks,
Catherine
JavaScript functions:
// alert user if the new attribute already exists
function checkNewAttribute() {
I get the following error when trying to use el to assign value to collection
attribute in struts's html:options:
javax.servlet.ServletException: Cannot find bean under
name [EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL
PROTECTED],[EMAIL PROTECTED]
Below is what the struts html:op
Lim Hock-Chai wrote:
is there a way to use el to assign value of collection attribute in
tag?
Sure, just use . Of
course this assumes that you're using a JSTL-capable Servlet container
or that you're using the -el version of the HTML taglib.
If you're having problems, post details of your
You will need to localise all of your strings..Follow each of the steps
illustrated here
http://struts.apache.org/userGuide/building_view.html
HTH,
Martin-
- Original Message -
From: "Laurie Harper" <[EMAIL PROTECTED]>
To:
Sent: Monday, September 26, 2005 2:44 PM
Subject: Re: Why the m
梁炳場 wrote:
Output of the following is only "English Chinese".
The message (main.home) in ApplicationResources cannot be written out.
No error message.
Any advice?
English Chinese
You need to supply more information: ho
What error do you get when you change the key? Most likely you're
missing the corresponding entries in your resource bundle
(MessageResources.properties or whatever you have configured in
struts-config.xml).
L.
梁炳場 wrote:
I change to bean key to main.welcome,
the webpage can be displayed.
If
emre akbas wrote:
Now, I have another problem. We have written our Struts application using
prefix mappings, i.e "*.do". In order to use DownloadAction with ** mapping,
we should migrate to suffix mapping, i.e. "/do/*" . Is there an easy way of
migrating a whole Struts application from prefix map
On 9/26/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
> Should a person who has not logged in yet, be considered a mere
> "visitor", but not "subscriber"?
Yes. I added that comment to the MailReader Use Case page for future reference.
*
http://opensource2.atlassian.com/confluence/oss/display/
On 9/26/05, Ted Husted <[EMAIL PROTECTED]> wrote:
> On 9/23/05, James Mitchell <[EMAIL PROTECTED]> wrote:
> > That's a great idea, let me know if you need any help.
>
> If you want to register at the site, I'll put you into the Struts
> group, which includes the MailReader area.
>
> I got started o
On 9/23/05, James Mitchell <[EMAIL PROTECTED]> wrote:
> That's a great idea, let me know if you need any help.
If you want to register at the site, I'll put you into the Struts
group, which includes the MailReader area.
I got started on the Use Cases today, but won't have a chance to do
any more
is there a way to use el to assign value of collection attribute in
tag?
Try writing your own utils class extending BeanUtils. You can either
check all input variables for null, or check datatype first, then check
for null only on those properties you wish to allow 'null-ok'. You can
still take advantage of BeanUtils by calling super.X(property, value),
or super(dest, s
vijay wrote:
yes that's what is suggested in the Newbie FAQ. But
you can work with a single Action. Just add a
attribute called ?action=populate, compare this in the
Action class and take an appropriate action.
*shudder*
Why not just populate the action form any time you're going to the for
Richard,
this is quite easy.
Here is an excerpt from one of my pages using radio buttons and operations
on rows:
The last three columns may be interesting:
the third la
Hi Martin,
I don't find a way how to put input (Text, CheckBox or RadioButton) in a
column. It seems to me that I only can use the cells as output string. I
already use the table of http://www.displaytag.org) in my Application but I
am looking how to put a checkbox in a cell.
Regards
Richard Mar
On 9/22/05, Michael Oliver <[EMAIL PROTECTED]> wrote:
> If you are going to compose an application
> from components, then the components are more closely aligned with the
> business objects they encapsulate. A "Customer" component then may be
> composed into any number of Applications from Accou
On 9/25/05, R. Markham <[EMAIL PROTECTED]> wrote:
>
>
> HI All,
>
>
>
> can somebody give me a hint if I can combine DisplayTag Library with CRUD
> Action. I want to show a list as a table using Dísplay tag library. But I
> want that a user can choose a row in the table an edit the content of the
>
Output of the following is only "English Chinese".
The message (main.home) in ApplicationResources cannot be written out.
No error message.
Any advice?
English Chinese
Hi all,
I am having a problem in using copyProperties() of
org.apache.commons.beanutils.BeanUtils class
I am doing it in this way
BeanUtils.copyProperties(destBean,srcBean)
where destBean and srcBean both have a property by name date,
which is of type java.sql.Timestamp()
If date property of
Greetings,
I am working on a Struts application supporting several locales which
MessageResource files are :
### en (and default)
# Labels
label.accessnumber=Access Number
label.pinnumber=Pin Number
# Error messages
global.error.invalidlogin=Invalid Access Number and/or Pin
global.error.login.req
Is the problem when you display this page (a message resources problem) or
when you click on one of the links to this page that the new page does not
show properly (an Action path mapping problem) ?
Regards,
David
-Original Message-
From: ±ç¬±³õ [mailto:[EMAIL PROTECTED]
Sent: Monday, Sep
Richard,
take a look at the Displaytag library (http://www.displaytag.org).
Martin
> -Ursprüngliche Nachricht-
> Von: R. Markham [mailto:[EMAIL PROTECTED]
> Gesendet: Montag, 26. September 2005 15:14
> An: 'Struts Users Mailing List'
> Betreff: Looking for a table library
>
>
>
>
>
Hi all,
I have a table in my jsp. To be able to process the data of a row in a table
I want to be able to mark a row in the table and read the content of the
row, through the row number of marked line. I think this a very common
problem, somewhere there must be a solution for this problem.
I change to bean key to main.welcome,
the webpage can be displayed.
If the bean key changes to main.home or main.contactUs
the webpage cannot be displayed properly.
what goes wrong?
Thnx
header.jsp:
ApplicationResources.properties:
main.welcome=Welcome to myERP
main.contactUs=Contac
Hello,
I need to contact the admin of this mailing list regarding issues with it.
Please cc: your reply to david.delbecq at myrealbox.com to ensure delivery.
Thanks.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Thank you Laurie. That is exactly what I am looking for. I had looked at the
documentation on wildcard mappings but I couldn't notice the ** mapping.
Thank you again.
Now, I have another problem. We have written our Struts application using
prefix mappings, i.e "*.do". In order to use DownloadActi
48 matches
Mail list logo