Yep, that's the fallback solution. But it requires two requests to
the server. First getting the javascript and then updating the zone.
I would prefer to return everything in one request. That is possible
using the internal services.
Thanks,
Markus
On Mon, Sep 20, 2010 at 11:11 PM, Anna Vo
Great. Wish you all the best.
On Mon, Sep 20, 2010 at 1:32 AM, Alejandro Scandroli
alejandroscandr...@gmail.com wrote:
A Tynamo/Tapestry application called MALCOM is one of the four
finalists of Vodafone Mobile Clicks 2010
(http://www.vodafonemobileclicks.com/)
MALCOM is a mobile
That would be the ideal situation where if a stack was defined containing
CompJS, then if something references CompJS the stack is brought in. A simpler
thing to do would be to simply remove the individual call to CompJS if the
stack containing is imported, but this is less useful. Either would
Putting a mixin on a component in the zone executes the mixin javascript on
zone update. So you'd stick in your dialog close logic in a mixin.
--
View this message in context:
Also only a workaround. The zone is not directly related to the
dialog. It makes no sense to wire a mixin to a component in that zone.
I could probably also return a dummy zone in the Multizoneupdate which
only contains a dialog close component, but that also feels awkward.
But thanks for the
On Tue, 21 Sep 2010 00:20:04 -0300, Fanzhen fanzhen.m...@hotmail.com
wrote:
hey, friend, I want to know how to get a not cached version of my page
Tapestry doesn't cache page renders.
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant,
This is interesting question, as the MultiZoneUpdate ideally would have
exactly the same js methods that the JavaScriptSupport service has and just
work.
I always have circumvented this using jsdummy zone, which has no other
purpose but to drive my js that needs to be run in addition to the
Hi everybody !
I have a little problem :
I want to get a value from a field which is disabled but in my page.java the
property is null even if the textfield is not empty.
The problem is that I don't want that the user modify the textfield...
Thanks for your help in advance !
OK, that's the dummy zone approach. It works but it is not very nifty.
Maybe the easiest solution is to have MultiZoneUpdate accept
Rendercommands without a zone name.
The RenderCommands can then simply add javascript to the response.
On Tue, Sep 21, 2010 at 4:43 PM, 9902468
Do you mean after submitting ?
When a field is disabled on HTML, this field's value is not submitted.
where is this field's value coming from ?
2010/9/21 Cucchietti Denis denis.cucchie...@atosorigin.com
Hi everybody !
I have a little problem :
I want to get a value from a field which is
Hi Katia,
Yes its after submitting.
It's on an autocomplete textfield. When the user select a value into the
autocomplete list I have added some javascript in order to disable the
textfield. But when I submit the form the textfield is null :-/.
Is there another mean to forbid the user to
Why do you need to disable the autocomplete field this way ?
What happens if the user makes a mistake and chooses à wring value ?
A quick answer can be to use a hidden and fill it with the value in
JavaScript. This hidden value will be mapped with the java class. So when
submitting you will have
Hi,
I have a new requirement that came up and I've been considering how to
handle accordingly. The issue at hand is to use an AJAX mixin to read a
change to a Select input, update the value bound to a TextField, and
conditionally set the disabled attribute of the same TextField.
I
*sigh*
Pretty disappointed I didn't consider this, since it's exactly how I
update the TextField's value.. but
disabled=${disabled} and then set the disabled value in the mixin
handler method.
Although, I am still interested in learning how to get a call to some
javascript from within a
Guys, I've been using a very simple Row Highlighter mixin for Grid
components for a while and only now I ran into an issue - it won't
work when there's another DIV element placed in the TML file before
the Grid itself. The reason is obvious - the mixin will try to locate
the Grid's table body
I think I found away which is still a bit clumsy but allows to return
javascript and a MultiZoneUpdate as the response of an ajax event
without involving internal API:
@Inject
private TypeCoercer coercer;
@Inject
private JavaScriptSupport jsSupport;
@InjectComponent
private Zone updateZone;
Hi,
Is it possible to generate (insert/delete some records) AjaxFormLoop
row from an AJAX actionlink ?
I've tried enclosing the AjaxFormLoop inside Zone, but I got this error message:
BeginRender[EditAssetExpense:detailcustomer.fragment]: No object of
type
Is it possible to refresh whole AjaxFormLoop ?
On Wed, Sep 22, 2010 at 9:43 AM, Yohan Yudanara
yohan.yudan...@gmail.com wrote:
Hi,
Is it possible to generate (insert/delete some records) AjaxFormLoop
row from an AJAX actionlink ?
I've tried enclosing the AjaxFormLoop inside Zone, but I got
On Wed, 22 Sep 2010 00:11:40 -0300, Yohan Yudanara
yohan.yudan...@gmail.com wrote:
Is it possible to refresh whole AjaxFormLoop ?
Put it inside a Zone and refresh it.
BeginRender[EditAssetExpense:detailcustomer.fragment]: No object of
type org.apache.tapestry5.services.FormSupport is
Thanks a lot Thiago..
Your 2 sentences made me save lot of time...
Thank you... :)
On Wed, Sep 22, 2010 at 10:19 AM, Thiago H. de Paula Figueiredo
thiag...@gmail.com wrote:
On Wed, 22 Sep 2010 00:11:40 -0300, Yohan Yudanara
yohan.yudan...@gmail.com wrote:
Is it possible to refresh whole
Hi..
I'm enclosing a whole form inside zone.
And I have an AJAX actionlink to refresh the zone.
Is it possible to preserve user input while refreshing the zone?
I have problem because, when refreshing, textfield value always
discard user input and revert back to the original value.
Thanks in
Hi..
If I refresh whole form, How can I preserve user input on textfield
outside AjaxFormLoop ?
Thanks..
On Wed, Sep 22, 2010 at 10:19 AM, Thiago H. de Paula Figueiredo
thiag...@gmail.com wrote:
On Wed, 22 Sep 2010 00:11:40 -0300, Yohan Yudanara
yohan.yudan...@gmail.com wrote:
Is it
22 matches
Mail list logo