#x27;re sure it's only s:submit that has the problem and s:div is
> okay, have the submit publish a topic and have a s:div subscribe and
> perform the request itself
>- patch the widget in struts 2.0 with the same change as in 2.1, and
> build your own dojo release.
>
bastil,
> try getText() method inside Your action.
> Your action needs to extend ActionSupport.
>
> Best greetings,
> Paweł Wielgus.
>
>
> 2008/10/20 lbastil <[EMAIL PROTECTED]>:
>>
>> I have to use Custom Validation and set field errors like:
>> add
I have to use Custom Validation and set field errors like:
addFieldError("", "http://www.nabble.com/Struts2%3A-Custom-Validation%2C-message-from-property-file-tp20068036p20068036.html
Sent from the Struts - User mailing list archive at Nabble.com.
here 'userCollection' is the name
> of the Collection property on your action, index comes from the iterator
> and userProperty is the property to bind to.
>
> L.
>
> lbastil wrote:
>> Thank you for reply!
>>
>> I just wonder:
>>
>>
within iterator is bound to
permission properties of users in the iterated Collection.
This does not matter, it should work the same as for single user object?
Thank you,
Basti
Laurie Harper wrote:
>
> lbastil wrote:
>> Hello,
>>
>> I have the following problem:
&
Hello,
I have the following problem:
in action i have a collection of class User
each class User have different attributes, one is: boolean permission
in JSP I use struts 2 iterator tag to iterate the User Objects.
For each User entry I create one row in table.
for displaying/changing the boole
Is there any complete Howto or Tutorial right now on this issue?
Should be really of interest ...
Thank you,
Basti
Jeromy Evans - Blue Sky Minds wrote:
>
> Varun Narang wrote:
>> Hello all,
>> I want to get started with the customzied tag writing for Struts2.
>> I was able to find out ftl fil
Please give me advices what would be the best approach in the struts 2 world
to realize a limited view (authorization).
In struts 1 I would have created a simple tag which is able to render it
childs dependent on
authorization of user, something like:
... some content ...
Is there a better /
Is this the WW-1951 - issue?
And if so, is there any workaround for 2.0.11 release?
Thank you,
basti
lbastil wrote:
>
> I have a serious problem with an ajax submit.
>
> the scenario is the following:
>
> I submit a form with ajax submit button and I want to updat
I would say for some reasons it could be even advantage to not know struts1
and directly start with struts2.
A very good resource beside the available tutorials is:
http://www.infoq.com/minibooks/starting-struts2
(or even better, you buy the new book)
Regards,
basti
aum strut wrote:
>
> Hi Al
I have a serious problem with an ajax submit.
the scenario is the following:
I submit a form with ajax submit button and I want to update the parent div
(targets="...")
The original content of this div and the result content contains a
in
detail?
Thank you,
Basti
newton.dave wrote:
>
> If you're doing validation differently based on the
> action then trying to do validation based on the model
> doesn't seem like a good idea: you're not trying to
> validate the model the same way for every ac
Could someone please state whether I have error in reasoning here or not?
... even a "I would think its not possible with build in features yet" would
help me.
Thank you a lot,
Basti
lbastil wrote:
>
> OK, sorry, I may have to describe it a little more in detail or I did not
otations, AFAIK you can set the
> "validateAnnotatedMethodOnly" attribute on the
> validation interceptor [1] and annotate methods in
> your action class as normal. Haven't done that myself,
> so I don't know if it works or not.
>
> d.
>
> [1]
> h
them in a couple
> different ways, the easiest may be to just create two
> action mappings, one for each method.
>
> d.
>
> --- lbastil <[EMAIL PROTECTED]> wrote:
>
>>
>> Is there any way with the build in declarative
>> validation possibilities in
Is there any way with the build in declarative validation possibilities in
struts 2 (annotations, xml)
to do something like conditional validation in the following sense:
in the action class I have a model class, where on action method one i want
to validate
a special subset of model attributes a
Do had a look at:
http://www.vitarara.org/cms/struts_2_cookbook/creating_a_ui_component
it may be helpfull.
Basti
Hernandez, David wrote:
>
>
> Yeah, I wanted to keep the label attribute, I mean it's not a big deal
> to add it myself. I was just wondering if there was some shortcut I was
> m
I think you have to use when using ajaxed remote divs.
Try something like:
...
Regards,
basti
Raghuveer Rawat wrote:
>
> Hi,
> I am using Struts2, Tile2, Spring2, Display Tag.
> I am implementing tabbed panel and all the tabs make remote calls. Each
> Tab
> will contain a table wh
27;re opposed to using tiles,
> particularly if you're already invested in it.
>
> d.
>
> --- lbastil <[EMAIL PROTECTED]> wrote:
>
>>
>> Thank you for this hint, but in this case I don't
>> think so.
>>
>> I am already use tiles fo
can apply parametrized?
Thank you,
basti
Antonio Petrelli-3 wrote:
>
> 2007/11/2, lbastil <[EMAIL PROTECTED]>:
>>
>>
>> Hi,
>>
>> I want to archive the following:
>>
>> I noticed in my page code often this redundant struc
Hi,
I want to archive the following:
I noticed in my page code often this redundant structure:
(dynamic parts in [])
[Header Section Name]
[
... various different content, tables, ... and so on
]
Now I would like to create some parameterized template, something I could
call like:
(pseudoc
I know there are several threads about this topic, but I found no solution
for my case:
I have model-driven action:
model
... getModel() ...
return model;
and some actions, lets say:
actionA() ...
actionB() ...
Now the following facts:
I have to use visitor field validator for the Mod
to catch as much actions with one action configuration?
(*_*_*)
I read about this as "best practice" in some struts documentation ...
Would you recommend from your experience other style?
Thanks again,
basti
newton.dave wrote:
>
> --- lbastil <[EMAIL PROTECTED]> wrote:
>
ActionRedirectResult
newton.dave wrote:
>
> Action chaining is probably the closest you'd get
> out-of-the-box.
>
> http://struts.apache.org/2.x/docs/chain-result.html
> http://struts.apache.org/2.x/docs/action-chaining.html
>
> Not a particularly good practice, however.
I know about the possibility to redirect to another action by result type
"redirect-action"
But this does a redirect (HTTP 302).
Is the same possible with a "forward" instead of redirect?
Thank you very much in advance,
basti
--
View this message in context:
http://www.nabble.com/-s2--forward
please help on this issue.
does nobody have any hints?
Thank you in advance,
basti
lbastil wrote:
>
> I use model driven actions and want to use validation by annotation.
>
> so I have somethings like:
>
> @Validation
> public Class
manually (which means: action have knowledge about
hibernate ... bad?)
b) adding some service method which loads the field / collections
explicitely
c) some other?
Thank you,
Basti
lbastil wrote:
>
> In our application we need to lazy load fields in the view.
>
> We have config
In our application we need to lazy load fields in the view.
We have configured springs OpenSessionInViewFilter.
If we use lazy loading from a normal JSP View, everything works fine.
But on our View we also have AJAX tabbedpane with remote div's.
Now the problem is:
within the content of this r
I use model driven actions and want to use validation by annotation.
so I have somethings like:
@Validation
public Class ...Action implements ...{
...
@VisitorFieldValidator(message = "", appendPrefix = false)
public TestModel getModel() {
return testModel;
}
...
in the m
Does nobody have comment about it?
anybody who did something similar?
Thank you in advance.
lbastil wrote:
>
> Hello,
>
> I have the following requirement I would like to realize and I ask myself
> whether it is possible with struts2 tabbed pane (right now after some
>
Hello,
I have the following requirement I would like to realize and I ask myself
whether it is possible with struts2 tabbed pane (right now after some
attempts I was not successful):
I have hierarchical data which are shown in tabs.
Sample: have Collection of
now presentation of that is the
31 matches
Mail list logo