... I realize that doesn't answer your question though. Have a look at
http://tapestry.1045711.n5.nabble.com/Inheritance-and-the-order-of-loaded-JS-td5714430.html
On Aug 12, 2012 8:12 PM, "Ray Nicholus" wrote:
> Jquery should really be part of a JavascriptStack. in fact, it should
> probably be
Jquery should really be part of a JavascriptStack. in fact, it should
probably be its own stack. You can add any jquery plugins and stylesheets
to this stack as well.
On Aug 12, 2012 7:51 PM, "Angelo C." wrote:
> Hi,
>
> I have this order of loading:
>
> @Import(library = {"context:/js/jquery-1
Hi,
I have this order of loading:
@Import(library = {"context:/js/jquery-1.7.1.js"})
public class Layout { }
@Import(library = {"context:/js/page_view.js"})
public class page_view { }
page_view extends from Layout template, in the final page html source,
page_view.js is always ahead of jquery-1
I am a bit behind, using plain of ways of copy and paste into lib/. Works
happily on GAEJ. :)
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Tapestry-5-3-4-tp5714512p5715312.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
Patches welcome!
On Sunday, August 12, 2012, Muhammad Gelbana wrote:
> Well said. If only I can "Like" this as I could have done on facebook.
>
> On Sun, Aug 12, 2012 at 1:02 PM, sommeralex
>
> >wrote:
>
> > Is it true, that the tapestry api and documentation lacks in examples and
> > actuality
the template is here:
< a t:type="eventLink" t:parameters="prop:{'mode':${current}}"
t:id="UpdateOff" >Turn it off< /a>
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/AjaxResponseRenderer-help-tp5715295p5715307.html
Sent from the Tapestry - User mailing li
I use only '@Inject Block block1, block2', then define Zone in the template
to fold a block, what's the difference '@InjectComponent private Zone
zone1'?
Taha Hafeez wrote
>
> You can't. You can specify one and then use AjaxResponseRenderer to add
> more zones to it.
>
> Refresh
>
> @InjectC
That works, now, I'd like to put this eventLink in a loop:
Turn it off
but got:
Component Test123 already contains a child component with id 'UpdateOff'.
Embedded component ids must be unique (excluding case, which is ignored).
any fix to this?
Angelo
--
View this message in context
You can't. You can specify one and then use AjaxResponseRenderer to add more
zones to it.
Refresh
@InjectComponent
private Zone zone1;
@InjectComponent
private Zone zone2;
@Inject
private AjaxResponseRenderer ajaxResponseRenderer;
onSomeEvent(){
ajaxResponseRenderer.addRender("zone2", zone
For starters, your "action" method should be renamed to onAction. I'm
still not quite sure what you are trying to do here. It seems like you are
providing a generic example, instead of the actual code you are struggling
with.
On Sun, Aug 12, 2012 at 7:51 AM, Angelo C. wrote:
> Hi,
>
> I got so
@Component(parameters = { "event=ModeUpdate", "zone=zone1" })
private EventLink UpdateOff;
This should do the trick.
On Sun, Aug 12, 2012 at 3:30 PM, Angelo C. wrote:
> How to specify two zones in a event link?
>
>
>
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/A
How to specify two zones in a event link?
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/AjaxResponseRenderer-help-tp5715295p5715301.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
--
You are missing the zone parameter on your eventLink component.
On Sun, Aug 12, 2012 at 2:31 PM, Angelo C. wrote:
> Hi,
>
> I am trying out AjaxResponseRenderer to update multiple zones in a page,
> here is the code:
>
> java:
>
> @Inject
> private AjaxResponseRenderer ajaxResponseRenderer;
>
>
*@ lukaszkaleta *
Even so I haven't done a thorough investigation and ready but I think bad
performance on Vaadin would be due to the improper wiring of components
with each other. On that other question on stackoverflow, the guy was using
a grid component (as far as I can remember) while he had to
Hi,
I got some very old code working, turned out quite tedious, maybe T5.3.4 has
some easier way? here is the code
public String getUpdateLink() {
return resources.createEventLink("action").toAbsoluteURI();
}
public void action() {
String name = requestGlobals.getR
Well said. If only I can "Like" this as I could have done on facebook.
On Sun, Aug 12, 2012 at 1:02 PM, sommeralex wrote:
> Is it true, that the tapestry api and documentation lacks in examples and
> actuality, or do I read the documentation in a wrong way?
>
> basic example, radio group:
>
> htt
I am using tapestry 5.3
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/t-zone-after-update-add-following-style-background-image-none-background-color-rgb-255-255-255-tp5715272p5715296.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---
Hi,
I am trying out AjaxResponseRenderer to update multiple zones in a page,
here is the code:
java:
@Inject
private AjaxResponseRenderer ajaxResponseRenderer;
@Inject
Block redBlock;
@Inject
Block blueBlock;
@Component(parameters = {"event=ModeUpdate"})
private EventLink UpdateOff;
public vo
...providing some actual code would be helpful as well
On Aug 12, 2012 6:51 AM, "Ray Nicholus" wrote:
> What are you trying to do exactly? i think you are using terms here
> incorrectly, which is making your question very hard to understand. So,
> Javascript, tml, and java specifics aside, what
What are you trying to do exactly? i think you are using terms here
incorrectly, which is making your question very hard to understand. So,
Javascript, tml, and java specifics aside, what are you trying to do?
On Aug 12, 2012 5:08 AM, "Angelo C." wrote:
> Hi,
>
> I got a page class, and in the t
Is it true, that the tapestry api and documentation lacks in examples and
actuality, or do I read the documentation in a wrong way?
basic example, radio group:
http://tapestry.apache.org/5.3.4/apidocs/org/apache/tapestry5/corelib/components/Radio.html
1.
there is no example on how to make an opti
Hi,
I got a page class, and in the tml I have a javascript function that will
call a function in the page class, and the function will return a json
object to the javascript, any tips on how to achieve this? Thanks,
Angelo
--
View this message in context:
http://tapestry.1045711.n5.nabble.com
I use this little component:
import org.apache.tapestry5.MarkupWriter;
import org.apache.tapestry5.annotations.Parameter;
public class IfIe {
@Parameter(required=true, defaultPrefix="literal")
private String test;
public void beginRender(MarkupWriter writer) {
// write out a
Wow amazing reply.
Thanks a lot Christian this was perfect answer to my question and it gave me
a chance to learn and understand a few things about tapestry.
I really appreciate it.
All the best
Boris
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Why-should-we-speci
24 matches
Mail list logo