Thanks guys!
I have successfully resolved the problem with component loading by
introducing another namespace (just like tapestry-jquery does); I have
concluded it would be better than messing with Tapestry core namespace.
But I still have problems with picking up changes in component library at
I'm trying to do implement a select component on a page.
I have this :
*CreerClient.java:*
*.*
// value encoders
@Property
private ApplicatifDtoEncoder applicatifDtoEncoder;
@Property
private TypeClientDtoEncoder typeClientDtoEncoder;
// select models for client types and applications
I'm trying to use DOM rewriting for the purpose of modifying the content of
some grid cells. I modified GridCell class adding a
void afterRender(MarkupWriter writer)
method, and in it I can retrieve the Element (org.apache.tapestry5.dom.Element)
containing the value I want to modify.
What are you using to launch the webapp? I recommend the RunJettyRun
plugin. Way better than jetty:run, if you ask me.
--
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.com.br
Yes, it could be an issue using an external maven. I let Eclipse handle
the build while I'm developing, and I don't do a full external maven
rebuild unless I need to deploy war files. Sometimes it helps to know the
art of the possible, and myself and my team have it working this way. :-)
On Thu, 10 Jul 2014 11:09:05 -0300, Davide Vecchi d...@amc.dk wrote:
If I do
Node node = element.getChildren().get(0);
I do get a org.apache.tapestry5.dom.Node representing the element's
content (its toString() just returns Hello), but even this Node object
doesn't seem to me to
Right, in my case that Node is a Text. The following is what I'm doing in
afterRender method; it seems to work just fine although I don't know if that's
the recommended approach in DOM rewriting.
As usual, thanks a lot for the great assistance, and in particular for pointing
me to DOM
Thanks Thiago, I'll give it a try (currently I'm using jetty:run and until
this moment I had no problems with it).
On Thu, Jul 10, 2014 at 4:43 PM, Thiago H de Paula Figueiredo
thiag...@gmail.com wrote:
What are you using to launch the webapp? I recommend the RunJettyRun
plugin. Way better
On Thu, 10 Jul 2014 09:51:08 -0300, squallmat . squall...@gmail.com
wrote:
Caused by: java.lang.NullPointerException
at
org.apache.tapestry5.internal.util.SelectModelRenderer.option(SelectModelRenderer.java:51)
Check whether you passed a null OptionModel to the SelectionModel.
--
Thiago H.
On Thu, 10 Jul 2014 11:56:07 -0300, Ilya Obshadko
ilya.obsha...@gmail.com wrote:
Thanks Thiago, I'll give it a try (currently I'm using jetty:run and
until this moment I had no problems with it).
jetty:run is slower to start, doesn't find the sources of most external
code even when
On Thu, 10 Jul 2014 11:55:57 -0300, Davide Vecchi d...@amc.dk wrote:
As usual, thanks a lot for the great assistance, and in particular for
pointing me to DOM rewriting.
ListNode nodes = elementToModify.getChildren();
if (nodes.size() == 1)
{
if (nodes.get(0) instanceof Text)
While I was working on my project (https://danceconvention.net), I had to
create a lot of helper components and mixins to solve routine tasks,
including better UX, better Bootstrap integration etc.
I've finally managed to put all the independent stuff into a separate
module, so I'm pleased to
Very nice.
Geoff
On 11 Jul 2014, at 4:08 am, Ilya Obshadko ilya.obsha...@gmail.com wrote:
While I was working on my project (https://danceconvention.net), I had to
create a lot of helper components and mixins to solve routine tasks,
including better UX, better Bootstrap integration etc.
13 matches
Mail list logo