. That is why in my
> example every time a node is selected I am storing the state in a cookie
> and
> then restoring the tree to the same state before selecting.
>
> -Original Message-
> From: GEDA [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 14, 2007 11:20 AM
&
.widget.byId(treeSelection)});
>
> Replace TREENAME with the name of your tree, ID is the id of the node that
> you want to select
>
> I have posted a detailed example of using the tree on my blog which you
> might find useful. It's at http://www.codepencil.com/?p=4
>
Hi.
All worked great for displaying the http://www.nabble.com/Set-the-tree-node-to-a-given-value-tf4433953.html#a12649709
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTE
Hi. I am using Spring, Struts 2, Hibernate and Oracle as DB. Until now
everything worked ok since I only needed full entity objects but now I have
to call some stored functions from the DB using the hibernate api. Until now
I have used the following syntax: Query q =
getEntityManager().createQuery
I know I have to use the getText() method in action in order to get a message
from the package.properties file. The same for jsp with http://www.nabble.com/struts-2-locale-in-action-and-jsp-tf4348494.html#a12389586
Sent from the Struts - User mailing list archive at Nabble.com.
-
Hi. I have a div where I want to put the result of an action after submitting
a form like this:
The problem is that
; And it worked for me. I just tried this with the 2.0.8 and 2.0.9
> showcase apps
>
> What version of struts are you using?
>
>
> GEDA wrote:
>> No problem. I took the latest version from svn (it had the description
>> with
>> the topic notification fixed
gt; with
>
> function treeNodeSelected(message)
> {
> dojo.byId("id_group").value = message.node.widgetId;
> }
>
> GEDA wrote:
>> I did download the tree.ftl file from the file attachement but still
>> doesn't
>> work. The link you gave me is not an actual
c/main/resources/template/ajax/tree.ftl>"
>
>
> (You'll find a link to the file modified on 14th Apr)
>
> Your code should work now. I just tested this with a standard 2.0.8
> showcase app.
>
> Manu
>
> GEDA wrote:
>>
Is there a workaround in order for this to work ?
function treeNodeSelected(nodeId) {
dojo.byId("id_group").value = nodeId;
};
dojo.event.topic.subscribe("treeSelected", this, "treeNodeSelected");
Thank y
Thanks a lot for the solution. It seems that many things are still not
standardized and I simply got stuck for an entire day's work in order to
find a solution for this problem. Thanks again.
--
View this message in context:
http://www.nabble.com/There-is-no-Action-mapped-for-action-name-HelloWo
Anybody ?
--
View this message in context:
http://www.nabble.com/Invocation-of-init-method-failed--nested-exception-is-java.lang.IllegalArgumentException%3A-Instance-must-not-be-null-%28Spring%2BStruts%2BHibernate%29-tf3975798.html#a11290271
Sent from the Struts - User mailing list archive at Na
Hi guys. I cannot understand this problem and its driving me crazy. Can you
please take a look at the errors stack ? Thank you very much :
SEVERE: Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name
'org.springframework.transaction.
g: " + in.toString ()
);
this.securityManager = in;
}
Thanks in advance.
newton.dave wrote:
>
> What plugin libs are you using vs. having in
> WEB-INF/lib? For example, do you have the JSF plugin?
>
> d.
>
> --- GEDA <[EMAIL PROTECTED]>
struts.xml file
>
> If not, then this indeed is a mystery.
>
> Do you know if there are any libraries of struts or spring that could
> generate such claim of class ? Maybe I loaded in the project too much
> unneeded libraries.
>
>
> GEDA wrote:
>>
>> Thanks an
elated to Struts.
>
> I can't claim to know the intrinsics of your setup but it looks like
> you're missing some jars need for JSF.
> It might be that you're running an older version of the J2EE stack.
>
> javax.el.ExpressionFactory comes with J2EE 5, and i
Hi. I created an interceptor which extends AbstractInterceptor and implements
StrutsStatics. Also I added it in the applicationcontext.xml of the Spring
framework. My problem is the following and I don't know where to get the
missing class:
Jun 20, 2007 2:32:16 PM org.apache.catalina.core.Standar
Anyone ?
GEDA wrote:
>
> I still get the same error. :-|
>
> I discovered that this is happening when the jsp page where the form is
> located, is loaded into a div tag. Is it normal the validation not working
> from a div tag?
>
>
> Jeromy Evans - Blue Sky Min
I still get the same error. :-|
Jeromy Evans - Blue Sky Minds wrote:
>
> GEDA wrote:
>> Please help me. I don't really understand this debug message:
>> ReferenceError:
>> validateForm_createuser is
Please help me. I don't really understand this debug message: ReferenceError:
validateForm_createuser is not defined. Here is the code:
/createUser.jsp
and the validation xml is named: UserAction-createuser-validation.xml and is
as
Hi. I know this isn't strictly related to Struts, I have this problem with
JSONPlugin and maybe you guys can help me.
This is the code rom the jsp page:
Testing Remote Procedure Call from Ajax
dojo.require("dojo.rpc.*");
var service = dojo.rpc.JsonService("${smdURL}
Worked like a charm.
Thanks musachy
--
View this message in context:
http://www.nabble.com/Extract-autocompleter-value-from-javascript%2C-when-autocompleter-is-in-a-%3Cs%3Adiv-object-tf3883593.html#a11021197
Sent from the Struts - User mailing list archive at Nabble.com.
Please tell me how can I extract the selected value of an autocompleter
(theme=simple) which rezides in a http://www.nabble.com/Extract-autocompleter-value-from-javascript%2C-when-autocompleter-is-in-a-%3Cs%3Adiv-object-tf3883593.html#a11007078
Sent from the Struts - User mailing list archive at N
Actually I am quite sorry for not digging the answer in the forum archive.
Anyway here is a quote of the correct answer:
So I've finally found out how it can be done. Through action context I can
get
value stack and find any possible value being already there.
ActionContext.getContext().getValue
Hi. I am a struts newbie and I would really like to know how can I get the
parameters values from an action url sent to a div tag. To be more explicit
here is the jsp code:
I want to get the value of the param "cauta" from the action class that's
25 matches
Mail list logo