Re: Spring Boot Circular reference error

2021-12-11 Thread Pranav Kacholia
d everything is fine. I would blame your dependencies on > spring-boot-starter-web and spring-boot-starter-test. I don't have them > in my pom and I don't think you need them. Try to remove them to see if > StockyApplication starts up. > > On 11/12/21 11:10, Pranav Kacholia wrote:

Spring Boot Circular reference error

2021-12-11 Thread Pranav Kacholia
: [] . ___ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' || .__|_| |_|_| |_\__, | / / / / =|_|==|___/=/_/_/_/ :: Spring Boot ::(v2.6.1) 2021-12-11 15:33:45.814 INFO 6540 --- [ main] com.stocky.StockyApplication : Starting StockyApplication using Java 17.0.1 on DESKTOP-CS8GGG8 with PID 6540 (C:\Users\Pranav Kacholia\eclipse-workspace\Stocky\target\classes started

Re: set a TextField Componet to readonly

2011-10-06 Thread Pranav kacholia
input type=text readonly=true wicket:id=whatever / Works in most major browsers ... -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/set-a-TextField-Componet-to-readonly-tp3877659p3879930.html Sent from the Users forum mailing list archive at Nabble.com.

Re: filter feedback messages

2011-09-28 Thread Pranav kacholia
If you want to show the feedback messages for only PanelCart use ComponentFeedbackMessageFilter If you want to show the messages for PanelCart and its sub-components , use ContainerFeedbackMessageFilter -- View this message in context:

Divide an Ajax request into two parts

2011-09-28 Thread Pranav kacholia
Hi All, Suppose i have a textfield with and oncomponentchange behavior which is being used to do a search. Now the search can be done in two ways, say 1 method is faster than the other. The searrch results are displayed vide ajax in a table. Is there anyway to fire two consecutive ajax

Re: Divide an Ajax request into two parts

2011-09-28 Thread Pranav kacholia
Yeah, that sounds like a synchronization headache i guess another way of phrasing this is whether there is anyway of making an AjaxUpdate non-blocking. as data is available, it will constantly update. Be very useful for searches -- View this message in context:

Re: DecimalFormatLabel (proposed)

2011-09-27 Thread Pranav kacholia
I have submitted a patch https://issues.apache.org/jira/browse/WICKET-4085 Wicket-4085 . for a formatted label. I cant figure what would be the best way to handle an IllegalArgumentException which is thrown when the supplied format object in not valid for the underlying data object. -- View

Re: DecimalFormatLabel (proposed)

2011-09-27 Thread Pranav kacholia
Updated the patch and resubmitted. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/DecimalFormatLabel-proposed-tp3834813p3847952.html Sent from the Users forum mailing list archive at Nabble.com. -

AbstractComponentEventSender

2011-09-27 Thread Pranav kacholia
I was going through the wicket code and i think a lot of the code that is available in ComponentEventSender should be made reuseable. Right now it is final, which makes sense since i cant see any real extension points in it. Perhaps the following change:- (alongside making ComponentEvent

Re: AbstractComponentEventSender

2011-09-27 Thread Pranav kacholia
Alright. Thank you :) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AbstractComponentEventSender-tp3848238p3849133.html Sent from the Users forum mailing list archive at Nabble.com. - To

Re: DecimalFormatLabel (proposed)

2011-09-25 Thread Pranav kacholia
One way or the other, i think Wicket needs a label of that sort. There are too many places where i have to display currency. It should have something inbuilt that allows us to display formatted strings and numbers (a label) -- View this message in context:

RE: DecimalFormatLabel (proposed)

2011-09-23 Thread Pranav kacholia
(myPojo)); container.add(new DecimalFormatLabel(myInt, new DecimalFormat()); From: uiron [via Apache Wicket] [mailto:ml-node+s1842946n383594...@n4.nabble.com] Sent: 23 September 2011 12:17 To: Pranav kacholia Subject: Re: DecimalFormatLabel (proposed) Wouldn't it be better to create

RE: DecimalFormatLabel (proposed)

2011-09-23 Thread Pranav kacholia
Perhaps we can keep it as a NumberFormatLabel for greater flexibility import java.text.NumberFormat; import org.apache.wicket.markup.ComponentTag; import org.apache.wicket.markup.MarkupStream; import org.apache.wicket.markup.html.basic.Label; import org.apache.wicket.model.IModel; import

RE: DecimalFormatLabel (proposed)

2011-09-23 Thread Pranav kacholia
Wicket] [mailto:ml-node+s1842946n3837008...@n4.nabble.com] Sent: 23 September 2011 19:57 To: Pranav kacholia Subject: Re: DecimalFormatLabel (proposed) Hi all, Personnaly I did it like that (simpler for i18n, i think) : public class FormatLabel extends Label { public FormatLabel(String

Re: DecimalFormatLabel (proposed)

2011-09-23 Thread Pranav kacholia
Or we go one step further back. I think this would handle all use cases. If we want to put in a NumberFormat or a DecimalFormat , in both cases it should work. public class FormattedLabel extends Label{ final private Format formatter; public FormattedLabel(String id, IModel?

DecimalFormatLabel (proposed)

2011-09-22 Thread Pranav kacholia
I have foound many places where i need to format a number and display it in a label. Can we have a simple child of Label as follows which can be used to do the same? package ; import java.text.DecimalFormat; import

Re: DecimalFormatLabel (proposed)

2011-09-22 Thread Pranav kacholia
I have been using it since earlier today. Havent seen any exceptions thrown. Im relatively new to wicket , so what should i look out for in case it isnt actually serializable? -- View this message in context:

Re: DecimalFormatLabel (proposed)

2011-09-22 Thread Pranav kacholia
Looking over the sourcecode of DecimalFormat (Java 6) there are a few fields which do not implements Serializable. Those are all of type DigitList and FieldPosition. however, in all the cases they are marked as Transient, so they shouldnt interfere with the serialization? -- View this message