When I put the tag into the included page, it work fine, but the
dojo.js (564ko) is loaded twice (one for the and one for its content
which contains the ).
It is normal/recommended to put several times the tag to render the
final page?
Arnaud
-Message d'origine-
De : Musachy Barros
Hello:
I have been trying to migrate from 2.0.8 to 2.1. I had some problems which were
solved yesterday (thanks to you guys). But, now i am facing another problem
regarding tokenSession. The same piece of code was working in 2.0.8 but is not
working in 2.1. Actually it does work but at the same
hi,
i included my chart in the jsp.but it's not getting refreshed with the data
values present in the database untill i do export it to pdf.after exporting
to pdf once after refreshing the page giving the correct results..can some
body help me?
--
View this message in context:
http://www.nabble.
Thanks, Shoaib Gauhar. Your code does help us a lot. With "theme = simple",
the tag can produce the right result.
Shoaib Gauhar wrote:
>
> Try the following code.
>
>
>
> item1
>
>
>
>
>
> item2
>
Desbois Arnaud wrote:
In Struts 2.1, how I can customize the widget dojo look?
The simplest approach is to override the css. Using the web developer
toolbar and firebug you'll be able to inspect the CSS and make alterations.
Can I create a custom Dojo profile (like
http://cwiki.apache.org/c
Try the following code.
item1
item2
- Original Message
From: DJR <[EMAIL PROTECTED]>
To: user@struts.apache.org
Sent: Thursday, November 29
Gary Affonso wrote:
Tom Schneider wrote:
Both of those plugins, by default, would need the session to keep
track of
the state.
Oh, duh. I didn't see that he wanted to avoid the session.
What is up with that BTW? There seem to be quite a few posts lately
from people wanting to do stuff and
Well, the problem comes from a real project we're developing by Struts2
framework.
We want to achieve the effect below:
http://www.nabble.com/file/p14019492/rightresult.png
Now we will use tag to achieve the above effect, our code is:
Martin,
Yes, there is a problem with the output. The SubmitTextName should be inside
the button tag, but in your example and others posted, the value gets placed
outside the button tag (seems to get displayed before the rendering of the
button.
I would expect the output to be:
SubmitTextName
I
Did you use ctrl or shift key and mouse to select multiple elements(less
than 5 in your case), then submit it?
On 11/21/07, Adrian Marrero <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Sorry about reposting this topic and forgetting to put a subject the first
> time.
>
> Here is my issue.
>
> Goal:
> I w
I have created tree that each node displays several attributes of an object,
i.e., top node is Dept object that user could see a checkbox field , DeptNo field, DName field, Location field. clicking top node +
image, the second layer nodes display Employee object that user could see a
checkbox field
I have a jsp page that produces a matrix page based on database queries for
both column header records and row records. The column and row crossed
fields are displayed as multiboxes, i.e., each vertical column of those is a
multibox field named as "crossCheckBox0", "crossCheckBox1",
"crossCheckBox2
Eric-
I just tossed this into a test.jsp page
..and this was the rendered html output..
SubmitTextName
Submit
anything wrong with the output???
Martin--
- Original Message -
From: "Eric Martin" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, November 28, 2007 8:27 PM
Subje
https://issues.apache.org/struts/browse/WW-1677
mgainty wrote:
>
> Alberto-
>
> which button component are you speaking of?
>
> Martin--
> - Original Message -
> From: "Alberto A. Flores" <[EMAIL PROTECTED]>
> To:
> Sent: Wednesday, November 28, 2007 3:05 PM
> Subject: WW-167 not wor
If I understand your question
use in jsp use
s:set to set the value
and reference the value later with s:property (without the # to access root
objects)
http://struts.apache.org/2.x/docs/crud-demo-i.html
M--
- Original Message -
From: "Gary Affonso" <[EMAIL PROTECTED]>
To: "Struts Users M
Will you need to support UTF-8 Encoding?
Will you want a factory to create these class objects for you?
Did you have anything specific in mind?
M--
- Original Message -
Wrom: WFAOBUZXUWLSZLKBRNVWWCUFPEGAUTFJMVRESKP
To: "Struts Users Mailing List"
Sent: Wednesday, November 28, 2007 2:48 PM
Alberto-
which button component are you speaking of?
Martin--
- Original Message -
From: "Alberto A. Flores" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, November 28, 2007 3:05 PM
Subject: WW-167 not working
> Has anyone been able to confirm that this issue is working? I don't seem
> to ge
Hi,
The IDE is JBoss IDE Eclipse 1.5 and the application server is JBoss 4.0.5.
Yes, the app war file has been totally cleaned and rebuilt. It does not
help.
Now I already found other workaround to solve my project problem. But I
still hope this weird problem can be figured out in order to benef
MassimoH wrote:
How do I do something like this:
public class CustomFreemarkerManager extends FreemarkerManager {
@Override
protected BeansWrapper getObjectWrapper() {
BeansWrapper beansWrapperInstance = super.getObjectWrapper();
// !!! This won't
Looks like this is a previously reported issue that was "fixed":
https://issues.apache.org/struts/browse/WW-1677
However, I'm using 2.0.11 and it is still not working.
Thanks,
Eric
Eric Martin wrote:
>
> I'm using the css_xhtml theme and trying to create a submit button that
> outputs somethi
Has anyone been able to confirm that this issue is working? I don't seem
to get it to work yet JIRA says it is. This is about having a
tag with an image and text inside the button.
Thanks,
Alberto
-
To unsubscribe, e-mail: [
Do we still need to create
MessageResourcesFactory
And MessageResources to facilate the requirment. Do we have an easier
way to achieve the requirement? Thanks
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comman
Did you add to your page?
musachy
On Nov 28, 2007 1:26 PM, Desbois Arnaud <[EMAIL PROTECTED]> wrote:
> When I put ajax tag such as into a remote div
> (), I've the error:
>
>
>
> Exception : java.lang.NullPointerException
>
> at
> org.apache.struts2.dojo.components.DateTimePicker.evaluate
When I put ajax tag such as into a remote div
(), I've the error:
Exception : java.lang.NullPointerException
at
org.apache.struts2.dojo.components.DateTimePicker.evaluateParams(DateTim
ePicker.java:256)
at org.apache.struts2.components.UIBean.end(UIBean.java:493)
at
org.ap
On Nov 28, 2007 10:53 AM, Adam Gordon <[EMAIL PROTECTED]> wrote:
> What about the use of a filter to set the character encoding? Is this
> the only way to go for Struts?
I'd say so. It might be possible to add something to the
ActionServlet, but the solution wouldn't be any less "heavy handed"
th
In Struts 2.1, how I can customize the widget dojo look?
Can I create a custom Dojo profile (like
http://cwiki.apache.org/confluence/display/S2WIKI/Creating+a+custom+Dojo
+profile+for+Struts+2.0.x)?
What is the best solution to customize (the CSS in fact) the dojo
widgets?
Regards
Arna
I try to upgrade an application 2.0.11 to 2.1.0 (with Struts tiles
plugin)
But when I put a dojo tag such as into my JSP I have
this error (see below).
The is put into a tiles definition file (a JSP file in fact).
But when I put the directly into ma JSP page (before
), it's Ok.
Why the first
I can't say with 100% certainty because the context of this isn't totally
clear, but I'm relatively sure root is the root of the Freemarker data
model, which means it's nothing but a plain old Java Map. Without seeing
the rest of that class I couldn't tell you how to get a handle to root,
but some
Hi,
Trying to build a form having a tree where each node in the tree needs to have
a checkbox to take input from the user. How can I accomplish this using struts
tree tag?
Thanks,
-Akash
-
Get easy, one-click access to your favorites. Make Yahoo! your
How do I do something like this:
public class CustomFreemarkerManager extends FreemarkerManager {
@Override
protected BeansWrapper getObjectWrapper() {
BeansWrapper beansWrapperInstance = super.getObjectWrapper();
// !!! This won't compile due to "
Hello,
How can I red my application name and the actions' extension?
For example: http://localhost:8080/scheduler-admintool-1.0/Workspace.do
I'd need a code to get "scheduler-admintool-1.0" and "do" from the context.
Thanks.
---
Tom Schneider wrote:
Both of those plugins, by default, would need the session to keep track of
the state.
Oh, duh. I didn't see that he wanted to avoid the session.
What is up with that BTW? There seem to be quite a few posts lately
from people wanting to do stuff and avoid the http sessio
First I'd try moving your JavaScript in to actual
JavaScript methods and calling them from onclick to
avoid any potentially weird escaping/quoting/etc.
issues. That eliminates any parsing-oriented issues.
d.
--- Pablo Vázquez Blázquez <[EMAIL PROTECTED]>
wrote:
> Hello,
>
> Any idea about how t
Hello,
Any idea about how the first command (getText) works but the second one
does not?
1.-
executeScripts="true"
onclick="var a = confirm('%{getText('Delete.Confirm')}');
if (a) {dojo.event.topic.publish('/borrarProject');}">
2.-
deleteEmail.inne
I'm using the css_xhtml theme and trying to create a submit button that
outputs something like:
${ctx}/images/tick.png Save
I would expect something like this to work:
${ctx}/images/tick.png Save
But it outputs (formatted):
Save
Agreed...the is irritating ;)
Just to expand on what Dave said...
1) extract the template/simple/inputtransferselect.ftl file from the struts
jar.
2) put the file in your classpath, we have it in
WEB-INF/classes/template/simple
3) edit the file and remove the . For example:
change: ${parameters
Right, hence my last comment in the second paragraph... Incidentally, I
saw that web page yesterday and was the one who added the anonymous
posting about the URIEncoding attribute not appearing to do anything.
What about the use of a filter to set the character encoding? Is this
the only way
You can customize the templates by extracting them
from the jar and putting them in your classpath. The
thing is irritating.
d.
--- Angel Gruev <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I want to use the css_xhtml theme of struts 2. The
> problem is that by
> default, the results in HTML of
> L
Hello,
I want to use the css_xhtml theme of struts 2. The problem is that by
default, the results in HTML of Label and input field that
have between them.
This makes it hard to align the lable and the input field on the same line
using css.
Why is this tag there?! An how can be removed easily?
hi,
I am trying to introduce a validation rule that checks that at least one
element has been
added to an optiontransferselect UI component. I use the expression type
validation but
does not seem to work ... see the details below.
TIA,
regards,
Giovanni
Interceptor names are camel-cased in S2.1.mumble. Try
"tokenSession".
--- Shoaib Gauhar <[EMAIL PROTECTED]> wrote:
> Regarding my previous mail, i have some how narrowed
> down the problem. Below is my action as described in
> my struts.xml.
>
> name="LibraryItemFormInsertAction"
>
Hi
What IDE are you using? Have you tried cleaning up your app and rebuilding?
On Nov 27, 2007 6:29 PM, Bionicoder <[EMAIL PROTECTED]> wrote:
>
> Hi Ted,
>
> Thanks for reply. Actually there is no validation XML for list method. Also
> I delete validation XML files for other method too. However t
I've added the defaultStack as first interceptor and it works now. Thanks!
Andreas Daab
--
-Ursprüngliche Nachricht-
Von: Musachy Barroso [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 26. November 2007 18:12
An: Struts Users Mailing List
Bet
Shoaib Gauhar wrote:
>
>
> "SEVERE: Error filterStart
> SEVERE: Context [/library] startup failed due to previous errors"
>
> (/library is my projects path.)
>
>
Well, one of your listeners couldn't start. Check your logs (and if
necessary, increase the log level to debug) for a clue on wh
Ian Roughley wrote:
>
> Hi everyone;
> The question: for those that are not "officially" attending Javapolis,
> and those that are, is anyone interested in an informal get together
> during the conference? Meet some new people, have some beers, and maybe
> even talk about Struts2.
>
Count
codethought wrote:
>
>
> On Nov 25, 2007, at 6:17 PM, hezjing wrote:
>
>> Hi
>>
>> Where can I download the .zip of the Struts 2 CRUD Example?
>> See http://struts.apache.org/2.x/docs/crud-demo-i.html
>>
>> Should we add a download link in the tutorial?
>>
>>
>
>
> I'd like to find this, to
46 matches
Mail list logo