Re: Table with a lot of ajax links

2013-08-03 Thread Ernesto Reinaldo Barreiro
Hi,

I have just added an example that seems to work. See

https://github.com/reiern70/antilia-bits/tree/master/wicket-sparelinks

Hope this helps.



On Fri, Aug 2, 2013 at 6:51 PM, Ernesto Reinaldo Barreiro <
reier...@gmail.com> wrote:

> Let me see if I can spend a couple of hours on it during the night. I will
> hang it somewhere in github..
>
>
> On Fri, Aug 2, 2013 at 5:42 PM, Brian Welnack <
> brian.weln...@mediadriver.com> wrote:
>
>> I have some work coming up that could benefit from such an example as
>> well...
>>
>>
>> On Fri, Aug 2, 2013 at 12:56 AM, Ernesto Reinaldo Barreiro <
>> reier...@gmail.com> wrote:
>>
>> > Hi,
>> >
>> > Do you want me to build an example? That might be easier that explaining
>> > all details... You can then adapt the example to your needs... and it
>> might
>> > be useful to other people as well.
>> >
>> >
>> > On Fri, Aug 2, 2013 at 12:37 AM, DaveS  wrote:
>> >
>> > > Hi Ernesto,
>> > >
>> > > please can you give me som example codes of yours
>> "AbstarctAjaxBehavior"
>> > > and
>> > > "special link components".
>> > >
>> > > I am trying to do it, but I am little bit lost.
>> > >
>> > > Thanks a lot.
>> > >
>> > > Dave
>> > >
>> > >
>> > >
>> > > --
>> > > View this message in context:
>> > >
>> >
>> http://apache-wicket.1842946.n4.nabble.com/Table-with-a-lot-of-ajax-links-tp4660303p4660633.html
>> > > Sent from the Users forum mailing list archive at Nabble.com.
>> > >
>> > > -
>> > > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> > > For additional commands, e-mail: users-h...@wicket.apache.org
>> > >
>> > >
>> >
>> >
>> > --
>> > Regards - Ernesto Reinaldo Barreiro
>> >
>>
>
>
>
> --
> Regards - Ernesto Reinaldo Barreiro
>



-- 
Regards - Ernesto Reinaldo Barreiro


Re: The same URL to two different pages.

2013-08-03 Thread Ernesto Reinaldo Barreiro
I guess you can show one panel or another depending on whether the user has
a session of not.  Wouldn't that suffice for your needs? One panel
stateless and the other not.


On Sat, Aug 3, 2013 at 8:44 PM, Raul  wrote:

> Hi I need to have the same url to two different pages, one page must show
> content to registered users, ie an internal page, the other page
> "stateless", should show the same content to guest users. The URL should be
> the same for the two pages and charge one or the other depending on whether
> the user has session or not. Is it possible to do this?
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/The-same-URL-to-two-different-pages-tp4660672.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


-- 
Regards - Ernesto Reinaldo Barreiro


The same URL to two different pages.

2013-08-03 Thread Raul
Hi I need to have the same url to two different pages, one page must show
content to registered users, ie an internal page, the other page
"stateless", should show the same content to guest users. The URL should be
the same for the two pages and charge one or the other depending on whether
the user has session or not. Is it possible to do this?



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/The-same-URL-to-two-different-pages-tp4660672.html
Sent from the Users forum mailing list archive at Nabble.com.

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



Re: Problem with AjaxButton and textarea CKeditor.

2013-08-03 Thread Raul

I've solved it myself, in case anyone finds it useful, pass the link where
is the solution

http://stackoverflow.com/questions/7657816/ckeditor-ajax-issue



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Problem-with-AjaxButton-and-textarea-CKeditor-tp4660669p4660670.html
Sent from the Users forum mailing list archive at Nabble.com.

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



Possible bug with AjaxButton and textarea.

2013-08-03 Thread Raul
Hi, I have a form with a textarea using CKEditor, I need to send the contents
of the textarea to the server.
When using a standard Button, content is submit correctly, but when
AjaxButton type, the data is not sent to the server. I tried to remove the
comportamient CKEditor, and AjaxButton if it works, someone expert can tell
me that may be happening.



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Possible-bug-with-AjaxButton-and-textarea-tp4660669.html
Sent from the Users forum mailing list archive at Nabble.com.

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



Re: Interesting article from Zeroturnaround

2013-08-03 Thread Bernard
Simon's article is entertaining but of low quality.

It contains a few errors.

Wicket received negative points certainly for the wrong reasons.

I don't know what Simon tries to address with his criticism of
Wicket's inheritance. Designing a web site based on markup inheritance
could be considered difficult to grasp. But that is optional and I
don't think he even tried to get there. He does not comment on whether
other frameworks even provide this.  Unfortunately he used this in
multiple rating criteria.

But he did not mention markup composition and dynamic component
replacement which in Wicket is very easy.

Components have to extend Wicket's basic components like Panel. This
is easy. Not understanding this concept easily would be a concern.

His comments on scalability are not convincing. He does not
distinguish between performance and scalability. Wicket has a slight
scalability disadvantage because of its reliance on session affinity
which he did not mention. Wicket generates content on the server like
Grails, Struts, Spring MVC, Play and JSF. GWT and Vaadin are more
client centric. So he would have to group client side and server side
frameworks to clarify.

"Wicket works well for scalability if that is your goal when
developing the foundation; otherwise, you’re better off using another
framework that doesn’t have such a huge server resource consumption
problem."

This sentence is nonsense, semantically and technically. It
disqualifies the whole article.

He would need to clarify what his "foundation" is and provide a
scenario to back up his claim of "huge server resource consumption
problem". 

I think it is quite difficult to rate Web frameworks, especially when
they are based on different architectures, and have different
purposes.


Bernard


On Wed, 31 Jul 2013 13:56:09 +0200, you wrote:

>I don't agree with everything in it, but it's a good article anyway :) ...
>
>http://zeroturnaround.com/rebellabs/the-curious-coders-java-web-frameworks-comparison-spring-mvc-grails-vaadin-gwt-wicket-play-struts-and-jsf/
>
>-
>To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>For additional commands, e-mail: users-h...@wicket.apache.org


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



Re: Submitting a DateTextField value in a different timezone that the browser

2013-08-03 Thread Francois Meillet
Overriding the getClientTimeZone() method in the dateconverter sounds good.
if the boolean applyTimeZoneDifference of the dateConverter is set to true.

add(new DateTextField("xxx", new DateConverter(true) {
@Override
public String getDatePattern(Locale locale) {
// ...
}

@Override
protected DateTimeFormatter getFormat(Locale locale) {
// ...
}

protected TimeZone getClientTimeZone() {
return "yourspecifictimezone";
}

}));


François



Le 3 août 2013 à 02:38, seba.wag...@gmail.com a écrit :

> Hi,
> 
> According to:
> http://ci.apache.org/projects/wicket/apidocs/6.0.x/org/apache/wicket/datetime/markup/html/form/DateTextField.html
> 
> *This component tries to apply the time zone difference between the client
> and server. See the date
> converterof
> this package for more information on that.*
> 
> In our application users can configure the timezone of the UI different
> from the browser/client/os timezone.
> 
> Apart from the reasons when and how and why we are doing that ...
> 
> Is there a way to configure the DateTextField to use a different timezone
> then the clients/browser/os one for its calculations?
> 
> My basic idea is to overwrite the method "getClientTimeZone" in the
> DateTimeField.
> I wonder if that is the appropriate way to do it?
> 
> Are there other ideas or pointers how to resolve that?
> 
> Thanks,
> Sebastian
> 
> -- 
> Sebastian Wagner
> https://twitter.com/#!/dead_lock
> http://www.webbase-design.de
> http://www.wagner-sebastian.com
> seba.wag...@gmail.com