DateField behaviour when within a zone

2018-11-28 Thread Christopher Dodunski
Hi all,

I've successfully been using the datefield component within a number of
tapestry pages.  But now that I've embedded a datefield within a custom
component that is nested within a zone, the datepicker isn't working as it
should.  When the datepicker is used to select a certain date, the zone
refreshes but the date remains null.  Naturally I would like the date to
reflect that which was chosen, but also there is no need for the zone to
refresh simply because a date in the datepicker was clicked on.  So two
wrongs.

Incidentally, it is possible to manually type a date into the datefield,
just not use the datepicker.  And it is not a browser related problem
(tested on Chrome and Firefox).


Below are the relevant snippets of markup received by the browser:


Start















And, for the sake of comparison, a snippet of the HTML generated by a
Tapestry page, where the datefield works correctly:


Start Time












Appreciate your help,

Chris.


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: QuickStart

2018-11-28 Thread abangkis
On Wed, Nov 28, 2018 at 6:55 PM Thiago H. de Paula Figueiredo <
thiag...@gmail.com> wrote:

> On Tue, Nov 27, 2018 at 10:37 PM Mats Andersson  >
> wrote:
>
>
> It wouldn't be for that purpose. It would be for applications that what the
> Tapestry RequestFilter/Dispatcher goodies but not the templating engine.
> REST endpoints would fall into that category. If we do that, we could have
> a smaller dependency, JAR size and memory usage (even though Tapestry is
> very good at not initializing stuff until it's actually used) for that
> applications.
>
>
Actually, my current project just started using ktor. They offer freemarker
as the template engine. I've been spoiled with all the tapestry page magic,
so i wondered if I could use tapestry page on top of ktor. Maybe it isn't a
wonder after all. 😊



> --
> Thiago
>


-- 
http://www.mreunionlabs.net/ 
twitter : @mreunionlabs @abangkis
page : https://plus.google.com/104168782385184990771


Re: Jetty not reloading

2018-11-28 Thread Mats Andersson
It seems to be the same problem running the Jetty plugin in IntelliJ, 
but a workaround if you edit the files inside IntelliJ is to


CTRL-s followed by CTRL-9

/Mats

On 2018-11-28 13:19, Qbyte Consulting wrote:

So it turns out IntelliJ doesn’t copy resources to the target folder. Gotta do 
a mvn compile.

Sent from my iPhone


On 28 Nov 2018, at 15:34, Mats Andersson  wrote:

Usually tapestry.production-mode is used to check for updates less often so how 
can that help?

Maybe tapestry.file-check-interval is defined somewhere? Default is 1s which 
should be enough in development. Also, make sure resources are actually copied 
to the target directory when they are changed in the souce. This is needed to 
make Tapestry aware of changes.


/Mats



On 2018-11-28 09:09, Dmitry Gusev wrote:
Hi!

Make sure you have tapestry.production-mode=true set in one of your
tapestry modules, or set in the system properties section in your pom.xml.

Execution mode only specifies a list of additional tapestry modules
(usually just one) for runtime configuration.

On Wed, Nov 28, 2018 at 6:12 AM Qbyte Consulting 
wrote:


I’m finding resources are not dynamically reloading. Jetty config below,
what do I need to do?



 org.eclipse.jetty
 jetty-maven-plugin
 9.2.0.M0
 
 
 9095
 
 
 

tapestry.execution-mode

development
 
 

version

${project.version}
 
 
 
 



Sent from my iPhone
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org


--
-- Mats Andersson | Ronsoft AB | +46(0)73 368 79 82



Re: Jetty not reloading

2018-11-28 Thread Qbyte Consulting
So it turns out IntelliJ doesn’t copy resources to the target folder. Gotta do 
a mvn compile.

Sent from my iPhone

> On 28 Nov 2018, at 15:34, Mats Andersson  wrote:
> 
> Usually tapestry.production-mode is used to check for updates less often so 
> how can that help?
> 
> Maybe tapestry.file-check-interval is defined somewhere? Default is 1s which 
> should be enough in development. Also, make sure resources are actually 
> copied to the target directory when they are changed in the souce. This is 
> needed to make Tapestry aware of changes.
> 
> 
> /Mats
> 
> 
>> On 2018-11-28 09:09, Dmitry Gusev wrote:
>> Hi!
>> 
>> Make sure you have tapestry.production-mode=true set in one of your
>> tapestry modules, or set in the system properties section in your pom.xml.
>> 
>> Execution mode only specifies a list of additional tapestry modules
>> (usually just one) for runtime configuration.
>> 
>> On Wed, Nov 28, 2018 at 6:12 AM Qbyte Consulting 
>> wrote:
>> 
>>> I’m finding resources are not dynamically reloading. Jetty config below,
>>> what do I need to do?
>>> 
>>> 
>>> 
>>> org.eclipse.jetty
>>> jetty-maven-plugin
>>> 9.2.0.M0
>>> 
>>> 
>>> 9095
>>> 
>>> 
>>> 
>>> 
>>> tapestry.execution-mode
>>> 
>>> development
>>> 
>>> 
>>> 
>>> version
>>> 
>>> ${project.version}
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> Sent from my iPhone
>>> -
>>> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
>>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>> 
>>> 
> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
> 

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: QuickStart

2018-11-28 Thread Thiago H. de Paula Figueiredo
On Tue, Nov 27, 2018 at 10:37 PM Mats Andersson 
wrote:

> About client and server separation, I meant that the application should
> be split into one server/back-end part providing a rest interface and a
> web application part which can use a completely different framework like
> Angular. That way no dependencies exist between the two which helps a
> lot during upgrade of libs etc. From my experience that has worked well.
>

Oh, sorry, I misunderstood your text. I definitely agree with the frontend
and backend separation.


> I believe there is no need to split Tapestry itself for this purpose


It wouldn't be for that purpose. It would be for applications that what the
Tapestry RequestFilter/Dispatcher goodies but not the templating engine.
REST endpoints would fall into that category. If we do that, we could have
a smaller dependency, JAR size and memory usage (even though Tapestry is
very good at not initializing stuff until it's actually used) for that
applications.


> and I am aware of that there are still use-cases for handling everything
> in
> a single application. It is good with choices :-)
>

Indeed.

--
Thiago


Re: Jetty not reloading

2018-11-28 Thread Dmitry Gusev
Yeah, sorry, I wasn't clear, the tapestry.production-mode should be FALSE
in development mode.

On Wed, Nov 28, 2018 at 11:34 AM Mats Andersson 
wrote:

> Usually tapestry.production-mode is used to check for updates less often
> so how can that help?
>
> Maybe tapestry.file-check-interval is defined somewhere? Default is 1s
> which should be enough in development. Also, make sure resources are
> actually copied to the target directory when they are changed in the
> souce. This is needed to make Tapestry aware of changes.
>
>
> /Mats
>
>
> On 2018-11-28 09:09, Dmitry Gusev wrote:
> > Hi!
> >
> > Make sure you have tapestry.production-mode=true set in one of your
> > tapestry modules, or set in the system properties section in your
> pom.xml.
> >
> > Execution mode only specifies a list of additional tapestry modules
> > (usually just one) for runtime configuration.
> >
> > On Wed, Nov 28, 2018 at 6:12 AM Qbyte Consulting <
> qbyteconsult...@gmail.com>
> > wrote:
> >
> >> I’m finding resources are not dynamically reloading. Jetty config below,
> >> what do I need to do?
> >>
> >>
> >> 
> >>  org.eclipse.jetty
> >>
> jetty-maven-plugin
> >>  9.2.0.M0
> >>  
> >>  
> >>  9095
> >>  
> >>  
> >>  
> >>
> >> tapestry.execution-mode
> >>
> >> development
> >>  
> >>  
> >>
> >> version
> >>
> >> ${project.version}
> >>  
> >>  
> >>  
> >>  
> >>
> >>
> >>
> >> Sent from my iPhone
> >> -
> >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> >> For additional commands, e-mail: users-h...@tapestry.apache.org
> >>
> >>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

-- 
Dmitry Gusev

AnjLab Team
http://anjlab.com


Re: Jetty not reloading

2018-11-28 Thread Mats Andersson
Usually tapestry.production-mode is used to check for updates less often 
so how can that help?


Maybe tapestry.file-check-interval is defined somewhere? Default is 1s 
which should be enough in development. Also, make sure resources are 
actually copied to the target directory when they are changed in the 
souce. This is needed to make Tapestry aware of changes.



/Mats


On 2018-11-28 09:09, Dmitry Gusev wrote:

Hi!

Make sure you have tapestry.production-mode=true set in one of your
tapestry modules, or set in the system properties section in your pom.xml.

Execution mode only specifies a list of additional tapestry modules
(usually just one) for runtime configuration.

On Wed, Nov 28, 2018 at 6:12 AM Qbyte Consulting 
wrote:


I’m finding resources are not dynamically reloading. Jetty config below,
what do I need to do?



 org.eclipse.jetty
 jetty-maven-plugin
 9.2.0.M0
 
 
 9095
 
 
 

tapestry.execution-mode

development
 
 

version

${project.version}
 
 
 
 



Sent from my iPhone
-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org





-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Jetty not reloading

2018-11-28 Thread Dmitry Gusev
Hi!

Make sure you have tapestry.production-mode=true set in one of your
tapestry modules, or set in the system properties section in your pom.xml.

Execution mode only specifies a list of additional tapestry modules
(usually just one) for runtime configuration.

On Wed, Nov 28, 2018 at 6:12 AM Qbyte Consulting 
wrote:

> I’m finding resources are not dynamically reloading. Jetty config below,
> what do I need to do?
>
>
> 
> org.eclipse.jetty
> jetty-maven-plugin
> 9.2.0.M0
> 
> 
> 9095
> 
> 
> 
>
> tapestry.execution-mode
>
> development
> 
> 
>
> version
>
> ${project.version}
> 
> 
> 
> 
>
>
>
> Sent from my iPhone
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

-- 
Dmitry Gusev

AnjLab Team
http://anjlab.com