[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Messages posted by: kklasen  XML
Profile for kklasen -> Messages posted by kklasen [66] Go to Page: Previous  1, 2, 3, 4, 5 Next 
Author Message
Hello Björn,

I have a new problem, I want use hibernate with Captain Casa I get always a ClassNotFoundException, if I use normal App (Main method) it works just fine.
But the connection work with Captain Casa.



//Attach files didn't work

Have I add something special for CCE?

Thank you for your help!
Kind regards
Klas
I was afraid it would not work. Thanks for the quick answer.

Kind regards.
Klas

Hello Björn,

I have cunning plan to install a version of Captain Casa with Java 8 and a version with Jakarta. Is it possible to have to different version of Captain Casa at the same time?

Thank you and kind regards.

Klas
Hello Björn,

I solved the problem, put an new war properties in pom and import CCE Archetype before.
And now it work like expected.


Kind regards

klas
Hello everyone, hello Björn😉,

After years get a new PC and now, I want port me CCE Project to the new One.
For that I copied the Elclipse folder to the new PC, import it into Eclipse and CCE.

But it doesn’t work alle JSP files are red and pom.xml also.
I tried to make a new Project it’s also red, but it seem to work?


I can’t build a war file and CC take no chances from Eclipse.


kind regards

Klas
I made a work around 😉 now, it check if the Fileupload is empty/ null when it’s null it load the byte from Database.

Hello Björn;


A default Image should by saved, it is load to the Image viewer, already.

Code:
 m_imageURL = TempFileManager.saveTempFile(imageId,bytes); 


Who I can make it back to byte?
Bytes = FielToBtye.SaveFile(m_imageURL); like this

Thank You!

kind regards

Klas


hello all and especially Björn,

I have another “ingenious” question.

How can I change the name of the Browser tap?

I found this topic:
https://www.captaincasademo.com/forum/posts/list/2136.page
the topic is 7 years old; maybe there is a better solution or an easy way? Maybe in the project configuration => full xml?

thank you in advance.

kind regards

Klas
Hello Björn,

Thank you, you are the best

it works now!

Kind regards
klas
Hello Björn,

Thanks for your answer.

I have set the textpane to 100% / 100% and scrollpane 100% / 100%;250

[code]

<t:scrollpane id="g_242" height="100%" horizontalscrollmode="auto" verticalscrollmode="auto" width="100%;250" >
<t:row id="g_2" >
<t:textpane id="g_252" height="100%" text="#{d.TrainExamPage2UI.lblTrainQContent}" width="100%" />
.
.
. </t:scrollpane>



the scollbar need a size, because of rowflexlinecontainer shifting.

Kind regards

klas
Hello there,

I make a handy app, so you can turn it horizontal or vertical. Vertical is all fine, the hole text is displayed.
But if you turn it horizontal, if the text is quite big, the content will be cut. So, I put a scrollbar before it, if it is to big for the pane, there should be now a scrollbar. but nothing happens.
Only if I change the textpant to label in this case horizontal scroll bar displayed (see Screenshots). How I can fix it for textpane or labelmultiline?

Kind regards
klas
Hi Björn,

I will do it!
have a nice Weekand


kind regards

Klas

how can I decouple normal popups from error output? I have made an info popup that should be confirmed with ok, but when errors occur, they are output in this.kind regards



Because I can’t find the error und it does work with it as well.

thank you in advance.

the executable code:

Code:
 	int m_popupCounter;
 	private void startPopupComboExcel() {
 		m_popupCounter = 3;
 		openPopupComboExcel();
 	}
 
 	private void openPopupComboExcel() {
 		PopupComboxExcelUI bean = new PopupComboxExcelUI();
 		ModalPopup mp = openModalPopup(bean, "Auswahlbereich", 300, 200, new ModalPopup.IModalPopupListener() {
 			@Override
 			public void reactOnPopupClosedByUser() {
 				closePopupComboExcelAndReopenOnCounter(bean);
 			}
 		});
 		mp.setLeftTopReferenceComponentIdCentered(m_content);
 		mp.hideCloseIcon();
 		mp.hideMaximizeIcon();
 		bean.prepare(new managedbeans.PopupComboxExcelUI.IListener() {
 			@Override
 			public void onClosePopup() {
 				closePopupComboExcelAndReopenOnCounter(bean);
 			}
 
 			@Override
 			public void reactOnItemSelection(int cboItemValue) {
 				closePopupComboExcelAndReopenOnCounter(bean);
 			}
 		});
 	}
 	
 	private void closePopupComboExcelAndReopenOnCounter(PopupComboxExcelUI bean) {
 		closePopup(bean);
 		m_popupCounter--;
 		if (m_popupCounter > 0)
 			openPopupComboExcel();
 	}
 
Hello Björn,

It’s not gone. I made a mistake.

A while loop should open the pop-up.The program goes into the loop, up to the point where it should open the popup. from then on it hangs.

Code:
 			int rSize = runner.size();
 
 			while(m_closeCount <= rSize) {
 			// ----Thread-for Pop-up---
 				ChoicePopupExel cpe = new ChoicePopupExel(m_closeCount);
 				Thread t8 = new Thread(cpe);
 				t8.start();
 				cpe.popupStart();
 				
 				try {
 					t8.join();
 				} catch (InterruptedException e) {
 					Statusbar.outputAlert("Fehler beim Beenden des Threads " + e);
 					e.printStackTrace();
 				}
 			
 			}
 
 		}
 

Without while loop it gives back one value.
It does not work with loops?

how can I make it open automatically

kind regards

Klas

 
Profile for kklasen -> Messages posted by kklasen [66] Go to Page: Previous  1, 2, 3, 4, 5 Next 
Go to:   
Powered by JForum 2.1.6 © JForum Team