This is one bandwagon I've been riding since I read that comic. I've done a
brief overview of our app with Chrome, and mostly dojo tags seem to be
working perfectly. Div, button and tree, listen- and notifytopics work just
the same as in Firefox. There's one view with tabbedpanel where content
Hi,
I am trying to create a form where I have a select, and depending of my
selection, I make visible or not some others textfields in the same page.
How can I do it?
I have this (a test showing a radio or another), but it doesn't work...
tds:select name=contrato.tipoContrato label=Tipo
Hi,
You may have to use JavaScript, this will only work at the time of page
rendering only.
Thanks,
Nuwan
Francisco Exposito wrote:
Hi,
I am trying to create a form where I have a select, and depending of my
selection, I make visible or not some others textfields in the same page.
How
I often use:
link type=text/css rel=stylesheet href=/css/main.css
link type=text/css rel=stylesheet
href=${pageContext.request.contextPath}/css/main.css
link type=text/css rel=stylesheet href=${initParam.css}/main.css
where ${initParam.css} refers to an init param in web.xml (useful if it
Roger wrote:
I often use:
link type=text/css rel=stylesheet href=/css/main.css
link type=text/css rel=stylesheet
href=${pageContext.request.contextPath}/css/main.css
link type=text/css rel=stylesheet href=${initParam.css}/main.css
where ${initParam.css} refers to an init param in web.xml
try this
s:if test=${pageContext.request.contextPath}
link type=text/css rel=stylesheet
href=${pageContext.request.contextPath}/css/main.css
s:elseif test=${initParam.css}
link type=text/css rel=stylesheet href=${initParam.css}/css/main.css
/s:elseif
?
Martin Gainty
--- On Wed, 9/3/08, Martin Gainty wrote:
s:if test=${pageContext.request.contextPath}
I'd be worried if that test failed.
link type=text/css rel=stylesheet
href=${pageContext.request.contextPath}/css/main.css
/s:if
Dave
Ok, so let's go back for a second and try to understand your question:
You have a form mapped to an action (struts.xml or via annotations) and
you would like to have a button (one or many) to execute behavior on a
method within that action instance? Answer: Yes. Add the method
attribute to
--- On Wed, 9/3/08, Alberto Flors wrote:
If you need a button X that is outside of form Y, and button X
needs to submit form Y, then such thing could be done with
javascript only (whereas through struts2 Dojo's plugin or other).
The submit tag already support this; no need to write JavaScript
I am looking for examples of B2B applications built on top of Struts.
Can anyone point me in the right direction? -- Mark
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
I'm using Struts 1. We want to load our message resources properties,
currently defined in our struts-config.xml file:
message-resources parameter=MessageResources /
from a database. Now of course, they are in a file called
MessageResources.properties. What is the proper way to do this?
Hi,
I am using struts 1.2.9 with tomcat 5.5. I had a few pages with big
html:form. There are some common part (with some html:text tags) in the
form. So I tried to put them aside as an import. I tried jsp:include
jstl c:import and tiles:insert, all of them import everything literally
into
Hi,
I am using struts 1.2.9 with tomcat 5.5. I had a few pages with big
html:form. There are some common part (with some html:text tags) in the
form. So I tried to put them aside as an import. I tried jsp:include
jstl c:import and tiles:insert, all of them import everything literally
into
What I need to do is very simple, but I'm beginning to wonder whether Struts2
actually lets me do it.
Firstly, I want the id attribute of any HTML tag to take a dynamic value, so
that I can code it at runtime.
Secondly I want the tag to take e.g. dojoType as an attribute:
s:iterator value=#xxx
--- On Wed, 9/3/08, Jonny Cavell wrote:
Firstly, I want the id attribute of any HTML tag to take a
dynamic value, so that I can code it at runtime. Secondly
I want the tag to take e.g. dojoType as an attribute:
s:iterator value=#xxx status=itStatus var = yyy
s:radio dojoType=zzz
1) It can't see why not. BTW, id=#{...} doesn't work because the
expresions start with %, like in id='%{itStatus}'
2) Extrange enough, I tested this with S2.1.2: It works with
s:select but it doesn't work for s:radio.
2008/9/3, Jonny Cavell [EMAIL PROTECTED]:
What I need to do is very simple,
as dave mentioned status returns a IteratorStatus objectBR
http://struts.apache.org/2.x/docs/iteration-tags.htmlBR
you would then need to determine which attribute of IteratorStatus to accessBR
s:iterator status=status value='%{0, 1}'BR
Index: s:property value=%{#status.index} / br /BR
My App is working perfectly fine on chrome. Seems to be working the same as
in firefox.
Jukka Välimaa wrote:
This is one bandwagon I've been riding since I read that comic. I've done
a
brief overview of our app with Chrome, and mostly dojo tags seem to be
working perfectly. Div,
I have been using it since yesterday, and all the websites I often use, seem
to work.
musachy
On Wed, Sep 3, 2008 at 2:42 PM, dynamicd [EMAIL PROTECTED] wrote:
My App is working perfectly fine on chrome. Seems to be working the same as
in firefox.
Jukka Välimaa wrote:
This is one
The only problem I have had is with the EULA that lets Google use your
usernames and passwords to gain access to websites they otherwise
couldn't index.
Quote;
By submitting, posting or displaying the content you give Google a
perpetual, irrevocable, worldwide, royalty-free, and
I'd be interested to know how they handle Ajax controls
run this little bit from dojo.js
head
script language=JavaScript
!-- Begin
dojo.hostenv.startPackage(dojo.hostenv);
dojo.render.name=dojo.hostenv.name_=browser;
dojo.hostenv.searchIds=[];
Hey Everyone,
Quick question concerning the Stream Reuslt
I've got a result that looks something like this
result name=whitePaperDownload type=stream
param name=contentTypeapplication/pdf/param
param name=inputNamepdfStream/param
param
As per BNF syntax [1], the content disposition must start with either
the inline or attachment string. The filename need not be quoted:
example:
attachment; filename=whitepaper.pdf
[1] http://www.ietf.org/rfc/rfc2183.txt
2008/9/3 Geffrey Caruso [EMAIL PROTECTED]:
Hey Everyone,
Quick
Well i Just caught something.
For some reason my listentopics or action from the form is not working
It shows loading.. in the Chrome browser. but never loads. nothing in the
logs
Works on both firefox and IE
s:div
s:form id=selectreport theme=ajax action=ShowConfigureDZ
s:select
Also, as far as dynamic attributes is concerned, some tags accept them,
some don't. This was added at some point. I looked at s:radio and I
don't think it does. If you find an instance where you think support for
dynamic attributes should be added, file a JIRA. It's not particularly
difficult to
--- On Wed, 9/3/08, Wes Wannemacher wrote:
Also, as far as dynamic attributes is concerned,
some tags accept them, some don't.
Oh, my bad--is that a TLD thing or an S2 thing?
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
--- On Wed, 9/3/08, Wes Wannemacher wrote:
If the TLD file declares dynamic-attributestrue/dynamic-attributes
for a tag, the tag's class must implement the DynamicAttributes
interface as well.
Ah... hrm. Tell 'em, then tell 'em again. I love Java.
Thanks,
Dave
Hi,
struts2 s:select/How to get a option item which can invoke a
javascript-function?
the final HTML code show to browser is like following:
select name=redirect-select
option value=http://www.cnn.com;cnn/option
option value=http://www.bbc.com;bbc/option
option
...and adding this line to the radiomap.ftl file:
#include /${parameters.templateDir}/simple/dynamic-attributes.ftl /
should suffice I think.
However, I would like to know what kind of visual effect or
functionality the dojo library adds to the radio button (I can't find
the dojo 0.4.3
Don't know if I understand correctly your question, but from what I
understand you want a javascript function that redirect to some web
site when the option is selected?
There are plenty of examples in the web for doing that [1].
[1]
Maybe the question is not clarity clear!
if write Html code in the jsp page, it can get the purpose simplely.
but I wanne use struts2 tags: s:select name=list listKey=k
listValue=v / to invoke a javascript function.
On Thu, Sep 4, 2008 at 10:00 AM, Gabriel Belingueres
[EMAIL PROTECTED]wrote:
On Wed, 2008-09-03 at 22:52 -0300, Gabriel Belingueres wrote:
...and adding this line to the radiomap.ftl file:
#include /${parameters.templateDir}/simple/dynamic-attributes.ftl /
should suffice I think.
However, I would like to know what kind of visual effect or
functionality the dojo
dynamicd wrote:
Well i Just caught something.
For some reason my listentopics or action from the form is not working
It shows loading.. in the Chrome browser. but never loads. nothing in the
logs
Works on both firefox and IE
s:div
s:form id=selectreport theme=ajax action=ShowConfigureDZ
Al Sutton wrote:
Any reason not to use;
link type=text/css rel=stylesheet href=s:url
value='/css/main.css'/
or did I miss something?
Al.
That had never occurred to me!
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
I'm pretty sure that wouldn't work without modifying the Struts TLD file
since you can't use JSTL EL in s: tags. (*Chris*)
On Wed, Sep 3, 2008 at 5:51 AM, Martin Gainty [EMAIL PROTECTED] wrote:
try this
s:if test=${pageContext.request.contextPath}
link type=text/css rel=stylesheet
I¹m trying to implement a simple thread pool model (Java 1.4) for a
telemetry application.
I¹m getting up to speed with threads but I haven¹t been able to find any
examples of setting a thread pool in a server/servlet environment.
I have a number of remote units which upload telemetry data for
36 matches
Mail list logo