[Struts 2.1.8.1] [JSON] How to build a JSON for jsTree (array without variable name)

2009-12-09 Thread Michael Obster
Hi, I'm trying to build a correct JSON for usage with jsTree. Therefor I need s.th. like that: [ { attributes: { id : "pjson_1" }, data: "Root node 1", }, { attributes: { id : "pjson_5" }, data: "Root node 2" } ] As you can see if you need to root nodes

Anyone used jsTree with Struts2?

2009-12-15 Thread Michael Obster
Hi, is there anyone who has used jsTree in a struts2 application? Having some problems using he component. First I don't get a JSON format generated with struts2 which the tree understands and the 2nd try is not even better where I changed from a JSON to XML-Code. The tree works with that

Re: Anyone used jsTree with Struts2?

2009-12-15 Thread Michael Obster
Musachy Barroso schrieb: On Tue, Dec 15, 2009 at 1:20 PM, Michael Obster wrote: jsTree I used it with the JSON plugin many moons ago, what problem are you having? First of all I get no tree displayed. After looking into the generated JSON I see, that die variable names are quoted with

[S2] Can't get type conversion running with -tags

2010-01-11 Thread Michael Obster
Hi, I've a problem get the type conversion running in connection with a s:select. I have an action (OrderABCEditAction.java) with a "List userlist;" variable and corresponding getter and setter. Then I do a in the order_abc.jsp. Then I have created a OrderABCEditAction-conversion.properties in

[Struts 2.1.8] Has struts a problem with using own converts on nested beans?

2010-02-10 Thread Michael Obster
convert methods, but does not come to the console). Some testing has shown that order.property=de.eposcat.xyz.converter.MyOwnConverter is working. Can you explain this behaviour, because this from my point of view very annoying :-(. Kind regards, Michael Obster

Ajax Reload on fieldset in a

2011-03-30 Thread Michael Obster
g on "Save" I get the content rendered on the main window. This is not what I want. What I need is a reload of the content in the attachment fieldset. Is there a "standardised" way to reload in a dialog with Struts2?

Problems using Struts2 on JBoss 5.0.1GA

2009-04-09 Thread Michael Obster
opper. I need a solution. So any help is appreciated. Kind regards, Michael Obster 13:30:49,863 INFO [StrutsSpringObjectFactory] ... initialized Struts-Spring integration successfully 13:30:50,393 INFO [ResolverUtil] Scanning for classes in [/D:/server/jboss-5.0.1.GA/server/default/deploy/cs

Re: Problems using Struts2 on JBoss 5.0.1GA

2009-04-09 Thread Michael Obster
I know that, but is there no way to work around this bug? Michael Musachy Barroso schrieb: > It is a known bug: > > http://jira.opensymphony.com/browse/XW-669 > > musachy > > On Thu, Apr 9, 2009 at 8:20 AM, Michael Obster wrote: >> Hi, >> >> anybody

Re: Problems using Struts2 on JBoss 5.0.1GA

2009-04-09 Thread Michael Obster
Ahh. I've seen that should be already resolved in current version. So I will try it with this version. Cheers, Michael Michael Obster schrieb: > I know that, but is there no way to work around this bug? > > Michael > > Musachy Barroso schrieb: >> It

Re: Problems using Struts2 on JBoss 5.0.1GA

2009-04-09 Thread Michael Obster
Thx. Problem is resolved ;-). Cheers, Michael Wes Wannemacher schrieb: > On Thursday 09 April 2009 09:54:40 Musachy Barroso wrote: >> You need to use the latest xwork (built it yourself), or grab it from >> a snapshot. I think Lukasz is hosting it somewhere also. >> >> musachy >> > > You can als

MissingDependenyException - logMissingProperties - what's that?

2009-04-09 Thread Michael Obster
ror. Kind regards, Michael Obster 17:00:11,932 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception com.opensymphony.xwork2.inject.DependencyException: com.opensymphony.xwork2.inject.ContainerImpl$MissingDependencyException: No mapping foun d for dependency [type=java.lang.St

Re: MissingDependenyException - logMissingProperties - what's that?

2009-04-09 Thread Michael Obster
t, or build it. >> >> musachy >> >> On Thu, Apr 9, 2009 at 11:07 AM, Michael Obster wrote: >>> Hi, >>> >>> I've run into the next problem running struts2 on JBoss :-(. Does >>> anybody of know this error? What does this error mean? It

How to connect a EJB3 project with struts2

2009-09-25 Thread Michael Obster
cade of my EJB3 layer in my struts2 action. Kind regards, Michael Obster - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: How to connect a EJB3 project with struts2

2009-09-25 Thread Michael Obster
for a jndi-lookup... James -Original Message----- From: Michael Obster [mailto:mich...@obster.org] Sent: 25 September 2009 13:36 To: user@struts.apache.org Subject: How to connect a EJB3 project with struts2 Hi, I wanted to use Struts2 as frontend for an EJB3 application. After readi

[Struts2] Problem using Struts2 with EJB3 over ServiceLocator (Jboss say Caller unauthorized)

2009-10-02 Thread Michael Obster
n sites you have to be logged in: JaasLoginInterceptor: <> --- Hope anyone has a hint what I'm doing wrong. Kind regards, Michael Obster javax.ejb.EJBAccessException: Caller unauthorized at org.jboss.ejb3.security.RoleBasedAuthorizationInterceptorv2

Re: [Struts2] Problem using Struts2 with EJB3 over ServiceLocator (Jboss say Caller unauthorized)

2009-10-02 Thread Michael Obster
Logger; import vwg.audi.cancard.business.facade.CancardFacade; import vwg.audi.cancard.business.facade.UserFacade; /** * ServiceLocator * * The ServiceLocator handles the lookup of the EnterpriseJavaBeans. * * @author Michael Obster */ public class ServiceLocator { private static Logger log = L

[S2] getting namespace in interceptor

2008-11-11 Thread Michael Obster
Hi, is there a way to get the namespace of an invoked action in an interceptor? I don't find a way to do that :-(. Anyone has an idea for this problem? The point is I want to check the users role in the interceptor whether the user is allowed to call the action. Regards, Michael -- http://www

How can I render a two column layout with

2009-01-19 Thread Michael Obster
Hi, can anybody tell me how I can make a two column layout with ? Putting some table tags around doesn't work because renders also as table. To get my intention more clear, I need s.th. like this: label selectbox label selectbox label input label selectbox ... Cheers, Michael ---

I18N on labels of form

2009-01-23 Thread Michael Obster
Hi, I have a problem with internationalization the labels of a form. Writing " /> doesn't work. Is there a way to implement correct I18N on form labels? Cheers, Michael - To unsubscribe, e-mail: user-unsubscr...@struts.apach

Re: I18N on labels of form

2009-01-23 Thread Michael Obster
Thank you! /Michael Lukasz Lenart schrieb: 2009/1/23 Michael Obster : Writing " /> doesn't work. Is there a way to implement correct I18N on form labels? Use key attribute instead or you can use OGNL expressi

getting Session from one to another namespace - possible?

2008-07-10 Thread Michael Obster
Hi, I've a problem with holding the session between two namespaces. I defined 3 namespaces: - /: The unsecure namespace - /secure: The secure namespace -> user has to be logged in - /usermanager: The special secure namespace -> user has to have permission to get there The LoginAction forwards

Re: getting Session from one to another namespace - possible?

2008-07-10 Thread Michael Obster
Hi, thanks for the hint, but I used namespace="/secure" already. Only typed it wrong into the mail. Also compared namespace names between struts.xml and my nav.jsp. Thats also correct, so I looked if the user (a variable in the session) is null. But the user is not null. So it looks like there

[S2] Using ajax to fill selectboxes

2008-07-23 Thread Michael Obster
Hi, are there any hints or examples how I can fill a selectbox with content over ajax-technology? I have some problems to find out, how I can start this. What I have is a page like: -- Project: Select1 Milestone: Select2 -