Pham,
To, it looks as if the quotes will not be interpreted correctly in the
following part:
html:link page=/student/getScore.jsp?id=treetag:nodeId
node=tree.node/
The text 'tree.node' will not be inside quotes, contrarely to what I
understand below that you would want.
Perhaps you should
I thought, inside a jsp tag parameter (here the page parameter) the only
substitutions allowed were in the following syntax:
${bean.property}
%= someExpression() %
and so to have your expected result you need to export the value of
treetag:nodeId to a bean and then use that bean value in
You cannot use a tag as attribute of another tag : they must follow an
XML structure
Use a variable to store the result of your tag :
c:set var=nodetreetag:nodeId node=tree.node//c:set
html:link page=/student/getScore.jsp?id=${node}Go/html:link
or
c:set var=nodetreetag:nodeId
Thank you all :), the good new is my problem is solved by all you.
Again, thank all you very much :)
- Original Message -
From: Nicolas De Loof [EMAIL PROTECTED]
To: Struts Users Mailing List user@struts.apache.org
Sent: Wednesday, March 16, 2005 3:57 PM
Subject: Re: [HELP] What's wrong
Hello,
I have a problem with my login page. I want to use the SSL extensions
just for my login page, but i pass to a non secure page after the login,
the plug-ins rewrite url with the login and the password in paramter.
Where is my error ?
Thsk for your help
This is my struts config
Hello,
I have a proble with my login page. I want to use the SSL extensions
just for my login page, but i pass to a non secure page after the login,
the plug-ins rewrite url with the login and the password in paramter.
Where is my error ?
Thsk for your help
This is my struts config
!-- Go to the
Dear Reader,
The Eighth Struts JSF London Networking /b/a
BOF event took place on Tuesday, 15th March 2005 at 6:45PM
Duncan Mills and his gracious company, Oracle, kindly provided the venue for
the night's networking event, and also supplied the nourishment: sandwiches.
Duncan was due to
Hello,
I build a custom Validator class for a DynaActionForm.
The action tag looks like:
action path=/submitpay type=SubmitPayFormAction
parameter=action name=paymentForm scope=request
input=/paymentForm.jsp
When the validation fails the request will be directed to paymentForm.jsp.
I wonder if
At 11:57 AM + 3/16/05, Bing Qiao wrote:
Hello,
I build a custom Validator class for a DynaActionForm.
The action tag looks like:
action path=/submitpay type=SubmitPayFormAction
parameter=action name=paymentForm scope=request
input=/paymentForm.jsp
When the validation fails the request will be
Hi;
I put display tag at the top in project build path and
even in server path.But nothing changes.In the
sourforge site, the problem is issued before but seems
resolved with export filter.I can not use displaytag
with tiles still.Any idea ?
Sorry in Turkish;
Metin bey;
Dedi#287;inizi
If I had to guess I would say its a Proxy Server issue
As I said this is just a guess
M-
- Original Message -
From: Eric Lemle [EMAIL PROTECTED]
To: Administrator
Cc: [EMAIL PROTECTED]
Sent: Tuesday, March 15, 2005 1:30 PM
Subject: ??? find site error (action)[Scanned]
Here is what the
I have some forms where I only a couple of form field elements. So instead of
creating a physical bean, I decided to try using the
org.apache.struts.action.DynaActionForm. Anyway, all was good with validation,
etc. But I ran into an issue when I tried to retrieve the values from my form
in
What is sent from the webserver is just what you see in source code on
the browser. That source code is the code sent from the webserver
to the browser. The browser also uses plugins to get code and
resources as indicated from the source code via Flash, java script,
image processing, etc. Any
You are saying exactly what I thought I always knew (i.e., basic
HTTP!!)... So, just to boil this down for the brains I have to argue with
later...
Tile contents CANNOT be cached by the browser (except if all tiles are
static, in which case the FINAL document returned to the browser could of
The browser can cache anything it has. The only issue in this regard
is what does it have? It NEVER has a Tile. A tile is, ultimately, a
Servlet.
Jack
On Wed, 16 Mar 2005 10:06:10 -0500 (EST), Frank W. Zammetti
[EMAIL PROTECTED] wrote:
You are saying exactly what I thought I always knew
Don't use ActionForm or html in this case. Just get the data
yourself from the request in the action. That way there is no object
other than the request and the action. If you want to insinuate
something else in there. They it has to be in there. If you have
something in there, the ActionForm
Correct me if I'm wrong, but Tiles is, in essence, just the JSP include
extended a bit. So, if I have a page with 3 tiles (or 3 JSP includes
alternatively), what gets returned to the browser is still a single HTML
document that is the result of inserting the 3 tiles in the main page.
Absolutely
I have designed a basic layout file that looks something like this:
html
head/head
body
div class=headertiles:insert attribute=header //div
div class=mainBodytiles:insert attribute=mainBody //div
/body
/html
My problem is that I have a html:form element that needs to span
I think your only way to make it work is using a plain FORM tag or using
only one tile.
Or maybe you should design better your application (hey I'm joking!!!)
Ciao
Antonio Petrelli
Matt Hughes wrote:
I have designed a basic layout file that looks something like this:
html
head/head
Cast the ActionForm either to a DynaActionForm or simply to a DynaBean...and
then use the get(name) method.
DynaBean dynaForm = (DynaBean)form;
String myVal = (String)dynaForm.get(myVal);
Niall
- Original Message -
To: user@struts.apache.org
Sent: Wednesday, March 16, 2005 2:57 PM
I
I am working on a project where I have the need to validate a checkbox being
'on' . It is the usual accept our license, or you cannot enter site. In the jsp
page we are using this:
trtd colspan=4brhtml:checkbox property=terms value=0/
And in my bean I have a getter and setter with a boolean
Hi all,
My app has a button that will invoke a long running process in the
background. It generally takes upto 7 mins to finish this transaction.
What I am noticing from the application log files is that exactly 5
mins after invoking the first request a second request is being
issued.
I am not
Just use the required validator.
field property=terms depends=required
arg key=requestaccount.terms.displayname/
/field
Niall
- Original Message -
From: Scott Purcell [EMAIL PROTECTED]
To: user@struts.apache.org
Sent: Wednesday, March 16, 2005 4:18 PM
Subject: Checkbox
Hi,
I was wondering if anyone has a link or email address for info on a
shale mailing list, or if there even is one?
thanks,
Rob Sanheim
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
If I recall correctly, Craig said that it is permitted to discuss it
on the struts-user list. It is a candidate for the job of Struts 2.0
after all. :-)
Simon
On Wed, 16 Mar 2005 11:07:30 -0600, Robert Sanheim [EMAIL PROTECTED] wrote:
Hi,
I was wondering if anyone has a link or email address
This is it, believe it or not. Just put [shale] in the subject or
search for the same.
On Wed, 16 Mar 2005 11:14:24 -0600, Simon Chappell
[EMAIL PROTECTED] wrote:
If I recall correctly, Craig said that it is permitted to discuss it
on the struts-user list. It is a candidate for the job of
On issues like that, I try and post to a middle page that says Please wait
and from there push the data to the slow process.
Scott
-Original Message-
From: a k [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 16, 2005 10:24 AM
To: user@struts.apache.org
Subject: [OT] request issued
Karan,
The problem is you are submitting to struts. About a year and a half ago
we had this same problem. We had legacy apps running that the client
wanted to display inside a portal.
The major portal vendors and J2EE portal vendors (bea etc) all have
solutions to do this that you can purchase.
a k wrote:
I am not sure if it is the browser (IE 6.0), apache, weblogic (6.1)
that I should be looking at.
Did you look at the users ? ;)
Mine click twice or more if request takes more than 2 seconds.
I've had to add a javascript alert to block the button until the response is
displayed.
One of the best examples of how to work struts with JSR168 portlets is the
sourcecode for LifeRay.
-Original Message-
From: Karan [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 16, 2005 10:07 AM
To: ML Struts
Subject: Struts Portlets, jBoss Portal
Has anyone transferred
Allen,
Thanks for your reply.
Right now, I am lookign at something from apache:
http://portals.apache.org/jetspeed-2/multiproject/portals-bridges-struts/index.html
Its a struts-portal bridge and is supposed to automate all that is
required, so that most struts web applications can run in a portal
Ok,
5 mins sounds weird. Do you have any hard/software inbetween?
Like a loadbalancer, which thinks that the request is timeouted?
If you can reproduce it without actually clicking the button twice, you
should
check the configuration options of everything you are using.
I know that
Ok,
5 mins sounds weird. Do you have any hard/software inbetween?
Like a loadbalancer, which thinks that the request is timeouted?
If you can reproduce it without actually clicking the button twice, you
should
check the configuration options of everything you are using.
I know that
Hello,
I have been building a fairly large Java webapp for 3 years now, and
it was originally using Struts 1.0. Due to search engine
optimization, we ended up doing lots or URL manipulation via
mod_rewrite. But then the problem was that when the user submitted
the struts form, it would lose
I assume you are using weblogic plugin for apache. if
so, there is a parameter Idempotent that if the
request doesn't get response in the defined time
(default 5 min) the plugin will issue anotehr request.
--- a k [EMAIL PROTECTED] wrote:
Hi all,
My app has a button that will invoke a long
There are two fields in the form.I tried to use validwhen to validate one of
against the others like below.
field property=endDate depends=required,integer,validwhen
arg0 key=end.date/
var
var-nametest/var-name
var-value((*this* startDate))/var-value
/var
/field
Basically I am
The ActionRedirect Class works great..Except one minor modification
has to be made under function public void addParameter(String
fieldName, Object valueObj):
instead of value = ResponseUtils.encodeURL(value);
use the following: value = TagUtils.getInstance().encodeURL(value);
First of all
Right. The version in SVN is specifically for 1.3, which restores
ResponseUtils and puts TagUtils into a separate jar file. That is why
it is written up that way. Since you're using an earlier version,
you can apply the changes you mentioned to your local copy of it, then
discard the whole
I've done something like this:
tiles:insert definition=mainLayout
html:form ..
tiles:put name=header /
tiles:put name=mainBody
/tiles:put
/html:form
/tiles:insert
In header and mainbody, I have the html:text and other component tags.
I just specify the bean name explicitly
Duncan,
Did your Shale intro at the Struts London Meetup go well? I thought I'd
write and ask where to find a copy of your presentation. I'm in no hurry
since I still need to finish reading Core Java Server Faces before I'll
understand the JSF component of Shale.
Regards,
David
-Original
Hi,
I faced a problem when I use the multiple module
method with HTML
Frame.
Could someone facing the same problem help
I have 2 struts-config.xml files - one is main, the
other is in the
module /web/menu ...
the one in /web/menu module looks like :
action-mappings
41 matches
Mail list logo