Sagewire Logo

webwork open symphony java RSS Feed

Recent Posts View Recent Posts | View Archived Posts

Message from Igo Coelho
Most recent post: 1/4/2007
2 authors and 3 replies.

Hi,

I've a problem... the function bind of dojo invoke the action but not
refresh the div.

<script type="text/JAVAscript">
function loadTabColaboradores(id) {
var viewDiv = window['tabColaborador'];
var urlAction = '<@xxxxxxxxxxx includeParams="none"
value="/pesquisa/colaboradorPesquisa/populaColaboradores.action"/>
';
viewDiv.href = urlAction + '?filtraPor=' + id +
'&pesquisa.id=${pesquisa.id}';
viewDiv.bind();
}
</script>

<@xxxxxxxxxxx id="tabColaborador" theme="ajax" >Carregando...</@xxxxxxxxxxx>

--
Igo Coelho
Desenvolvimento
Fortes Informática (Fortaleza)
+55 85 4005.1111; +55 85 8868.9744
igocoelho@xxxxxxxxxxx
www.fortesinformatica.com.br read more about Dojo and div


Message from Alexandre Jacques
Most recent post: 12/28/2006
2 authors and 3 replies.

SGksCgpJIGFtIGhhdmluZyBzb21lIHRyb3VibGUgKGFnYWluKSB3aXRoIGNoYXJhY3RlciBlbmNv
ZGluZy4gTXkgcGFnZXMKKEpTUHMpIGFyZSByZW5kZXJpbmcgT0ssIGJ1dCBpZiBJIGNhbGwgYSBy
ZW1vdGUgYWN0aW9uIHRoYXQgcmV0dXJucyBhCkpQUyAoc28gSSBjYW4gdXNlIGlubmVySFRNTCkg
d2l0aCBBamF4LCBhbGwgbXkgc3BlY2lhbCBjaGFyYWN0ZXJzCmFwcGVhcnMgYXMgc3RyYW5nZSBz
aWduczogIj8iIGluIElFIGFuZCAi77+9IiBpbiBGaXJlZm94LgoKTXkgY29uZmlndXJhdGlvbiBp
cyBhcyBmb2xsb3c6CgotIGluIG15IExpbnV4IGJveDoKCmV4cG9ydCBMQU5HPXB0X0JSLklTTy04
ODU5LTEKZXhwb3J0IExDX0FMTD1wdF9CUi5JU08tODg1OS0xCgoKLSBpbiB3ZWJ3b3JrLnByb3Bl
cnRpZXM6Cgp3ZWJ3b3JrLmkxOG4uZW5jb2Rpbmc9SVNPLTg4NTktMQp3ZWJ3b3JrLmxvY2FsZT1w
dF9CUgoKLSBBbmQsIGZvciB0aGUgc2FrZSBvZiBjb21wbGV0ZW5lc3MsIGluIG15IFdlYkxvZ2lj
IHN0YXJ0dXAgc2NyaXB0IEkgdXNlOgoKLURmaWxlLmVuY29kaW5nPUlTTy04ODU5LTEgLUR1c2Vy
Lmxhbmd1YWdlPXB0CgpEb2VzIGFueW9uZSBoYXZlIGEgY2x1ZT8KClBTOiBJIGFtIHVzaW5nIFBy
b3RvdHlwZSBqYXZhc2NyaXB0IGxpYnJhcnkgYW5kIEkgbmVlZCB0byBzaG93ClBvcnR1Z3Vlc2Ug
c3BlY2lhbCBjaGFyYWN0ZXJzLgoKVElBCgpBbGV4YW5kcmUgSmFjcXVlcwo= read more about Ajax encoding problem Linux


Message from =?ISO-8859-1?Q?Tobias_J=E4rlund?=
Most recent post: 2/21/2006
2 authors and 2 replies.

I'm a little concerned about how the new tooltip functionality adds no
less than 27 attributes to the form tags. This seems like an awful lot
of attributes for such a small addition.

I think that a better approach to this kind of extra functionality is to
use the power of ognl, and define the attribute as a map. The tooltip
could be something like:

<ww:textfield ... tooltip="#{
'text':'Hummel mummel',
'fontSize':'14px',
'opacity':'23'}"/>


To avoid troubles with escaping quotes, something like the following
could be offered as an alternative:

<ww:textfield ...>
<ww:param map="tooltip">
'text':'Hummel mummel',
'fontSize':'14px',
'opacity':'23'
</ww:param>
</ww:textfield>

This'd also make it a lot easier for someone who wants to use a
different tooltip implementation that requires different parameters.

What do you think about using this approach?

/4

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xxxxxxxxxxx
For additional commands, e-mail: dev-help@xxxxxxxxxxx read more about Avoiding ui tags attribute overload


Message from Mike Porter
Most recent post: 9/29/2005
2 authors and 3 replies.

Hi all,
I recall seeing on the mailing list some time ago some talk about a
theme that uses just css and no tables for forms. I went ahead and
built a theme that does just that.
I called my theme css_xhtml. These themes are really cool, it really
speaks well for WW that you can swap them in and out soooo easy.

So, I guess my question is does the community want a css based theme. If
so, should this be the default theme? And if not do we want the bagage
of supporting X themes in the future. I believe I saw Jason or Patrick
comment on this issue the other day. And if anybody wants mine straight
away... email me and ill zip it up for you.

Here is a review of what the generated code looks like:
<form namespace="" id="input_form" name="SubmitUser" action="/agility/SubmitUser.action">
<p>
<label for="input_form_bo.firstName" class="label"><span class="required">*</span>First Name:</label>
<input name="bo.firstName" size="20" value="admin" id="input_form_bo.firstName" onblur="validate(this);" type="text">
</p>

<p>
<label for="input_form_bo.lastName" class="label"><span class="required">*</span>Last Name:</label>
<input name="bo.lastName" size="20" value="admin" id="input_form_bo.lastName" onblur="validate(this);" type="text">
</p>
</f read more about css based form templates - no tables required


Message from Mike Porter
Most recent post: 9/27/2005
2 authors and 2 replies.

Does anybody want to get into a chat w/ me about the dojo remote form theme?

I am trying to get the ShoppingCart example working and have made some
good progress, but I need some help connecting the dots. BTW... I am
assuming that everbody knows the shopping cart example is sick. I pulled
from CVS this morning and found lots of issues. For example: incorrect
use of webwork.dtd, bad use of ww:tags.. several uses were broke. I
have fixed these all but just can not get the updateCart working.

Anyhow... I logged into the Jive Chat... if you want to chat w/ me
please stop by!

Mike

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxx read more about Ajax Dojo Issues


Message from Mike Porter
Most recent post: 9/24/2005
3 authors and 8 replies.

I am really starting to feel like an idiot for having soooooo much
trouble w/ upgrading to WW2.2 from WW2.1.X...
But here is another.

I used to have action results of type "dispatcher"(the default defined
in webwork-default file) that dispatched to an Action.

This no longer works for me anymore. I use this type of thing lots and
lots and it used to work great, so I can not be too crazy.

I'm using Resin 3.0.14.

Here is a mapping that used to work... but no longer works:
<action name="ManageGroup"
class="com.esage.agility.action.admin.security.ManageGroupAction">

<result name="success" type="dispatcher">
<param name="location">/security/EditGroup.action</param>
</result>
</action>

I can see that the ServletDispatcherResult code hasn't changed in CVS
for months... but I dont know how .actions used to get executed....

Thanks for the help in advance.

Mike

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxx read more about WW2.2 Beta2 Problem with Dispatcher Result to .action(s)


Message from David.Sykes
Most recent post: 9/19/2005
2 authors and 2 replies.

--=_alternative 0075830CC1257081_=
Content-Type: text/plain; charset="US-ASCII"

Hello all,

I've a vague recollection of reading somewhere that WebWork 2.1.x did
not play well with Tomcat 5.x (something in the Servlet or JSP spec). In
addition we were seeing very strange behaviour with one of our
applications on Tomcat 5.x. When we switched back to Tomcat 4.1 (without
making any other changes), the application worked correctly.

So, does WebWork 2.1.x work on Tomcat 5.x?

If not, will WebWork 2.2.

If yes, are there any caveats?

Thanks in advance,
David Sykes--=_alternative 0075830CC1257081_=
Content-Type: text/html; charset="US-ASCII"<br><font size=2 face="sans-serif">Hello all,</font>
<br>
<br><font size=2 face="sans-serif">I have a vague recollection of reading
somewhere that WebWork 2.1.x didn't play well with Tomcat 5.x (something
in the Servlet or JSP spec). In addition we were seeing very strange behaviour
with one of our applications on Tomcat 5.x. When we switched back to Tomcat
4.1 (without making any other changes), the application worked correctly.</font>
<br>
<br><font size=2 face="sans-serif">So, does WebWork 2.1.x work on Tomcat
5.x?</font>
<br>
<br><font size=2 face="sans-serif">If not, will WebWork 2.2.</font>
<br>
[c read more about Tomcat 5.x and WebWork 2.1.7


Message from Peter Johnson
Most recent post: 9/16/2005
3 authors and 3 replies.

Jason,

When is it likely to be available? And, upon which WebWork version will
it be based? 2.2 I hope, there isn'thing more frustrating than a _new_
technical guide book which is not current.

PJ

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxx read more about Book: WebWork in Action


Message from Peter Johnson
Most recent post: 9/15/2005
4 authors and 5 replies.

Hi All,

How does one implement security when using the actions with methods
approach as opposed to class per action approach. With the later I can
see a clear way of implementing a security interceptor which acts on the
class name of the action being called but when many actions are handled
by different methods within the class I am not sure how I can check
that. Is there a way of getting the name of the target method?

PJ

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxx read more about security + actions w/ methods approach